Imported Upstream version 2.99.9 (LGPL3)
[platform/upstream/libsigc++.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libsigc++ 2.99.9.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='libsigc++'
593 PACKAGE_TARNAME='libsigc++'
594 PACKAGE_VERSION='2.99.9'
595 PACKAGE_STRING='libsigc++ 2.99.9'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B'
597 PACKAGE_URL='http://libsigc.sourceforge.net/'
598
599 ac_unique_file="sigc++/sigc++.h"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 #  include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #  include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 BOOST_TIMER_LIB
641 BOOST_SYSTEM_LIB
642 BOOST_LDFLAGS
643 BOOST_CPPFLAGS
644 SIGC_BUILD_BENCHMARK_FALSE
645 SIGC_BUILD_BENCHMARK_TRUE
646 DISABLE_DEPRECATED_API_FALSE
647 DISABLE_DEPRECATED_API_TRUE
648 SIGC_WXXFLAGS
649 PKG_CONFIG_LIBDIR
650 PKG_CONFIG_PATH
651 PKG_CONFIG
652 DOCINSTALL_FLAGS
653 DOXYGEN_TAGFILES
654 ENABLE_DOCUMENTATION_FALSE
655 ENABLE_DOCUMENTATION_TRUE
656 XSLTPROC
657 DOXYGEN
658 DOT
659 PERL
660 CXXCPP
661 CPP
662 LT_SYS_LIBRARY_PATH
663 OTOOL64
664 OTOOL
665 LIPO
666 NMEDIT
667 DSYMUTIL
668 MANIFEST_TOOL
669 RANLIB
670 ac_ct_AR
671 AR
672 LN_S
673 NM
674 ac_ct_DUMPBIN
675 DUMPBIN
676 LD
677 FGREP
678 EGREP
679 GREP
680 SED
681 am__fastdepCC_FALSE
682 am__fastdepCC_TRUE
683 CCDEPMODE
684 ac_ct_CC
685 CFLAGS
686 CC
687 host_os
688 host_vendor
689 host_cpu
690 host
691 build_os
692 build_vendor
693 build_cpu
694 build
695 LIBTOOL
696 OBJDUMP
697 DLLTOOL
698 AS
699 HAVE_CXX14
700 am__fastdepCXX_FALSE
701 am__fastdepCXX_TRUE
702 CXXDEPMODE
703 am__nodep
704 AMDEPBACKSLASH
705 AMDEP_FALSE
706 AMDEP_TRUE
707 am__quote
708 am__include
709 DEPDIR
710 OBJEXT
711 EXEEXT
712 ac_ct_CXX
713 CPPFLAGS
714 LDFLAGS
715 CXXFLAGS
716 CXX
717 MMDOCTOOLDIR
718 DIST_DOCTOOLS_FALSE
719 DIST_DOCTOOLS_TRUE
720 SIGCXX_MICRO_VERSION
721 SIGCXX_MINOR_VERSION
722 SIGCXX_MAJOR_VERSION
723 SIGCXX_API_VERSION
724 SIGCXX_VERSION
725 SIGCXX_MODULE_NAME
726 ACLOCAL_FLAGS
727 MAINT
728 MAINTAINER_MODE_FALSE
729 MAINTAINER_MODE_TRUE
730 AM_BACKSLASH
731 AM_DEFAULT_VERBOSITY
732 AM_DEFAULT_V
733 AM_V
734 am__untar
735 am__tar
736 AMTAR
737 am__leading_dot
738 SET_MAKE
739 AWK
740 mkdir_p
741 MKDIR_P
742 INSTALL_STRIP_PROGRAM
743 STRIP
744 install_sh
745 MAKEINFO
746 AUTOHEADER
747 AUTOMAKE
748 AUTOCONF
749 ACLOCAL
750 VERSION
751 PACKAGE
752 CYGPATH_W
753 am__isrc
754 INSTALL_DATA
755 INSTALL_SCRIPT
756 INSTALL_PROGRAM
757 target_alias
758 host_alias
759 build_alias
760 LIBS
761 ECHO_T
762 ECHO_N
763 ECHO_C
764 DEFS
765 mandir
766 localedir
767 libdir
768 psdir
769 pdfdir
770 dvidir
771 htmldir
772 infodir
773 docdir
774 oldincludedir
775 includedir
776 runstatedir
777 localstatedir
778 sharedstatedir
779 sysconfdir
780 datadir
781 datarootdir
782 libexecdir
783 sbindir
784 bindir
785 program_transform_name
786 prefix
787 exec_prefix
788 PACKAGE_URL
789 PACKAGE_BUGREPORT
790 PACKAGE_STRING
791 PACKAGE_VERSION
792 PACKAGE_TARNAME
793 PACKAGE_NAME
794 PATH_SEPARATOR
795 SHELL'
796 ac_subst_files=''
797 ac_user_opts='
798 enable_option_checking
799 enable_silent_rules
800 enable_maintainer_mode
801 enable_dependency_tracking
802 enable_static
803 enable_shared
804 with_pic
805 enable_fast_install
806 with_aix_soname
807 with_gnu_ld
808 with_sysroot
809 enable_libtool_lock
810 enable_documentation
811 with_libstdc_doc
812 enable_warnings
813 enable_deprecated_api
814 enable_benchmark
815 with_boost
816 with_boost_libdir
817 with_boost_system
818 with_boost_timer
819 '
820       ac_precious_vars='build_alias
821 host_alias
822 target_alias
823 ACLOCAL_FLAGS
824 CXX
825 CXXFLAGS
826 LDFLAGS
827 LIBS
828 CPPFLAGS
829 CCC
830 CC
831 CFLAGS
832 LT_SYS_LIBRARY_PATH
833 CPP
834 CXXCPP
835 PERL
836 DOT
837 DOXYGEN
838 XSLTPROC
839 PKG_CONFIG
840 PKG_CONFIG_PATH
841 PKG_CONFIG_LIBDIR'
842
843
844 # Initialize some variables set by options.
845 ac_init_help=
846 ac_init_version=false
847 ac_unrecognized_opts=
848 ac_unrecognized_sep=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
851 cache_file=/dev/null
852 exec_prefix=NONE
853 no_create=
854 no_recursion=
855 prefix=NONE
856 program_prefix=NONE
857 program_suffix=NONE
858 program_transform_name=s,x,x,
859 silent=
860 site=
861 srcdir=
862 verbose=
863 x_includes=NONE
864 x_libraries=NONE
865
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir='${exec_prefix}/bin'
873 sbindir='${exec_prefix}/sbin'
874 libexecdir='${exec_prefix}/libexec'
875 datarootdir='${prefix}/share'
876 datadir='${datarootdir}'
877 sysconfdir='${prefix}/etc'
878 sharedstatedir='${prefix}/com'
879 localstatedir='${prefix}/var'
880 runstatedir='${localstatedir}/run'
881 includedir='${prefix}/include'
882 oldincludedir='/usr/include'
883 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
884 infodir='${datarootdir}/info'
885 htmldir='${docdir}'
886 dvidir='${docdir}'
887 pdfdir='${docdir}'
888 psdir='${docdir}'
889 libdir='${exec_prefix}/lib'
890 localedir='${datarootdir}/locale'
891 mandir='${datarootdir}/man'
892
893 ac_prev=
894 ac_dashdash=
895 for ac_option
896 do
897   # If the previous option needs an argument, assign it.
898   if test -n "$ac_prev"; then
899     eval $ac_prev=\$ac_option
900     ac_prev=
901     continue
902   fi
903
904   case $ac_option in
905   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906   *=)   ac_optarg= ;;
907   *)    ac_optarg=yes ;;
908   esac
909
910   # Accept the important Cygnus configure options, so we can diagnose typos.
911
912   case $ac_dashdash$ac_option in
913   --)
914     ac_dashdash=yes ;;
915
916   -bindir | --bindir | --bindi | --bind | --bin | --bi)
917     ac_prev=bindir ;;
918   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
919     bindir=$ac_optarg ;;
920
921   -build | --build | --buil | --bui | --bu)
922     ac_prev=build_alias ;;
923   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
924     build_alias=$ac_optarg ;;
925
926   -cache-file | --cache-file | --cache-fil | --cache-fi \
927   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
928     ac_prev=cache_file ;;
929   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
930   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
931     cache_file=$ac_optarg ;;
932
933   --config-cache | -C)
934     cache_file=config.cache ;;
935
936   -datadir | --datadir | --datadi | --datad)
937     ac_prev=datadir ;;
938   -datadir=* | --datadir=* | --datadi=* | --datad=*)
939     datadir=$ac_optarg ;;
940
941   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
942   | --dataroo | --dataro | --datar)
943     ac_prev=datarootdir ;;
944   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
945   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
946     datarootdir=$ac_optarg ;;
947
948   -disable-* | --disable-*)
949     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950     # Reject names that are not valid shell variable names.
951     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
952       as_fn_error $? "invalid feature name: $ac_useropt"
953     ac_useropt_orig=$ac_useropt
954     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955     case $ac_user_opts in
956       *"
957 "enable_$ac_useropt"
958 "*) ;;
959       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
960          ac_unrecognized_sep=', ';;
961     esac
962     eval enable_$ac_useropt=no ;;
963
964   -docdir | --docdir | --docdi | --doc | --do)
965     ac_prev=docdir ;;
966   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
967     docdir=$ac_optarg ;;
968
969   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
970     ac_prev=dvidir ;;
971   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
972     dvidir=$ac_optarg ;;
973
974   -enable-* | --enable-*)
975     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976     # Reject names that are not valid shell variable names.
977     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
978       as_fn_error $? "invalid feature name: $ac_useropt"
979     ac_useropt_orig=$ac_useropt
980     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981     case $ac_user_opts in
982       *"
983 "enable_$ac_useropt"
984 "*) ;;
985       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
986          ac_unrecognized_sep=', ';;
987     esac
988     eval enable_$ac_useropt=\$ac_optarg ;;
989
990   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
991   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
992   | --exec | --exe | --ex)
993     ac_prev=exec_prefix ;;
994   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
995   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
996   | --exec=* | --exe=* | --ex=*)
997     exec_prefix=$ac_optarg ;;
998
999   -gas | --gas | --ga | --g)
1000     # Obsolete; use --with-gas.
1001     with_gas=yes ;;
1002
1003   -help | --help | --hel | --he | -h)
1004     ac_init_help=long ;;
1005   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1006     ac_init_help=recursive ;;
1007   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1008     ac_init_help=short ;;
1009
1010   -host | --host | --hos | --ho)
1011     ac_prev=host_alias ;;
1012   -host=* | --host=* | --hos=* | --ho=*)
1013     host_alias=$ac_optarg ;;
1014
1015   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1016     ac_prev=htmldir ;;
1017   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1018   | --ht=*)
1019     htmldir=$ac_optarg ;;
1020
1021   -includedir | --includedir | --includedi | --included | --include \
1022   | --includ | --inclu | --incl | --inc)
1023     ac_prev=includedir ;;
1024   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1025   | --includ=* | --inclu=* | --incl=* | --inc=*)
1026     includedir=$ac_optarg ;;
1027
1028   -infodir | --infodir | --infodi | --infod | --info | --inf)
1029     ac_prev=infodir ;;
1030   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1031     infodir=$ac_optarg ;;
1032
1033   -libdir | --libdir | --libdi | --libd)
1034     ac_prev=libdir ;;
1035   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1036     libdir=$ac_optarg ;;
1037
1038   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1039   | --libexe | --libex | --libe)
1040     ac_prev=libexecdir ;;
1041   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1042   | --libexe=* | --libex=* | --libe=*)
1043     libexecdir=$ac_optarg ;;
1044
1045   -localedir | --localedir | --localedi | --localed | --locale)
1046     ac_prev=localedir ;;
1047   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1048     localedir=$ac_optarg ;;
1049
1050   -localstatedir | --localstatedir | --localstatedi | --localstated \
1051   | --localstate | --localstat | --localsta | --localst | --locals)
1052     ac_prev=localstatedir ;;
1053   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1054   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1055     localstatedir=$ac_optarg ;;
1056
1057   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1058     ac_prev=mandir ;;
1059   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1060     mandir=$ac_optarg ;;
1061
1062   -nfp | --nfp | --nf)
1063     # Obsolete; use --without-fp.
1064     with_fp=no ;;
1065
1066   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1067   | --no-cr | --no-c | -n)
1068     no_create=yes ;;
1069
1070   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1071   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1072     no_recursion=yes ;;
1073
1074   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1075   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1076   | --oldin | --oldi | --old | --ol | --o)
1077     ac_prev=oldincludedir ;;
1078   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1079   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1080   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1081     oldincludedir=$ac_optarg ;;
1082
1083   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1084     ac_prev=prefix ;;
1085   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1086     prefix=$ac_optarg ;;
1087
1088   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1089   | --program-pre | --program-pr | --program-p)
1090     ac_prev=program_prefix ;;
1091   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1092   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1093     program_prefix=$ac_optarg ;;
1094
1095   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1096   | --program-suf | --program-su | --program-s)
1097     ac_prev=program_suffix ;;
1098   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1099   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1100     program_suffix=$ac_optarg ;;
1101
1102   -program-transform-name | --program-transform-name \
1103   | --program-transform-nam | --program-transform-na \
1104   | --program-transform-n | --program-transform- \
1105   | --program-transform | --program-transfor \
1106   | --program-transfo | --program-transf \
1107   | --program-trans | --program-tran \
1108   | --progr-tra | --program-tr | --program-t)
1109     ac_prev=program_transform_name ;;
1110   -program-transform-name=* | --program-transform-name=* \
1111   | --program-transform-nam=* | --program-transform-na=* \
1112   | --program-transform-n=* | --program-transform-=* \
1113   | --program-transform=* | --program-transfor=* \
1114   | --program-transfo=* | --program-transf=* \
1115   | --program-trans=* | --program-tran=* \
1116   | --progr-tra=* | --program-tr=* | --program-t=*)
1117     program_transform_name=$ac_optarg ;;
1118
1119   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1120     ac_prev=pdfdir ;;
1121   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1122     pdfdir=$ac_optarg ;;
1123
1124   -psdir | --psdir | --psdi | --psd | --ps)
1125     ac_prev=psdir ;;
1126   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1127     psdir=$ac_optarg ;;
1128
1129   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1130   | -silent | --silent | --silen | --sile | --sil)
1131     silent=yes ;;
1132
1133   -runstatedir | --runstatedir | --runstatedi | --runstated \
1134   | --runstate | --runstat | --runsta | --runst | --runs \
1135   | --run | --ru | --r)
1136     ac_prev=runstatedir ;;
1137   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1138   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1139   | --run=* | --ru=* | --r=*)
1140     runstatedir=$ac_optarg ;;
1141
1142   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1143     ac_prev=sbindir ;;
1144   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1145   | --sbi=* | --sb=*)
1146     sbindir=$ac_optarg ;;
1147
1148   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1149   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1150   | --sharedst | --shareds | --shared | --share | --shar \
1151   | --sha | --sh)
1152     ac_prev=sharedstatedir ;;
1153   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1154   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1155   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1156   | --sha=* | --sh=*)
1157     sharedstatedir=$ac_optarg ;;
1158
1159   -site | --site | --sit)
1160     ac_prev=site ;;
1161   -site=* | --site=* | --sit=*)
1162     site=$ac_optarg ;;
1163
1164   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1165     ac_prev=srcdir ;;
1166   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1167     srcdir=$ac_optarg ;;
1168
1169   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1170   | --syscon | --sysco | --sysc | --sys | --sy)
1171     ac_prev=sysconfdir ;;
1172   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1173   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1174     sysconfdir=$ac_optarg ;;
1175
1176   -target | --target | --targe | --targ | --tar | --ta | --t)
1177     ac_prev=target_alias ;;
1178   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1179     target_alias=$ac_optarg ;;
1180
1181   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1182     verbose=yes ;;
1183
1184   -version | --version | --versio | --versi | --vers | -V)
1185     ac_init_version=: ;;
1186
1187   -with-* | --with-*)
1188     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1189     # Reject names that are not valid shell variable names.
1190     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1191       as_fn_error $? "invalid package name: $ac_useropt"
1192     ac_useropt_orig=$ac_useropt
1193     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194     case $ac_user_opts in
1195       *"
1196 "with_$ac_useropt"
1197 "*) ;;
1198       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1199          ac_unrecognized_sep=', ';;
1200     esac
1201     eval with_$ac_useropt=\$ac_optarg ;;
1202
1203   -without-* | --without-*)
1204     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1205     # Reject names that are not valid shell variable names.
1206     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1207       as_fn_error $? "invalid package name: $ac_useropt"
1208     ac_useropt_orig=$ac_useropt
1209     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210     case $ac_user_opts in
1211       *"
1212 "with_$ac_useropt"
1213 "*) ;;
1214       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1215          ac_unrecognized_sep=', ';;
1216     esac
1217     eval with_$ac_useropt=no ;;
1218
1219   --x)
1220     # Obsolete; use --with-x.
1221     with_x=yes ;;
1222
1223   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1224   | --x-incl | --x-inc | --x-in | --x-i)
1225     ac_prev=x_includes ;;
1226   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1227   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1228     x_includes=$ac_optarg ;;
1229
1230   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1231   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1232     ac_prev=x_libraries ;;
1233   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1234   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1235     x_libraries=$ac_optarg ;;
1236
1237   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1238 Try \`$0 --help' for more information"
1239     ;;
1240
1241   *=*)
1242     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1243     # Reject names that are not valid shell variable names.
1244     case $ac_envvar in #(
1245       '' | [0-9]* | *[!_$as_cr_alnum]* )
1246       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1247     esac
1248     eval $ac_envvar=\$ac_optarg
1249     export $ac_envvar ;;
1250
1251   *)
1252     # FIXME: should be removed in autoconf 3.0.
1253     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1254     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1255       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1256     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1257     ;;
1258
1259   esac
1260 done
1261
1262 if test -n "$ac_prev"; then
1263   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1264   as_fn_error $? "missing argument to $ac_option"
1265 fi
1266
1267 if test -n "$ac_unrecognized_opts"; then
1268   case $enable_option_checking in
1269     no) ;;
1270     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1271     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272   esac
1273 fi
1274
1275 # Check all directory arguments for consistency.
1276 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1277                 datadir sysconfdir sharedstatedir localstatedir includedir \
1278                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1279                 libdir localedir mandir runstatedir
1280 do
1281   eval ac_val=\$$ac_var
1282   # Remove trailing slashes.
1283   case $ac_val in
1284     */ )
1285       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1286       eval $ac_var=\$ac_val;;
1287   esac
1288   # Be sure to have absolute directory names.
1289   case $ac_val in
1290     [\\/$]* | ?:[\\/]* )  continue;;
1291     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1292   esac
1293   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1294 done
1295
1296 # There might be people who depend on the old broken behavior: `$host'
1297 # used to hold the argument of --host etc.
1298 # FIXME: To remove some day.
1299 build=$build_alias
1300 host=$host_alias
1301 target=$target_alias
1302
1303 # FIXME: To remove some day.
1304 if test "x$host_alias" != x; then
1305   if test "x$build_alias" = x; then
1306     cross_compiling=maybe
1307   elif test "x$build_alias" != "x$host_alias"; then
1308     cross_compiling=yes
1309   fi
1310 fi
1311
1312 ac_tool_prefix=
1313 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1314
1315 test "$silent" = yes && exec 6>/dev/null
1316
1317
1318 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di=`ls -di .` &&
1320 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1321   as_fn_error $? "working directory cannot be determined"
1322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1323   as_fn_error $? "pwd does not report name of working directory"
1324
1325
1326 # Find the source files, if location was not specified.
1327 if test -z "$srcdir"; then
1328   ac_srcdir_defaulted=yes
1329   # Try the directory containing this script, then the parent directory.
1330   ac_confdir=`$as_dirname -- "$as_myself" ||
1331 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1332          X"$as_myself" : 'X\(//\)[^/]' \| \
1333          X"$as_myself" : 'X\(//\)$' \| \
1334          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1335 $as_echo X"$as_myself" |
1336     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337             s//\1/
1338             q
1339           }
1340           /^X\(\/\/\)[^/].*/{
1341             s//\1/
1342             q
1343           }
1344           /^X\(\/\/\)$/{
1345             s//\1/
1346             q
1347           }
1348           /^X\(\/\).*/{
1349             s//\1/
1350             q
1351           }
1352           s/.*/./; q'`
1353   srcdir=$ac_confdir
1354   if test ! -r "$srcdir/$ac_unique_file"; then
1355     srcdir=..
1356   fi
1357 else
1358   ac_srcdir_defaulted=no
1359 fi
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1361   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1362   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1363 fi
1364 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 ac_abs_confdir=`(
1366         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1367         pwd)`
1368 # When building in place, set srcdir=.
1369 if test "$ac_abs_confdir" = "$ac_pwd"; then
1370   srcdir=.
1371 fi
1372 # Remove unnecessary trailing slashes from srcdir.
1373 # Double slashes in file names in object file debugging info
1374 # mess up M-x gdb in Emacs.
1375 case $srcdir in
1376 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 esac
1378 for ac_var in $ac_precious_vars; do
1379   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1380   eval ac_env_${ac_var}_value=\$${ac_var}
1381   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1382   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1383 done
1384
1385 #
1386 # Report the --help message.
1387 #
1388 if test "$ac_init_help" = "long"; then
1389   # Omit some internal or obsolete options to make the list less imposing.
1390   # This message is too long to be a string in the A/UX 3.1 sh.
1391   cat <<_ACEOF
1392 \`configure' configures libsigc++ 2.99.9 to adapt to many kinds of systems.
1393
1394 Usage: $0 [OPTION]... [VAR=VALUE]...
1395
1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1397 VAR=VALUE.  See below for descriptions of some of the useful variables.
1398
1399 Defaults for the options are specified in brackets.
1400
1401 Configuration:
1402   -h, --help              display this help and exit
1403       --help=short        display options specific to this package
1404       --help=recursive    display the short help of all the included packages
1405   -V, --version           display version information and exit
1406   -q, --quiet, --silent   do not print \`checking ...' messages
1407       --cache-file=FILE   cache test results in FILE [disabled]
1408   -C, --config-cache      alias for \`--cache-file=config.cache'
1409   -n, --no-create         do not create output files
1410       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1411
1412 Installation directories:
1413   --prefix=PREFIX         install architecture-independent files in PREFIX
1414                           [$ac_default_prefix]
1415   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1416                           [PREFIX]
1417
1418 By default, \`make install' will install all the files in
1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1421 for instance \`--prefix=\$HOME'.
1422
1423 For better control, use the options below.
1424
1425 Fine tuning of the installation directories:
1426   --bindir=DIR            user executables [EPREFIX/bin]
1427   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1428   --libexecdir=DIR        program executables [EPREFIX/libexec]
1429   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1430   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1431   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1432   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1433   --libdir=DIR            object code libraries [EPREFIX/lib]
1434   --includedir=DIR        C header files [PREFIX/include]
1435   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1436   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1437   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1438   --infodir=DIR           info documentation [DATAROOTDIR/info]
1439   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1440   --mandir=DIR            man documentation [DATAROOTDIR/man]
1441   --docdir=DIR            documentation root [DATAROOTDIR/doc/libsigc++]
1442   --htmldir=DIR           html documentation [DOCDIR]
1443   --dvidir=DIR            dvi documentation [DOCDIR]
1444   --pdfdir=DIR            pdf documentation [DOCDIR]
1445   --psdir=DIR             ps documentation [DOCDIR]
1446 _ACEOF
1447
1448   cat <<\_ACEOF
1449
1450 Program names:
1451   --program-prefix=PREFIX            prepend PREFIX to installed program names
1452   --program-suffix=SUFFIX            append SUFFIX to installed program names
1453   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1454
1455 System types:
1456   --build=BUILD     configure for building on BUILD [guessed]
1457   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1458 _ACEOF
1459 fi
1460
1461 if test -n "$ac_init_help"; then
1462   case $ac_init_help in
1463      short | recursive ) echo "Configuration of libsigc++ 2.99.9:";;
1464    esac
1465   cat <<\_ACEOF
1466
1467 Optional Features:
1468   --disable-option-checking  ignore unrecognized --enable/--with options
1469   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1470   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1471   --enable-silent-rules   less verbose build output (undo: "make V=1")
1472   --disable-silent-rules  verbose build output (undo: "make V=0")
1473   --enable-maintainer-mode
1474                           enable make rules and dependencies not useful (and
1475                           sometimes confusing) to the casual installer
1476   --enable-dependency-tracking
1477                           do not reject slow dependency extractors
1478   --disable-dependency-tracking
1479                           speeds up one-time build
1480   --enable-static[=PKGS]  build static libraries [default=no]
1481   --enable-shared[=PKGS]  build shared libraries [default=yes]
1482   --enable-fast-install[=PKGS]
1483                           optimize for fast installation [default=yes]
1484   --disable-libtool-lock  avoid locking (might break parallel builds)
1485   --disable-documentation do not build or install the documentation
1486   --enable-warnings[=min|max|fatal|no]
1487                           set compiler pedantry level [default=min]
1488   --disable-deprecated-api
1489                           omit deprecated API from the library
1490   --enable-benchmark=yes|no
1491
1492
1493
1494 Optional Packages:
1495   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1496   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1497   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1498                           both]
1499   --with-aix-soname=aix|svr4|both
1500                           shared library versioning (aka "SONAME") variant to
1501                           provide on AIX, [default=aix].
1502   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1503   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1504                           compiler's sysroot if not specified).
1505   --with-libstdc-doc=[TAGFILE@]HTMLREFDIR
1506                           Link to external libstdc documentation [auto]
1507   --with-boost[=ARG]      use Boost library from a standard location
1508                           (ARG=yes), from the specified location (ARG=<path>),
1509                           or disable it (ARG=no) [ARG=yes]
1510   --with-boost-libdir=LIB_DIR
1511                           Force given directory for boost libraries. Note that
1512                           this will override library path detection, so use
1513                           this parameter only if default library detection
1514                           fails and you know exactly where your boost
1515                           libraries are located.
1516   --with-boost-system[=special-lib]
1517                           use the System library from boost - it is possible
1518                           to specify a certain library for the linker e.g.
1519                           --with-boost-system=boost_system-gcc-mt
1520   --with-boost-timer[=special-lib]
1521                           use the Timer library from boost - it is possible to
1522                           specify a certain library for the linker e.g.
1523                           --with-boost-timer=boost_timer-gcc-mt
1524
1525 Some influential environment variables:
1526   ACLOCAL_FLAGS
1527               aclocal flags, e.g. -I <macro dir>
1528   CXX         C++ compiler command
1529   CXXFLAGS    C++ compiler flags
1530   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1531               nonstandard directory <lib dir>
1532   LIBS        libraries to pass to the linker, e.g. -l<library>
1533   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1534               you have headers in a nonstandard directory <include dir>
1535   CC          C compiler command
1536   CFLAGS      C compiler flags
1537   LT_SYS_LIBRARY_PATH
1538               User-defined run-time library search path.
1539   CPP         C preprocessor
1540   CXXCPP      C++ preprocessor
1541   PERL        path to Perl interpreter
1542   DOT         path to dot utility
1543   DOXYGEN     path to Doxygen utility
1544   XSLTPROC    path to xsltproc utility
1545   PKG_CONFIG  path to pkg-config utility
1546   PKG_CONFIG_PATH
1547               directories to add to pkg-config's search path
1548   PKG_CONFIG_LIBDIR
1549               path overriding pkg-config's built-in search path
1550
1551 Use these variables to override the choices made by `configure' or to help
1552 it to find libraries and programs with nonstandard names/locations.
1553
1554 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
1555 libsigc++ home page: <http://libsigc.sourceforge.net/>.
1556 _ACEOF
1557 ac_status=$?
1558 fi
1559
1560 if test "$ac_init_help" = "recursive"; then
1561   # If there are subdirs, report their specific --help.
1562   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1563     test -d "$ac_dir" ||
1564       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1565       continue
1566     ac_builddir=.
1567
1568 case "$ac_dir" in
1569 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1570 *)
1571   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1572   # A ".." for each directory in $ac_dir_suffix.
1573   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1574   case $ac_top_builddir_sub in
1575   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1577   esac ;;
1578 esac
1579 ac_abs_top_builddir=$ac_pwd
1580 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1581 # for backward compatibility:
1582 ac_top_builddir=$ac_top_build_prefix
1583
1584 case $srcdir in
1585   .)  # We are building in place.
1586     ac_srcdir=.
1587     ac_top_srcdir=$ac_top_builddir_sub
1588     ac_abs_top_srcdir=$ac_pwd ;;
1589   [\\/]* | ?:[\\/]* )  # Absolute name.
1590     ac_srcdir=$srcdir$ac_dir_suffix;
1591     ac_top_srcdir=$srcdir
1592     ac_abs_top_srcdir=$srcdir ;;
1593   *) # Relative name.
1594     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1595     ac_top_srcdir=$ac_top_build_prefix$srcdir
1596     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1597 esac
1598 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1599
1600     cd "$ac_dir" || { ac_status=$?; continue; }
1601     # Check for guested configure.
1602     if test -f "$ac_srcdir/configure.gnu"; then
1603       echo &&
1604       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1605     elif test -f "$ac_srcdir/configure"; then
1606       echo &&
1607       $SHELL "$ac_srcdir/configure" --help=recursive
1608     else
1609       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1610     fi || ac_status=$?
1611     cd "$ac_pwd" || { ac_status=$?; break; }
1612   done
1613 fi
1614
1615 test -n "$ac_init_help" && exit $ac_status
1616 if $ac_init_version; then
1617   cat <<\_ACEOF
1618 libsigc++ configure 2.99.9
1619 generated by GNU Autoconf 2.69
1620
1621 Copyright (C) 2012 Free Software Foundation, Inc.
1622 This configure script is free software; the Free Software Foundation
1623 gives unlimited permission to copy, distribute and modify it.
1624 _ACEOF
1625   exit
1626 fi
1627
1628 ## ------------------------ ##
1629 ## Autoconf initialization. ##
1630 ## ------------------------ ##
1631
1632 # ac_fn_cxx_try_compile LINENO
1633 # ----------------------------
1634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1635 ac_fn_cxx_try_compile ()
1636 {
1637   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638   rm -f conftest.$ac_objext
1639   if { { ac_try="$ac_compile"
1640 case "(($ac_try" in
1641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1642   *) ac_try_echo=$ac_try;;
1643 esac
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646   (eval "$ac_compile") 2>conftest.err
1647   ac_status=$?
1648   if test -s conftest.err; then
1649     grep -v '^ *+' conftest.err >conftest.er1
1650     cat conftest.er1 >&5
1651     mv -f conftest.er1 conftest.err
1652   fi
1653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654   test $ac_status = 0; } && {
1655          test -z "$ac_cxx_werror_flag" ||
1656          test ! -s conftest.err
1657        } && test -s conftest.$ac_objext; then :
1658   ac_retval=0
1659 else
1660   $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.$ac_ext >&5
1662
1663         ac_retval=1
1664 fi
1665   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666   as_fn_set_status $ac_retval
1667
1668 } # ac_fn_cxx_try_compile
1669
1670 # ac_fn_c_try_compile LINENO
1671 # --------------------------
1672 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1673 ac_fn_c_try_compile ()
1674 {
1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676   rm -f conftest.$ac_objext
1677   if { { ac_try="$ac_compile"
1678 case "(($ac_try" in
1679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680   *) ac_try_echo=$ac_try;;
1681 esac
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684   (eval "$ac_compile") 2>conftest.err
1685   ac_status=$?
1686   if test -s conftest.err; then
1687     grep -v '^ *+' conftest.err >conftest.er1
1688     cat conftest.er1 >&5
1689     mv -f conftest.er1 conftest.err
1690   fi
1691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692   test $ac_status = 0; } && {
1693          test -z "$ac_c_werror_flag" ||
1694          test ! -s conftest.err
1695        } && test -s conftest.$ac_objext; then :
1696   ac_retval=0
1697 else
1698   $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1700
1701         ac_retval=1
1702 fi
1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704   as_fn_set_status $ac_retval
1705
1706 } # ac_fn_c_try_compile
1707
1708 # ac_fn_c_try_link LINENO
1709 # -----------------------
1710 # Try to link conftest.$ac_ext, and return whether this succeeded.
1711 ac_fn_c_try_link ()
1712 {
1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714   rm -f conftest.$ac_objext conftest$ac_exeext
1715   if { { ac_try="$ac_link"
1716 case "(($ac_try" in
1717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718   *) ac_try_echo=$ac_try;;
1719 esac
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722   (eval "$ac_link") 2>conftest.err
1723   ac_status=$?
1724   if test -s conftest.err; then
1725     grep -v '^ *+' conftest.err >conftest.er1
1726     cat conftest.er1 >&5
1727     mv -f conftest.er1 conftest.err
1728   fi
1729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730   test $ac_status = 0; } && {
1731          test -z "$ac_c_werror_flag" ||
1732          test ! -s conftest.err
1733        } && test -s conftest$ac_exeext && {
1734          test "$cross_compiling" = yes ||
1735          test -x conftest$ac_exeext
1736        }; then :
1737   ac_retval=0
1738 else
1739   $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1741
1742         ac_retval=1
1743 fi
1744   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1745   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1746   # interfere with the next link command; also delete a directory that is
1747   # left behind by Apple's compiler.  We do this before executing the actions.
1748   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750   as_fn_set_status $ac_retval
1751
1752 } # ac_fn_c_try_link
1753
1754 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1755 # -------------------------------------------------------
1756 # Tests whether HEADER exists and can be compiled using the include files in
1757 # INCLUDES, setting the cache variable VAR accordingly.
1758 ac_fn_c_check_header_compile ()
1759 {
1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if eval \${$3+:} false; then :
1764   $as_echo_n "(cached) " >&6
1765 else
1766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h.  */
1768 $4
1769 #include <$2>
1770 _ACEOF
1771 if ac_fn_c_try_compile "$LINENO"; then :
1772   eval "$3=yes"
1773 else
1774   eval "$3=no"
1775 fi
1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1777 fi
1778 eval ac_res=\$$3
1779                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1781   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782
1783 } # ac_fn_c_check_header_compile
1784
1785 # ac_fn_c_try_cpp LINENO
1786 # ----------------------
1787 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_c_try_cpp ()
1789 {
1790   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791   if { { ac_try="$ac_cpp conftest.$ac_ext"
1792 case "(($ac_try" in
1793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794   *) ac_try_echo=$ac_try;;
1795 esac
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1799   ac_status=$?
1800   if test -s conftest.err; then
1801     grep -v '^ *+' conftest.err >conftest.er1
1802     cat conftest.er1 >&5
1803     mv -f conftest.er1 conftest.err
1804   fi
1805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806   test $ac_status = 0; } > conftest.i && {
1807          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1808          test ! -s conftest.err
1809        }; then :
1810   ac_retval=0
1811 else
1812   $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.$ac_ext >&5
1814
1815     ac_retval=1
1816 fi
1817   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818   as_fn_set_status $ac_retval
1819
1820 } # ac_fn_c_try_cpp
1821
1822 # ac_fn_c_try_run LINENO
1823 # ----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1825 # that executables *can* be run.
1826 ac_fn_c_try_run ()
1827 {
1828   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829   if { { ac_try="$ac_link"
1830 case "(($ac_try" in
1831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832   *) ac_try_echo=$ac_try;;
1833 esac
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836   (eval "$ac_link") 2>&5
1837   ac_status=$?
1838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1840   { { case "(($ac_try" in
1841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842   *) ac_try_echo=$ac_try;;
1843 esac
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846   (eval "$ac_try") 2>&5
1847   ac_status=$?
1848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849   test $ac_status = 0; }; }; then :
1850   ac_retval=0
1851 else
1852   $as_echo "$as_me: program exited with status $ac_status" >&5
1853        $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1855
1856        ac_retval=$ac_status
1857 fi
1858   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1859   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860   as_fn_set_status $ac_retval
1861
1862 } # ac_fn_c_try_run
1863
1864 # ac_fn_c_check_func LINENO FUNC VAR
1865 # ----------------------------------
1866 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1867 ac_fn_c_check_func ()
1868 {
1869   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if eval \${$3+:} false; then :
1873   $as_echo_n "(cached) " >&6
1874 else
1875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h.  */
1877 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1879 #define $2 innocuous_$2
1880
1881 /* System header to define __stub macros and hopefully few prototypes,
1882     which can conflict with char $2 (); below.
1883     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1884     <limits.h> exists even on freestanding compilers.  */
1885
1886 #ifdef __STDC__
1887 # include <limits.h>
1888 #else
1889 # include <assert.h>
1890 #endif
1891
1892 #undef $2
1893
1894 /* Override any GCC internal prototype to avoid an error.
1895    Use char because int might match the return type of a GCC
1896    builtin and then its argument prototype would still apply.  */
1897 #ifdef __cplusplus
1898 extern "C"
1899 #endif
1900 char $2 ();
1901 /* The GNU C library defines this for functions which it implements
1902     to always fail with ENOSYS.  Some functions are actually named
1903     something starting with __ and the normal name is an alias.  */
1904 #if defined __stub_$2 || defined __stub___$2
1905 choke me
1906 #endif
1907
1908 int
1909 main ()
1910 {
1911 return $2 ();
1912   ;
1913   return 0;
1914 }
1915 _ACEOF
1916 if ac_fn_c_try_link "$LINENO"; then :
1917   eval "$3=yes"
1918 else
1919   eval "$3=no"
1920 fi
1921 rm -f core conftest.err conftest.$ac_objext \
1922     conftest$ac_exeext conftest.$ac_ext
1923 fi
1924 eval ac_res=\$$3
1925                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1926 $as_echo "$ac_res" >&6; }
1927   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928
1929 } # ac_fn_c_check_func
1930
1931 # ac_fn_cxx_try_cpp LINENO
1932 # ------------------------
1933 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1934 ac_fn_cxx_try_cpp ()
1935 {
1936   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937   if { { ac_try="$ac_cpp conftest.$ac_ext"
1938 case "(($ac_try" in
1939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1940   *) ac_try_echo=$ac_try;;
1941 esac
1942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1943 $as_echo "$ac_try_echo"; } >&5
1944   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1945   ac_status=$?
1946   if test -s conftest.err; then
1947     grep -v '^ *+' conftest.err >conftest.er1
1948     cat conftest.er1 >&5
1949     mv -f conftest.er1 conftest.err
1950   fi
1951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1952   test $ac_status = 0; } > conftest.i && {
1953          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1954          test ! -s conftest.err
1955        }; then :
1956   ac_retval=0
1957 else
1958   $as_echo "$as_me: failed program was:" >&5
1959 sed 's/^/| /' conftest.$ac_ext >&5
1960
1961     ac_retval=1
1962 fi
1963   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964   as_fn_set_status $ac_retval
1965
1966 } # ac_fn_cxx_try_cpp
1967
1968 # ac_fn_cxx_try_link LINENO
1969 # -------------------------
1970 # Try to link conftest.$ac_ext, and return whether this succeeded.
1971 ac_fn_cxx_try_link ()
1972 {
1973   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974   rm -f conftest.$ac_objext conftest$ac_exeext
1975   if { { ac_try="$ac_link"
1976 case "(($ac_try" in
1977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978   *) ac_try_echo=$ac_try;;
1979 esac
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 $as_echo "$ac_try_echo"; } >&5
1982   (eval "$ac_link") 2>conftest.err
1983   ac_status=$?
1984   if test -s conftest.err; then
1985     grep -v '^ *+' conftest.err >conftest.er1
1986     cat conftest.er1 >&5
1987     mv -f conftest.er1 conftest.err
1988   fi
1989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990   test $ac_status = 0; } && {
1991          test -z "$ac_cxx_werror_flag" ||
1992          test ! -s conftest.err
1993        } && test -s conftest$ac_exeext && {
1994          test "$cross_compiling" = yes ||
1995          test -x conftest$ac_exeext
1996        }; then :
1997   ac_retval=0
1998 else
1999   $as_echo "$as_me: failed program was:" >&5
2000 sed 's/^/| /' conftest.$ac_ext >&5
2001
2002         ac_retval=1
2003 fi
2004   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2005   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2006   # interfere with the next link command; also delete a directory that is
2007   # left behind by Apple's compiler.  We do this before executing the actions.
2008   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2009   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010   as_fn_set_status $ac_retval
2011
2012 } # ac_fn_cxx_try_link
2013 cat >config.log <<_ACEOF
2014 This file contains any messages produced by compilers while
2015 running configure, to aid debugging if configure makes a mistake.
2016
2017 It was created by libsigc++ $as_me 2.99.9, which was
2018 generated by GNU Autoconf 2.69.  Invocation command line was
2019
2020   $ $0 $@
2021
2022 _ACEOF
2023 exec 5>>config.log
2024 {
2025 cat <<_ASUNAME
2026 ## --------- ##
2027 ## Platform. ##
2028 ## --------- ##
2029
2030 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2031 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2032 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2033 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2034 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2035
2036 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2037 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2038
2039 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2040 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2041 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2042 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2043 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2044 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2045 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2046
2047 _ASUNAME
2048
2049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 for as_dir in $PATH
2051 do
2052   IFS=$as_save_IFS
2053   test -z "$as_dir" && as_dir=.
2054     $as_echo "PATH: $as_dir"
2055   done
2056 IFS=$as_save_IFS
2057
2058 } >&5
2059
2060 cat >&5 <<_ACEOF
2061
2062
2063 ## ----------- ##
2064 ## Core tests. ##
2065 ## ----------- ##
2066
2067 _ACEOF
2068
2069
2070 # Keep a trace of the command line.
2071 # Strip out --no-create and --no-recursion so they do not pile up.
2072 # Strip out --silent because we don't want to record it for future runs.
2073 # Also quote any args containing shell meta-characters.
2074 # Make two passes to allow for proper duplicate-argument suppression.
2075 ac_configure_args=
2076 ac_configure_args0=
2077 ac_configure_args1=
2078 ac_must_keep_next=false
2079 for ac_pass in 1 2
2080 do
2081   for ac_arg
2082   do
2083     case $ac_arg in
2084     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2085     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2086     | -silent | --silent | --silen | --sile | --sil)
2087       continue ;;
2088     *\'*)
2089       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2090     esac
2091     case $ac_pass in
2092     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2093     2)
2094       as_fn_append ac_configure_args1 " '$ac_arg'"
2095       if test $ac_must_keep_next = true; then
2096         ac_must_keep_next=false # Got value, back to normal.
2097       else
2098         case $ac_arg in
2099           *=* | --config-cache | -C | -disable-* | --disable-* \
2100           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2101           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2102           | -with-* | --with-* | -without-* | --without-* | --x)
2103             case "$ac_configure_args0 " in
2104               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2105             esac
2106             ;;
2107           -* ) ac_must_keep_next=true ;;
2108         esac
2109       fi
2110       as_fn_append ac_configure_args " '$ac_arg'"
2111       ;;
2112     esac
2113   done
2114 done
2115 { ac_configure_args0=; unset ac_configure_args0;}
2116 { ac_configure_args1=; unset ac_configure_args1;}
2117
2118 # When interrupted or exit'd, cleanup temporary files, and complete
2119 # config.log.  We remove comments because anyway the quotes in there
2120 # would cause problems or look ugly.
2121 # WARNING: Use '\'' to represent an apostrophe within the trap.
2122 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2123 trap 'exit_status=$?
2124   # Save into config.log some information that might help in debugging.
2125   {
2126     echo
2127
2128     $as_echo "## ---------------- ##
2129 ## Cache variables. ##
2130 ## ---------------- ##"
2131     echo
2132     # The following way of writing the cache mishandles newlines in values,
2133 (
2134   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2135     eval ac_val=\$$ac_var
2136     case $ac_val in #(
2137     *${as_nl}*)
2138       case $ac_var in #(
2139       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2140 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2141       esac
2142       case $ac_var in #(
2143       _ | IFS | as_nl) ;; #(
2144       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2145       *) { eval $ac_var=; unset $ac_var;} ;;
2146       esac ;;
2147     esac
2148   done
2149   (set) 2>&1 |
2150     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2151     *${as_nl}ac_space=\ *)
2152       sed -n \
2153         "s/'\''/'\''\\\\'\'''\''/g;
2154           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2155       ;; #(
2156     *)
2157       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2158       ;;
2159     esac |
2160     sort
2161 )
2162     echo
2163
2164     $as_echo "## ----------------- ##
2165 ## Output variables. ##
2166 ## ----------------- ##"
2167     echo
2168     for ac_var in $ac_subst_vars
2169     do
2170       eval ac_val=\$$ac_var
2171       case $ac_val in
2172       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173       esac
2174       $as_echo "$ac_var='\''$ac_val'\''"
2175     done | sort
2176     echo
2177
2178     if test -n "$ac_subst_files"; then
2179       $as_echo "## ------------------- ##
2180 ## File substitutions. ##
2181 ## ------------------- ##"
2182       echo
2183       for ac_var in $ac_subst_files
2184       do
2185         eval ac_val=\$$ac_var
2186         case $ac_val in
2187         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188         esac
2189         $as_echo "$ac_var='\''$ac_val'\''"
2190       done | sort
2191       echo
2192     fi
2193
2194     if test -s confdefs.h; then
2195       $as_echo "## ----------- ##
2196 ## confdefs.h. ##
2197 ## ----------- ##"
2198       echo
2199       cat confdefs.h
2200       echo
2201     fi
2202     test "$ac_signal" != 0 &&
2203       $as_echo "$as_me: caught signal $ac_signal"
2204     $as_echo "$as_me: exit $exit_status"
2205   } >&5
2206   rm -f core *.core core.conftest.* &&
2207     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2208     exit $exit_status
2209 ' 0
2210 for ac_signal in 1 2 13 15; do
2211   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2212 done
2213 ac_signal=0
2214
2215 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2216 rm -f -r conftest* confdefs.h
2217
2218 $as_echo "/* confdefs.h */" > confdefs.h
2219
2220 # Predefined preprocessor variables.
2221
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_NAME "$PACKAGE_NAME"
2224 _ACEOF
2225
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228 _ACEOF
2229
2230 cat >>confdefs.h <<_ACEOF
2231 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2232 _ACEOF
2233
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_STRING "$PACKAGE_STRING"
2236 _ACEOF
2237
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2240 _ACEOF
2241
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_URL "$PACKAGE_URL"
2244 _ACEOF
2245
2246
2247 # Let the site file select an alternate cache file if it wants to.
2248 # Prefer an explicitly selected file to automatically selected ones.
2249 ac_site_file1=NONE
2250 ac_site_file2=NONE
2251 if test -n "$CONFIG_SITE"; then
2252   # We do not want a PATH search for config.site.
2253   case $CONFIG_SITE in #((
2254     -*)  ac_site_file1=./$CONFIG_SITE;;
2255     */*) ac_site_file1=$CONFIG_SITE;;
2256     *)   ac_site_file1=./$CONFIG_SITE;;
2257   esac
2258 elif test "x$prefix" != xNONE; then
2259   ac_site_file1=$prefix/share/config.site
2260   ac_site_file2=$prefix/etc/config.site
2261 else
2262   ac_site_file1=$ac_default_prefix/share/config.site
2263   ac_site_file2=$ac_default_prefix/etc/config.site
2264 fi
2265 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2266 do
2267   test "x$ac_site_file" = xNONE && continue
2268   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2269     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2270 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2271     sed 's/^/| /' "$ac_site_file" >&5
2272     . "$ac_site_file" \
2273       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275 as_fn_error $? "failed to load site script $ac_site_file
2276 See \`config.log' for more details" "$LINENO" 5; }
2277   fi
2278 done
2279
2280 if test -r "$cache_file"; then
2281   # Some versions of bash will fail to source /dev/null (special files
2282   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2283   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2284     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2285 $as_echo "$as_me: loading cache $cache_file" >&6;}
2286     case $cache_file in
2287       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2288       *)                      . "./$cache_file";;
2289     esac
2290   fi
2291 else
2292   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2293 $as_echo "$as_me: creating cache $cache_file" >&6;}
2294   >$cache_file
2295 fi
2296
2297 # Check that the precious variables saved in the cache have kept the same
2298 # value.
2299 ac_cache_corrupted=false
2300 for ac_var in $ac_precious_vars; do
2301   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2302   eval ac_new_set=\$ac_env_${ac_var}_set
2303   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2304   eval ac_new_val=\$ac_env_${ac_var}_value
2305   case $ac_old_set,$ac_new_set in
2306     set,)
2307       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2308 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2309       ac_cache_corrupted=: ;;
2310     ,set)
2311       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2312 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2313       ac_cache_corrupted=: ;;
2314     ,);;
2315     *)
2316       if test "x$ac_old_val" != "x$ac_new_val"; then
2317         # differences in whitespace do not lead to failure.
2318         ac_old_val_w=`echo x $ac_old_val`
2319         ac_new_val_w=`echo x $ac_new_val`
2320         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2321           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2322 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2323           ac_cache_corrupted=:
2324         else
2325           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2326 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2327           eval $ac_var=\$ac_old_val
2328         fi
2329         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2330 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2331         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2332 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2333       fi;;
2334   esac
2335   # Pass precious variables to config.status.
2336   if test "$ac_new_set" = set; then
2337     case $ac_new_val in
2338     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339     *) ac_arg=$ac_var=$ac_new_val ;;
2340     esac
2341     case " $ac_configure_args " in
2342       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2343       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2344     esac
2345   fi
2346 done
2347 if $ac_cache_corrupted; then
2348   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2351 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2352   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2353 fi
2354 ## -------------------- ##
2355 ## Main body of script. ##
2356 ## -------------------- ##
2357
2358 ac_ext=c
2359 ac_cpp='$CPP $CPPFLAGS'
2360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2363
2364
2365
2366
2367
2368 ac_aux_dir=
2369 for ac_dir in build "$srcdir"/build; do
2370   if test -f "$ac_dir/install-sh"; then
2371     ac_aux_dir=$ac_dir
2372     ac_install_sh="$ac_aux_dir/install-sh -c"
2373     break
2374   elif test -f "$ac_dir/install.sh"; then
2375     ac_aux_dir=$ac_dir
2376     ac_install_sh="$ac_aux_dir/install.sh -c"
2377     break
2378   elif test -f "$ac_dir/shtool"; then
2379     ac_aux_dir=$ac_dir
2380     ac_install_sh="$ac_aux_dir/shtool install -c"
2381     break
2382   fi
2383 done
2384 if test -z "$ac_aux_dir"; then
2385   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2386 fi
2387
2388 # These three variables are undocumented and unsupported,
2389 # and are intended to be withdrawn in a future Autoconf release.
2390 # They can cause serious problems if a builder's source tree is in a directory
2391 # whose full name contains unusual characters.
2392 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2393 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2394 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2395
2396
2397
2398 ac_config_headers="$ac_config_headers config.h sigc++config.h"
2399
2400
2401 am__api_version='1.15'
2402
2403 # Find a good install program.  We prefer a C program (faster),
2404 # so one script is as good as another.  But avoid the broken or
2405 # incompatible versions:
2406 # SysV /etc/install, /usr/sbin/install
2407 # SunOS /usr/etc/install
2408 # IRIX /sbin/install
2409 # AIX /bin/install
2410 # AmigaOS /C/install, which installs bootblocks on floppy discs
2411 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2412 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2413 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2414 # OS/2's system install, which has a completely different semantic
2415 # ./install, which can be erroneously created by make from ./install.sh.
2416 # Reject install programs that cannot install multiple files.
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2418 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2419 if test -z "$INSTALL"; then
2420 if ${ac_cv_path_install+:} false; then :
2421   $as_echo_n "(cached) " >&6
2422 else
2423   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424 for as_dir in $PATH
2425 do
2426   IFS=$as_save_IFS
2427   test -z "$as_dir" && as_dir=.
2428     # Account for people who put trailing slashes in PATH elements.
2429 case $as_dir/ in #((
2430   ./ | .// | /[cC]/* | \
2431   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2432   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2433   /usr/ucb/* ) ;;
2434   *)
2435     # OSF1 and SCO ODT 3.0 have their own names for install.
2436     # Don't use installbsd from OSF since it installs stuff as root
2437     # by default.
2438     for ac_prog in ginstall scoinst install; do
2439       for ac_exec_ext in '' $ac_executable_extensions; do
2440         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2441           if test $ac_prog = install &&
2442             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2443             # AIX install.  It has an incompatible calling convention.
2444             :
2445           elif test $ac_prog = install &&
2446             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2447             # program-specific install script used by HP pwplus--don't use.
2448             :
2449           else
2450             rm -rf conftest.one conftest.two conftest.dir
2451             echo one > conftest.one
2452             echo two > conftest.two
2453             mkdir conftest.dir
2454             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2455               test -s conftest.one && test -s conftest.two &&
2456               test -s conftest.dir/conftest.one &&
2457               test -s conftest.dir/conftest.two
2458             then
2459               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2460               break 3
2461             fi
2462           fi
2463         fi
2464       done
2465     done
2466     ;;
2467 esac
2468
2469   done
2470 IFS=$as_save_IFS
2471
2472 rm -rf conftest.one conftest.two conftest.dir
2473
2474 fi
2475   if test "${ac_cv_path_install+set}" = set; then
2476     INSTALL=$ac_cv_path_install
2477   else
2478     # As a last resort, use the slow shell script.  Don't cache a
2479     # value for INSTALL within a source directory, because that will
2480     # break other packages using the cache if that directory is
2481     # removed, or if the value is a relative name.
2482     INSTALL=$ac_install_sh
2483   fi
2484 fi
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2486 $as_echo "$INSTALL" >&6; }
2487
2488 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2489 # It thinks the first close brace ends the variable substitution.
2490 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2491
2492 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2493
2494 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2495
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2497 $as_echo_n "checking whether build environment is sane... " >&6; }
2498 # Reject unsafe characters in $srcdir or the absolute working directory
2499 # name.  Accept space and tab only in the latter.
2500 am_lf='
2501 '
2502 case `pwd` in
2503   *[\\\"\#\$\&\'\`$am_lf]*)
2504     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2505 esac
2506 case $srcdir in
2507   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2508     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2509 esac
2510
2511 # Do 'set' in a subshell so we don't clobber the current shell's
2512 # arguments.  Must try -L first in case configure is actually a
2513 # symlink; some systems play weird games with the mod time of symlinks
2514 # (eg FreeBSD returns the mod time of the symlink's containing
2515 # directory).
2516 if (
2517    am_has_slept=no
2518    for am_try in 1 2; do
2519      echo "timestamp, slept: $am_has_slept" > conftest.file
2520      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2521      if test "$*" = "X"; then
2522         # -L didn't work.
2523         set X `ls -t "$srcdir/configure" conftest.file`
2524      fi
2525      if test "$*" != "X $srcdir/configure conftest.file" \
2526         && test "$*" != "X conftest.file $srcdir/configure"; then
2527
2528         # If neither matched, then we have a broken ls.  This can happen
2529         # if, for instance, CONFIG_SHELL is bash and it inherits a
2530         # broken ls alias from the environment.  This has actually
2531         # happened.  Such a system could not be considered "sane".
2532         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2533   alias in your environment" "$LINENO" 5
2534      fi
2535      if test "$2" = conftest.file || test $am_try -eq 2; then
2536        break
2537      fi
2538      # Just in case.
2539      sleep 1
2540      am_has_slept=yes
2541    done
2542    test "$2" = conftest.file
2543    )
2544 then
2545    # Ok.
2546    :
2547 else
2548    as_fn_error $? "newly created file is older than distributed files!
2549 Check your system clock" "$LINENO" 5
2550 fi
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2552 $as_echo "yes" >&6; }
2553 # If we didn't sleep, we still need to ensure time stamps of config.status and
2554 # generated files are strictly newer.
2555 am_sleep_pid=
2556 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2557   ( sleep 1 ) &
2558   am_sleep_pid=$!
2559 fi
2560
2561 rm -f conftest.file
2562
2563 test "$program_prefix" != NONE &&
2564   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2565 # Use a double $ so make ignores it.
2566 test "$program_suffix" != NONE &&
2567   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2568 # Double any \ or $.
2569 # By default was `s,x,x', remove it if useless.
2570 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2571 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2572
2573 # Expand $ac_aux_dir to an absolute path.
2574 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2575
2576 if test x"${MISSING+set}" != xset; then
2577   case $am_aux_dir in
2578   *\ * | *\     *)
2579     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2580   *)
2581     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2582   esac
2583 fi
2584 # Use eval to expand $SHELL
2585 if eval "$MISSING --is-lightweight"; then
2586   am_missing_run="$MISSING "
2587 else
2588   am_missing_run=
2589   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2590 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2591 fi
2592
2593 if test x"${install_sh+set}" != xset; then
2594   case $am_aux_dir in
2595   *\ * | *\     *)
2596     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2597   *)
2598     install_sh="\${SHELL} $am_aux_dir/install-sh"
2599   esac
2600 fi
2601
2602 # Installed binaries are usually stripped using 'strip' when the user
2603 # run "make install-strip".  However 'strip' might not be the right
2604 # tool to use in cross-compilation environments, therefore Automake
2605 # will honor the 'STRIP' environment variable to overrule this program.
2606 if test "$cross_compiling" != no; then
2607   if test -n "$ac_tool_prefix"; then
2608   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2609 set dummy ${ac_tool_prefix}strip; ac_word=$2
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if ${ac_cv_prog_STRIP+:} false; then :
2613   $as_echo_n "(cached) " >&6
2614 else
2615   if test -n "$STRIP"; then
2616   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2617 else
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 for as_dir in $PATH
2620 do
2621   IFS=$as_save_IFS
2622   test -z "$as_dir" && as_dir=.
2623     for ac_exec_ext in '' $ac_executable_extensions; do
2624   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2625     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627     break 2
2628   fi
2629 done
2630   done
2631 IFS=$as_save_IFS
2632
2633 fi
2634 fi
2635 STRIP=$ac_cv_prog_STRIP
2636 if test -n "$STRIP"; then
2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2638 $as_echo "$STRIP" >&6; }
2639 else
2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641 $as_echo "no" >&6; }
2642 fi
2643
2644
2645 fi
2646 if test -z "$ac_cv_prog_STRIP"; then
2647   ac_ct_STRIP=$STRIP
2648   # Extract the first word of "strip", so it can be a program name with args.
2649 set dummy strip; ac_word=$2
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651 $as_echo_n "checking for $ac_word... " >&6; }
2652 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2653   $as_echo_n "(cached) " >&6
2654 else
2655   if test -n "$ac_ct_STRIP"; then
2656   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2657 else
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 for as_dir in $PATH
2660 do
2661   IFS=$as_save_IFS
2662   test -z "$as_dir" && as_dir=.
2663     for ac_exec_ext in '' $ac_executable_extensions; do
2664   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2665     ac_cv_prog_ac_ct_STRIP="strip"
2666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667     break 2
2668   fi
2669 done
2670   done
2671 IFS=$as_save_IFS
2672
2673 fi
2674 fi
2675 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2676 if test -n "$ac_ct_STRIP"; then
2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2678 $as_echo "$ac_ct_STRIP" >&6; }
2679 else
2680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2681 $as_echo "no" >&6; }
2682 fi
2683
2684   if test "x$ac_ct_STRIP" = x; then
2685     STRIP=":"
2686   else
2687     case $cross_compiling:$ac_tool_warned in
2688 yes:)
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2691 ac_tool_warned=yes ;;
2692 esac
2693     STRIP=$ac_ct_STRIP
2694   fi
2695 else
2696   STRIP="$ac_cv_prog_STRIP"
2697 fi
2698
2699 fi
2700 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2701
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2703 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2704 if test -z "$MKDIR_P"; then
2705   if ${ac_cv_path_mkdir+:} false; then :
2706   $as_echo_n "(cached) " >&6
2707 else
2708   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2710 do
2711   IFS=$as_save_IFS
2712   test -z "$as_dir" && as_dir=.
2713     for ac_prog in mkdir gmkdir; do
2714          for ac_exec_ext in '' $ac_executable_extensions; do
2715            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2716            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2717              'mkdir (GNU coreutils) '* | \
2718              'mkdir (coreutils) '* | \
2719              'mkdir (fileutils) '4.1*)
2720                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2721                break 3;;
2722            esac
2723          done
2724        done
2725   done
2726 IFS=$as_save_IFS
2727
2728 fi
2729
2730   test -d ./--version && rmdir ./--version
2731   if test "${ac_cv_path_mkdir+set}" = set; then
2732     MKDIR_P="$ac_cv_path_mkdir -p"
2733   else
2734     # As a last resort, use the slow shell script.  Don't cache a
2735     # value for MKDIR_P within a source directory, because that will
2736     # break other packages using the cache if that directory is
2737     # removed, or if the value is a relative name.
2738     MKDIR_P="$ac_install_sh -d"
2739   fi
2740 fi
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2742 $as_echo "$MKDIR_P" >&6; }
2743
2744 for ac_prog in gawk mawk nawk awk
2745 do
2746   # Extract the first word of "$ac_prog", so it can be a program name with args.
2747 set dummy $ac_prog; ac_word=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if ${ac_cv_prog_AWK+:} false; then :
2751   $as_echo_n "(cached) " >&6
2752 else
2753   if test -n "$AWK"; then
2754   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2755 else
2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2757 for as_dir in $PATH
2758 do
2759   IFS=$as_save_IFS
2760   test -z "$as_dir" && as_dir=.
2761     for ac_exec_ext in '' $ac_executable_extensions; do
2762   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2763     ac_cv_prog_AWK="$ac_prog"
2764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765     break 2
2766   fi
2767 done
2768   done
2769 IFS=$as_save_IFS
2770
2771 fi
2772 fi
2773 AWK=$ac_cv_prog_AWK
2774 if test -n "$AWK"; then
2775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2776 $as_echo "$AWK" >&6; }
2777 else
2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2780 fi
2781
2782
2783   test -n "$AWK" && break
2784 done
2785
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2787 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2788 set x ${MAKE-make}
2789 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2790 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2791   $as_echo_n "(cached) " >&6
2792 else
2793   cat >conftest.make <<\_ACEOF
2794 SHELL = /bin/sh
2795 all:
2796         @echo '@@@%%%=$(MAKE)=@@@%%%'
2797 _ACEOF
2798 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2799 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2800   *@@@%%%=?*=@@@%%%*)
2801     eval ac_cv_prog_make_${ac_make}_set=yes;;
2802   *)
2803     eval ac_cv_prog_make_${ac_make}_set=no;;
2804 esac
2805 rm -f conftest.make
2806 fi
2807 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2809 $as_echo "yes" >&6; }
2810   SET_MAKE=
2811 else
2812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2814   SET_MAKE="MAKE=${MAKE-make}"
2815 fi
2816
2817 rm -rf .tst 2>/dev/null
2818 mkdir .tst 2>/dev/null
2819 if test -d .tst; then
2820   am__leading_dot=.
2821 else
2822   am__leading_dot=_
2823 fi
2824 rmdir .tst 2>/dev/null
2825
2826 # Check whether --enable-silent-rules was given.
2827 if test "${enable_silent_rules+set}" = set; then :
2828   enableval=$enable_silent_rules;
2829 fi
2830
2831 case $enable_silent_rules in # (((
2832   yes) AM_DEFAULT_VERBOSITY=0;;
2833    no) AM_DEFAULT_VERBOSITY=1;;
2834     *) AM_DEFAULT_VERBOSITY=1;;
2835 esac
2836 am_make=${MAKE-make}
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2838 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2839 if ${am_cv_make_support_nested_variables+:} false; then :
2840   $as_echo_n "(cached) " >&6
2841 else
2842   if $as_echo 'TRUE=$(BAR$(V))
2843 BAR0=false
2844 BAR1=true
2845 V=1
2846 am__doit:
2847         @$(TRUE)
2848 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2849   am_cv_make_support_nested_variables=yes
2850 else
2851   am_cv_make_support_nested_variables=no
2852 fi
2853 fi
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2855 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2856 if test $am_cv_make_support_nested_variables = yes; then
2857     AM_V='$(V)'
2858   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2859 else
2860   AM_V=$AM_DEFAULT_VERBOSITY
2861   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2862 fi
2863 AM_BACKSLASH='\'
2864
2865 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2866   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2867   # is not polluted with repeated "-I."
2868   am__isrc=' -I$(srcdir)'
2869   # test to see if srcdir already configured
2870   if test -f $srcdir/config.status; then
2871     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2872   fi
2873 fi
2874
2875 # test whether we have cygpath
2876 if test -z "$CYGPATH_W"; then
2877   if (cygpath --version) >/dev/null 2>/dev/null; then
2878     CYGPATH_W='cygpath -w'
2879   else
2880     CYGPATH_W=echo
2881   fi
2882 fi
2883
2884
2885 # Define the identity of the package.
2886  PACKAGE='libsigc++'
2887  VERSION='2.99.9'
2888
2889
2890 # Some tools Automake needs.
2891
2892 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2893
2894
2895 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2896
2897
2898 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2899
2900
2901 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2902
2903
2904 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2905
2906 # For better backward compatibility.  To be removed once Automake 1.9.x
2907 # dies out for good.  For more background, see:
2908 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2909 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2910 mkdir_p='$(MKDIR_P)'
2911
2912 # We need awk for the "check" target (and possibly the TAP driver).  The
2913 # system "awk" is bad on some platforms.
2914 # Always define AMTAR for backward compatibility.  Yes, it's still used
2915 # in the wild :-(  We should find a proper way to deprecate it ...
2916 AMTAR='$${TAR-tar}'
2917
2918
2919 # We'll loop over all known methods to create a tar archive until one works.
2920 _am_tools='gnutar plaintar pax cpio none'
2921
2922 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
2923       # There is notably a 21 bits limit for the UID and the GID.  In fact,
2924       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2925       # and bug#13588).
2926       am_max_uid=2097151 # 2^21 - 1
2927       am_max_gid=$am_max_uid
2928       # The $UID and $GID variables are not portable, so we need to resort
2929       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
2930       # below are definitely unexpected, so allow the users to see them
2931       # (that is, avoid stderr redirection).
2932       am_uid=`id -u || echo unknown`
2933       am_gid=`id -g || echo unknown`
2934       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2935 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2936       if test $am_uid -le $am_max_uid; then
2937          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2938 $as_echo "yes" >&6; }
2939       else
2940          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2942          _am_tools=none
2943       fi
2944       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2945 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2946       if test $am_gid -le $am_max_gid; then
2947          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2948 $as_echo "yes" >&6; }
2949       else
2950         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2952         _am_tools=none
2953       fi
2954
2955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2956 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2957
2958   # Go ahead even if we have the value already cached.  We do so because we
2959   # need to set the values for the 'am__tar' and 'am__untar' variables.
2960   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2961
2962   for _am_tool in $_am_tools; do
2963     case $_am_tool in
2964     gnutar)
2965       for _am_tar in tar gnutar gtar; do
2966         { echo "$as_me:$LINENO: $_am_tar --version" >&5
2967    ($_am_tar --version) >&5 2>&5
2968    ac_status=$?
2969    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970    (exit $ac_status); } && break
2971       done
2972       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2973       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2974       am__untar="$_am_tar -xf -"
2975       ;;
2976     plaintar)
2977       # Must skip GNU tar: if it does not support --format= it doesn't create
2978       # ustar tarball either.
2979       (tar --version) >/dev/null 2>&1 && continue
2980       am__tar='tar chf - "$$tardir"'
2981       am__tar_='tar chf - "$tardir"'
2982       am__untar='tar xf -'
2983       ;;
2984     pax)
2985       am__tar='pax -L -x ustar -w "$$tardir"'
2986       am__tar_='pax -L -x ustar -w "$tardir"'
2987       am__untar='pax -r'
2988       ;;
2989     cpio)
2990       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2991       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2992       am__untar='cpio -i -H ustar -d'
2993       ;;
2994     none)
2995       am__tar=false
2996       am__tar_=false
2997       am__untar=false
2998       ;;
2999     esac
3000
3001     # If the value was cached, stop now.  We just wanted to have am__tar
3002     # and am__untar set.
3003     test -n "${am_cv_prog_tar_ustar}" && break
3004
3005     # tar/untar a dummy directory, and stop if the command works.
3006     rm -rf conftest.dir
3007     mkdir conftest.dir
3008     echo GrepMe > conftest.dir/file
3009     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3010    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3011    ac_status=$?
3012    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013    (exit $ac_status); }
3014     rm -rf conftest.dir
3015     if test -s conftest.tar; then
3016       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3017    ($am__untar <conftest.tar) >&5 2>&5
3018    ac_status=$?
3019    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020    (exit $ac_status); }
3021       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3022    (cat conftest.dir/file) >&5 2>&5
3023    ac_status=$?
3024    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025    (exit $ac_status); }
3026       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3027     fi
3028   done
3029   rm -rf conftest.dir
3030
3031   if ${am_cv_prog_tar_ustar+:} false; then :
3032   $as_echo_n "(cached) " >&6
3033 else
3034   am_cv_prog_tar_ustar=$_am_tool
3035 fi
3036
3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3038 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3039
3040
3041
3042
3043
3044
3045 # POSIX will say in a future version that running "rm -f" with no argument
3046 # is OK; and we want to be able to make that assumption in our Makefile
3047 # recipes.  So use an aggressive probe to check that the usage we want is
3048 # actually supported "in the wild" to an acceptable degree.
3049 # See automake bug#10828.
3050 # To make any issue more visible, cause the running configure to be aborted
3051 # by default if the 'rm' program in use doesn't match our expectations; the
3052 # user can still override this though.
3053 if rm -f && rm -fr && rm -rf; then : OK; else
3054   cat >&2 <<'END'
3055 Oops!
3056
3057 Your 'rm' program seems unable to run without file operands specified
3058 on the command line, even when the '-f' option is present.  This is contrary
3059 to the behaviour of most rm programs out there, and not conforming with
3060 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3061
3062 Please tell bug-automake@gnu.org about your system, including the value
3063 of your $PATH and any error possibly output before this message.  This
3064 can help us improve future automake versions.
3065
3066 END
3067   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3068     echo 'Configuration will proceed anyway, since you have set the' >&2
3069     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3070     echo >&2
3071   else
3072     cat >&2 <<'END'
3073 Aborting the configuration process, to ensure you take notice of the issue.
3074
3075 You can download and install GNU coreutils to get an 'rm' implementation
3076 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3077
3078 If you want to complete the configuration process using your problematic
3079 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3080 to "yes", and re-run configure.
3081
3082 END
3083     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3084   fi
3085 fi
3086
3087 # Support silent build rules.
3088 # Disable by either passing --disable-silent-rules to configure or passing V=1 to make.
3089 # Check whether --enable-silent-rules was given.
3090 if test "${enable_silent_rules+set}" = set; then :
3091   enableval=$enable_silent_rules;
3092 fi
3093
3094 case $enable_silent_rules in # (((
3095   yes) AM_DEFAULT_VERBOSITY=0;;
3096    no) AM_DEFAULT_VERBOSITY=1;;
3097     *) AM_DEFAULT_VERBOSITY=0;;
3098 esac
3099 am_make=${MAKE-make}
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3101 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3102 if ${am_cv_make_support_nested_variables+:} false; then :
3103   $as_echo_n "(cached) " >&6
3104 else
3105   if $as_echo 'TRUE=$(BAR$(V))
3106 BAR0=false
3107 BAR1=true
3108 V=1
3109 am__doit:
3110         @$(TRUE)
3111 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3112   am_cv_make_support_nested_variables=yes
3113 else
3114   am_cv_make_support_nested_variables=no
3115 fi
3116 fi
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3118 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3119 if test $am_cv_make_support_nested_variables = yes; then
3120     AM_V='$(V)'
3121   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3122 else
3123   AM_V=$AM_DEFAULT_VERBOSITY
3124   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3125 fi
3126 AM_BACKSLASH='\'
3127
3128
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3130 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3131     # Check whether --enable-maintainer-mode was given.
3132 if test "${enable_maintainer_mode+set}" = set; then :
3133   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3134 else
3135   USE_MAINTAINER_MODE=no
3136 fi
3137
3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3139 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3140    if test $USE_MAINTAINER_MODE = yes; then
3141   MAINTAINER_MODE_TRUE=
3142   MAINTAINER_MODE_FALSE='#'
3143 else
3144   MAINTAINER_MODE_TRUE='#'
3145   MAINTAINER_MODE_FALSE=
3146 fi
3147
3148   MAINT=$MAINTAINER_MODE_TRUE
3149
3150
3151
3152
3153
3154
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
3156 $as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
3157 cat >conftest.make <<'_MMEOF'
3158 override reverse = $(2)$(subst ,, )$(1)
3159 override result := $(word 2,$(call reverse,success,failure))
3160 all: ; test '$(result)' = success
3161 .PHONY: all
3162 _MMEOF
3163 if ${MAKE-make} -f conftest.make >&5 2>&5; then :
3164   mm_gnu_make=yes
3165 else
3166   mm_gnu_make=no
3167 fi
3168 rm -f conftest.make
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
3170 $as_echo "$mm_gnu_make" >&6; }
3171 if test "x$mm_gnu_make" != xyes; then :
3172   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3174 as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
3175 See \`config.log' for more details" "$LINENO" 5; }
3176 fi
3177
3178 SIGCXX_MODULE_NAME='sigc++-3.0'
3179
3180 SIGCXX_VERSION='2.99.9'
3181
3182 SIGCXX_API_VERSION='3.0'
3183
3184 SIGCXX_MAJOR_VERSION=2
3185
3186
3187 $as_echo "#define SIGCXX_MAJOR_VERSION 2" >>confdefs.h
3188
3189 SIGCXX_MINOR_VERSION=99
3190
3191
3192 $as_echo "#define SIGCXX_MINOR_VERSION 99" >>confdefs.h
3193
3194 SIGCXX_MICRO_VERSION=9
3195
3196
3197 $as_echo "#define SIGCXX_MICRO_VERSION 9" >>confdefs.h
3198
3199
3200 MMDOCTOOLDIR='${top_srcdir}/docs'
3201  if test 'xdocs' != 'x'; then
3202   DIST_DOCTOOLS_TRUE=
3203   DIST_DOCTOOLS_FALSE='#'
3204 else
3205   DIST_DOCTOOLS_TRUE='#'
3206   DIST_DOCTOOLS_FALSE=
3207 fi
3208
3209
3210 ac_ext=cpp
3211 ac_cpp='$CXXCPP $CPPFLAGS'
3212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3215 if test -z "$CXX"; then
3216   if test -n "$CCC"; then
3217     CXX=$CCC
3218   else
3219     if test -n "$ac_tool_prefix"; then
3220   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3221   do
3222     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3223 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_CXX+:} false; then :
3227   $as_echo_n "(cached) " >&6
3228 else
3229   if test -n "$CXX"; then
3230   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3231 else
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH
3234 do
3235   IFS=$as_save_IFS
3236   test -z "$as_dir" && as_dir=.
3237     for ac_exec_ext in '' $ac_executable_extensions; do
3238   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3239     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241     break 2
3242   fi
3243 done
3244   done
3245 IFS=$as_save_IFS
3246
3247 fi
3248 fi
3249 CXX=$ac_cv_prog_CXX
3250 if test -n "$CXX"; then
3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3252 $as_echo "$CXX" >&6; }
3253 else
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3256 fi
3257
3258
3259     test -n "$CXX" && break
3260   done
3261 fi
3262 if test -z "$CXX"; then
3263   ac_ct_CXX=$CXX
3264   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3265 do
3266   # Extract the first word of "$ac_prog", so it can be a program name with args.
3267 set dummy $ac_prog; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3271   $as_echo_n "(cached) " >&6
3272 else
3273   if test -n "$ac_ct_CXX"; then
3274   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3278 do
3279   IFS=$as_save_IFS
3280   test -z "$as_dir" && as_dir=.
3281     for ac_exec_ext in '' $ac_executable_extensions; do
3282   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3283     ac_cv_prog_ac_ct_CXX="$ac_prog"
3284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285     break 2
3286   fi
3287 done
3288   done
3289 IFS=$as_save_IFS
3290
3291 fi
3292 fi
3293 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3294 if test -n "$ac_ct_CXX"; then
3295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3296 $as_echo "$ac_ct_CXX" >&6; }
3297 else
3298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 fi
3301
3302
3303   test -n "$ac_ct_CXX" && break
3304 done
3305
3306   if test "x$ac_ct_CXX" = x; then
3307     CXX="g++"
3308   else
3309     case $cross_compiling:$ac_tool_warned in
3310 yes:)
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3313 ac_tool_warned=yes ;;
3314 esac
3315     CXX=$ac_ct_CXX
3316   fi
3317 fi
3318
3319   fi
3320 fi
3321 # Provide some information about the compiler.
3322 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3323 set X $ac_compile
3324 ac_compiler=$2
3325 for ac_option in --version -v -V -qversion; do
3326   { { ac_try="$ac_compiler $ac_option >&5"
3327 case "(($ac_try" in
3328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329   *) ac_try_echo=$ac_try;;
3330 esac
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3334   ac_status=$?
3335   if test -s conftest.err; then
3336     sed '10a\
3337 ... rest of stderr output deleted ...
3338          10q' conftest.err >conftest.er1
3339     cat conftest.er1 >&5
3340   fi
3341   rm -f conftest.er1 conftest.err
3342   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343   test $ac_status = 0; }
3344 done
3345
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h.  */
3348
3349 int
3350 main ()
3351 {
3352
3353   ;
3354   return 0;
3355 }
3356 _ACEOF
3357 ac_clean_files_save=$ac_clean_files
3358 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3359 # Try to create an executable without -o first, disregard a.out.
3360 # It will help us diagnose broken compilers, and finding out an intuition
3361 # of exeext.
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3363 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3364 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3365
3366 # The possible output files:
3367 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3368
3369 ac_rmfiles=
3370 for ac_file in $ac_files
3371 do
3372   case $ac_file in
3373     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3374     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3375   esac
3376 done
3377 rm -f $ac_rmfiles
3378
3379 if { { ac_try="$ac_link_default"
3380 case "(($ac_try" in
3381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382   *) ac_try_echo=$ac_try;;
3383 esac
3384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3385 $as_echo "$ac_try_echo"; } >&5
3386   (eval "$ac_link_default") 2>&5
3387   ac_status=$?
3388   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389   test $ac_status = 0; }; then :
3390   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3391 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3392 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3393 # so that the user can short-circuit this test for compilers unknown to
3394 # Autoconf.
3395 for ac_file in $ac_files ''
3396 do
3397   test -f "$ac_file" || continue
3398   case $ac_file in
3399     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3400         ;;
3401     [ab].out )
3402         # We found the default executable, but exeext='' is most
3403         # certainly right.
3404         break;;
3405     *.* )
3406         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3407         then :; else
3408            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3409         fi
3410         # We set ac_cv_exeext here because the later test for it is not
3411         # safe: cross compilers may not add the suffix if given an `-o'
3412         # argument, so we may need to know it at that point already.
3413         # Even if this section looks crufty: it has the advantage of
3414         # actually working.
3415         break;;
3416     * )
3417         break;;
3418   esac
3419 done
3420 test "$ac_cv_exeext" = no && ac_cv_exeext=
3421
3422 else
3423   ac_file=''
3424 fi
3425 if test -z "$ac_file"; then :
3426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 $as_echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.$ac_ext >&5
3430
3431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433 as_fn_error 77 "C++ compiler cannot create executables
3434 See \`config.log' for more details" "$LINENO" 5; }
3435 else
3436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3437 $as_echo "yes" >&6; }
3438 fi
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3440 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3442 $as_echo "$ac_file" >&6; }
3443 ac_exeext=$ac_cv_exeext
3444
3445 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3446 ac_clean_files=$ac_clean_files_save
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3448 $as_echo_n "checking for suffix of executables... " >&6; }
3449 if { { ac_try="$ac_link"
3450 case "(($ac_try" in
3451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452   *) ac_try_echo=$ac_try;;
3453 esac
3454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455 $as_echo "$ac_try_echo"; } >&5
3456   (eval "$ac_link") 2>&5
3457   ac_status=$?
3458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3459   test $ac_status = 0; }; then :
3460   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3461 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3462 # work properly (i.e., refer to `conftest.exe'), while it won't with
3463 # `rm'.
3464 for ac_file in conftest.exe conftest conftest.*; do
3465   test -f "$ac_file" || continue
3466   case $ac_file in
3467     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3468     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3469           break;;
3470     * ) break;;
3471   esac
3472 done
3473 else
3474   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3477 See \`config.log' for more details" "$LINENO" 5; }
3478 fi
3479 rm -f conftest conftest$ac_cv_exeext
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3481 $as_echo "$ac_cv_exeext" >&6; }
3482
3483 rm -f conftest.$ac_ext
3484 EXEEXT=$ac_cv_exeext
3485 ac_exeext=$EXEEXT
3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h.  */
3488 #include <stdio.h>
3489 int
3490 main ()
3491 {
3492 FILE *f = fopen ("conftest.out", "w");
3493  return ferror (f) || fclose (f) != 0;
3494
3495   ;
3496   return 0;
3497 }
3498 _ACEOF
3499 ac_clean_files="$ac_clean_files conftest.out"
3500 # Check that the compiler produces executables we can run.  If not, either
3501 # the compiler is broken, or we cross compile.
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3503 $as_echo_n "checking whether we are cross compiling... " >&6; }
3504 if test "$cross_compiling" != yes; then
3505   { { ac_try="$ac_link"
3506 case "(($ac_try" in
3507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3508   *) ac_try_echo=$ac_try;;
3509 esac
3510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3511 $as_echo "$ac_try_echo"; } >&5
3512   (eval "$ac_link") 2>&5
3513   ac_status=$?
3514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3515   test $ac_status = 0; }
3516   if { ac_try='./conftest$ac_cv_exeext'
3517   { { case "(($ac_try" in
3518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519   *) ac_try_echo=$ac_try;;
3520 esac
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
3523   (eval "$ac_try") 2>&5
3524   ac_status=$?
3525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526   test $ac_status = 0; }; }; then
3527     cross_compiling=no
3528   else
3529     if test "$cross_compiling" = maybe; then
3530         cross_compiling=yes
3531     else
3532         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534 as_fn_error $? "cannot run C++ compiled programs.
3535 If you meant to cross compile, use \`--host'.
3536 See \`config.log' for more details" "$LINENO" 5; }
3537     fi
3538   fi
3539 fi
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3541 $as_echo "$cross_compiling" >&6; }
3542
3543 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3544 ac_clean_files=$ac_clean_files_save
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3546 $as_echo_n "checking for suffix of object files... " >&6; }
3547 if ${ac_cv_objext+:} false; then :
3548   $as_echo_n "(cached) " >&6
3549 else
3550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h.  */
3552
3553 int
3554 main ()
3555 {
3556
3557   ;
3558   return 0;
3559 }
3560 _ACEOF
3561 rm -f conftest.o conftest.obj
3562 if { { ac_try="$ac_compile"
3563 case "(($ac_try" in
3564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565   *) ac_try_echo=$ac_try;;
3566 esac
3567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3568 $as_echo "$ac_try_echo"; } >&5
3569   (eval "$ac_compile") 2>&5
3570   ac_status=$?
3571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3572   test $ac_status = 0; }; then :
3573   for ac_file in conftest.o conftest.obj conftest.*; do
3574   test -f "$ac_file" || continue;
3575   case $ac_file in
3576     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3577     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3578        break;;
3579   esac
3580 done
3581 else
3582   $as_echo "$as_me: failed program was:" >&5
3583 sed 's/^/| /' conftest.$ac_ext >&5
3584
3585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 as_fn_error $? "cannot compute suffix of object files: cannot compile
3588 See \`config.log' for more details" "$LINENO" 5; }
3589 fi
3590 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3591 fi
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3593 $as_echo "$ac_cv_objext" >&6; }
3594 OBJEXT=$ac_cv_objext
3595 ac_objext=$OBJEXT
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3597 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3598 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3599   $as_echo_n "(cached) " >&6
3600 else
3601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h.  */
3603
3604 int
3605 main ()
3606 {
3607 #ifndef __GNUC__
3608        choke me
3609 #endif
3610
3611   ;
3612   return 0;
3613 }
3614 _ACEOF
3615 if ac_fn_cxx_try_compile "$LINENO"; then :
3616   ac_compiler_gnu=yes
3617 else
3618   ac_compiler_gnu=no
3619 fi
3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3621 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3622
3623 fi
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3625 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3626 if test $ac_compiler_gnu = yes; then
3627   GXX=yes
3628 else
3629   GXX=
3630 fi
3631 ac_test_CXXFLAGS=${CXXFLAGS+set}
3632 ac_save_CXXFLAGS=$CXXFLAGS
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3634 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3635 if ${ac_cv_prog_cxx_g+:} false; then :
3636   $as_echo_n "(cached) " >&6
3637 else
3638   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3639    ac_cxx_werror_flag=yes
3640    ac_cv_prog_cxx_g=no
3641    CXXFLAGS="-g"
3642    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h.  */
3644
3645 int
3646 main ()
3647 {
3648
3649   ;
3650   return 0;
3651 }
3652 _ACEOF
3653 if ac_fn_cxx_try_compile "$LINENO"; then :
3654   ac_cv_prog_cxx_g=yes
3655 else
3656   CXXFLAGS=""
3657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h.  */
3659
3660 int
3661 main ()
3662 {
3663
3664   ;
3665   return 0;
3666 }
3667 _ACEOF
3668 if ac_fn_cxx_try_compile "$LINENO"; then :
3669
3670 else
3671   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3672          CXXFLAGS="-g"
3673          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3674 /* end confdefs.h.  */
3675
3676 int
3677 main ()
3678 {
3679
3680   ;
3681   return 0;
3682 }
3683 _ACEOF
3684 if ac_fn_cxx_try_compile "$LINENO"; then :
3685   ac_cv_prog_cxx_g=yes
3686 fi
3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688 fi
3689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3690 fi
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3693 fi
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3695 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3696 if test "$ac_test_CXXFLAGS" = set; then
3697   CXXFLAGS=$ac_save_CXXFLAGS
3698 elif test $ac_cv_prog_cxx_g = yes; then
3699   if test "$GXX" = yes; then
3700     CXXFLAGS="-g -O2"
3701   else
3702     CXXFLAGS="-g"
3703   fi
3704 else
3705   if test "$GXX" = yes; then
3706     CXXFLAGS="-O2"
3707   else
3708     CXXFLAGS=
3709   fi
3710 fi
3711 ac_ext=c
3712 ac_cpp='$CPP $CPPFLAGS'
3713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3716 DEPDIR="${am__leading_dot}deps"
3717
3718 ac_config_commands="$ac_config_commands depfiles"
3719
3720
3721 am_make=${MAKE-make}
3722 cat > confinc << 'END'
3723 am__doit:
3724         @echo this is the am__doit target
3725 .PHONY: am__doit
3726 END
3727 # If we don't find an include directive, just comment out the code.
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3729 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3730 am__include="#"
3731 am__quote=
3732 _am_result=none
3733 # First try GNU make style include.
3734 echo "include confinc" > confmf
3735 # Ignore all kinds of additional output from 'make'.
3736 case `$am_make -s -f confmf 2> /dev/null` in #(
3737 *the\ am__doit\ target*)
3738   am__include=include
3739   am__quote=
3740   _am_result=GNU
3741   ;;
3742 esac
3743 # Now try BSD make style include.
3744 if test "$am__include" = "#"; then
3745    echo '.include "confinc"' > confmf
3746    case `$am_make -s -f confmf 2> /dev/null` in #(
3747    *the\ am__doit\ target*)
3748      am__include=.include
3749      am__quote="\""
3750      _am_result=BSD
3751      ;;
3752    esac
3753 fi
3754
3755
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3757 $as_echo "$_am_result" >&6; }
3758 rm -f confinc confmf
3759
3760 # Check whether --enable-dependency-tracking was given.
3761 if test "${enable_dependency_tracking+set}" = set; then :
3762   enableval=$enable_dependency_tracking;
3763 fi
3764
3765 if test "x$enable_dependency_tracking" != xno; then
3766   am_depcomp="$ac_aux_dir/depcomp"
3767   AMDEPBACKSLASH='\'
3768   am__nodep='_no'
3769 fi
3770  if test "x$enable_dependency_tracking" != xno; then
3771   AMDEP_TRUE=
3772   AMDEP_FALSE='#'
3773 else
3774   AMDEP_TRUE='#'
3775   AMDEP_FALSE=
3776 fi
3777
3778
3779
3780 depcc="$CXX"  am_compiler_list=
3781
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3783 $as_echo_n "checking dependency style of $depcc... " >&6; }
3784 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3785   $as_echo_n "(cached) " >&6
3786 else
3787   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3788   # We make a subdir and do the tests there.  Otherwise we can end up
3789   # making bogus files that we don't know about and never remove.  For
3790   # instance it was reported that on HP-UX the gcc test will end up
3791   # making a dummy file named 'D' -- because '-MD' means "put the output
3792   # in D".
3793   rm -rf conftest.dir
3794   mkdir conftest.dir
3795   # Copy depcomp to subdir because otherwise we won't find it if we're
3796   # using a relative directory.
3797   cp "$am_depcomp" conftest.dir
3798   cd conftest.dir
3799   # We will build objects and dependencies in a subdirectory because
3800   # it helps to detect inapplicable dependency modes.  For instance
3801   # both Tru64's cc and ICC support -MD to output dependencies as a
3802   # side effect of compilation, but ICC will put the dependencies in
3803   # the current directory while Tru64 will put them in the object
3804   # directory.
3805   mkdir sub
3806
3807   am_cv_CXX_dependencies_compiler_type=none
3808   if test "$am_compiler_list" = ""; then
3809      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3810   fi
3811   am__universal=false
3812   case " $depcc " in #(
3813      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3814      esac
3815
3816   for depmode in $am_compiler_list; do
3817     # Setup a source with many dependencies, because some compilers
3818     # like to wrap large dependency lists on column 80 (with \), and
3819     # we should not choose a depcomp mode which is confused by this.
3820     #
3821     # We need to recreate these files for each test, as the compiler may
3822     # overwrite some of them when testing with obscure command lines.
3823     # This happens at least with the AIX C compiler.
3824     : > sub/conftest.c
3825     for i in 1 2 3 4 5 6; do
3826       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3827       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3828       # Solaris 10 /bin/sh.
3829       echo '/* dummy */' > sub/conftst$i.h
3830     done
3831     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3832
3833     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3834     # mode.  It turns out that the SunPro C++ compiler does not properly
3835     # handle '-M -o', and we need to detect this.  Also, some Intel
3836     # versions had trouble with output in subdirs.
3837     am__obj=sub/conftest.${OBJEXT-o}
3838     am__minus_obj="-o $am__obj"
3839     case $depmode in
3840     gcc)
3841       # This depmode causes a compiler race in universal mode.
3842       test "$am__universal" = false || continue
3843       ;;
3844     nosideeffect)
3845       # After this tag, mechanisms are not by side-effect, so they'll
3846       # only be used when explicitly requested.
3847       if test "x$enable_dependency_tracking" = xyes; then
3848         continue
3849       else
3850         break
3851       fi
3852       ;;
3853     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3854       # This compiler won't grok '-c -o', but also, the minuso test has
3855       # not run yet.  These depmodes are late enough in the game, and
3856       # so weak that their functioning should not be impacted.
3857       am__obj=conftest.${OBJEXT-o}
3858       am__minus_obj=
3859       ;;
3860     none) break ;;
3861     esac
3862     if depmode=$depmode \
3863        source=sub/conftest.c object=$am__obj \
3864        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3865        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3866          >/dev/null 2>conftest.err &&
3867        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3868        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3869        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3870        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3871       # icc doesn't choke on unknown options, it will just issue warnings
3872       # or remarks (even with -Werror).  So we grep stderr for any message
3873       # that says an option was ignored or not supported.
3874       # When given -MP, icc 7.0 and 7.1 complain thusly:
3875       #   icc: Command line warning: ignoring option '-M'; no argument required
3876       # The diagnosis changed in icc 8.0:
3877       #   icc: Command line remark: option '-MP' not supported
3878       if (grep 'ignoring option' conftest.err ||
3879           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3880         am_cv_CXX_dependencies_compiler_type=$depmode
3881         break
3882       fi
3883     fi
3884   done
3885
3886   cd ..
3887   rm -rf conftest.dir
3888 else
3889   am_cv_CXX_dependencies_compiler_type=none
3890 fi
3891
3892 fi
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3894 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3895 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3896
3897  if
3898   test "x$enable_dependency_tracking" != xno \
3899   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3900   am__fastdepCXX_TRUE=
3901   am__fastdepCXX_FALSE='#'
3902 else
3903   am__fastdepCXX_TRUE='#'
3904   am__fastdepCXX_FALSE=
3905 fi
3906
3907
3908
3909       ax_cxx_compile_cxx14_required=true
3910   ac_ext=cpp
3911 ac_cpp='$CXXCPP $CPPFLAGS'
3912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3915   ac_success=no
3916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features by default" >&5
3917 $as_echo_n "checking whether $CXX supports C++14 features by default... " >&6; }
3918 if ${ax_cv_cxx_compile_cxx14+:} false; then :
3919   $as_echo_n "(cached) " >&6
3920 else
3921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h.  */
3923
3924
3925 // If the compiler admits that it is not ready for C++11, why torture it?
3926 // Hopefully, this will speed up the test.
3927
3928 #ifndef __cplusplus
3929
3930 #error "This is not a C++ compiler"
3931
3932 #elif __cplusplus < 201103L
3933
3934 #error "This is not a C++11 compiler"
3935
3936 #else
3937
3938 namespace cxx11
3939 {
3940
3941   namespace test_static_assert
3942   {
3943
3944     template <typename T>
3945     struct check
3946     {
3947       static_assert(sizeof(int) <= sizeof(T), "not big enough");
3948     };
3949
3950   }
3951
3952   namespace test_final_override
3953   {
3954
3955     struct Base
3956     {
3957       virtual void f() {}
3958     };
3959
3960     struct Derived : public Base
3961     {
3962       virtual void f() override {}
3963     };
3964
3965   }
3966
3967   namespace test_double_right_angle_brackets
3968   {
3969
3970     template < typename T >
3971     struct check {};
3972
3973     typedef check<void> single_type;
3974     typedef check<check<void>> double_type;
3975     typedef check<check<check<void>>> triple_type;
3976     typedef check<check<check<check<void>>>> quadruple_type;
3977
3978   }
3979
3980   namespace test_decltype
3981   {
3982
3983     int
3984     f()
3985     {
3986       int a = 1;
3987       decltype(a) b = 2;
3988       return a + b;
3989     }
3990
3991   }
3992
3993   namespace test_type_deduction
3994   {
3995
3996     template < typename T1, typename T2 >
3997     struct is_same
3998     {
3999       static const bool value = false;
4000     };
4001
4002     template < typename T >
4003     struct is_same<T, T>
4004     {
4005       static const bool value = true;
4006     };
4007
4008     template < typename T1, typename T2 >
4009     auto
4010     add(T1 a1, T2 a2) -> decltype(a1 + a2)
4011     {
4012       return a1 + a2;
4013     }
4014
4015     int
4016     test(const int c, volatile int v)
4017     {
4018       static_assert(is_same<int, decltype(0)>::value == true, "");
4019       static_assert(is_same<int, decltype(c)>::value == false, "");
4020       static_assert(is_same<int, decltype(v)>::value == false, "");
4021       auto ac = c;
4022       auto av = v;
4023       auto sumi = ac + av + 'x';
4024       auto sumf = ac + av + 1.0;
4025       static_assert(is_same<int, decltype(ac)>::value == true, "");
4026       static_assert(is_same<int, decltype(av)>::value == true, "");
4027       static_assert(is_same<int, decltype(sumi)>::value == true, "");
4028       static_assert(is_same<int, decltype(sumf)>::value == false, "");
4029       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
4030       return (sumf > 0.0) ? sumi : add(c, v);
4031     }
4032
4033   }
4034
4035   namespace test_noexcept
4036   {
4037
4038     int f() { return 0; }
4039     int g() noexcept { return 0; }
4040
4041     static_assert(noexcept(f()) == false, "");
4042     static_assert(noexcept(g()) == true, "");
4043
4044   }
4045
4046   namespace test_constexpr
4047   {
4048
4049     template < typename CharT >
4050     unsigned long constexpr
4051     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
4052     {
4053       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
4054     }
4055
4056     template < typename CharT >
4057     unsigned long constexpr
4058     strlen_c(const CharT *const s) noexcept
4059     {
4060       return strlen_c_r(s, 0UL);
4061     }
4062
4063     static_assert(strlen_c("") == 0UL, "");
4064     static_assert(strlen_c("1") == 1UL, "");
4065     static_assert(strlen_c("example") == 7UL, "");
4066     static_assert(strlen_c("another\0example") == 7UL, "");
4067
4068   }
4069
4070   namespace test_rvalue_references
4071   {
4072
4073     template < int N >
4074     struct answer
4075     {
4076       static constexpr int value = N;
4077     };
4078
4079     answer<1> f(int&)       { return answer<1>(); }
4080     answer<2> f(const int&) { return answer<2>(); }
4081     answer<3> f(int&&)      { return answer<3>(); }
4082
4083     void
4084     test()
4085     {
4086       int i = 0;
4087       const int c = 0;
4088       static_assert(decltype(f(i))::value == 1, "");
4089       static_assert(decltype(f(c))::value == 2, "");
4090       static_assert(decltype(f(0))::value == 3, "");
4091     }
4092
4093   }
4094
4095   namespace test_uniform_initialization
4096   {
4097
4098     struct test
4099     {
4100       static const int zero {};
4101       static const int one {1};
4102     };
4103
4104     static_assert(test::zero == 0, "");
4105     static_assert(test::one == 1, "");
4106
4107   }
4108
4109   namespace test_lambdas
4110   {
4111
4112     void
4113     test1()
4114     {
4115       auto lambda1 = [](){};
4116       auto lambda2 = lambda1;
4117       lambda1();
4118       lambda2();
4119     }
4120
4121     int
4122     test2()
4123     {
4124       auto a = [](int i, int j){ return i + j; }(1, 2);
4125       auto b = []() -> int { return '0'; }();
4126       auto c = [=](){ return a + b; }();
4127       auto d = [&](){ return c; }();
4128       auto e = [a, &b](int x) mutable {
4129         const auto identity = [](int y){ return y; };
4130         for (auto i = 0; i < a; ++i)
4131           a += b--;
4132         return x + identity(a + b);
4133       }(0);
4134       return a + b + c + d + e;
4135     }
4136
4137     int
4138     test3()
4139     {
4140       const auto nullary = [](){ return 0; };
4141       const auto unary = [](int x){ return x; };
4142       using nullary_t = decltype(nullary);
4143       using unary_t = decltype(unary);
4144       const auto higher1st = [](nullary_t f){ return f(); };
4145       const auto higher2nd = [unary](nullary_t f1){
4146         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
4147       };
4148       return higher1st(nullary) + higher2nd(nullary)(unary);
4149     }
4150
4151   }
4152
4153   namespace test_variadic_templates
4154   {
4155
4156     template <int...>
4157     struct sum;
4158
4159     template <int N0, int... N1toN>
4160     struct sum<N0, N1toN...>
4161     {
4162       static constexpr auto value = N0 + sum<N1toN...>::value;
4163     };
4164
4165     template <>
4166     struct sum<>
4167     {
4168       static constexpr auto value = 0;
4169     };
4170
4171     static_assert(sum<>::value == 0, "");
4172     static_assert(sum<1>::value == 1, "");
4173     static_assert(sum<23>::value == 23, "");
4174     static_assert(sum<1, 2>::value == 3, "");
4175     static_assert(sum<5, 5, 11>::value == 21, "");
4176     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
4177
4178   }
4179
4180   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
4181   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
4182   // because of this.
4183   namespace test_template_alias_sfinae
4184   {
4185
4186     struct foo {};
4187
4188     template<typename T>
4189     using member = typename T::member_type;
4190
4191     template<typename T>
4192     void func(...) {}
4193
4194     template<typename T>
4195     void func(member<T>*) {}
4196
4197     void test();
4198
4199     void test() { func<foo>(0); }
4200
4201   }
4202
4203 }  // namespace cxx11
4204
4205 #endif  // __cplusplus >= 201103L
4206
4207
4208
4209
4210 // If the compiler admits that it is not ready for C++14, why torture it?
4211 // Hopefully, this will speed up the test.
4212
4213 #ifndef __cplusplus
4214
4215 #error "This is not a C++ compiler"
4216
4217 #elif __cplusplus < 201402L
4218
4219 #error "This is not a C++14 compiler"
4220
4221 #else
4222
4223 namespace cxx14
4224 {
4225
4226   namespace test_polymorphic_lambdas
4227   {
4228
4229     int
4230     test()
4231     {
4232       const auto lambda = [](auto&&... args){
4233         const auto istiny = [](auto x){
4234           return (sizeof(x) == 1UL) ? 1 : 0;
4235         };
4236         const int aretiny[] = { istiny(args)... };
4237         return aretiny[0];
4238       };
4239       return lambda(1, 1L, 1.0f, '1');
4240     }
4241
4242   }
4243
4244   namespace test_binary_literals
4245   {
4246
4247     constexpr auto ivii = 0b0000000000101010;
4248     static_assert(ivii == 42, "wrong value");
4249
4250   }
4251
4252   namespace test_generalized_constexpr
4253   {
4254
4255     template < typename CharT >
4256     constexpr unsigned long
4257     strlen_c(const CharT *const s) noexcept
4258     {
4259       auto length = 0UL;
4260       for (auto p = s; *p; ++p)
4261         ++length;
4262       return length;
4263     }
4264
4265     static_assert(strlen_c("") == 0UL, "");
4266     static_assert(strlen_c("x") == 1UL, "");
4267     static_assert(strlen_c("test") == 4UL, "");
4268     static_assert(strlen_c("another\0test") == 7UL, "");
4269
4270   }
4271
4272   namespace test_lambda_init_capture
4273   {
4274
4275     int
4276     test()
4277     {
4278       auto x = 0;
4279       const auto lambda1 = [a = x](int b){ return a + b; };
4280       const auto lambda2 = [a = lambda1(x)](){ return a; };
4281       return lambda2();
4282     }
4283
4284   }
4285
4286   namespace test_digit_seperators
4287   {
4288
4289     constexpr auto ten_million = 100'000'000;
4290     static_assert(ten_million == 100000000, "");
4291
4292   }
4293
4294   namespace test_return_type_deduction
4295   {
4296
4297     auto f(int& x) { return x; }
4298     decltype(auto) g(int& x) { return x; }
4299
4300     template < typename T1, typename T2 >
4301     struct is_same
4302     {
4303       static constexpr auto value = false;
4304     };
4305
4306     template < typename T >
4307     struct is_same<T, T>
4308     {
4309       static constexpr auto value = true;
4310     };
4311
4312     int
4313     test()
4314     {
4315       auto x = 0;
4316       static_assert(is_same<int, decltype(f(x))>::value, "");
4317       static_assert(is_same<int&, decltype(g(x))>::value, "");
4318       return x;
4319     }
4320
4321   }
4322
4323 }  // namespace cxx14
4324
4325 #endif  // __cplusplus >= 201402L
4326
4327
4328
4329 _ACEOF
4330 if ac_fn_cxx_try_compile "$LINENO"; then :
4331   ax_cv_cxx_compile_cxx14=yes
4332 else
4333   ax_cv_cxx_compile_cxx14=no
4334 fi
4335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4336 fi
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx14" >&5
4338 $as_echo "$ax_cv_cxx_compile_cxx14" >&6; }
4339   if test x$ax_cv_cxx_compile_cxx14 = xyes; then
4340     ac_success=yes
4341   fi
4342
4343
4344
4345     if test x$ac_success = xno; then
4346                 for switch in -std=c++14 -std=c++0x +std=c++14 "-h std=c++14"; do
4347       cachevar=`$as_echo "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh`
4348       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5
4349 $as_echo_n "checking whether $CXX supports C++14 features with $switch... " >&6; }
4350 if eval \${$cachevar+:} false; then :
4351   $as_echo_n "(cached) " >&6
4352 else
4353   ac_save_CXXFLAGS="$CXXFLAGS"
4354          CXXFLAGS="$CXXFLAGS $switch"
4355          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h.  */
4357
4358
4359 // If the compiler admits that it is not ready for C++11, why torture it?
4360 // Hopefully, this will speed up the test.
4361
4362 #ifndef __cplusplus
4363
4364 #error "This is not a C++ compiler"
4365
4366 #elif __cplusplus < 201103L
4367
4368 #error "This is not a C++11 compiler"
4369
4370 #else
4371
4372 namespace cxx11
4373 {
4374
4375   namespace test_static_assert
4376   {
4377
4378     template <typename T>
4379     struct check
4380     {
4381       static_assert(sizeof(int) <= sizeof(T), "not big enough");
4382     };
4383
4384   }
4385
4386   namespace test_final_override
4387   {
4388
4389     struct Base
4390     {
4391       virtual void f() {}
4392     };
4393
4394     struct Derived : public Base
4395     {
4396       virtual void f() override {}
4397     };
4398
4399   }
4400
4401   namespace test_double_right_angle_brackets
4402   {
4403
4404     template < typename T >
4405     struct check {};
4406
4407     typedef check<void> single_type;
4408     typedef check<check<void>> double_type;
4409     typedef check<check<check<void>>> triple_type;
4410     typedef check<check<check<check<void>>>> quadruple_type;
4411
4412   }
4413
4414   namespace test_decltype
4415   {
4416
4417     int
4418     f()
4419     {
4420       int a = 1;
4421       decltype(a) b = 2;
4422       return a + b;
4423     }
4424
4425   }
4426
4427   namespace test_type_deduction
4428   {
4429
4430     template < typename T1, typename T2 >
4431     struct is_same
4432     {
4433       static const bool value = false;
4434     };
4435
4436     template < typename T >
4437     struct is_same<T, T>
4438     {
4439       static const bool value = true;
4440     };
4441
4442     template < typename T1, typename T2 >
4443     auto
4444     add(T1 a1, T2 a2) -> decltype(a1 + a2)
4445     {
4446       return a1 + a2;
4447     }
4448
4449     int
4450     test(const int c, volatile int v)
4451     {
4452       static_assert(is_same<int, decltype(0)>::value == true, "");
4453       static_assert(is_same<int, decltype(c)>::value == false, "");
4454       static_assert(is_same<int, decltype(v)>::value == false, "");
4455       auto ac = c;
4456       auto av = v;
4457       auto sumi = ac + av + 'x';
4458       auto sumf = ac + av + 1.0;
4459       static_assert(is_same<int, decltype(ac)>::value == true, "");
4460       static_assert(is_same<int, decltype(av)>::value == true, "");
4461       static_assert(is_same<int, decltype(sumi)>::value == true, "");
4462       static_assert(is_same<int, decltype(sumf)>::value == false, "");
4463       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
4464       return (sumf > 0.0) ? sumi : add(c, v);
4465     }
4466
4467   }
4468
4469   namespace test_noexcept
4470   {
4471
4472     int f() { return 0; }
4473     int g() noexcept { return 0; }
4474
4475     static_assert(noexcept(f()) == false, "");
4476     static_assert(noexcept(g()) == true, "");
4477
4478   }
4479
4480   namespace test_constexpr
4481   {
4482
4483     template < typename CharT >
4484     unsigned long constexpr
4485     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
4486     {
4487       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
4488     }
4489
4490     template < typename CharT >
4491     unsigned long constexpr
4492     strlen_c(const CharT *const s) noexcept
4493     {
4494       return strlen_c_r(s, 0UL);
4495     }
4496
4497     static_assert(strlen_c("") == 0UL, "");
4498     static_assert(strlen_c("1") == 1UL, "");
4499     static_assert(strlen_c("example") == 7UL, "");
4500     static_assert(strlen_c("another\0example") == 7UL, "");
4501
4502   }
4503
4504   namespace test_rvalue_references
4505   {
4506
4507     template < int N >
4508     struct answer
4509     {
4510       static constexpr int value = N;
4511     };
4512
4513     answer<1> f(int&)       { return answer<1>(); }
4514     answer<2> f(const int&) { return answer<2>(); }
4515     answer<3> f(int&&)      { return answer<3>(); }
4516
4517     void
4518     test()
4519     {
4520       int i = 0;
4521       const int c = 0;
4522       static_assert(decltype(f(i))::value == 1, "");
4523       static_assert(decltype(f(c))::value == 2, "");
4524       static_assert(decltype(f(0))::value == 3, "");
4525     }
4526
4527   }
4528
4529   namespace test_uniform_initialization
4530   {
4531
4532     struct test
4533     {
4534       static const int zero {};
4535       static const int one {1};
4536     };
4537
4538     static_assert(test::zero == 0, "");
4539     static_assert(test::one == 1, "");
4540
4541   }
4542
4543   namespace test_lambdas
4544   {
4545
4546     void
4547     test1()
4548     {
4549       auto lambda1 = [](){};
4550       auto lambda2 = lambda1;
4551       lambda1();
4552       lambda2();
4553     }
4554
4555     int
4556     test2()
4557     {
4558       auto a = [](int i, int j){ return i + j; }(1, 2);
4559       auto b = []() -> int { return '0'; }();
4560       auto c = [=](){ return a + b; }();
4561       auto d = [&](){ return c; }();
4562       auto e = [a, &b](int x) mutable {
4563         const auto identity = [](int y){ return y; };
4564         for (auto i = 0; i < a; ++i)
4565           a += b--;
4566         return x + identity(a + b);
4567       }(0);
4568       return a + b + c + d + e;
4569     }
4570
4571     int
4572     test3()
4573     {
4574       const auto nullary = [](){ return 0; };
4575       const auto unary = [](int x){ return x; };
4576       using nullary_t = decltype(nullary);
4577       using unary_t = decltype(unary);
4578       const auto higher1st = [](nullary_t f){ return f(); };
4579       const auto higher2nd = [unary](nullary_t f1){
4580         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
4581       };
4582       return higher1st(nullary) + higher2nd(nullary)(unary);
4583     }
4584
4585   }
4586
4587   namespace test_variadic_templates
4588   {
4589
4590     template <int...>
4591     struct sum;
4592
4593     template <int N0, int... N1toN>
4594     struct sum<N0, N1toN...>
4595     {
4596       static constexpr auto value = N0 + sum<N1toN...>::value;
4597     };
4598
4599     template <>
4600     struct sum<>
4601     {
4602       static constexpr auto value = 0;
4603     };
4604
4605     static_assert(sum<>::value == 0, "");
4606     static_assert(sum<1>::value == 1, "");
4607     static_assert(sum<23>::value == 23, "");
4608     static_assert(sum<1, 2>::value == 3, "");
4609     static_assert(sum<5, 5, 11>::value == 21, "");
4610     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
4611
4612   }
4613
4614   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
4615   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
4616   // because of this.
4617   namespace test_template_alias_sfinae
4618   {
4619
4620     struct foo {};
4621
4622     template<typename T>
4623     using member = typename T::member_type;
4624
4625     template<typename T>
4626     void func(...) {}
4627
4628     template<typename T>
4629     void func(member<T>*) {}
4630
4631     void test();
4632
4633     void test() { func<foo>(0); }
4634
4635   }
4636
4637 }  // namespace cxx11
4638
4639 #endif  // __cplusplus >= 201103L
4640
4641
4642
4643
4644 // If the compiler admits that it is not ready for C++14, why torture it?
4645 // Hopefully, this will speed up the test.
4646
4647 #ifndef __cplusplus
4648
4649 #error "This is not a C++ compiler"
4650
4651 #elif __cplusplus < 201402L
4652
4653 #error "This is not a C++14 compiler"
4654
4655 #else
4656
4657 namespace cxx14
4658 {
4659
4660   namespace test_polymorphic_lambdas
4661   {
4662
4663     int
4664     test()
4665     {
4666       const auto lambda = [](auto&&... args){
4667         const auto istiny = [](auto x){
4668           return (sizeof(x) == 1UL) ? 1 : 0;
4669         };
4670         const int aretiny[] = { istiny(args)... };
4671         return aretiny[0];
4672       };
4673       return lambda(1, 1L, 1.0f, '1');
4674     }
4675
4676   }
4677
4678   namespace test_binary_literals
4679   {
4680
4681     constexpr auto ivii = 0b0000000000101010;
4682     static_assert(ivii == 42, "wrong value");
4683
4684   }
4685
4686   namespace test_generalized_constexpr
4687   {
4688
4689     template < typename CharT >
4690     constexpr unsigned long
4691     strlen_c(const CharT *const s) noexcept
4692     {
4693       auto length = 0UL;
4694       for (auto p = s; *p; ++p)
4695         ++length;
4696       return length;
4697     }
4698
4699     static_assert(strlen_c("") == 0UL, "");
4700     static_assert(strlen_c("x") == 1UL, "");
4701     static_assert(strlen_c("test") == 4UL, "");
4702     static_assert(strlen_c("another\0test") == 7UL, "");
4703
4704   }
4705
4706   namespace test_lambda_init_capture
4707   {
4708
4709     int
4710     test()
4711     {
4712       auto x = 0;
4713       const auto lambda1 = [a = x](int b){ return a + b; };
4714       const auto lambda2 = [a = lambda1(x)](){ return a; };
4715       return lambda2();
4716     }
4717
4718   }
4719
4720   namespace test_digit_seperators
4721   {
4722
4723     constexpr auto ten_million = 100'000'000;
4724     static_assert(ten_million == 100000000, "");
4725
4726   }
4727
4728   namespace test_return_type_deduction
4729   {
4730
4731     auto f(int& x) { return x; }
4732     decltype(auto) g(int& x) { return x; }
4733
4734     template < typename T1, typename T2 >
4735     struct is_same
4736     {
4737       static constexpr auto value = false;
4738     };
4739
4740     template < typename T >
4741     struct is_same<T, T>
4742     {
4743       static constexpr auto value = true;
4744     };
4745
4746     int
4747     test()
4748     {
4749       auto x = 0;
4750       static_assert(is_same<int, decltype(f(x))>::value, "");
4751       static_assert(is_same<int&, decltype(g(x))>::value, "");
4752       return x;
4753     }
4754
4755   }
4756
4757 }  // namespace cxx14
4758
4759 #endif  // __cplusplus >= 201402L
4760
4761
4762
4763 _ACEOF
4764 if ac_fn_cxx_try_compile "$LINENO"; then :
4765   eval $cachevar=yes
4766 else
4767   eval $cachevar=no
4768 fi
4769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4770          CXXFLAGS="$ac_save_CXXFLAGS"
4771 fi
4772 eval ac_res=\$$cachevar
4773                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4774 $as_echo "$ac_res" >&6; }
4775       if eval test x\$$cachevar = xyes; then
4776         CXXFLAGS="$CXXFLAGS $switch"
4777         ac_success=yes
4778         break
4779       fi
4780     done
4781   fi
4782   ac_ext=c
4783 ac_cpp='$CPP $CPPFLAGS'
4784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4787
4788   if test x$ax_cxx_compile_cxx14_required = xtrue; then
4789     if test x$ac_success = xno; then
4790       as_fn_error $? "*** A compiler with support for C++14 language features is required." "$LINENO" 5
4791     fi
4792   else
4793     if test x$ac_success = xno; then
4794       HAVE_CXX14=0
4795       { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++14 support was found" >&5
4796 $as_echo "$as_me: No compiler with C++14 support was found" >&6;}
4797     else
4798       HAVE_CXX14=1
4799
4800 $as_echo "#define HAVE_CXX14 1" >>confdefs.h
4801
4802     fi
4803
4804
4805   fi
4806
4807
4808 # Check whether --enable-static was given.
4809 if test "${enable_static+set}" = set; then :
4810   enableval=$enable_static; p=${PACKAGE-default}
4811     case $enableval in
4812     yes) enable_static=yes ;;
4813     no) enable_static=no ;;
4814     *)
4815      enable_static=no
4816       # Look at the argument we got.  We use all the common list separators.
4817       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4818       for pkg in $enableval; do
4819         IFS=$lt_save_ifs
4820         if test "X$pkg" = "X$p"; then
4821           enable_static=yes
4822         fi
4823       done
4824       IFS=$lt_save_ifs
4825       ;;
4826     esac
4827 else
4828   enable_static=no
4829 fi
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839 case `pwd` in
4840   *\ * | *\     *)
4841     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4842 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4843 esac
4844
4845
4846
4847 macro_version='2.4.6'
4848 macro_revision='2.4.6'
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862 ltmain=$ac_aux_dir/ltmain.sh
4863
4864 # Make sure we can run config.sub.
4865 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4866   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4867
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4869 $as_echo_n "checking build system type... " >&6; }
4870 if ${ac_cv_build+:} false; then :
4871   $as_echo_n "(cached) " >&6
4872 else
4873   ac_build_alias=$build_alias
4874 test "x$ac_build_alias" = x &&
4875   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4876 test "x$ac_build_alias" = x &&
4877   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4878 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4879   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4880
4881 fi
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4883 $as_echo "$ac_cv_build" >&6; }
4884 case $ac_cv_build in
4885 *-*-*) ;;
4886 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4887 esac
4888 build=$ac_cv_build
4889 ac_save_IFS=$IFS; IFS='-'
4890 set x $ac_cv_build
4891 shift
4892 build_cpu=$1
4893 build_vendor=$2
4894 shift; shift
4895 # Remember, the first character of IFS is used to create $*,
4896 # except with old shells:
4897 build_os=$*
4898 IFS=$ac_save_IFS
4899 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4900
4901
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4903 $as_echo_n "checking host system type... " >&6; }
4904 if ${ac_cv_host+:} false; then :
4905   $as_echo_n "(cached) " >&6
4906 else
4907   if test "x$host_alias" = x; then
4908   ac_cv_host=$ac_cv_build
4909 else
4910   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4911     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4912 fi
4913
4914 fi
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4916 $as_echo "$ac_cv_host" >&6; }
4917 case $ac_cv_host in
4918 *-*-*) ;;
4919 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4920 esac
4921 host=$ac_cv_host
4922 ac_save_IFS=$IFS; IFS='-'
4923 set x $ac_cv_host
4924 shift
4925 host_cpu=$1
4926 host_vendor=$2
4927 shift; shift
4928 # Remember, the first character of IFS is used to create $*,
4929 # except with old shells:
4930 host_os=$*
4931 IFS=$ac_save_IFS
4932 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4933
4934
4935 # Backslashify metacharacters that are still active within
4936 # double-quoted strings.
4937 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4938
4939 # Same as above, but do not quote variable references.
4940 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4941
4942 # Sed substitution to delay expansion of an escaped shell variable in a
4943 # double_quote_subst'ed string.
4944 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4945
4946 # Sed substitution to delay expansion of an escaped single quote.
4947 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4948
4949 # Sed substitution to avoid accidental globbing in evaled expressions
4950 no_glob_subst='s/\*/\\\*/g'
4951
4952 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4953 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4954 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4955
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4957 $as_echo_n "checking how to print strings... " >&6; }
4958 # Test print first, because it will be a builtin if present.
4959 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4960    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4961   ECHO='print -r --'
4962 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4963   ECHO='printf %s\n'
4964 else
4965   # Use this function as a fallback that always works.
4966   func_fallback_echo ()
4967   {
4968     eval 'cat <<_LTECHO_EOF
4969 $1
4970 _LTECHO_EOF'
4971   }
4972   ECHO='func_fallback_echo'
4973 fi
4974
4975 # func_echo_all arg...
4976 # Invoke $ECHO with all args, space-separated.
4977 func_echo_all ()
4978 {
4979     $ECHO ""
4980 }
4981
4982 case $ECHO in
4983   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4984 $as_echo "printf" >&6; } ;;
4985   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4986 $as_echo "print -r" >&6; } ;;
4987   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4988 $as_echo "cat" >&6; } ;;
4989 esac
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004 ac_ext=c
5005 ac_cpp='$CPP $CPPFLAGS'
5006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5009 if test -n "$ac_tool_prefix"; then
5010   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5011 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_CC+:} false; then :
5015   $as_echo_n "(cached) " >&6
5016 else
5017   if test -n "$CC"; then
5018   ac_cv_prog_CC="$CC" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5022 do
5023   IFS=$as_save_IFS
5024   test -z "$as_dir" && as_dir=.
5025     for ac_exec_ext in '' $ac_executable_extensions; do
5026   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5027     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029     break 2
5030   fi
5031 done
5032   done
5033 IFS=$as_save_IFS
5034
5035 fi
5036 fi
5037 CC=$ac_cv_prog_CC
5038 if test -n "$CC"; then
5039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5040 $as_echo "$CC" >&6; }
5041 else
5042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5044 fi
5045
5046
5047 fi
5048 if test -z "$ac_cv_prog_CC"; then
5049   ac_ct_CC=$CC
5050   # Extract the first word of "gcc", so it can be a program name with args.
5051 set dummy gcc; ac_word=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5055   $as_echo_n "(cached) " >&6
5056 else
5057   if test -n "$ac_ct_CC"; then
5058   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5059 else
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 for as_dir in $PATH
5062 do
5063   IFS=$as_save_IFS
5064   test -z "$as_dir" && as_dir=.
5065     for ac_exec_ext in '' $ac_executable_extensions; do
5066   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5067     ac_cv_prog_ac_ct_CC="gcc"
5068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069     break 2
5070   fi
5071 done
5072   done
5073 IFS=$as_save_IFS
5074
5075 fi
5076 fi
5077 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5078 if test -n "$ac_ct_CC"; then
5079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5080 $as_echo "$ac_ct_CC" >&6; }
5081 else
5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5084 fi
5085
5086   if test "x$ac_ct_CC" = x; then
5087     CC=""
5088   else
5089     case $cross_compiling:$ac_tool_warned in
5090 yes:)
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093 ac_tool_warned=yes ;;
5094 esac
5095     CC=$ac_ct_CC
5096   fi
5097 else
5098   CC="$ac_cv_prog_CC"
5099 fi
5100
5101 if test -z "$CC"; then
5102           if test -n "$ac_tool_prefix"; then
5103     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5104 set dummy ${ac_tool_prefix}cc; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if ${ac_cv_prog_CC+:} false; then :
5108   $as_echo_n "(cached) " >&6
5109 else
5110   if test -n "$CC"; then
5111   ac_cv_prog_CC="$CC" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5115 do
5116   IFS=$as_save_IFS
5117   test -z "$as_dir" && as_dir=.
5118     for ac_exec_ext in '' $ac_executable_extensions; do
5119   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120     ac_cv_prog_CC="${ac_tool_prefix}cc"
5121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122     break 2
5123   fi
5124 done
5125   done
5126 IFS=$as_save_IFS
5127
5128 fi
5129 fi
5130 CC=$ac_cv_prog_CC
5131 if test -n "$CC"; then
5132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5133 $as_echo "$CC" >&6; }
5134 else
5135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 fi
5138
5139
5140   fi
5141 fi
5142 if test -z "$CC"; then
5143   # Extract the first word of "cc", so it can be a program name with args.
5144 set dummy cc; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if ${ac_cv_prog_CC+:} false; then :
5148   $as_echo_n "(cached) " >&6
5149 else
5150   if test -n "$CC"; then
5151   ac_cv_prog_CC="$CC" # Let the user override the test.
5152 else
5153   ac_prog_rejected=no
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5156 do
5157   IFS=$as_save_IFS
5158   test -z "$as_dir" && as_dir=.
5159     for ac_exec_ext in '' $ac_executable_extensions; do
5160   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5161     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5162        ac_prog_rejected=yes
5163        continue
5164      fi
5165     ac_cv_prog_CC="cc"
5166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167     break 2
5168   fi
5169 done
5170   done
5171 IFS=$as_save_IFS
5172
5173 if test $ac_prog_rejected = yes; then
5174   # We found a bogon in the path, so make sure we never use it.
5175   set dummy $ac_cv_prog_CC
5176   shift
5177   if test $# != 0; then
5178     # We chose a different compiler from the bogus one.
5179     # However, it has the same basename, so the bogon will be chosen
5180     # first if we set CC to just the basename; use the full file name.
5181     shift
5182     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5183   fi
5184 fi
5185 fi
5186 fi
5187 CC=$ac_cv_prog_CC
5188 if test -n "$CC"; then
5189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5190 $as_echo "$CC" >&6; }
5191 else
5192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5194 fi
5195
5196
5197 fi
5198 if test -z "$CC"; then
5199   if test -n "$ac_tool_prefix"; then
5200   for ac_prog in cl.exe
5201   do
5202     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5203 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if ${ac_cv_prog_CC+:} false; then :
5207   $as_echo_n "(cached) " >&6
5208 else
5209   if test -n "$CC"; then
5210   ac_cv_prog_CC="$CC" # Let the user override the test.
5211 else
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH
5214 do
5215   IFS=$as_save_IFS
5216   test -z "$as_dir" && as_dir=.
5217     for ac_exec_ext in '' $ac_executable_extensions; do
5218   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5219     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221     break 2
5222   fi
5223 done
5224   done
5225 IFS=$as_save_IFS
5226
5227 fi
5228 fi
5229 CC=$ac_cv_prog_CC
5230 if test -n "$CC"; then
5231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5232 $as_echo "$CC" >&6; }
5233 else
5234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5236 fi
5237
5238
5239     test -n "$CC" && break
5240   done
5241 fi
5242 if test -z "$CC"; then
5243   ac_ct_CC=$CC
5244   for ac_prog in cl.exe
5245 do
5246   # Extract the first word of "$ac_prog", so it can be a program name with args.
5247 set dummy $ac_prog; ac_word=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5251   $as_echo_n "(cached) " >&6
5252 else
5253   if test -n "$ac_ct_CC"; then
5254   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5255 else
5256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5257 for as_dir in $PATH
5258 do
5259   IFS=$as_save_IFS
5260   test -z "$as_dir" && as_dir=.
5261     for ac_exec_ext in '' $ac_executable_extensions; do
5262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5263     ac_cv_prog_ac_ct_CC="$ac_prog"
5264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265     break 2
5266   fi
5267 done
5268   done
5269 IFS=$as_save_IFS
5270
5271 fi
5272 fi
5273 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5274 if test -n "$ac_ct_CC"; then
5275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5276 $as_echo "$ac_ct_CC" >&6; }
5277 else
5278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5280 fi
5281
5282
5283   test -n "$ac_ct_CC" && break
5284 done
5285
5286   if test "x$ac_ct_CC" = x; then
5287     CC=""
5288   else
5289     case $cross_compiling:$ac_tool_warned in
5290 yes:)
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5293 ac_tool_warned=yes ;;
5294 esac
5295     CC=$ac_ct_CC
5296   fi
5297 fi
5298
5299 fi
5300
5301
5302 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5304 as_fn_error $? "no acceptable C compiler found in \$PATH
5305 See \`config.log' for more details" "$LINENO" 5; }
5306
5307 # Provide some information about the compiler.
5308 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5309 set X $ac_compile
5310 ac_compiler=$2
5311 for ac_option in --version -v -V -qversion; do
5312   { { ac_try="$ac_compiler $ac_option >&5"
5313 case "(($ac_try" in
5314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5315   *) ac_try_echo=$ac_try;;
5316 esac
5317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5318 $as_echo "$ac_try_echo"; } >&5
5319   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5320   ac_status=$?
5321   if test -s conftest.err; then
5322     sed '10a\
5323 ... rest of stderr output deleted ...
5324          10q' conftest.err >conftest.er1
5325     cat conftest.er1 >&5
5326   fi
5327   rm -f conftest.er1 conftest.err
5328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5329   test $ac_status = 0; }
5330 done
5331
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5333 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5334 if ${ac_cv_c_compiler_gnu+:} false; then :
5335   $as_echo_n "(cached) " >&6
5336 else
5337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5338 /* end confdefs.h.  */
5339
5340 int
5341 main ()
5342 {
5343 #ifndef __GNUC__
5344        choke me
5345 #endif
5346
5347   ;
5348   return 0;
5349 }
5350 _ACEOF
5351 if ac_fn_c_try_compile "$LINENO"; then :
5352   ac_compiler_gnu=yes
5353 else
5354   ac_compiler_gnu=no
5355 fi
5356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5357 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5358
5359 fi
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5361 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5362 if test $ac_compiler_gnu = yes; then
5363   GCC=yes
5364 else
5365   GCC=
5366 fi
5367 ac_test_CFLAGS=${CFLAGS+set}
5368 ac_save_CFLAGS=$CFLAGS
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5370 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5371 if ${ac_cv_prog_cc_g+:} false; then :
5372   $as_echo_n "(cached) " >&6
5373 else
5374   ac_save_c_werror_flag=$ac_c_werror_flag
5375    ac_c_werror_flag=yes
5376    ac_cv_prog_cc_g=no
5377    CFLAGS="-g"
5378    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h.  */
5380
5381 int
5382 main ()
5383 {
5384
5385   ;
5386   return 0;
5387 }
5388 _ACEOF
5389 if ac_fn_c_try_compile "$LINENO"; then :
5390   ac_cv_prog_cc_g=yes
5391 else
5392   CFLAGS=""
5393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5394 /* end confdefs.h.  */
5395
5396 int
5397 main ()
5398 {
5399
5400   ;
5401   return 0;
5402 }
5403 _ACEOF
5404 if ac_fn_c_try_compile "$LINENO"; then :
5405
5406 else
5407   ac_c_werror_flag=$ac_save_c_werror_flag
5408          CFLAGS="-g"
5409          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h.  */
5411
5412 int
5413 main ()
5414 {
5415
5416   ;
5417   return 0;
5418 }
5419 _ACEOF
5420 if ac_fn_c_try_compile "$LINENO"; then :
5421   ac_cv_prog_cc_g=yes
5422 fi
5423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5424 fi
5425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5426 fi
5427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5428    ac_c_werror_flag=$ac_save_c_werror_flag
5429 fi
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5431 $as_echo "$ac_cv_prog_cc_g" >&6; }
5432 if test "$ac_test_CFLAGS" = set; then
5433   CFLAGS=$ac_save_CFLAGS
5434 elif test $ac_cv_prog_cc_g = yes; then
5435   if test "$GCC" = yes; then
5436     CFLAGS="-g -O2"
5437   else
5438     CFLAGS="-g"
5439   fi
5440 else
5441   if test "$GCC" = yes; then
5442     CFLAGS="-O2"
5443   else
5444     CFLAGS=
5445   fi
5446 fi
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5448 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5449 if ${ac_cv_prog_cc_c89+:} false; then :
5450   $as_echo_n "(cached) " >&6
5451 else
5452   ac_cv_prog_cc_c89=no
5453 ac_save_CC=$CC
5454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5455 /* end confdefs.h.  */
5456 #include <stdarg.h>
5457 #include <stdio.h>
5458 struct stat;
5459 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5460 struct buf { int x; };
5461 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5462 static char *e (p, i)
5463      char **p;
5464      int i;
5465 {
5466   return p[i];
5467 }
5468 static char *f (char * (*g) (char **, int), char **p, ...)
5469 {
5470   char *s;
5471   va_list v;
5472   va_start (v,p);
5473   s = g (p, va_arg (v,int));
5474   va_end (v);
5475   return s;
5476 }
5477
5478 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5479    function prototypes and stuff, but not '\xHH' hex character constants.
5480    These don't provoke an error unfortunately, instead are silently treated
5481    as 'x'.  The following induces an error, until -std is added to get
5482    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5483    array size at least.  It's necessary to write '\x00'==0 to get something
5484    that's true only with -std.  */
5485 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5486
5487 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5488    inside strings and character constants.  */
5489 #define FOO(x) 'x'
5490 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5491
5492 int test (int i, double x);
5493 struct s1 {int (*f) (int a);};
5494 struct s2 {int (*f) (double a);};
5495 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5496 int argc;
5497 char **argv;
5498 int
5499 main ()
5500 {
5501 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5502   ;
5503   return 0;
5504 }
5505 _ACEOF
5506 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5507         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5508 do
5509   CC="$ac_save_CC $ac_arg"
5510   if ac_fn_c_try_compile "$LINENO"; then :
5511   ac_cv_prog_cc_c89=$ac_arg
5512 fi
5513 rm -f core conftest.err conftest.$ac_objext
5514   test "x$ac_cv_prog_cc_c89" != "xno" && break
5515 done
5516 rm -f conftest.$ac_ext
5517 CC=$ac_save_CC
5518
5519 fi
5520 # AC_CACHE_VAL
5521 case "x$ac_cv_prog_cc_c89" in
5522   x)
5523     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5524 $as_echo "none needed" >&6; } ;;
5525   xno)
5526     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5527 $as_echo "unsupported" >&6; } ;;
5528   *)
5529     CC="$CC $ac_cv_prog_cc_c89"
5530     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5531 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5532 esac
5533 if test "x$ac_cv_prog_cc_c89" != xno; then :
5534
5535 fi
5536
5537 ac_ext=c
5538 ac_cpp='$CPP $CPPFLAGS'
5539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5542
5543 ac_ext=c
5544 ac_cpp='$CPP $CPPFLAGS'
5545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5549 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5550 if ${am_cv_prog_cc_c_o+:} false; then :
5551   $as_echo_n "(cached) " >&6
5552 else
5553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h.  */
5555
5556 int
5557 main ()
5558 {
5559
5560   ;
5561   return 0;
5562 }
5563 _ACEOF
5564   # Make sure it works both with $CC and with simple cc.
5565   # Following AC_PROG_CC_C_O, we do the test twice because some
5566   # compilers refuse to overwrite an existing .o file with -o,
5567   # though they will create one.
5568   am_cv_prog_cc_c_o=yes
5569   for am_i in 1 2; do
5570     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5571    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5572    ac_status=$?
5573    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574    (exit $ac_status); } \
5575          && test -f conftest2.$ac_objext; then
5576       : OK
5577     else
5578       am_cv_prog_cc_c_o=no
5579       break
5580     fi
5581   done
5582   rm -f core conftest*
5583   unset am_i
5584 fi
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5586 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5587 if test "$am_cv_prog_cc_c_o" != yes; then
5588    # Losing compiler, so override with the script.
5589    # FIXME: It is wrong to rewrite CC.
5590    # But if we don't then we get into trouble of one sort or another.
5591    # A longer-term fix would be to have automake use am__CC in this case,
5592    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5593    CC="$am_aux_dir/compile $CC"
5594 fi
5595 ac_ext=c
5596 ac_cpp='$CPP $CPPFLAGS'
5597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5600
5601
5602 depcc="$CC"   am_compiler_list=
5603
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5605 $as_echo_n "checking dependency style of $depcc... " >&6; }
5606 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5607   $as_echo_n "(cached) " >&6
5608 else
5609   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5610   # We make a subdir and do the tests there.  Otherwise we can end up
5611   # making bogus files that we don't know about and never remove.  For
5612   # instance it was reported that on HP-UX the gcc test will end up
5613   # making a dummy file named 'D' -- because '-MD' means "put the output
5614   # in D".
5615   rm -rf conftest.dir
5616   mkdir conftest.dir
5617   # Copy depcomp to subdir because otherwise we won't find it if we're
5618   # using a relative directory.
5619   cp "$am_depcomp" conftest.dir
5620   cd conftest.dir
5621   # We will build objects and dependencies in a subdirectory because
5622   # it helps to detect inapplicable dependency modes.  For instance
5623   # both Tru64's cc and ICC support -MD to output dependencies as a
5624   # side effect of compilation, but ICC will put the dependencies in
5625   # the current directory while Tru64 will put them in the object
5626   # directory.
5627   mkdir sub
5628
5629   am_cv_CC_dependencies_compiler_type=none
5630   if test "$am_compiler_list" = ""; then
5631      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5632   fi
5633   am__universal=false
5634   case " $depcc " in #(
5635      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5636      esac
5637
5638   for depmode in $am_compiler_list; do
5639     # Setup a source with many dependencies, because some compilers
5640     # like to wrap large dependency lists on column 80 (with \), and
5641     # we should not choose a depcomp mode which is confused by this.
5642     #
5643     # We need to recreate these files for each test, as the compiler may
5644     # overwrite some of them when testing with obscure command lines.
5645     # This happens at least with the AIX C compiler.
5646     : > sub/conftest.c
5647     for i in 1 2 3 4 5 6; do
5648       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5649       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5650       # Solaris 10 /bin/sh.
5651       echo '/* dummy */' > sub/conftst$i.h
5652     done
5653     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5654
5655     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5656     # mode.  It turns out that the SunPro C++ compiler does not properly
5657     # handle '-M -o', and we need to detect this.  Also, some Intel
5658     # versions had trouble with output in subdirs.
5659     am__obj=sub/conftest.${OBJEXT-o}
5660     am__minus_obj="-o $am__obj"
5661     case $depmode in
5662     gcc)
5663       # This depmode causes a compiler race in universal mode.
5664       test "$am__universal" = false || continue
5665       ;;
5666     nosideeffect)
5667       # After this tag, mechanisms are not by side-effect, so they'll
5668       # only be used when explicitly requested.
5669       if test "x$enable_dependency_tracking" = xyes; then
5670         continue
5671       else
5672         break
5673       fi
5674       ;;
5675     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5676       # This compiler won't grok '-c -o', but also, the minuso test has
5677       # not run yet.  These depmodes are late enough in the game, and
5678       # so weak that their functioning should not be impacted.
5679       am__obj=conftest.${OBJEXT-o}
5680       am__minus_obj=
5681       ;;
5682     none) break ;;
5683     esac
5684     if depmode=$depmode \
5685        source=sub/conftest.c object=$am__obj \
5686        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5687        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5688          >/dev/null 2>conftest.err &&
5689        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5690        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5691        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5692        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5693       # icc doesn't choke on unknown options, it will just issue warnings
5694       # or remarks (even with -Werror).  So we grep stderr for any message
5695       # that says an option was ignored or not supported.
5696       # When given -MP, icc 7.0 and 7.1 complain thusly:
5697       #   icc: Command line warning: ignoring option '-M'; no argument required
5698       # The diagnosis changed in icc 8.0:
5699       #   icc: Command line remark: option '-MP' not supported
5700       if (grep 'ignoring option' conftest.err ||
5701           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5702         am_cv_CC_dependencies_compiler_type=$depmode
5703         break
5704       fi
5705     fi
5706   done
5707
5708   cd ..
5709   rm -rf conftest.dir
5710 else
5711   am_cv_CC_dependencies_compiler_type=none
5712 fi
5713
5714 fi
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5716 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5717 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5718
5719  if
5720   test "x$enable_dependency_tracking" != xno \
5721   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5722   am__fastdepCC_TRUE=
5723   am__fastdepCC_FALSE='#'
5724 else
5725   am__fastdepCC_TRUE='#'
5726   am__fastdepCC_FALSE=
5727 fi
5728
5729
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5731 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5732 if ${ac_cv_path_SED+:} false; then :
5733   $as_echo_n "(cached) " >&6
5734 else
5735             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5736      for ac_i in 1 2 3 4 5 6 7; do
5737        ac_script="$ac_script$as_nl$ac_script"
5738      done
5739      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5740      { ac_script=; unset ac_script;}
5741      if test -z "$SED"; then
5742   ac_path_SED_found=false
5743   # Loop through the user's path and test for each of PROGNAME-LIST
5744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 for as_dir in $PATH
5746 do
5747   IFS=$as_save_IFS
5748   test -z "$as_dir" && as_dir=.
5749     for ac_prog in sed gsed; do
5750     for ac_exec_ext in '' $ac_executable_extensions; do
5751       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5752       as_fn_executable_p "$ac_path_SED" || continue
5753 # Check for GNU ac_path_SED and select it if it is found.
5754   # Check for GNU $ac_path_SED
5755 case `"$ac_path_SED" --version 2>&1` in
5756 *GNU*)
5757   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5758 *)
5759   ac_count=0
5760   $as_echo_n 0123456789 >"conftest.in"
5761   while :
5762   do
5763     cat "conftest.in" "conftest.in" >"conftest.tmp"
5764     mv "conftest.tmp" "conftest.in"
5765     cp "conftest.in" "conftest.nl"
5766     $as_echo '' >> "conftest.nl"
5767     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5768     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5769     as_fn_arith $ac_count + 1 && ac_count=$as_val
5770     if test $ac_count -gt ${ac_path_SED_max-0}; then
5771       # Best one so far, save it but keep looking for a better one
5772       ac_cv_path_SED="$ac_path_SED"
5773       ac_path_SED_max=$ac_count
5774     fi
5775     # 10*(2^10) chars as input seems more than enough
5776     test $ac_count -gt 10 && break
5777   done
5778   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5779 esac
5780
5781       $ac_path_SED_found && break 3
5782     done
5783   done
5784   done
5785 IFS=$as_save_IFS
5786   if test -z "$ac_cv_path_SED"; then
5787     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5788   fi
5789 else
5790   ac_cv_path_SED=$SED
5791 fi
5792
5793 fi
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5795 $as_echo "$ac_cv_path_SED" >&6; }
5796  SED="$ac_cv_path_SED"
5797   rm -f conftest.sed
5798
5799 test -z "$SED" && SED=sed
5800 Xsed="$SED -e 1s/^X//"
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5813 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5814 if ${ac_cv_path_GREP+:} false; then :
5815   $as_echo_n "(cached) " >&6
5816 else
5817   if test -z "$GREP"; then
5818   ac_path_GREP_found=false
5819   # Loop through the user's path and test for each of PROGNAME-LIST
5820   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5822 do
5823   IFS=$as_save_IFS
5824   test -z "$as_dir" && as_dir=.
5825     for ac_prog in grep ggrep; do
5826     for ac_exec_ext in '' $ac_executable_extensions; do
5827       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5828       as_fn_executable_p "$ac_path_GREP" || continue
5829 # Check for GNU ac_path_GREP and select it if it is found.
5830   # Check for GNU $ac_path_GREP
5831 case `"$ac_path_GREP" --version 2>&1` in
5832 *GNU*)
5833   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5834 *)
5835   ac_count=0
5836   $as_echo_n 0123456789 >"conftest.in"
5837   while :
5838   do
5839     cat "conftest.in" "conftest.in" >"conftest.tmp"
5840     mv "conftest.tmp" "conftest.in"
5841     cp "conftest.in" "conftest.nl"
5842     $as_echo 'GREP' >> "conftest.nl"
5843     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5844     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5845     as_fn_arith $ac_count + 1 && ac_count=$as_val
5846     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5847       # Best one so far, save it but keep looking for a better one
5848       ac_cv_path_GREP="$ac_path_GREP"
5849       ac_path_GREP_max=$ac_count
5850     fi
5851     # 10*(2^10) chars as input seems more than enough
5852     test $ac_count -gt 10 && break
5853   done
5854   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5855 esac
5856
5857       $ac_path_GREP_found && break 3
5858     done
5859   done
5860   done
5861 IFS=$as_save_IFS
5862   if test -z "$ac_cv_path_GREP"; then
5863     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5864   fi
5865 else
5866   ac_cv_path_GREP=$GREP
5867 fi
5868
5869 fi
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5871 $as_echo "$ac_cv_path_GREP" >&6; }
5872  GREP="$ac_cv_path_GREP"
5873
5874
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5876 $as_echo_n "checking for egrep... " >&6; }
5877 if ${ac_cv_path_EGREP+:} false; then :
5878   $as_echo_n "(cached) " >&6
5879 else
5880   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5881    then ac_cv_path_EGREP="$GREP -E"
5882    else
5883      if test -z "$EGREP"; then
5884   ac_path_EGREP_found=false
5885   # Loop through the user's path and test for each of PROGNAME-LIST
5886   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5888 do
5889   IFS=$as_save_IFS
5890   test -z "$as_dir" && as_dir=.
5891     for ac_prog in egrep; do
5892     for ac_exec_ext in '' $ac_executable_extensions; do
5893       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5894       as_fn_executable_p "$ac_path_EGREP" || continue
5895 # Check for GNU ac_path_EGREP and select it if it is found.
5896   # Check for GNU $ac_path_EGREP
5897 case `"$ac_path_EGREP" --version 2>&1` in
5898 *GNU*)
5899   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5900 *)
5901   ac_count=0
5902   $as_echo_n 0123456789 >"conftest.in"
5903   while :
5904   do
5905     cat "conftest.in" "conftest.in" >"conftest.tmp"
5906     mv "conftest.tmp" "conftest.in"
5907     cp "conftest.in" "conftest.nl"
5908     $as_echo 'EGREP' >> "conftest.nl"
5909     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5910     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5911     as_fn_arith $ac_count + 1 && ac_count=$as_val
5912     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5913       # Best one so far, save it but keep looking for a better one
5914       ac_cv_path_EGREP="$ac_path_EGREP"
5915       ac_path_EGREP_max=$ac_count
5916     fi
5917     # 10*(2^10) chars as input seems more than enough
5918     test $ac_count -gt 10 && break
5919   done
5920   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5921 esac
5922
5923       $ac_path_EGREP_found && break 3
5924     done
5925   done
5926   done
5927 IFS=$as_save_IFS
5928   if test -z "$ac_cv_path_EGREP"; then
5929     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5930   fi
5931 else
5932   ac_cv_path_EGREP=$EGREP
5933 fi
5934
5935    fi
5936 fi
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5938 $as_echo "$ac_cv_path_EGREP" >&6; }
5939  EGREP="$ac_cv_path_EGREP"
5940
5941
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5943 $as_echo_n "checking for fgrep... " >&6; }
5944 if ${ac_cv_path_FGREP+:} false; then :
5945   $as_echo_n "(cached) " >&6
5946 else
5947   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5948    then ac_cv_path_FGREP="$GREP -F"
5949    else
5950      if test -z "$FGREP"; then
5951   ac_path_FGREP_found=false
5952   # Loop through the user's path and test for each of PROGNAME-LIST
5953   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5955 do
5956   IFS=$as_save_IFS
5957   test -z "$as_dir" && as_dir=.
5958     for ac_prog in fgrep; do
5959     for ac_exec_ext in '' $ac_executable_extensions; do
5960       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5961       as_fn_executable_p "$ac_path_FGREP" || continue
5962 # Check for GNU ac_path_FGREP and select it if it is found.
5963   # Check for GNU $ac_path_FGREP
5964 case `"$ac_path_FGREP" --version 2>&1` in
5965 *GNU*)
5966   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5967 *)
5968   ac_count=0
5969   $as_echo_n 0123456789 >"conftest.in"
5970   while :
5971   do
5972     cat "conftest.in" "conftest.in" >"conftest.tmp"
5973     mv "conftest.tmp" "conftest.in"
5974     cp "conftest.in" "conftest.nl"
5975     $as_echo 'FGREP' >> "conftest.nl"
5976     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5977     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5978     as_fn_arith $ac_count + 1 && ac_count=$as_val
5979     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5980       # Best one so far, save it but keep looking for a better one
5981       ac_cv_path_FGREP="$ac_path_FGREP"
5982       ac_path_FGREP_max=$ac_count
5983     fi
5984     # 10*(2^10) chars as input seems more than enough
5985     test $ac_count -gt 10 && break
5986   done
5987   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5988 esac
5989
5990       $ac_path_FGREP_found && break 3
5991     done
5992   done
5993   done
5994 IFS=$as_save_IFS
5995   if test -z "$ac_cv_path_FGREP"; then
5996     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5997   fi
5998 else
5999   ac_cv_path_FGREP=$FGREP
6000 fi
6001
6002    fi
6003 fi
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6005 $as_echo "$ac_cv_path_FGREP" >&6; }
6006  FGREP="$ac_cv_path_FGREP"
6007
6008
6009 test -z "$GREP" && GREP=grep
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029 # Check whether --with-gnu-ld was given.
6030 if test "${with_gnu_ld+set}" = set; then :
6031   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6032 else
6033   with_gnu_ld=no
6034 fi
6035
6036 ac_prog=ld
6037 if test yes = "$GCC"; then
6038   # Check if gcc -print-prog-name=ld gives a path.
6039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6040 $as_echo_n "checking for ld used by $CC... " >&6; }
6041   case $host in
6042   *-*-mingw*)
6043     # gcc leaves a trailing carriage return, which upsets mingw
6044     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6045   *)
6046     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6047   esac
6048   case $ac_prog in
6049     # Accept absolute paths.
6050     [\\/]* | ?:[\\/]*)
6051       re_direlt='/[^/][^/]*/\.\./'
6052       # Canonicalize the pathname of ld
6053       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6054       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6055         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6056       done
6057       test -z "$LD" && LD=$ac_prog
6058       ;;
6059   "")
6060     # If it fails, then pretend we aren't using GCC.
6061     ac_prog=ld
6062     ;;
6063   *)
6064     # If it is relative, then search for the first ld in PATH.
6065     with_gnu_ld=unknown
6066     ;;
6067   esac
6068 elif test yes = "$with_gnu_ld"; then
6069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6070 $as_echo_n "checking for GNU ld... " >&6; }
6071 else
6072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6073 $as_echo_n "checking for non-GNU ld... " >&6; }
6074 fi
6075 if ${lt_cv_path_LD+:} false; then :
6076   $as_echo_n "(cached) " >&6
6077 else
6078   if test -z "$LD"; then
6079   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6080   for ac_dir in $PATH; do
6081     IFS=$lt_save_ifs
6082     test -z "$ac_dir" && ac_dir=.
6083     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6084       lt_cv_path_LD=$ac_dir/$ac_prog
6085       # Check to see if the program is GNU ld.  I'd rather use --version,
6086       # but apparently some variants of GNU ld only accept -v.
6087       # Break only if it was the GNU/non-GNU ld that we prefer.
6088       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6089       *GNU* | *'with BFD'*)
6090         test no != "$with_gnu_ld" && break
6091         ;;
6092       *)
6093         test yes != "$with_gnu_ld" && break
6094         ;;
6095       esac
6096     fi
6097   done
6098   IFS=$lt_save_ifs
6099 else
6100   lt_cv_path_LD=$LD # Let the user override the test with a path.
6101 fi
6102 fi
6103
6104 LD=$lt_cv_path_LD
6105 if test -n "$LD"; then
6106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6107 $as_echo "$LD" >&6; }
6108 else
6109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6110 $as_echo "no" >&6; }
6111 fi
6112 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6114 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6115 if ${lt_cv_prog_gnu_ld+:} false; then :
6116   $as_echo_n "(cached) " >&6
6117 else
6118   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6119 case `$LD -v 2>&1 </dev/null` in
6120 *GNU* | *'with BFD'*)
6121   lt_cv_prog_gnu_ld=yes
6122   ;;
6123 *)
6124   lt_cv_prog_gnu_ld=no
6125   ;;
6126 esac
6127 fi
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6129 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6130 with_gnu_ld=$lt_cv_prog_gnu_ld
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6141 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6142 if ${lt_cv_path_NM+:} false; then :
6143   $as_echo_n "(cached) " >&6
6144 else
6145   if test -n "$NM"; then
6146   # Let the user override the test.
6147   lt_cv_path_NM=$NM
6148 else
6149   lt_nm_to_check=${ac_tool_prefix}nm
6150   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6151     lt_nm_to_check="$lt_nm_to_check nm"
6152   fi
6153   for lt_tmp_nm in $lt_nm_to_check; do
6154     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6155     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6156       IFS=$lt_save_ifs
6157       test -z "$ac_dir" && ac_dir=.
6158       tmp_nm=$ac_dir/$lt_tmp_nm
6159       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6160         # Check to see if the nm accepts a BSD-compat flag.
6161         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6162         #   nm: unknown option "B" ignored
6163         # Tru64's nm complains that /dev/null is an invalid object file
6164         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6165         case $build_os in
6166         mingw*) lt_bad_file=conftest.nm/nofile ;;
6167         *) lt_bad_file=/dev/null ;;
6168         esac
6169         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6170         *$lt_bad_file* | *'Invalid file or object type'*)
6171           lt_cv_path_NM="$tmp_nm -B"
6172           break 2
6173           ;;
6174         *)
6175           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6176           */dev/null*)
6177             lt_cv_path_NM="$tmp_nm -p"
6178             break 2
6179             ;;
6180           *)
6181             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6182             continue # so that we can try to find one that supports BSD flags
6183             ;;
6184           esac
6185           ;;
6186         esac
6187       fi
6188     done
6189     IFS=$lt_save_ifs
6190   done
6191   : ${lt_cv_path_NM=no}
6192 fi
6193 fi
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6195 $as_echo "$lt_cv_path_NM" >&6; }
6196 if test no != "$lt_cv_path_NM"; then
6197   NM=$lt_cv_path_NM
6198 else
6199   # Didn't find any BSD compatible name lister, look for dumpbin.
6200   if test -n "$DUMPBIN"; then :
6201     # Let the user override the test.
6202   else
6203     if test -n "$ac_tool_prefix"; then
6204   for ac_prog in dumpbin "link -dump"
6205   do
6206     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_DUMPBIN+:} false; then :
6211   $as_echo_n "(cached) " >&6
6212 else
6213   if test -n "$DUMPBIN"; then
6214   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6218 do
6219   IFS=$as_save_IFS
6220   test -z "$as_dir" && as_dir=.
6221     for ac_exec_ext in '' $ac_executable_extensions; do
6222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225     break 2
6226   fi
6227 done
6228   done
6229 IFS=$as_save_IFS
6230
6231 fi
6232 fi
6233 DUMPBIN=$ac_cv_prog_DUMPBIN
6234 if test -n "$DUMPBIN"; then
6235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6236 $as_echo "$DUMPBIN" >&6; }
6237 else
6238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6240 fi
6241
6242
6243     test -n "$DUMPBIN" && break
6244   done
6245 fi
6246 if test -z "$DUMPBIN"; then
6247   ac_ct_DUMPBIN=$DUMPBIN
6248   for ac_prog in dumpbin "link -dump"
6249 do
6250   # Extract the first word of "$ac_prog", so it can be a program name with args.
6251 set dummy $ac_prog; ac_word=$2
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6253 $as_echo_n "checking for $ac_word... " >&6; }
6254 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6255   $as_echo_n "(cached) " >&6
6256 else
6257   if test -n "$ac_ct_DUMPBIN"; then
6258   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6259 else
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 for as_dir in $PATH
6262 do
6263   IFS=$as_save_IFS
6264   test -z "$as_dir" && as_dir=.
6265     for ac_exec_ext in '' $ac_executable_extensions; do
6266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6267     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6269     break 2
6270   fi
6271 done
6272   done
6273 IFS=$as_save_IFS
6274
6275 fi
6276 fi
6277 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6278 if test -n "$ac_ct_DUMPBIN"; then
6279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6280 $as_echo "$ac_ct_DUMPBIN" >&6; }
6281 else
6282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6283 $as_echo "no" >&6; }
6284 fi
6285
6286
6287   test -n "$ac_ct_DUMPBIN" && break
6288 done
6289
6290   if test "x$ac_ct_DUMPBIN" = x; then
6291     DUMPBIN=":"
6292   else
6293     case $cross_compiling:$ac_tool_warned in
6294 yes:)
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6297 ac_tool_warned=yes ;;
6298 esac
6299     DUMPBIN=$ac_ct_DUMPBIN
6300   fi
6301 fi
6302
6303     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6304     *COFF*)
6305       DUMPBIN="$DUMPBIN -symbols -headers"
6306       ;;
6307     *)
6308       DUMPBIN=:
6309       ;;
6310     esac
6311   fi
6312
6313   if test : != "$DUMPBIN"; then
6314     NM=$DUMPBIN
6315   fi
6316 fi
6317 test -z "$NM" && NM=nm
6318
6319
6320
6321
6322
6323
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6325 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6326 if ${lt_cv_nm_interface+:} false; then :
6327   $as_echo_n "(cached) " >&6
6328 else
6329   lt_cv_nm_interface="BSD nm"
6330   echo "int some_variable = 0;" > conftest.$ac_ext
6331   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6332   (eval "$ac_compile" 2>conftest.err)
6333   cat conftest.err >&5
6334   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6335   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6336   cat conftest.err >&5
6337   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6338   cat conftest.out >&5
6339   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6340     lt_cv_nm_interface="MS dumpbin"
6341   fi
6342   rm -f conftest*
6343 fi
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6345 $as_echo "$lt_cv_nm_interface" >&6; }
6346
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6348 $as_echo_n "checking whether ln -s works... " >&6; }
6349 LN_S=$as_ln_s
6350 if test "$LN_S" = "ln -s"; then
6351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6352 $as_echo "yes" >&6; }
6353 else
6354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6355 $as_echo "no, using $LN_S" >&6; }
6356 fi
6357
6358 # find the maximum length of command line arguments
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6360 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6361 if ${lt_cv_sys_max_cmd_len+:} false; then :
6362   $as_echo_n "(cached) " >&6
6363 else
6364     i=0
6365   teststring=ABCD
6366
6367   case $build_os in
6368   msdosdjgpp*)
6369     # On DJGPP, this test can blow up pretty badly due to problems in libc
6370     # (any single argument exceeding 2000 bytes causes a buffer overrun
6371     # during glob expansion).  Even if it were fixed, the result of this
6372     # check would be larger than it should be.
6373     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6374     ;;
6375
6376   gnu*)
6377     # Under GNU Hurd, this test is not required because there is
6378     # no limit to the length of command line arguments.
6379     # Libtool will interpret -1 as no limit whatsoever
6380     lt_cv_sys_max_cmd_len=-1;
6381     ;;
6382
6383   cygwin* | mingw* | cegcc*)
6384     # On Win9x/ME, this test blows up -- it succeeds, but takes
6385     # about 5 minutes as the teststring grows exponentially.
6386     # Worse, since 9x/ME are not pre-emptively multitasking,
6387     # you end up with a "frozen" computer, even though with patience
6388     # the test eventually succeeds (with a max line length of 256k).
6389     # Instead, let's just punt: use the minimum linelength reported by
6390     # all of the supported platforms: 8192 (on NT/2K/XP).
6391     lt_cv_sys_max_cmd_len=8192;
6392     ;;
6393
6394   mint*)
6395     # On MiNT this can take a long time and run out of memory.
6396     lt_cv_sys_max_cmd_len=8192;
6397     ;;
6398
6399   amigaos*)
6400     # On AmigaOS with pdksh, this test takes hours, literally.
6401     # So we just punt and use a minimum line length of 8192.
6402     lt_cv_sys_max_cmd_len=8192;
6403     ;;
6404
6405   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6406     # This has been around since 386BSD, at least.  Likely further.
6407     if test -x /sbin/sysctl; then
6408       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6409     elif test -x /usr/sbin/sysctl; then
6410       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6411     else
6412       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6413     fi
6414     # And add a safety zone
6415     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6416     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6417     ;;
6418
6419   interix*)
6420     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6421     lt_cv_sys_max_cmd_len=196608
6422     ;;
6423
6424   os2*)
6425     # The test takes a long time on OS/2.
6426     lt_cv_sys_max_cmd_len=8192
6427     ;;
6428
6429   osf*)
6430     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6431     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6432     # nice to cause kernel panics so lets avoid the loop below.
6433     # First set a reasonable default.
6434     lt_cv_sys_max_cmd_len=16384
6435     #
6436     if test -x /sbin/sysconfig; then
6437       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6438         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6439       esac
6440     fi
6441     ;;
6442   sco3.2v5*)
6443     lt_cv_sys_max_cmd_len=102400
6444     ;;
6445   sysv5* | sco5v6* | sysv4.2uw2*)
6446     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6447     if test -n "$kargmax"; then
6448       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6449     else
6450       lt_cv_sys_max_cmd_len=32768
6451     fi
6452     ;;
6453   *)
6454     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6455     if test -n "$lt_cv_sys_max_cmd_len" && \
6456        test undefined != "$lt_cv_sys_max_cmd_len"; then
6457       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6458       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6459     else
6460       # Make teststring a little bigger before we do anything with it.
6461       # a 1K string should be a reasonable start.
6462       for i in 1 2 3 4 5 6 7 8; do
6463         teststring=$teststring$teststring
6464       done
6465       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6466       # If test is not a shell built-in, we'll probably end up computing a
6467       # maximum length that is only half of the actual maximum length, but
6468       # we can't tell.
6469       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6470                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6471               test 17 != "$i" # 1/2 MB should be enough
6472       do
6473         i=`expr $i + 1`
6474         teststring=$teststring$teststring
6475       done
6476       # Only check the string length outside the loop.
6477       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6478       teststring=
6479       # Add a significant safety factor because C++ compilers can tack on
6480       # massive amounts of additional arguments before passing them to the
6481       # linker.  It appears as though 1/2 is a usable value.
6482       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6483     fi
6484     ;;
6485   esac
6486
6487 fi
6488
6489 if test -n "$lt_cv_sys_max_cmd_len"; then
6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6491 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6492 else
6493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6494 $as_echo "none" >&6; }
6495 fi
6496 max_cmd_len=$lt_cv_sys_max_cmd_len
6497
6498
6499
6500
6501
6502
6503 : ${CP="cp -f"}
6504 : ${MV="mv -f"}
6505 : ${RM="rm -f"}
6506
6507 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6508   lt_unset=unset
6509 else
6510   lt_unset=false
6511 fi
6512
6513
6514
6515
6516
6517 # test EBCDIC or ASCII
6518 case `echo X|tr X '\101'` in
6519  A) # ASCII based system
6520     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6521   lt_SP2NL='tr \040 \012'
6522   lt_NL2SP='tr \015\012 \040\040'
6523   ;;
6524  *) # EBCDIC based system
6525   lt_SP2NL='tr \100 \n'
6526   lt_NL2SP='tr \r\n \100\100'
6527   ;;
6528 esac
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6539 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6540 if ${lt_cv_to_host_file_cmd+:} false; then :
6541   $as_echo_n "(cached) " >&6
6542 else
6543   case $host in
6544   *-*-mingw* )
6545     case $build in
6546       *-*-mingw* ) # actually msys
6547         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6548         ;;
6549       *-*-cygwin* )
6550         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6551         ;;
6552       * ) # otherwise, assume *nix
6553         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6554         ;;
6555     esac
6556     ;;
6557   *-*-cygwin* )
6558     case $build in
6559       *-*-mingw* ) # actually msys
6560         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6561         ;;
6562       *-*-cygwin* )
6563         lt_cv_to_host_file_cmd=func_convert_file_noop
6564         ;;
6565       * ) # otherwise, assume *nix
6566         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6567         ;;
6568     esac
6569     ;;
6570   * ) # unhandled hosts (and "normal" native builds)
6571     lt_cv_to_host_file_cmd=func_convert_file_noop
6572     ;;
6573 esac
6574
6575 fi
6576
6577 to_host_file_cmd=$lt_cv_to_host_file_cmd
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6579 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6580
6581
6582
6583
6584
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6586 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6587 if ${lt_cv_to_tool_file_cmd+:} false; then :
6588   $as_echo_n "(cached) " >&6
6589 else
6590   #assume ordinary cross tools, or native build.
6591 lt_cv_to_tool_file_cmd=func_convert_file_noop
6592 case $host in
6593   *-*-mingw* )
6594     case $build in
6595       *-*-mingw* ) # actually msys
6596         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6597         ;;
6598     esac
6599     ;;
6600 esac
6601
6602 fi
6603
6604 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6606 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6607
6608
6609
6610
6611
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6613 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6614 if ${lt_cv_ld_reload_flag+:} false; then :
6615   $as_echo_n "(cached) " >&6
6616 else
6617   lt_cv_ld_reload_flag='-r'
6618 fi
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6620 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6621 reload_flag=$lt_cv_ld_reload_flag
6622 case $reload_flag in
6623 "" | " "*) ;;
6624 *) reload_flag=" $reload_flag" ;;
6625 esac
6626 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6627 case $host_os in
6628   cygwin* | mingw* | pw32* | cegcc*)
6629     if test yes != "$GCC"; then
6630       reload_cmds=false
6631     fi
6632     ;;
6633   darwin*)
6634     if test yes = "$GCC"; then
6635       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6636     else
6637       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6638     fi
6639     ;;
6640 esac
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650 if test -n "$ac_tool_prefix"; then
6651   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6652 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 $as_echo_n "checking for $ac_word... " >&6; }
6655 if ${ac_cv_prog_OBJDUMP+:} false; then :
6656   $as_echo_n "(cached) " >&6
6657 else
6658   if test -n "$OBJDUMP"; then
6659   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6660 else
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 for as_dir in $PATH
6663 do
6664   IFS=$as_save_IFS
6665   test -z "$as_dir" && as_dir=.
6666     for ac_exec_ext in '' $ac_executable_extensions; do
6667   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6668     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670     break 2
6671   fi
6672 done
6673   done
6674 IFS=$as_save_IFS
6675
6676 fi
6677 fi
6678 OBJDUMP=$ac_cv_prog_OBJDUMP
6679 if test -n "$OBJDUMP"; then
6680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6681 $as_echo "$OBJDUMP" >&6; }
6682 else
6683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6685 fi
6686
6687
6688 fi
6689 if test -z "$ac_cv_prog_OBJDUMP"; then
6690   ac_ct_OBJDUMP=$OBJDUMP
6691   # Extract the first word of "objdump", so it can be a program name with args.
6692 set dummy objdump; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6696   $as_echo_n "(cached) " >&6
6697 else
6698   if test -n "$ac_ct_OBJDUMP"; then
6699   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6700 else
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 for as_dir in $PATH
6703 do
6704   IFS=$as_save_IFS
6705   test -z "$as_dir" && as_dir=.
6706     for ac_exec_ext in '' $ac_executable_extensions; do
6707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710     break 2
6711   fi
6712 done
6713   done
6714 IFS=$as_save_IFS
6715
6716 fi
6717 fi
6718 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6719 if test -n "$ac_ct_OBJDUMP"; then
6720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6721 $as_echo "$ac_ct_OBJDUMP" >&6; }
6722 else
6723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6725 fi
6726
6727   if test "x$ac_ct_OBJDUMP" = x; then
6728     OBJDUMP="false"
6729   else
6730     case $cross_compiling:$ac_tool_warned in
6731 yes:)
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6734 ac_tool_warned=yes ;;
6735 esac
6736     OBJDUMP=$ac_ct_OBJDUMP
6737   fi
6738 else
6739   OBJDUMP="$ac_cv_prog_OBJDUMP"
6740 fi
6741
6742 test -z "$OBJDUMP" && OBJDUMP=objdump
6743
6744
6745
6746
6747
6748
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6750 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6751 if ${lt_cv_deplibs_check_method+:} false; then :
6752   $as_echo_n "(cached) " >&6
6753 else
6754   lt_cv_file_magic_cmd='$MAGIC_CMD'
6755 lt_cv_file_magic_test_file=
6756 lt_cv_deplibs_check_method='unknown'
6757 # Need to set the preceding variable on all platforms that support
6758 # interlibrary dependencies.
6759 # 'none' -- dependencies not supported.
6760 # 'unknown' -- same as none, but documents that we really don't know.
6761 # 'pass_all' -- all dependencies passed with no checks.
6762 # 'test_compile' -- check by making test program.
6763 # 'file_magic [[regex]]' -- check by looking for files in library path
6764 # that responds to the $file_magic_cmd with a given extended regex.
6765 # If you have 'file' or equivalent on your system and you're not sure
6766 # whether 'pass_all' will *always* work, you probably want this one.
6767
6768 case $host_os in
6769 aix[4-9]*)
6770   lt_cv_deplibs_check_method=pass_all
6771   ;;
6772
6773 beos*)
6774   lt_cv_deplibs_check_method=pass_all
6775   ;;
6776
6777 bsdi[45]*)
6778   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6779   lt_cv_file_magic_cmd='/usr/bin/file -L'
6780   lt_cv_file_magic_test_file=/shlib/libc.so
6781   ;;
6782
6783 cygwin*)
6784   # func_win32_libid is a shell function defined in ltmain.sh
6785   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6786   lt_cv_file_magic_cmd='func_win32_libid'
6787   ;;
6788
6789 mingw* | pw32*)
6790   # Base MSYS/MinGW do not provide the 'file' command needed by
6791   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6792   # unless we find 'file', for example because we are cross-compiling.
6793   if ( file / ) >/dev/null 2>&1; then
6794     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6795     lt_cv_file_magic_cmd='func_win32_libid'
6796   else
6797     # Keep this pattern in sync with the one in func_win32_libid.
6798     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6799     lt_cv_file_magic_cmd='$OBJDUMP -f'
6800   fi
6801   ;;
6802
6803 cegcc*)
6804   # use the weaker test based on 'objdump'. See mingw*.
6805   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6806   lt_cv_file_magic_cmd='$OBJDUMP -f'
6807   ;;
6808
6809 darwin* | rhapsody*)
6810   lt_cv_deplibs_check_method=pass_all
6811   ;;
6812
6813 freebsd* | dragonfly*)
6814   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6815     case $host_cpu in
6816     i*86 )
6817       # Not sure whether the presence of OpenBSD here was a mistake.
6818       # Let's accept both of them until this is cleared up.
6819       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6820       lt_cv_file_magic_cmd=/usr/bin/file
6821       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6822       ;;
6823     esac
6824   else
6825     lt_cv_deplibs_check_method=pass_all
6826   fi
6827   ;;
6828
6829 haiku*)
6830   lt_cv_deplibs_check_method=pass_all
6831   ;;
6832
6833 hpux10.20* | hpux11*)
6834   lt_cv_file_magic_cmd=/usr/bin/file
6835   case $host_cpu in
6836   ia64*)
6837     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6838     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6839     ;;
6840   hppa*64*)
6841     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]'
6842     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6843     ;;
6844   *)
6845     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6846     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6847     ;;
6848   esac
6849   ;;
6850
6851 interix[3-9]*)
6852   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6853   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6854   ;;
6855
6856 irix5* | irix6* | nonstopux*)
6857   case $LD in
6858   *-32|*"-32 ") libmagic=32-bit;;
6859   *-n32|*"-n32 ") libmagic=N32;;
6860   *-64|*"-64 ") libmagic=64-bit;;
6861   *) libmagic=never-match;;
6862   esac
6863   lt_cv_deplibs_check_method=pass_all
6864   ;;
6865
6866 # This must be glibc/ELF.
6867 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6868   lt_cv_deplibs_check_method=pass_all
6869   ;;
6870
6871 netbsd* | netbsdelf*-gnu)
6872   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6873     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6874   else
6875     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6876   fi
6877   ;;
6878
6879 newos6*)
6880   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6881   lt_cv_file_magic_cmd=/usr/bin/file
6882   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6883   ;;
6884
6885 *nto* | *qnx*)
6886   lt_cv_deplibs_check_method=pass_all
6887   ;;
6888
6889 openbsd* | bitrig*)
6890   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6891     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6892   else
6893     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6894   fi
6895   ;;
6896
6897 osf3* | osf4* | osf5*)
6898   lt_cv_deplibs_check_method=pass_all
6899   ;;
6900
6901 rdos*)
6902   lt_cv_deplibs_check_method=pass_all
6903   ;;
6904
6905 solaris*)
6906   lt_cv_deplibs_check_method=pass_all
6907   ;;
6908
6909 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6910   lt_cv_deplibs_check_method=pass_all
6911   ;;
6912
6913 sysv4 | sysv4.3*)
6914   case $host_vendor in
6915   motorola)
6916     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]'
6917     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6918     ;;
6919   ncr)
6920     lt_cv_deplibs_check_method=pass_all
6921     ;;
6922   sequent)
6923     lt_cv_file_magic_cmd='/bin/file'
6924     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6925     ;;
6926   sni)
6927     lt_cv_file_magic_cmd='/bin/file'
6928     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6929     lt_cv_file_magic_test_file=/lib/libc.so
6930     ;;
6931   siemens)
6932     lt_cv_deplibs_check_method=pass_all
6933     ;;
6934   pc)
6935     lt_cv_deplibs_check_method=pass_all
6936     ;;
6937   esac
6938   ;;
6939
6940 tpf*)
6941   lt_cv_deplibs_check_method=pass_all
6942   ;;
6943 os2*)
6944   lt_cv_deplibs_check_method=pass_all
6945   ;;
6946 esac
6947
6948 fi
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6950 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6951
6952 file_magic_glob=
6953 want_nocaseglob=no
6954 if test "$build" = "$host"; then
6955   case $host_os in
6956   mingw* | pw32*)
6957     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6958       want_nocaseglob=yes
6959     else
6960       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6961     fi
6962     ;;
6963   esac
6964 fi
6965
6966 file_magic_cmd=$lt_cv_file_magic_cmd
6967 deplibs_check_method=$lt_cv_deplibs_check_method
6968 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991 if test -n "$ac_tool_prefix"; then
6992   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6993 set dummy ${ac_tool_prefix}dlltool; 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 ${ac_cv_prog_DLLTOOL+:} false; then :
6997   $as_echo_n "(cached) " >&6
6998 else
6999   if test -n "$DLLTOOL"; then
7000   ac_cv_prog_DLLTOOL="$DLLTOOL" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
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 DLLTOOL=$ac_cv_prog_DLLTOOL
7020 if test -n "$DLLTOOL"; then
7021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7022 $as_echo "$DLLTOOL" >&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_DLLTOOL"; then
7031   ac_ct_DLLTOOL=$DLLTOOL
7032   # Extract the first word of "dlltool", so it can be a program name with args.
7033 set dummy dlltool; 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 ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7037   $as_echo_n "(cached) " >&6
7038 else
7039   if test -n "$ac_ct_DLLTOOL"; then
7040   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7049     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
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_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7060 if test -n "$ac_ct_DLLTOOL"; then
7061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7062 $as_echo "$ac_ct_DLLTOOL" >&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_DLLTOOL" = x; then
7069     DLLTOOL="false"
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     DLLTOOL=$ac_ct_DLLTOOL
7078   fi
7079 else
7080   DLLTOOL="$ac_cv_prog_DLLTOOL"
7081 fi
7082
7083 test -z "$DLLTOOL" && DLLTOOL=dlltool
7084
7085
7086
7087
7088
7089
7090
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7092 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7093 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7094   $as_echo_n "(cached) " >&6
7095 else
7096   lt_cv_sharedlib_from_linklib_cmd='unknown'
7097
7098 case $host_os in
7099 cygwin* | mingw* | pw32* | cegcc*)
7100   # two different shell functions defined in ltmain.sh;
7101   # decide which one to use based on capabilities of $DLLTOOL
7102   case `$DLLTOOL --help 2>&1` in
7103   *--identify-strict*)
7104     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7105     ;;
7106   *)
7107     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7108     ;;
7109   esac
7110   ;;
7111 *)
7112   # fallback: assume linklib IS sharedlib
7113   lt_cv_sharedlib_from_linklib_cmd=$ECHO
7114   ;;
7115 esac
7116
7117 fi
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7119 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7120 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7121 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7122
7123
7124
7125
7126
7127
7128
7129
7130 if test -n "$ac_tool_prefix"; then
7131   for ac_prog in ar
7132   do
7133     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if ${ac_cv_prog_AR+:} false; then :
7138   $as_echo_n "(cached) " >&6
7139 else
7140   if test -n "$AR"; then
7141   ac_cv_prog_AR="$AR" # Let the user override the test.
7142 else
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 for as_dir in $PATH
7145 do
7146   IFS=$as_save_IFS
7147   test -z "$as_dir" && as_dir=.
7148     for ac_exec_ext in '' $ac_executable_extensions; do
7149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152     break 2
7153   fi
7154 done
7155   done
7156 IFS=$as_save_IFS
7157
7158 fi
7159 fi
7160 AR=$ac_cv_prog_AR
7161 if test -n "$AR"; then
7162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7163 $as_echo "$AR" >&6; }
7164 else
7165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7167 fi
7168
7169
7170     test -n "$AR" && break
7171   done
7172 fi
7173 if test -z "$AR"; then
7174   ac_ct_AR=$AR
7175   for ac_prog in ar
7176 do
7177   # Extract the first word of "$ac_prog", so it can be a program name with args.
7178 set dummy $ac_prog; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7182   $as_echo_n "(cached) " >&6
7183 else
7184   if test -n "$ac_ct_AR"; then
7185   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7186 else
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188 for as_dir in $PATH
7189 do
7190   IFS=$as_save_IFS
7191   test -z "$as_dir" && as_dir=.
7192     for ac_exec_ext in '' $ac_executable_extensions; do
7193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7194     ac_cv_prog_ac_ct_AR="$ac_prog"
7195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196     break 2
7197   fi
7198 done
7199   done
7200 IFS=$as_save_IFS
7201
7202 fi
7203 fi
7204 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7205 if test -n "$ac_ct_AR"; then
7206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7207 $as_echo "$ac_ct_AR" >&6; }
7208 else
7209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7211 fi
7212
7213
7214   test -n "$ac_ct_AR" && break
7215 done
7216
7217   if test "x$ac_ct_AR" = x; then
7218     AR="false"
7219   else
7220     case $cross_compiling:$ac_tool_warned in
7221 yes:)
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7224 ac_tool_warned=yes ;;
7225 esac
7226     AR=$ac_ct_AR
7227   fi
7228 fi
7229
7230 : ${AR=ar}
7231 : ${AR_FLAGS=cru}
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7244 $as_echo_n "checking for archiver @FILE support... " >&6; }
7245 if ${lt_cv_ar_at_file+:} false; then :
7246   $as_echo_n "(cached) " >&6
7247 else
7248   lt_cv_ar_at_file=no
7249    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h.  */
7251
7252 int
7253 main ()
7254 {
7255
7256   ;
7257   return 0;
7258 }
7259 _ACEOF
7260 if ac_fn_c_try_compile "$LINENO"; then :
7261   echo conftest.$ac_objext > conftest.lst
7262       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7263       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7264   (eval $lt_ar_try) 2>&5
7265   ac_status=$?
7266   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7267   test $ac_status = 0; }
7268       if test 0 -eq "$ac_status"; then
7269         # Ensure the archiver fails upon bogus file names.
7270         rm -f conftest.$ac_objext libconftest.a
7271         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7272   (eval $lt_ar_try) 2>&5
7273   ac_status=$?
7274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7275   test $ac_status = 0; }
7276         if test 0 -ne "$ac_status"; then
7277           lt_cv_ar_at_file=@
7278         fi
7279       fi
7280       rm -f conftest.* libconftest.a
7281
7282 fi
7283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7284
7285 fi
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7287 $as_echo "$lt_cv_ar_at_file" >&6; }
7288
7289 if test no = "$lt_cv_ar_at_file"; then
7290   archiver_list_spec=
7291 else
7292   archiver_list_spec=$lt_cv_ar_at_file
7293 fi
7294
7295
7296
7297
7298
7299
7300
7301 if test -n "$ac_tool_prefix"; then
7302   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7303 set dummy ${ac_tool_prefix}strip; ac_word=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 $as_echo_n "checking for $ac_word... " >&6; }
7306 if ${ac_cv_prog_STRIP+:} false; then :
7307   $as_echo_n "(cached) " >&6
7308 else
7309   if test -n "$STRIP"; then
7310   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7311 else
7312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7313 for as_dir in $PATH
7314 do
7315   IFS=$as_save_IFS
7316   test -z "$as_dir" && as_dir=.
7317     for ac_exec_ext in '' $ac_executable_extensions; do
7318   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7319     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7321     break 2
7322   fi
7323 done
7324   done
7325 IFS=$as_save_IFS
7326
7327 fi
7328 fi
7329 STRIP=$ac_cv_prog_STRIP
7330 if test -n "$STRIP"; then
7331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7332 $as_echo "$STRIP" >&6; }
7333 else
7334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335 $as_echo "no" >&6; }
7336 fi
7337
7338
7339 fi
7340 if test -z "$ac_cv_prog_STRIP"; then
7341   ac_ct_STRIP=$STRIP
7342   # Extract the first word of "strip", so it can be a program name with args.
7343 set dummy strip; ac_word=$2
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7345 $as_echo_n "checking for $ac_word... " >&6; }
7346 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7347   $as_echo_n "(cached) " >&6
7348 else
7349   if test -n "$ac_ct_STRIP"; then
7350   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7351 else
7352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353 for as_dir in $PATH
7354 do
7355   IFS=$as_save_IFS
7356   test -z "$as_dir" && as_dir=.
7357     for ac_exec_ext in '' $ac_executable_extensions; do
7358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7359     ac_cv_prog_ac_ct_STRIP="strip"
7360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7361     break 2
7362   fi
7363 done
7364   done
7365 IFS=$as_save_IFS
7366
7367 fi
7368 fi
7369 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7370 if test -n "$ac_ct_STRIP"; then
7371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7372 $as_echo "$ac_ct_STRIP" >&6; }
7373 else
7374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 $as_echo "no" >&6; }
7376 fi
7377
7378   if test "x$ac_ct_STRIP" = x; then
7379     STRIP=":"
7380   else
7381     case $cross_compiling:$ac_tool_warned in
7382 yes:)
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7385 ac_tool_warned=yes ;;
7386 esac
7387     STRIP=$ac_ct_STRIP
7388   fi
7389 else
7390   STRIP="$ac_cv_prog_STRIP"
7391 fi
7392
7393 test -z "$STRIP" && STRIP=:
7394
7395
7396
7397
7398
7399
7400 if test -n "$ac_tool_prefix"; then
7401   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7402 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if ${ac_cv_prog_RANLIB+:} false; then :
7406   $as_echo_n "(cached) " >&6
7407 else
7408   if test -n "$RANLIB"; then
7409   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7410 else
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 for as_dir in $PATH
7413 do
7414   IFS=$as_save_IFS
7415   test -z "$as_dir" && as_dir=.
7416     for ac_exec_ext in '' $ac_executable_extensions; do
7417   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7418     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420     break 2
7421   fi
7422 done
7423   done
7424 IFS=$as_save_IFS
7425
7426 fi
7427 fi
7428 RANLIB=$ac_cv_prog_RANLIB
7429 if test -n "$RANLIB"; then
7430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7431 $as_echo "$RANLIB" >&6; }
7432 else
7433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7435 fi
7436
7437
7438 fi
7439 if test -z "$ac_cv_prog_RANLIB"; then
7440   ac_ct_RANLIB=$RANLIB
7441   # Extract the first word of "ranlib", so it can be a program name with args.
7442 set dummy ranlib; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7446   $as_echo_n "(cached) " >&6
7447 else
7448   if test -n "$ac_ct_RANLIB"; then
7449   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7450 else
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 for as_dir in $PATH
7453 do
7454   IFS=$as_save_IFS
7455   test -z "$as_dir" && as_dir=.
7456     for ac_exec_ext in '' $ac_executable_extensions; do
7457   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7458     ac_cv_prog_ac_ct_RANLIB="ranlib"
7459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460     break 2
7461   fi
7462 done
7463   done
7464 IFS=$as_save_IFS
7465
7466 fi
7467 fi
7468 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7469 if test -n "$ac_ct_RANLIB"; then
7470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7471 $as_echo "$ac_ct_RANLIB" >&6; }
7472 else
7473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7475 fi
7476
7477   if test "x$ac_ct_RANLIB" = x; then
7478     RANLIB=":"
7479   else
7480     case $cross_compiling:$ac_tool_warned in
7481 yes:)
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7484 ac_tool_warned=yes ;;
7485 esac
7486     RANLIB=$ac_ct_RANLIB
7487   fi
7488 else
7489   RANLIB="$ac_cv_prog_RANLIB"
7490 fi
7491
7492 test -z "$RANLIB" && RANLIB=:
7493
7494
7495
7496
7497
7498
7499 # Determine commands to create old-style static archives.
7500 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7501 old_postinstall_cmds='chmod 644 $oldlib'
7502 old_postuninstall_cmds=
7503
7504 if test -n "$RANLIB"; then
7505   case $host_os in
7506   bitrig* | openbsd*)
7507     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7508     ;;
7509   *)
7510     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7511     ;;
7512   esac
7513   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7514 fi
7515
7516 case $host_os in
7517   darwin*)
7518     lock_old_archive_extraction=yes ;;
7519   *)
7520     lock_old_archive_extraction=no ;;
7521 esac
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561 # If no C compiler was specified, use CC.
7562 LTCC=${LTCC-"$CC"}
7563
7564 # If no C compiler flags were specified, use CFLAGS.
7565 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7566
7567 # Allow CC to be a program name with arguments.
7568 compiler=$CC
7569
7570
7571 # Check for command to grab the raw symbol name followed by C symbol from nm.
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7573 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7574 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7575   $as_echo_n "(cached) " >&6
7576 else
7577
7578 # These are sane defaults that work on at least a few old systems.
7579 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7580
7581 # Character class describing NM global symbol codes.
7582 symcode='[BCDEGRST]'
7583
7584 # Regexp to match symbols that can be accessed directly from C.
7585 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7586
7587 # Define system-specific variables.
7588 case $host_os in
7589 aix*)
7590   symcode='[BCDT]'
7591   ;;
7592 cygwin* | mingw* | pw32* | cegcc*)
7593   symcode='[ABCDGISTW]'
7594   ;;
7595 hpux*)
7596   if test ia64 = "$host_cpu"; then
7597     symcode='[ABCDEGRST]'
7598   fi
7599   ;;
7600 irix* | nonstopux*)
7601   symcode='[BCDEGRST]'
7602   ;;
7603 osf*)
7604   symcode='[BCDEGQRST]'
7605   ;;
7606 solaris*)
7607   symcode='[BDRT]'
7608   ;;
7609 sco3.2v5*)
7610   symcode='[DT]'
7611   ;;
7612 sysv4.2uw2*)
7613   symcode='[DT]'
7614   ;;
7615 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7616   symcode='[ABDT]'
7617   ;;
7618 sysv4)
7619   symcode='[DFNSTU]'
7620   ;;
7621 esac
7622
7623 # If we're using GNU nm, then use its standard symbol codes.
7624 case `$NM -V 2>&1` in
7625 *GNU* | *'with BFD'*)
7626   symcode='[ABCDGIRSTW]' ;;
7627 esac
7628
7629 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7630   # Gets list of data symbols to import.
7631   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7632   # Adjust the below global symbol transforms to fixup imported variables.
7633   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7634   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7635   lt_c_name_lib_hook="\
7636   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7637   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7638 else
7639   # Disable hooks by default.
7640   lt_cv_sys_global_symbol_to_import=
7641   lt_cdecl_hook=
7642   lt_c_name_hook=
7643   lt_c_name_lib_hook=
7644 fi
7645
7646 # Transform an extracted symbol line into a proper C declaration.
7647 # Some systems (esp. on ia64) link data and code symbols differently,
7648 # so use this general approach.
7649 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7650 $lt_cdecl_hook\
7651 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7652 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7653
7654 # Transform an extracted symbol line into symbol name and symbol address
7655 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7656 $lt_c_name_hook\
7657 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7658 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7659
7660 # Transform an extracted symbol line into symbol name with lib prefix and
7661 # symbol address.
7662 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7663 $lt_c_name_lib_hook\
7664 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7665 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7666 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7667
7668 # Handle CRLF in mingw tool chain
7669 opt_cr=
7670 case $build_os in
7671 mingw*)
7672   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7673   ;;
7674 esac
7675
7676 # Try without a prefix underscore, then with it.
7677 for ac_symprfx in "" "_"; do
7678
7679   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7680   symxfrm="\\1 $ac_symprfx\\2 \\2"
7681
7682   # Write the raw and C identifiers.
7683   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7684     # Fake it for dumpbin and say T for any non-static function,
7685     # D for any global variable and I for any imported variable.
7686     # Also find C++ and __fastcall symbols from MSVC++,
7687     # which start with @ or ?.
7688     lt_cv_sys_global_symbol_pipe="$AWK '"\
7689 "     {last_section=section; section=\$ 3};"\
7690 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7691 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7692 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7693 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7694 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7695 "     \$ 0!~/External *\|/{next};"\
7696 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7697 "     {if(hide[section]) next};"\
7698 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7699 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7700 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7701 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7702 "     ' prfx=^$ac_symprfx"
7703   else
7704     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7705   fi
7706   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7707
7708   # Check to see that the pipe works correctly.
7709   pipe_works=no
7710
7711   rm -f conftest*
7712   cat > conftest.$ac_ext <<_LT_EOF
7713 #ifdef __cplusplus
7714 extern "C" {
7715 #endif
7716 char nm_test_var;
7717 void nm_test_func(void);
7718 void nm_test_func(void){}
7719 #ifdef __cplusplus
7720 }
7721 #endif
7722 int main(){nm_test_var='a';nm_test_func();return(0);}
7723 _LT_EOF
7724
7725   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7726   (eval $ac_compile) 2>&5
7727   ac_status=$?
7728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7729   test $ac_status = 0; }; then
7730     # Now try to grab the symbols.
7731     nlist=conftest.nm
7732     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7733   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7734   ac_status=$?
7735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7736   test $ac_status = 0; } && test -s "$nlist"; then
7737       # Try sorting and uniquifying the output.
7738       if sort "$nlist" | uniq > "$nlist"T; then
7739         mv -f "$nlist"T "$nlist"
7740       else
7741         rm -f "$nlist"T
7742       fi
7743
7744       # Make sure that we snagged all the symbols we need.
7745       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7746         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7747           cat <<_LT_EOF > conftest.$ac_ext
7748 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7749 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7750 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7751    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7752 # define LT_DLSYM_CONST
7753 #elif defined __osf__
7754 /* This system does not cope well with relocations in const data.  */
7755 # define LT_DLSYM_CONST
7756 #else
7757 # define LT_DLSYM_CONST const
7758 #endif
7759
7760 #ifdef __cplusplus
7761 extern "C" {
7762 #endif
7763
7764 _LT_EOF
7765           # Now generate the symbol file.
7766           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7767
7768           cat <<_LT_EOF >> conftest.$ac_ext
7769
7770 /* The mapping between symbol names and symbols.  */
7771 LT_DLSYM_CONST struct {
7772   const char *name;
7773   void       *address;
7774 }
7775 lt__PROGRAM__LTX_preloaded_symbols[] =
7776 {
7777   { "@PROGRAM@", (void *) 0 },
7778 _LT_EOF
7779           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7780           cat <<\_LT_EOF >> conftest.$ac_ext
7781   {0, (void *) 0}
7782 };
7783
7784 /* This works around a problem in FreeBSD linker */
7785 #ifdef FREEBSD_WORKAROUND
7786 static const void *lt_preloaded_setup() {
7787   return lt__PROGRAM__LTX_preloaded_symbols;
7788 }
7789 #endif
7790
7791 #ifdef __cplusplus
7792 }
7793 #endif
7794 _LT_EOF
7795           # Now try linking the two files.
7796           mv conftest.$ac_objext conftstm.$ac_objext
7797           lt_globsym_save_LIBS=$LIBS
7798           lt_globsym_save_CFLAGS=$CFLAGS
7799           LIBS=conftstm.$ac_objext
7800           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7801           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7802   (eval $ac_link) 2>&5
7803   ac_status=$?
7804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7805   test $ac_status = 0; } && test -s conftest$ac_exeext; then
7806             pipe_works=yes
7807           fi
7808           LIBS=$lt_globsym_save_LIBS
7809           CFLAGS=$lt_globsym_save_CFLAGS
7810         else
7811           echo "cannot find nm_test_func in $nlist" >&5
7812         fi
7813       else
7814         echo "cannot find nm_test_var in $nlist" >&5
7815       fi
7816     else
7817       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7818     fi
7819   else
7820     echo "$progname: failed program was:" >&5
7821     cat conftest.$ac_ext >&5
7822   fi
7823   rm -rf conftest* conftst*
7824
7825   # Do not use the global_symbol_pipe unless it works.
7826   if test yes = "$pipe_works"; then
7827     break
7828   else
7829     lt_cv_sys_global_symbol_pipe=
7830   fi
7831 done
7832
7833 fi
7834
7835 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7836   lt_cv_sys_global_symbol_to_cdecl=
7837 fi
7838 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7840 $as_echo "failed" >&6; }
7841 else
7842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7843 $as_echo "ok" >&6; }
7844 fi
7845
7846 # Response file support.
7847 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7848   nm_file_list_spec='@'
7849 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7850   nm_file_list_spec='@'
7851 fi
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7890 $as_echo_n "checking for sysroot... " >&6; }
7891
7892 # Check whether --with-sysroot was given.
7893 if test "${with_sysroot+set}" = set; then :
7894   withval=$with_sysroot;
7895 else
7896   with_sysroot=no
7897 fi
7898
7899
7900 lt_sysroot=
7901 case $with_sysroot in #(
7902  yes)
7903    if test yes = "$GCC"; then
7904      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7905    fi
7906    ;; #(
7907  /*)
7908    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7909    ;; #(
7910  no|'')
7911    ;; #(
7912  *)
7913    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7914 $as_echo "$with_sysroot" >&6; }
7915    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7916    ;;
7917 esac
7918
7919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7920 $as_echo "${lt_sysroot:-no}" >&6; }
7921
7922
7923
7924
7925
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7927 $as_echo_n "checking for a working dd... " >&6; }
7928 if ${ac_cv_path_lt_DD+:} false; then :
7929   $as_echo_n "(cached) " >&6
7930 else
7931   printf 0123456789abcdef0123456789abcdef >conftest.i
7932 cat conftest.i conftest.i >conftest2.i
7933 : ${lt_DD:=$DD}
7934 if test -z "$lt_DD"; then
7935   ac_path_lt_DD_found=false
7936   # Loop through the user's path and test for each of PROGNAME-LIST
7937   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 for as_dir in $PATH
7939 do
7940   IFS=$as_save_IFS
7941   test -z "$as_dir" && as_dir=.
7942     for ac_prog in dd; do
7943     for ac_exec_ext in '' $ac_executable_extensions; do
7944       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7945       as_fn_executable_p "$ac_path_lt_DD" || continue
7946 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7947   cmp -s conftest.i conftest.out \
7948   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7949 fi
7950       $ac_path_lt_DD_found && break 3
7951     done
7952   done
7953   done
7954 IFS=$as_save_IFS
7955   if test -z "$ac_cv_path_lt_DD"; then
7956     :
7957   fi
7958 else
7959   ac_cv_path_lt_DD=$lt_DD
7960 fi
7961
7962 rm -f conftest.i conftest2.i conftest.out
7963 fi
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7965 $as_echo "$ac_cv_path_lt_DD" >&6; }
7966
7967
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7969 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7970 if ${lt_cv_truncate_bin+:} false; then :
7971   $as_echo_n "(cached) " >&6
7972 else
7973   printf 0123456789abcdef0123456789abcdef >conftest.i
7974 cat conftest.i conftest.i >conftest2.i
7975 lt_cv_truncate_bin=
7976 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7977   cmp -s conftest.i conftest.out \
7978   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7979 fi
7980 rm -f conftest.i conftest2.i conftest.out
7981 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7982 fi
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7984 $as_echo "$lt_cv_truncate_bin" >&6; }
7985
7986
7987
7988
7989
7990
7991
7992 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7993 func_cc_basename ()
7994 {
7995     for cc_temp in $*""; do
7996       case $cc_temp in
7997         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7998         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7999         \-*) ;;
8000         *) break;;
8001       esac
8002     done
8003     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8004 }
8005
8006 # Check whether --enable-libtool-lock was given.
8007 if test "${enable_libtool_lock+set}" = set; then :
8008   enableval=$enable_libtool_lock;
8009 fi
8010
8011 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8012
8013 # Some flags need to be propagated to the compiler or linker for good
8014 # libtool support.
8015 case $host in
8016 ia64-*-hpux*)
8017   # Find out what ABI is being produced by ac_compile, and set mode
8018   # options accordingly.
8019   echo 'int i;' > conftest.$ac_ext
8020   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8021   (eval $ac_compile) 2>&5
8022   ac_status=$?
8023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8024   test $ac_status = 0; }; then
8025     case `/usr/bin/file conftest.$ac_objext` in
8026       *ELF-32*)
8027         HPUX_IA64_MODE=32
8028         ;;
8029       *ELF-64*)
8030         HPUX_IA64_MODE=64
8031         ;;
8032     esac
8033   fi
8034   rm -rf conftest*
8035   ;;
8036 *-*-irix6*)
8037   # Find out what ABI is being produced by ac_compile, and set linker
8038   # options accordingly.
8039   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8040   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8041   (eval $ac_compile) 2>&5
8042   ac_status=$?
8043   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8044   test $ac_status = 0; }; then
8045     if test yes = "$lt_cv_prog_gnu_ld"; then
8046       case `/usr/bin/file conftest.$ac_objext` in
8047         *32-bit*)
8048           LD="${LD-ld} -melf32bsmip"
8049           ;;
8050         *N32*)
8051           LD="${LD-ld} -melf32bmipn32"
8052           ;;
8053         *64-bit*)
8054           LD="${LD-ld} -melf64bmip"
8055         ;;
8056       esac
8057     else
8058       case `/usr/bin/file conftest.$ac_objext` in
8059         *32-bit*)
8060           LD="${LD-ld} -32"
8061           ;;
8062         *N32*)
8063           LD="${LD-ld} -n32"
8064           ;;
8065         *64-bit*)
8066           LD="${LD-ld} -64"
8067           ;;
8068       esac
8069     fi
8070   fi
8071   rm -rf conftest*
8072   ;;
8073
8074 mips64*-*linux*)
8075   # Find out what ABI is being produced by ac_compile, and set linker
8076   # options accordingly.
8077   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8078   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8079   (eval $ac_compile) 2>&5
8080   ac_status=$?
8081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8082   test $ac_status = 0; }; then
8083     emul=elf
8084     case `/usr/bin/file conftest.$ac_objext` in
8085       *32-bit*)
8086         emul="${emul}32"
8087         ;;
8088       *64-bit*)
8089         emul="${emul}64"
8090         ;;
8091     esac
8092     case `/usr/bin/file conftest.$ac_objext` in
8093       *MSB*)
8094         emul="${emul}btsmip"
8095         ;;
8096       *LSB*)
8097         emul="${emul}ltsmip"
8098         ;;
8099     esac
8100     case `/usr/bin/file conftest.$ac_objext` in
8101       *N32*)
8102         emul="${emul}n32"
8103         ;;
8104     esac
8105     LD="${LD-ld} -m $emul"
8106   fi
8107   rm -rf conftest*
8108   ;;
8109
8110 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8111 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8112   # Find out what ABI is being produced by ac_compile, and set linker
8113   # options accordingly.  Note that the listed cases only cover the
8114   # situations where additional linker options are needed (such as when
8115   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8116   # vice versa); the common cases where no linker options are needed do
8117   # not appear in the list.
8118   echo 'int i;' > conftest.$ac_ext
8119   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8120   (eval $ac_compile) 2>&5
8121   ac_status=$?
8122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8123   test $ac_status = 0; }; then
8124     case `/usr/bin/file conftest.o` in
8125       *32-bit*)
8126         case $host in
8127           x86_64-*kfreebsd*-gnu)
8128             LD="${LD-ld} -m elf_i386_fbsd"
8129             ;;
8130           x86_64-*linux*)
8131             case `/usr/bin/file conftest.o` in
8132               *x86-64*)
8133                 LD="${LD-ld} -m elf32_x86_64"
8134                 ;;
8135               *)
8136                 LD="${LD-ld} -m elf_i386"
8137                 ;;
8138             esac
8139             ;;
8140           powerpc64le-*linux*)
8141             LD="${LD-ld} -m elf32lppclinux"
8142             ;;
8143           powerpc64-*linux*)
8144             LD="${LD-ld} -m elf32ppclinux"
8145             ;;
8146           s390x-*linux*)
8147             LD="${LD-ld} -m elf_s390"
8148             ;;
8149           sparc64-*linux*)
8150             LD="${LD-ld} -m elf32_sparc"
8151             ;;
8152         esac
8153         ;;
8154       *64-bit*)
8155         case $host in
8156           x86_64-*kfreebsd*-gnu)
8157             LD="${LD-ld} -m elf_x86_64_fbsd"
8158             ;;
8159           x86_64-*linux*)
8160             LD="${LD-ld} -m elf_x86_64"
8161             ;;
8162           powerpcle-*linux*)
8163             LD="${LD-ld} -m elf64lppc"
8164             ;;
8165           powerpc-*linux*)
8166             LD="${LD-ld} -m elf64ppc"
8167             ;;
8168           s390*-*linux*|s390*-*tpf*)
8169             LD="${LD-ld} -m elf64_s390"
8170             ;;
8171           sparc*-*linux*)
8172             LD="${LD-ld} -m elf64_sparc"
8173             ;;
8174         esac
8175         ;;
8176     esac
8177   fi
8178   rm -rf conftest*
8179   ;;
8180
8181 *-*-sco3.2v5*)
8182   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8183   SAVE_CFLAGS=$CFLAGS
8184   CFLAGS="$CFLAGS -belf"
8185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8186 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8187 if ${lt_cv_cc_needs_belf+:} false; then :
8188   $as_echo_n "(cached) " >&6
8189 else
8190   ac_ext=c
8191 ac_cpp='$CPP $CPPFLAGS'
8192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8195
8196      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8197 /* end confdefs.h.  */
8198
8199 int
8200 main ()
8201 {
8202
8203   ;
8204   return 0;
8205 }
8206 _ACEOF
8207 if ac_fn_c_try_link "$LINENO"; then :
8208   lt_cv_cc_needs_belf=yes
8209 else
8210   lt_cv_cc_needs_belf=no
8211 fi
8212 rm -f core conftest.err conftest.$ac_objext \
8213     conftest$ac_exeext conftest.$ac_ext
8214      ac_ext=c
8215 ac_cpp='$CPP $CPPFLAGS'
8216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8219
8220 fi
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8222 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8223   if test yes != "$lt_cv_cc_needs_belf"; then
8224     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8225     CFLAGS=$SAVE_CFLAGS
8226   fi
8227   ;;
8228 *-*solaris*)
8229   # Find out what ABI is being produced by ac_compile, and set linker
8230   # options accordingly.
8231   echo 'int i;' > conftest.$ac_ext
8232   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8233   (eval $ac_compile) 2>&5
8234   ac_status=$?
8235   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8236   test $ac_status = 0; }; then
8237     case `/usr/bin/file conftest.o` in
8238     *64-bit*)
8239       case $lt_cv_prog_gnu_ld in
8240       yes*)
8241         case $host in
8242         i?86-*-solaris*|x86_64-*-solaris*)
8243           LD="${LD-ld} -m elf_x86_64"
8244           ;;
8245         sparc*-*-solaris*)
8246           LD="${LD-ld} -m elf64_sparc"
8247           ;;
8248         esac
8249         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8250         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8251           LD=${LD-ld}_sol2
8252         fi
8253         ;;
8254       *)
8255         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8256           LD="${LD-ld} -64"
8257         fi
8258         ;;
8259       esac
8260       ;;
8261     esac
8262   fi
8263   rm -rf conftest*
8264   ;;
8265 esac
8266
8267 need_locks=$enable_libtool_lock
8268
8269 if test -n "$ac_tool_prefix"; then
8270   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8271 set dummy ${ac_tool_prefix}mt; ac_word=$2
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8273 $as_echo_n "checking for $ac_word... " >&6; }
8274 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8275   $as_echo_n "(cached) " >&6
8276 else
8277   if test -n "$MANIFEST_TOOL"; then
8278   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8279 else
8280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 for as_dir in $PATH
8282 do
8283   IFS=$as_save_IFS
8284   test -z "$as_dir" && as_dir=.
8285     for ac_exec_ext in '' $ac_executable_extensions; do
8286   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8287     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8289     break 2
8290   fi
8291 done
8292   done
8293 IFS=$as_save_IFS
8294
8295 fi
8296 fi
8297 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8298 if test -n "$MANIFEST_TOOL"; then
8299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8300 $as_echo "$MANIFEST_TOOL" >&6; }
8301 else
8302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303 $as_echo "no" >&6; }
8304 fi
8305
8306
8307 fi
8308 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8309   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8310   # Extract the first word of "mt", so it can be a program name with args.
8311 set dummy mt; ac_word=$2
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8313 $as_echo_n "checking for $ac_word... " >&6; }
8314 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8315   $as_echo_n "(cached) " >&6
8316 else
8317   if test -n "$ac_ct_MANIFEST_TOOL"; then
8318   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8319 else
8320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321 for as_dir in $PATH
8322 do
8323   IFS=$as_save_IFS
8324   test -z "$as_dir" && as_dir=.
8325     for ac_exec_ext in '' $ac_executable_extensions; do
8326   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8327     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8329     break 2
8330   fi
8331 done
8332   done
8333 IFS=$as_save_IFS
8334
8335 fi
8336 fi
8337 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8338 if test -n "$ac_ct_MANIFEST_TOOL"; then
8339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8340 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8341 else
8342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343 $as_echo "no" >&6; }
8344 fi
8345
8346   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8347     MANIFEST_TOOL=":"
8348   else
8349     case $cross_compiling:$ac_tool_warned in
8350 yes:)
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8353 ac_tool_warned=yes ;;
8354 esac
8355     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8356   fi
8357 else
8358   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8359 fi
8360
8361 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8363 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8364 if ${lt_cv_path_mainfest_tool+:} false; then :
8365   $as_echo_n "(cached) " >&6
8366 else
8367   lt_cv_path_mainfest_tool=no
8368   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8369   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8370   cat conftest.err >&5
8371   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8372     lt_cv_path_mainfest_tool=yes
8373   fi
8374   rm -f conftest*
8375 fi
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8377 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8378 if test yes != "$lt_cv_path_mainfest_tool"; then
8379   MANIFEST_TOOL=:
8380 fi
8381
8382
8383
8384
8385
8386
8387   case $host_os in
8388     rhapsody* | darwin*)
8389     if test -n "$ac_tool_prefix"; then
8390   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8391 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8393 $as_echo_n "checking for $ac_word... " >&6; }
8394 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8395   $as_echo_n "(cached) " >&6
8396 else
8397   if test -n "$DSYMUTIL"; then
8398   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8399 else
8400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8401 for as_dir in $PATH
8402 do
8403   IFS=$as_save_IFS
8404   test -z "$as_dir" && as_dir=.
8405     for ac_exec_ext in '' $ac_executable_extensions; do
8406   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8407     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8409     break 2
8410   fi
8411 done
8412   done
8413 IFS=$as_save_IFS
8414
8415 fi
8416 fi
8417 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8418 if test -n "$DSYMUTIL"; then
8419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8420 $as_echo "$DSYMUTIL" >&6; }
8421 else
8422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8423 $as_echo "no" >&6; }
8424 fi
8425
8426
8427 fi
8428 if test -z "$ac_cv_prog_DSYMUTIL"; then
8429   ac_ct_DSYMUTIL=$DSYMUTIL
8430   # Extract the first word of "dsymutil", so it can be a program name with args.
8431 set dummy dsymutil; ac_word=$2
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8433 $as_echo_n "checking for $ac_word... " >&6; }
8434 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8435   $as_echo_n "(cached) " >&6
8436 else
8437   if test -n "$ac_ct_DSYMUTIL"; then
8438   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8439 else
8440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8441 for as_dir in $PATH
8442 do
8443   IFS=$as_save_IFS
8444   test -z "$as_dir" && as_dir=.
8445     for ac_exec_ext in '' $ac_executable_extensions; do
8446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8447     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8449     break 2
8450   fi
8451 done
8452   done
8453 IFS=$as_save_IFS
8454
8455 fi
8456 fi
8457 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8458 if test -n "$ac_ct_DSYMUTIL"; then
8459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8460 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8461 else
8462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8463 $as_echo "no" >&6; }
8464 fi
8465
8466   if test "x$ac_ct_DSYMUTIL" = x; then
8467     DSYMUTIL=":"
8468   else
8469     case $cross_compiling:$ac_tool_warned in
8470 yes:)
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8473 ac_tool_warned=yes ;;
8474 esac
8475     DSYMUTIL=$ac_ct_DSYMUTIL
8476   fi
8477 else
8478   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8479 fi
8480
8481     if test -n "$ac_tool_prefix"; then
8482   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8483 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8485 $as_echo_n "checking for $ac_word... " >&6; }
8486 if ${ac_cv_prog_NMEDIT+:} false; then :
8487   $as_echo_n "(cached) " >&6
8488 else
8489   if test -n "$NMEDIT"; then
8490   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8491 else
8492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8493 for as_dir in $PATH
8494 do
8495   IFS=$as_save_IFS
8496   test -z "$as_dir" && as_dir=.
8497     for ac_exec_ext in '' $ac_executable_extensions; do
8498   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8499     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8501     break 2
8502   fi
8503 done
8504   done
8505 IFS=$as_save_IFS
8506
8507 fi
8508 fi
8509 NMEDIT=$ac_cv_prog_NMEDIT
8510 if test -n "$NMEDIT"; then
8511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8512 $as_echo "$NMEDIT" >&6; }
8513 else
8514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8515 $as_echo "no" >&6; }
8516 fi
8517
8518
8519 fi
8520 if test -z "$ac_cv_prog_NMEDIT"; then
8521   ac_ct_NMEDIT=$NMEDIT
8522   # Extract the first word of "nmedit", so it can be a program name with args.
8523 set dummy nmedit; ac_word=$2
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8525 $as_echo_n "checking for $ac_word... " >&6; }
8526 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8527   $as_echo_n "(cached) " >&6
8528 else
8529   if test -n "$ac_ct_NMEDIT"; then
8530   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8531 else
8532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8533 for as_dir in $PATH
8534 do
8535   IFS=$as_save_IFS
8536   test -z "$as_dir" && as_dir=.
8537     for ac_exec_ext in '' $ac_executable_extensions; do
8538   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8539     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8541     break 2
8542   fi
8543 done
8544   done
8545 IFS=$as_save_IFS
8546
8547 fi
8548 fi
8549 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8550 if test -n "$ac_ct_NMEDIT"; then
8551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8552 $as_echo "$ac_ct_NMEDIT" >&6; }
8553 else
8554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8555 $as_echo "no" >&6; }
8556 fi
8557
8558   if test "x$ac_ct_NMEDIT" = x; then
8559     NMEDIT=":"
8560   else
8561     case $cross_compiling:$ac_tool_warned in
8562 yes:)
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8565 ac_tool_warned=yes ;;
8566 esac
8567     NMEDIT=$ac_ct_NMEDIT
8568   fi
8569 else
8570   NMEDIT="$ac_cv_prog_NMEDIT"
8571 fi
8572
8573     if test -n "$ac_tool_prefix"; then
8574   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8575 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8577 $as_echo_n "checking for $ac_word... " >&6; }
8578 if ${ac_cv_prog_LIPO+:} false; then :
8579   $as_echo_n "(cached) " >&6
8580 else
8581   if test -n "$LIPO"; then
8582   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8583 else
8584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8585 for as_dir in $PATH
8586 do
8587   IFS=$as_save_IFS
8588   test -z "$as_dir" && as_dir=.
8589     for ac_exec_ext in '' $ac_executable_extensions; do
8590   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8591     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8593     break 2
8594   fi
8595 done
8596   done
8597 IFS=$as_save_IFS
8598
8599 fi
8600 fi
8601 LIPO=$ac_cv_prog_LIPO
8602 if test -n "$LIPO"; then
8603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8604 $as_echo "$LIPO" >&6; }
8605 else
8606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8607 $as_echo "no" >&6; }
8608 fi
8609
8610
8611 fi
8612 if test -z "$ac_cv_prog_LIPO"; then
8613   ac_ct_LIPO=$LIPO
8614   # Extract the first word of "lipo", so it can be a program name with args.
8615 set dummy lipo; ac_word=$2
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8617 $as_echo_n "checking for $ac_word... " >&6; }
8618 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8619   $as_echo_n "(cached) " >&6
8620 else
8621   if test -n "$ac_ct_LIPO"; then
8622   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8623 else
8624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8625 for as_dir in $PATH
8626 do
8627   IFS=$as_save_IFS
8628   test -z "$as_dir" && as_dir=.
8629     for ac_exec_ext in '' $ac_executable_extensions; do
8630   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8631     ac_cv_prog_ac_ct_LIPO="lipo"
8632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8633     break 2
8634   fi
8635 done
8636   done
8637 IFS=$as_save_IFS
8638
8639 fi
8640 fi
8641 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8642 if test -n "$ac_ct_LIPO"; then
8643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8644 $as_echo "$ac_ct_LIPO" >&6; }
8645 else
8646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8647 $as_echo "no" >&6; }
8648 fi
8649
8650   if test "x$ac_ct_LIPO" = x; then
8651     LIPO=":"
8652   else
8653     case $cross_compiling:$ac_tool_warned in
8654 yes:)
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8657 ac_tool_warned=yes ;;
8658 esac
8659     LIPO=$ac_ct_LIPO
8660   fi
8661 else
8662   LIPO="$ac_cv_prog_LIPO"
8663 fi
8664
8665     if test -n "$ac_tool_prefix"; then
8666   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8667 set dummy ${ac_tool_prefix}otool; ac_word=$2
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8669 $as_echo_n "checking for $ac_word... " >&6; }
8670 if ${ac_cv_prog_OTOOL+:} false; then :
8671   $as_echo_n "(cached) " >&6
8672 else
8673   if test -n "$OTOOL"; then
8674   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8675 else
8676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8677 for as_dir in $PATH
8678 do
8679   IFS=$as_save_IFS
8680   test -z "$as_dir" && as_dir=.
8681     for ac_exec_ext in '' $ac_executable_extensions; do
8682   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8683     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8685     break 2
8686   fi
8687 done
8688   done
8689 IFS=$as_save_IFS
8690
8691 fi
8692 fi
8693 OTOOL=$ac_cv_prog_OTOOL
8694 if test -n "$OTOOL"; then
8695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8696 $as_echo "$OTOOL" >&6; }
8697 else
8698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8699 $as_echo "no" >&6; }
8700 fi
8701
8702
8703 fi
8704 if test -z "$ac_cv_prog_OTOOL"; then
8705   ac_ct_OTOOL=$OTOOL
8706   # Extract the first word of "otool", so it can be a program name with args.
8707 set dummy otool; ac_word=$2
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8709 $as_echo_n "checking for $ac_word... " >&6; }
8710 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8711   $as_echo_n "(cached) " >&6
8712 else
8713   if test -n "$ac_ct_OTOOL"; then
8714   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8715 else
8716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8717 for as_dir in $PATH
8718 do
8719   IFS=$as_save_IFS
8720   test -z "$as_dir" && as_dir=.
8721     for ac_exec_ext in '' $ac_executable_extensions; do
8722   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8723     ac_cv_prog_ac_ct_OTOOL="otool"
8724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8725     break 2
8726   fi
8727 done
8728   done
8729 IFS=$as_save_IFS
8730
8731 fi
8732 fi
8733 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8734 if test -n "$ac_ct_OTOOL"; then
8735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8736 $as_echo "$ac_ct_OTOOL" >&6; }
8737 else
8738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8739 $as_echo "no" >&6; }
8740 fi
8741
8742   if test "x$ac_ct_OTOOL" = x; then
8743     OTOOL=":"
8744   else
8745     case $cross_compiling:$ac_tool_warned in
8746 yes:)
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8749 ac_tool_warned=yes ;;
8750 esac
8751     OTOOL=$ac_ct_OTOOL
8752   fi
8753 else
8754   OTOOL="$ac_cv_prog_OTOOL"
8755 fi
8756
8757     if test -n "$ac_tool_prefix"; then
8758   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8759 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8761 $as_echo_n "checking for $ac_word... " >&6; }
8762 if ${ac_cv_prog_OTOOL64+:} false; then :
8763   $as_echo_n "(cached) " >&6
8764 else
8765   if test -n "$OTOOL64"; then
8766   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8767 else
8768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8769 for as_dir in $PATH
8770 do
8771   IFS=$as_save_IFS
8772   test -z "$as_dir" && as_dir=.
8773     for ac_exec_ext in '' $ac_executable_extensions; do
8774   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8775     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8777     break 2
8778   fi
8779 done
8780   done
8781 IFS=$as_save_IFS
8782
8783 fi
8784 fi
8785 OTOOL64=$ac_cv_prog_OTOOL64
8786 if test -n "$OTOOL64"; then
8787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8788 $as_echo "$OTOOL64" >&6; }
8789 else
8790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8791 $as_echo "no" >&6; }
8792 fi
8793
8794
8795 fi
8796 if test -z "$ac_cv_prog_OTOOL64"; then
8797   ac_ct_OTOOL64=$OTOOL64
8798   # Extract the first word of "otool64", so it can be a program name with args.
8799 set dummy otool64; ac_word=$2
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8801 $as_echo_n "checking for $ac_word... " >&6; }
8802 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8803   $as_echo_n "(cached) " >&6
8804 else
8805   if test -n "$ac_ct_OTOOL64"; then
8806   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8807 else
8808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809 for as_dir in $PATH
8810 do
8811   IFS=$as_save_IFS
8812   test -z "$as_dir" && as_dir=.
8813     for ac_exec_ext in '' $ac_executable_extensions; do
8814   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8815     ac_cv_prog_ac_ct_OTOOL64="otool64"
8816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8817     break 2
8818   fi
8819 done
8820   done
8821 IFS=$as_save_IFS
8822
8823 fi
8824 fi
8825 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8826 if test -n "$ac_ct_OTOOL64"; then
8827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8828 $as_echo "$ac_ct_OTOOL64" >&6; }
8829 else
8830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8832 fi
8833
8834   if test "x$ac_ct_OTOOL64" = x; then
8835     OTOOL64=":"
8836   else
8837     case $cross_compiling:$ac_tool_warned in
8838 yes:)
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8841 ac_tool_warned=yes ;;
8842 esac
8843     OTOOL64=$ac_ct_OTOOL64
8844   fi
8845 else
8846   OTOOL64="$ac_cv_prog_OTOOL64"
8847 fi
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8876 $as_echo_n "checking for -single_module linker flag... " >&6; }
8877 if ${lt_cv_apple_cc_single_mod+:} false; then :
8878   $as_echo_n "(cached) " >&6
8879 else
8880   lt_cv_apple_cc_single_mod=no
8881       if test -z "$LT_MULTI_MODULE"; then
8882         # By default we will add the -single_module flag. You can override
8883         # by either setting the environment variable LT_MULTI_MODULE
8884         # non-empty at configure time, or by adding -multi_module to the
8885         # link flags.
8886         rm -rf libconftest.dylib*
8887         echo "int foo(void){return 1;}" > conftest.c
8888         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8889 -dynamiclib -Wl,-single_module conftest.c" >&5
8890         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8891           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8892         _lt_result=$?
8893         # If there is a non-empty error log, and "single_module"
8894         # appears in it, assume the flag caused a linker warning
8895         if test -s conftest.err && $GREP single_module conftest.err; then
8896           cat conftest.err >&5
8897         # Otherwise, if the output was created with a 0 exit code from
8898         # the compiler, it worked.
8899         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8900           lt_cv_apple_cc_single_mod=yes
8901         else
8902           cat conftest.err >&5
8903         fi
8904         rm -rf libconftest.dylib*
8905         rm -f conftest.*
8906       fi
8907 fi
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8909 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8910
8911     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8912 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8913 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8914   $as_echo_n "(cached) " >&6
8915 else
8916   lt_cv_ld_exported_symbols_list=no
8917       save_LDFLAGS=$LDFLAGS
8918       echo "_main" > conftest.sym
8919       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8921 /* end confdefs.h.  */
8922
8923 int
8924 main ()
8925 {
8926
8927   ;
8928   return 0;
8929 }
8930 _ACEOF
8931 if ac_fn_c_try_link "$LINENO"; then :
8932   lt_cv_ld_exported_symbols_list=yes
8933 else
8934   lt_cv_ld_exported_symbols_list=no
8935 fi
8936 rm -f core conftest.err conftest.$ac_objext \
8937     conftest$ac_exeext conftest.$ac_ext
8938         LDFLAGS=$save_LDFLAGS
8939
8940 fi
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8942 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8943
8944     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8945 $as_echo_n "checking for -force_load linker flag... " >&6; }
8946 if ${lt_cv_ld_force_load+:} false; then :
8947   $as_echo_n "(cached) " >&6
8948 else
8949   lt_cv_ld_force_load=no
8950       cat > conftest.c << _LT_EOF
8951 int forced_loaded() { return 2;}
8952 _LT_EOF
8953       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8954       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8955       echo "$AR cru libconftest.a conftest.o" >&5
8956       $AR cru libconftest.a conftest.o 2>&5
8957       echo "$RANLIB libconftest.a" >&5
8958       $RANLIB libconftest.a 2>&5
8959       cat > conftest.c << _LT_EOF
8960 int main() { return 0;}
8961 _LT_EOF
8962       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8963       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8964       _lt_result=$?
8965       if test -s conftest.err && $GREP force_load conftest.err; then
8966         cat conftest.err >&5
8967       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8968         lt_cv_ld_force_load=yes
8969       else
8970         cat conftest.err >&5
8971       fi
8972         rm -f conftest.err libconftest.a conftest conftest.c
8973         rm -rf conftest.dSYM
8974
8975 fi
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8977 $as_echo "$lt_cv_ld_force_load" >&6; }
8978     case $host_os in
8979     rhapsody* | darwin1.[012])
8980       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8981     darwin1.*)
8982       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8983     darwin*) # darwin 5.x on
8984       # if running on 10.5 or later, the deployment target defaults
8985       # to the OS version, if on x86, and 10.4, the deployment
8986       # target defaults to 10.4. Don't you love it?
8987       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8988         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8989           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8990         10.[012][,.]*)
8991           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8992         10.*)
8993           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8994       esac
8995     ;;
8996   esac
8997     if test yes = "$lt_cv_apple_cc_single_mod"; then
8998       _lt_dar_single_mod='$single_module'
8999     fi
9000     if test yes = "$lt_cv_ld_exported_symbols_list"; then
9001       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9002     else
9003       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9004     fi
9005     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9006       _lt_dsymutil='~$DSYMUTIL $lib || :'
9007     else
9008       _lt_dsymutil=
9009     fi
9010     ;;
9011   esac
9012
9013 # func_munge_path_list VARIABLE PATH
9014 # -----------------------------------
9015 # VARIABLE is name of variable containing _space_ separated list of
9016 # directories to be munged by the contents of PATH, which is string
9017 # having a format:
9018 # "DIR[:DIR]:"
9019 #       string "DIR[ DIR]" will be prepended to VARIABLE
9020 # ":DIR[:DIR]"
9021 #       string "DIR[ DIR]" will be appended to VARIABLE
9022 # "DIRP[:DIRP]::[DIRA:]DIRA"
9023 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9024 #       "DIRA[ DIRA]" will be appended to VARIABLE
9025 # "DIR[:DIR]"
9026 #       VARIABLE will be replaced by "DIR[ DIR]"
9027 func_munge_path_list ()
9028 {
9029     case x$2 in
9030     x)
9031         ;;
9032     *:)
9033         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9034         ;;
9035     x:*)
9036         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9037         ;;
9038     *::*)
9039         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9040         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9041         ;;
9042     *)
9043         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9044         ;;
9045     esac
9046 }
9047
9048 ac_ext=c
9049 ac_cpp='$CPP $CPPFLAGS'
9050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
9054 $as_echo_n "checking how to run the C preprocessor... " >&6; }
9055 # On Suns, sometimes $CPP names a directory.
9056 if test -n "$CPP" && test -d "$CPP"; then
9057   CPP=
9058 fi
9059 if test -z "$CPP"; then
9060   if ${ac_cv_prog_CPP+:} false; then :
9061   $as_echo_n "(cached) " >&6
9062 else
9063       # Double quotes because CPP needs to be expanded
9064     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9065     do
9066       ac_preproc_ok=false
9067 for ac_c_preproc_warn_flag in '' yes
9068 do
9069   # Use a header file that comes with gcc, so configuring glibc
9070   # with a fresh cross-compiler works.
9071   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9072   # <limits.h> exists even on freestanding compilers.
9073   # On the NeXT, cc -E runs the code through the compiler's parser,
9074   # not just through cpp. "Syntax error" is here to catch this case.
9075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9076 /* end confdefs.h.  */
9077 #ifdef __STDC__
9078 # include <limits.h>
9079 #else
9080 # include <assert.h>
9081 #endif
9082                      Syntax error
9083 _ACEOF
9084 if ac_fn_c_try_cpp "$LINENO"; then :
9085
9086 else
9087   # Broken: fails on valid input.
9088 continue
9089 fi
9090 rm -f conftest.err conftest.i conftest.$ac_ext
9091
9092   # OK, works on sane cases.  Now check whether nonexistent headers
9093   # can be detected and how.
9094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h.  */
9096 #include <ac_nonexistent.h>
9097 _ACEOF
9098 if ac_fn_c_try_cpp "$LINENO"; then :
9099   # Broken: success on invalid input.
9100 continue
9101 else
9102   # Passes both tests.
9103 ac_preproc_ok=:
9104 break
9105 fi
9106 rm -f conftest.err conftest.i conftest.$ac_ext
9107
9108 done
9109 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9110 rm -f conftest.i conftest.err conftest.$ac_ext
9111 if $ac_preproc_ok; then :
9112   break
9113 fi
9114
9115     done
9116     ac_cv_prog_CPP=$CPP
9117
9118 fi
9119   CPP=$ac_cv_prog_CPP
9120 else
9121   ac_cv_prog_CPP=$CPP
9122 fi
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
9124 $as_echo "$CPP" >&6; }
9125 ac_preproc_ok=false
9126 for ac_c_preproc_warn_flag in '' yes
9127 do
9128   # Use a header file that comes with gcc, so configuring glibc
9129   # with a fresh cross-compiler works.
9130   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9131   # <limits.h> exists even on freestanding compilers.
9132   # On the NeXT, cc -E runs the code through the compiler's parser,
9133   # not just through cpp. "Syntax error" is here to catch this case.
9134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h.  */
9136 #ifdef __STDC__
9137 # include <limits.h>
9138 #else
9139 # include <assert.h>
9140 #endif
9141                      Syntax error
9142 _ACEOF
9143 if ac_fn_c_try_cpp "$LINENO"; then :
9144
9145 else
9146   # Broken: fails on valid input.
9147 continue
9148 fi
9149 rm -f conftest.err conftest.i conftest.$ac_ext
9150
9151   # OK, works on sane cases.  Now check whether nonexistent headers
9152   # can be detected and how.
9153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h.  */
9155 #include <ac_nonexistent.h>
9156 _ACEOF
9157 if ac_fn_c_try_cpp "$LINENO"; then :
9158   # Broken: success on invalid input.
9159 continue
9160 else
9161   # Passes both tests.
9162 ac_preproc_ok=:
9163 break
9164 fi
9165 rm -f conftest.err conftest.i conftest.$ac_ext
9166
9167 done
9168 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9169 rm -f conftest.i conftest.err conftest.$ac_ext
9170 if $ac_preproc_ok; then :
9171
9172 else
9173   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9175 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
9176 See \`config.log' for more details" "$LINENO" 5; }
9177 fi
9178
9179 ac_ext=c
9180 ac_cpp='$CPP $CPPFLAGS'
9181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9184
9185
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9187 $as_echo_n "checking for ANSI C header files... " >&6; }
9188 if ${ac_cv_header_stdc+:} false; then :
9189   $as_echo_n "(cached) " >&6
9190 else
9191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9192 /* end confdefs.h.  */
9193 #include <stdlib.h>
9194 #include <stdarg.h>
9195 #include <string.h>
9196 #include <float.h>
9197
9198 int
9199 main ()
9200 {
9201
9202   ;
9203   return 0;
9204 }
9205 _ACEOF
9206 if ac_fn_c_try_compile "$LINENO"; then :
9207   ac_cv_header_stdc=yes
9208 else
9209   ac_cv_header_stdc=no
9210 fi
9211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9212
9213 if test $ac_cv_header_stdc = yes; then
9214   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9216 /* end confdefs.h.  */
9217 #include <string.h>
9218
9219 _ACEOF
9220 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9221   $EGREP "memchr" >/dev/null 2>&1; then :
9222
9223 else
9224   ac_cv_header_stdc=no
9225 fi
9226 rm -f conftest*
9227
9228 fi
9229
9230 if test $ac_cv_header_stdc = yes; then
9231   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9233 /* end confdefs.h.  */
9234 #include <stdlib.h>
9235
9236 _ACEOF
9237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9238   $EGREP "free" >/dev/null 2>&1; then :
9239
9240 else
9241   ac_cv_header_stdc=no
9242 fi
9243 rm -f conftest*
9244
9245 fi
9246
9247 if test $ac_cv_header_stdc = yes; then
9248   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9249   if test "$cross_compiling" = yes; then :
9250   :
9251 else
9252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9253 /* end confdefs.h.  */
9254 #include <ctype.h>
9255 #include <stdlib.h>
9256 #if ((' ' & 0x0FF) == 0x020)
9257 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9258 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9259 #else
9260 # define ISLOWER(c) \
9261                    (('a' <= (c) && (c) <= 'i') \
9262                      || ('j' <= (c) && (c) <= 'r') \
9263                      || ('s' <= (c) && (c) <= 'z'))
9264 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9265 #endif
9266
9267 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9268 int
9269 main ()
9270 {
9271   int i;
9272   for (i = 0; i < 256; i++)
9273     if (XOR (islower (i), ISLOWER (i))
9274         || toupper (i) != TOUPPER (i))
9275       return 2;
9276   return 0;
9277 }
9278 _ACEOF
9279 if ac_fn_c_try_run "$LINENO"; then :
9280
9281 else
9282   ac_cv_header_stdc=no
9283 fi
9284 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9285   conftest.$ac_objext conftest.beam conftest.$ac_ext
9286 fi
9287
9288 fi
9289 fi
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9291 $as_echo "$ac_cv_header_stdc" >&6; }
9292 if test $ac_cv_header_stdc = yes; then
9293
9294 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9295
9296 fi
9297
9298 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9299 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9300                   inttypes.h stdint.h unistd.h
9301 do :
9302   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9303 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9304 "
9305 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9306   cat >>confdefs.h <<_ACEOF
9307 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9308 _ACEOF
9309
9310 fi
9311
9312 done
9313
9314
9315 for ac_header in dlfcn.h
9316 do :
9317   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9318 "
9319 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9320   cat >>confdefs.h <<_ACEOF
9321 #define HAVE_DLFCN_H 1
9322 _ACEOF
9323
9324 fi
9325
9326 done
9327
9328
9329
9330 func_stripname_cnf ()
9331 {
9332   case $2 in
9333   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9334   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9335   esac
9336 } # func_stripname_cnf
9337
9338
9339
9340
9341
9342 # Set options
9343 enable_win32_dll=yes
9344
9345 case $host in
9346 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
9347   if test -n "$ac_tool_prefix"; then
9348   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9349 set dummy ${ac_tool_prefix}as; ac_word=$2
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9351 $as_echo_n "checking for $ac_word... " >&6; }
9352 if ${ac_cv_prog_AS+:} false; then :
9353   $as_echo_n "(cached) " >&6
9354 else
9355   if test -n "$AS"; then
9356   ac_cv_prog_AS="$AS" # Let the user override the test.
9357 else
9358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9359 for as_dir in $PATH
9360 do
9361   IFS=$as_save_IFS
9362   test -z "$as_dir" && as_dir=.
9363     for ac_exec_ext in '' $ac_executable_extensions; do
9364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9365     ac_cv_prog_AS="${ac_tool_prefix}as"
9366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9367     break 2
9368   fi
9369 done
9370   done
9371 IFS=$as_save_IFS
9372
9373 fi
9374 fi
9375 AS=$ac_cv_prog_AS
9376 if test -n "$AS"; then
9377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9378 $as_echo "$AS" >&6; }
9379 else
9380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9381 $as_echo "no" >&6; }
9382 fi
9383
9384
9385 fi
9386 if test -z "$ac_cv_prog_AS"; then
9387   ac_ct_AS=$AS
9388   # Extract the first word of "as", so it can be a program name with args.
9389 set dummy as; ac_word=$2
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9391 $as_echo_n "checking for $ac_word... " >&6; }
9392 if ${ac_cv_prog_ac_ct_AS+:} false; then :
9393   $as_echo_n "(cached) " >&6
9394 else
9395   if test -n "$ac_ct_AS"; then
9396   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9397 else
9398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9399 for as_dir in $PATH
9400 do
9401   IFS=$as_save_IFS
9402   test -z "$as_dir" && as_dir=.
9403     for ac_exec_ext in '' $ac_executable_extensions; do
9404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9405     ac_cv_prog_ac_ct_AS="as"
9406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9407     break 2
9408   fi
9409 done
9410   done
9411 IFS=$as_save_IFS
9412
9413 fi
9414 fi
9415 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9416 if test -n "$ac_ct_AS"; then
9417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9418 $as_echo "$ac_ct_AS" >&6; }
9419 else
9420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9421 $as_echo "no" >&6; }
9422 fi
9423
9424   if test "x$ac_ct_AS" = x; then
9425     AS="false"
9426   else
9427     case $cross_compiling:$ac_tool_warned in
9428 yes:)
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9431 ac_tool_warned=yes ;;
9432 esac
9433     AS=$ac_ct_AS
9434   fi
9435 else
9436   AS="$ac_cv_prog_AS"
9437 fi
9438
9439   if test -n "$ac_tool_prefix"; then
9440   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9441 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9443 $as_echo_n "checking for $ac_word... " >&6; }
9444 if ${ac_cv_prog_DLLTOOL+:} false; then :
9445   $as_echo_n "(cached) " >&6
9446 else
9447   if test -n "$DLLTOOL"; then
9448   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9449 else
9450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9451 for as_dir in $PATH
9452 do
9453   IFS=$as_save_IFS
9454   test -z "$as_dir" && as_dir=.
9455     for ac_exec_ext in '' $ac_executable_extensions; do
9456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9457     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9459     break 2
9460   fi
9461 done
9462   done
9463 IFS=$as_save_IFS
9464
9465 fi
9466 fi
9467 DLLTOOL=$ac_cv_prog_DLLTOOL
9468 if test -n "$DLLTOOL"; then
9469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9470 $as_echo "$DLLTOOL" >&6; }
9471 else
9472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9473 $as_echo "no" >&6; }
9474 fi
9475
9476
9477 fi
9478 if test -z "$ac_cv_prog_DLLTOOL"; then
9479   ac_ct_DLLTOOL=$DLLTOOL
9480   # Extract the first word of "dlltool", so it can be a program name with args.
9481 set dummy dlltool; ac_word=$2
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9483 $as_echo_n "checking for $ac_word... " >&6; }
9484 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9485   $as_echo_n "(cached) " >&6
9486 else
9487   if test -n "$ac_ct_DLLTOOL"; then
9488   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9489 else
9490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9491 for as_dir in $PATH
9492 do
9493   IFS=$as_save_IFS
9494   test -z "$as_dir" && as_dir=.
9495     for ac_exec_ext in '' $ac_executable_extensions; do
9496   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9497     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9499     break 2
9500   fi
9501 done
9502   done
9503 IFS=$as_save_IFS
9504
9505 fi
9506 fi
9507 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9508 if test -n "$ac_ct_DLLTOOL"; then
9509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9510 $as_echo "$ac_ct_DLLTOOL" >&6; }
9511 else
9512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9513 $as_echo "no" >&6; }
9514 fi
9515
9516   if test "x$ac_ct_DLLTOOL" = x; then
9517     DLLTOOL="false"
9518   else
9519     case $cross_compiling:$ac_tool_warned in
9520 yes:)
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9523 ac_tool_warned=yes ;;
9524 esac
9525     DLLTOOL=$ac_ct_DLLTOOL
9526   fi
9527 else
9528   DLLTOOL="$ac_cv_prog_DLLTOOL"
9529 fi
9530
9531   if test -n "$ac_tool_prefix"; then
9532   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9533 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9535 $as_echo_n "checking for $ac_word... " >&6; }
9536 if ${ac_cv_prog_OBJDUMP+:} false; then :
9537   $as_echo_n "(cached) " >&6
9538 else
9539   if test -n "$OBJDUMP"; then
9540   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9541 else
9542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9543 for as_dir in $PATH
9544 do
9545   IFS=$as_save_IFS
9546   test -z "$as_dir" && as_dir=.
9547     for ac_exec_ext in '' $ac_executable_extensions; do
9548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9549     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9551     break 2
9552   fi
9553 done
9554   done
9555 IFS=$as_save_IFS
9556
9557 fi
9558 fi
9559 OBJDUMP=$ac_cv_prog_OBJDUMP
9560 if test -n "$OBJDUMP"; then
9561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9562 $as_echo "$OBJDUMP" >&6; }
9563 else
9564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9565 $as_echo "no" >&6; }
9566 fi
9567
9568
9569 fi
9570 if test -z "$ac_cv_prog_OBJDUMP"; then
9571   ac_ct_OBJDUMP=$OBJDUMP
9572   # Extract the first word of "objdump", so it can be a program name with args.
9573 set dummy objdump; ac_word=$2
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9575 $as_echo_n "checking for $ac_word... " >&6; }
9576 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9577   $as_echo_n "(cached) " >&6
9578 else
9579   if test -n "$ac_ct_OBJDUMP"; then
9580   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9581 else
9582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9583 for as_dir in $PATH
9584 do
9585   IFS=$as_save_IFS
9586   test -z "$as_dir" && as_dir=.
9587     for ac_exec_ext in '' $ac_executable_extensions; do
9588   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9589     ac_cv_prog_ac_ct_OBJDUMP="objdump"
9590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9591     break 2
9592   fi
9593 done
9594   done
9595 IFS=$as_save_IFS
9596
9597 fi
9598 fi
9599 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9600 if test -n "$ac_ct_OBJDUMP"; then
9601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9602 $as_echo "$ac_ct_OBJDUMP" >&6; }
9603 else
9604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9605 $as_echo "no" >&6; }
9606 fi
9607
9608   if test "x$ac_ct_OBJDUMP" = x; then
9609     OBJDUMP="false"
9610   else
9611     case $cross_compiling:$ac_tool_warned in
9612 yes:)
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9615 ac_tool_warned=yes ;;
9616 esac
9617     OBJDUMP=$ac_ct_OBJDUMP
9618   fi
9619 else
9620   OBJDUMP="$ac_cv_prog_OBJDUMP"
9621 fi
9622
9623   ;;
9624 esac
9625
9626 test -z "$AS" && AS=as
9627
9628
9629
9630
9631
9632 test -z "$DLLTOOL" && DLLTOOL=dlltool
9633
9634
9635
9636
9637
9638 test -z "$OBJDUMP" && OBJDUMP=objdump
9639
9640
9641
9642
9643
9644
9645
9646         enable_dlopen=no
9647
9648
9649
9650             # Check whether --enable-shared was given.
9651 if test "${enable_shared+set}" = set; then :
9652   enableval=$enable_shared; p=${PACKAGE-default}
9653     case $enableval in
9654     yes) enable_shared=yes ;;
9655     no) enable_shared=no ;;
9656     *)
9657       enable_shared=no
9658       # Look at the argument we got.  We use all the common list separators.
9659       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9660       for pkg in $enableval; do
9661         IFS=$lt_save_ifs
9662         if test "X$pkg" = "X$p"; then
9663           enable_shared=yes
9664         fi
9665       done
9666       IFS=$lt_save_ifs
9667       ;;
9668     esac
9669 else
9670   enable_shared=yes
9671 fi
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683 # Check whether --with-pic was given.
9684 if test "${with_pic+set}" = set; then :
9685   withval=$with_pic; lt_p=${PACKAGE-default}
9686     case $withval in
9687     yes|no) pic_mode=$withval ;;
9688     *)
9689       pic_mode=default
9690       # Look at the argument we got.  We use all the common list separators.
9691       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9692       for lt_pkg in $withval; do
9693         IFS=$lt_save_ifs
9694         if test "X$lt_pkg" = "X$lt_p"; then
9695           pic_mode=yes
9696         fi
9697       done
9698       IFS=$lt_save_ifs
9699       ;;
9700     esac
9701 else
9702   pic_mode=default
9703 fi
9704
9705
9706
9707
9708
9709
9710
9711
9712   # Check whether --enable-fast-install was given.
9713 if test "${enable_fast_install+set}" = set; then :
9714   enableval=$enable_fast_install; p=${PACKAGE-default}
9715     case $enableval in
9716     yes) enable_fast_install=yes ;;
9717     no) enable_fast_install=no ;;
9718     *)
9719       enable_fast_install=no
9720       # Look at the argument we got.  We use all the common list separators.
9721       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9722       for pkg in $enableval; do
9723         IFS=$lt_save_ifs
9724         if test "X$pkg" = "X$p"; then
9725           enable_fast_install=yes
9726         fi
9727       done
9728       IFS=$lt_save_ifs
9729       ;;
9730     esac
9731 else
9732   enable_fast_install=yes
9733 fi
9734
9735
9736
9737
9738
9739
9740
9741
9742   shared_archive_member_spec=
9743 case $host,$enable_shared in
9744 power*-*-aix[5-9]*,yes)
9745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9746 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9747
9748 # Check whether --with-aix-soname was given.
9749 if test "${with_aix_soname+set}" = set; then :
9750   withval=$with_aix_soname; case $withval in
9751     aix|svr4|both)
9752       ;;
9753     *)
9754       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9755       ;;
9756     esac
9757     lt_cv_with_aix_soname=$with_aix_soname
9758 else
9759   if ${lt_cv_with_aix_soname+:} false; then :
9760   $as_echo_n "(cached) " >&6
9761 else
9762   lt_cv_with_aix_soname=aix
9763 fi
9764
9765     with_aix_soname=$lt_cv_with_aix_soname
9766 fi
9767
9768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9769 $as_echo "$with_aix_soname" >&6; }
9770   if test aix != "$with_aix_soname"; then
9771     # For the AIX way of multilib, we name the shared archive member
9772     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9773     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9774     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9775     # the AIX toolchain works better with OBJECT_MODE set (default 32).
9776     if test 64 = "${OBJECT_MODE-32}"; then
9777       shared_archive_member_spec=shr_64
9778     else
9779       shared_archive_member_spec=shr
9780     fi
9781   fi
9782   ;;
9783 *)
9784   with_aix_soname=aix
9785   ;;
9786 esac
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797 # This can be used to rebuild libtool when needed
9798 LIBTOOL_DEPS=$ltmain
9799
9800 # Always use our own libtool.
9801 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832 test -z "$LN_S" && LN_S="ln -s"
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847 if test -n "${ZSH_VERSION+set}"; then
9848    setopt NO_GLOB_SUBST
9849 fi
9850
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9852 $as_echo_n "checking for objdir... " >&6; }
9853 if ${lt_cv_objdir+:} false; then :
9854   $as_echo_n "(cached) " >&6
9855 else
9856   rm -f .libs 2>/dev/null
9857 mkdir .libs 2>/dev/null
9858 if test -d .libs; then
9859   lt_cv_objdir=.libs
9860 else
9861   # MS-DOS does not allow filenames that begin with a dot.
9862   lt_cv_objdir=_libs
9863 fi
9864 rmdir .libs 2>/dev/null
9865 fi
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9867 $as_echo "$lt_cv_objdir" >&6; }
9868 objdir=$lt_cv_objdir
9869
9870
9871
9872
9873
9874 cat >>confdefs.h <<_ACEOF
9875 #define LT_OBJDIR "$lt_cv_objdir/"
9876 _ACEOF
9877
9878
9879
9880
9881 case $host_os in
9882 aix3*)
9883   # AIX sometimes has problems with the GCC collect2 program.  For some
9884   # reason, if we set the COLLECT_NAMES environment variable, the problems
9885   # vanish in a puff of smoke.
9886   if test set != "${COLLECT_NAMES+set}"; then
9887     COLLECT_NAMES=
9888     export COLLECT_NAMES
9889   fi
9890   ;;
9891 esac
9892
9893 # Global variables:
9894 ofile=libtool
9895 can_build_shared=yes
9896
9897 # All known linkers require a '.a' archive for static linking (except MSVC,
9898 # which needs '.lib').
9899 libext=a
9900
9901 with_gnu_ld=$lt_cv_prog_gnu_ld
9902
9903 old_CC=$CC
9904 old_CFLAGS=$CFLAGS
9905
9906 # Set sane defaults for various variables
9907 test -z "$CC" && CC=cc
9908 test -z "$LTCC" && LTCC=$CC
9909 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9910 test -z "$LD" && LD=ld
9911 test -z "$ac_objext" && ac_objext=o
9912
9913 func_cc_basename $compiler
9914 cc_basename=$func_cc_basename_result
9915
9916
9917 # Only perform the check for file, if the check method requires it
9918 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9919 case $deplibs_check_method in
9920 file_magic*)
9921   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9922     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9923 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9924 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9925   $as_echo_n "(cached) " >&6
9926 else
9927   case $MAGIC_CMD in
9928 [\\/*] |  ?:[\\/]*)
9929   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9930   ;;
9931 *)
9932   lt_save_MAGIC_CMD=$MAGIC_CMD
9933   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9934   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9935   for ac_dir in $ac_dummy; do
9936     IFS=$lt_save_ifs
9937     test -z "$ac_dir" && ac_dir=.
9938     if test -f "$ac_dir/${ac_tool_prefix}file"; then
9939       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9940       if test -n "$file_magic_test_file"; then
9941         case $deplibs_check_method in
9942         "file_magic "*)
9943           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9944           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9945           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9946             $EGREP "$file_magic_regex" > /dev/null; then
9947             :
9948           else
9949             cat <<_LT_EOF 1>&2
9950
9951 *** Warning: the command libtool uses to detect shared libraries,
9952 *** $file_magic_cmd, produces output that libtool cannot recognize.
9953 *** The result is that libtool may fail to recognize shared libraries
9954 *** as such.  This will affect the creation of libtool libraries that
9955 *** depend on shared libraries, but programs linked with such libtool
9956 *** libraries will work regardless of this problem.  Nevertheless, you
9957 *** may want to report the problem to your system manager and/or to
9958 *** bug-libtool@gnu.org
9959
9960 _LT_EOF
9961           fi ;;
9962         esac
9963       fi
9964       break
9965     fi
9966   done
9967   IFS=$lt_save_ifs
9968   MAGIC_CMD=$lt_save_MAGIC_CMD
9969   ;;
9970 esac
9971 fi
9972
9973 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9974 if test -n "$MAGIC_CMD"; then
9975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9976 $as_echo "$MAGIC_CMD" >&6; }
9977 else
9978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9979 $as_echo "no" >&6; }
9980 fi
9981
9982
9983
9984
9985
9986 if test -z "$lt_cv_path_MAGIC_CMD"; then
9987   if test -n "$ac_tool_prefix"; then
9988     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9989 $as_echo_n "checking for file... " >&6; }
9990 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9991   $as_echo_n "(cached) " >&6
9992 else
9993   case $MAGIC_CMD in
9994 [\\/*] |  ?:[\\/]*)
9995   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9996   ;;
9997 *)
9998   lt_save_MAGIC_CMD=$MAGIC_CMD
9999   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10000   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10001   for ac_dir in $ac_dummy; do
10002     IFS=$lt_save_ifs
10003     test -z "$ac_dir" && ac_dir=.
10004     if test -f "$ac_dir/file"; then
10005       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10006       if test -n "$file_magic_test_file"; then
10007         case $deplibs_check_method in
10008         "file_magic "*)
10009           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10010           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10011           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10012             $EGREP "$file_magic_regex" > /dev/null; then
10013             :
10014           else
10015             cat <<_LT_EOF 1>&2
10016
10017 *** Warning: the command libtool uses to detect shared libraries,
10018 *** $file_magic_cmd, produces output that libtool cannot recognize.
10019 *** The result is that libtool may fail to recognize shared libraries
10020 *** as such.  This will affect the creation of libtool libraries that
10021 *** depend on shared libraries, but programs linked with such libtool
10022 *** libraries will work regardless of this problem.  Nevertheless, you
10023 *** may want to report the problem to your system manager and/or to
10024 *** bug-libtool@gnu.org
10025
10026 _LT_EOF
10027           fi ;;
10028         esac
10029       fi
10030       break
10031     fi
10032   done
10033   IFS=$lt_save_ifs
10034   MAGIC_CMD=$lt_save_MAGIC_CMD
10035   ;;
10036 esac
10037 fi
10038
10039 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10040 if test -n "$MAGIC_CMD"; then
10041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10042 $as_echo "$MAGIC_CMD" >&6; }
10043 else
10044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10045 $as_echo "no" >&6; }
10046 fi
10047
10048
10049   else
10050     MAGIC_CMD=:
10051   fi
10052 fi
10053
10054   fi
10055   ;;
10056 esac
10057
10058 # Use C for the default configuration in the libtool script
10059
10060 lt_save_CC=$CC
10061 ac_ext=c
10062 ac_cpp='$CPP $CPPFLAGS'
10063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10066
10067
10068 # Source file extension for C test sources.
10069 ac_ext=c
10070
10071 # Object file extension for compiled C test sources.
10072 objext=o
10073 objext=$objext
10074
10075 # Code to be used in simple compile tests
10076 lt_simple_compile_test_code="int some_variable = 0;"
10077
10078 # Code to be used in simple link tests
10079 lt_simple_link_test_code='int main(){return(0);}'
10080
10081
10082
10083
10084
10085
10086
10087 # If no C compiler was specified, use CC.
10088 LTCC=${LTCC-"$CC"}
10089
10090 # If no C compiler flags were specified, use CFLAGS.
10091 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10092
10093 # Allow CC to be a program name with arguments.
10094 compiler=$CC
10095
10096 # Save the default compiler, since it gets overwritten when the other
10097 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10098 compiler_DEFAULT=$CC
10099
10100 # save warnings/boilerplate of simple test code
10101 ac_outfile=conftest.$ac_objext
10102 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10103 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10104 _lt_compiler_boilerplate=`cat conftest.err`
10105 $RM conftest*
10106
10107 ac_outfile=conftest.$ac_objext
10108 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10109 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10110 _lt_linker_boilerplate=`cat conftest.err`
10111 $RM -r conftest*
10112
10113
10114 ## CAVEAT EMPTOR:
10115 ## There is no encapsulation within the following macros, do not change
10116 ## the running order or otherwise move them around unless you know exactly
10117 ## what you are doing...
10118 if test -n "$compiler"; then
10119
10120 lt_prog_compiler_no_builtin_flag=
10121
10122 if test yes = "$GCC"; then
10123   case $cc_basename in
10124   nvcc*)
10125     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10126   *)
10127     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10128   esac
10129
10130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10131 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10132 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10133   $as_echo_n "(cached) " >&6
10134 else
10135   lt_cv_prog_compiler_rtti_exceptions=no
10136    ac_outfile=conftest.$ac_objext
10137    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10138    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10139    # Insert the option either (1) after the last *FLAGS variable, or
10140    # (2) before a word containing "conftest.", or (3) at the end.
10141    # Note that $ac_compile itself does not contain backslashes and begins
10142    # with a dollar sign (not a hyphen), so the echo should work correctly.
10143    # The option is referenced via a variable to avoid confusing sed.
10144    lt_compile=`echo "$ac_compile" | $SED \
10145    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10146    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10147    -e 's:$: $lt_compiler_flag:'`
10148    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10149    (eval "$lt_compile" 2>conftest.err)
10150    ac_status=$?
10151    cat conftest.err >&5
10152    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153    if (exit $ac_status) && test -s "$ac_outfile"; then
10154      # The compiler can only warn and ignore the option if not recognized
10155      # So say no if there are warnings other than the usual output.
10156      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10157      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10158      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10159        lt_cv_prog_compiler_rtti_exceptions=yes
10160      fi
10161    fi
10162    $RM conftest*
10163
10164 fi
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10166 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10167
10168 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10169     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10170 else
10171     :
10172 fi
10173
10174 fi
10175
10176
10177
10178
10179
10180
10181   lt_prog_compiler_wl=
10182 lt_prog_compiler_pic=
10183 lt_prog_compiler_static=
10184
10185
10186   if test yes = "$GCC"; then
10187     lt_prog_compiler_wl='-Wl,'
10188     lt_prog_compiler_static='-static'
10189
10190     case $host_os in
10191       aix*)
10192       # All AIX code is PIC.
10193       if test ia64 = "$host_cpu"; then
10194         # AIX 5 now supports IA64 processor
10195         lt_prog_compiler_static='-Bstatic'
10196       fi
10197       lt_prog_compiler_pic='-fPIC'
10198       ;;
10199
10200     amigaos*)
10201       case $host_cpu in
10202       powerpc)
10203             # see comment about AmigaOS4 .so support
10204             lt_prog_compiler_pic='-fPIC'
10205         ;;
10206       m68k)
10207             # FIXME: we need at least 68020 code to build shared libraries, but
10208             # adding the '-m68020' flag to GCC prevents building anything better,
10209             # like '-m68040'.
10210             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10211         ;;
10212       esac
10213       ;;
10214
10215     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10216       # PIC is the default for these OSes.
10217       ;;
10218
10219     mingw* | cygwin* | pw32* | os2* | cegcc*)
10220       # This hack is so that the source file can tell whether it is being
10221       # built for inclusion in a dll (and should export symbols for example).
10222       # Although the cygwin gcc ignores -fPIC, still need this for old-style
10223       # (--disable-auto-import) libraries
10224       lt_prog_compiler_pic='-DDLL_EXPORT'
10225       case $host_os in
10226       os2*)
10227         lt_prog_compiler_static='$wl-static'
10228         ;;
10229       esac
10230       ;;
10231
10232     darwin* | rhapsody*)
10233       # PIC is the default on this platform
10234       # Common symbols not allowed in MH_DYLIB files
10235       lt_prog_compiler_pic='-fno-common'
10236       ;;
10237
10238     haiku*)
10239       # PIC is the default for Haiku.
10240       # The "-static" flag exists, but is broken.
10241       lt_prog_compiler_static=
10242       ;;
10243
10244     hpux*)
10245       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10246       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10247       # sets the default TLS model and affects inlining.
10248       case $host_cpu in
10249       hppa*64*)
10250         # +Z the default
10251         ;;
10252       *)
10253         lt_prog_compiler_pic='-fPIC'
10254         ;;
10255       esac
10256       ;;
10257
10258     interix[3-9]*)
10259       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10260       # Instead, we relocate shared libraries at runtime.
10261       ;;
10262
10263     msdosdjgpp*)
10264       # Just because we use GCC doesn't mean we suddenly get shared libraries
10265       # on systems that don't support them.
10266       lt_prog_compiler_can_build_shared=no
10267       enable_shared=no
10268       ;;
10269
10270     *nto* | *qnx*)
10271       # QNX uses GNU C++, but need to define -shared option too, otherwise
10272       # it will coredump.
10273       lt_prog_compiler_pic='-fPIC -shared'
10274       ;;
10275
10276     sysv4*MP*)
10277       if test -d /usr/nec; then
10278         lt_prog_compiler_pic=-Kconform_pic
10279       fi
10280       ;;
10281
10282     *)
10283       lt_prog_compiler_pic='-fPIC'
10284       ;;
10285     esac
10286
10287     case $cc_basename in
10288     nvcc*) # Cuda Compiler Driver 2.2
10289       lt_prog_compiler_wl='-Xlinker '
10290       if test -n "$lt_prog_compiler_pic"; then
10291         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10292       fi
10293       ;;
10294     esac
10295   else
10296     # PORTME Check for flag to pass linker flags through the system compiler.
10297     case $host_os in
10298     aix*)
10299       lt_prog_compiler_wl='-Wl,'
10300       if test ia64 = "$host_cpu"; then
10301         # AIX 5 now supports IA64 processor
10302         lt_prog_compiler_static='-Bstatic'
10303       else
10304         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10305       fi
10306       ;;
10307
10308     darwin* | rhapsody*)
10309       # PIC is the default on this platform
10310       # Common symbols not allowed in MH_DYLIB files
10311       lt_prog_compiler_pic='-fno-common'
10312       case $cc_basename in
10313       nagfor*)
10314         # NAG Fortran compiler
10315         lt_prog_compiler_wl='-Wl,-Wl,,'
10316         lt_prog_compiler_pic='-PIC'
10317         lt_prog_compiler_static='-Bstatic'
10318         ;;
10319       esac
10320       ;;
10321
10322     mingw* | cygwin* | pw32* | os2* | cegcc*)
10323       # This hack is so that the source file can tell whether it is being
10324       # built for inclusion in a dll (and should export symbols for example).
10325       lt_prog_compiler_pic='-DDLL_EXPORT'
10326       case $host_os in
10327       os2*)
10328         lt_prog_compiler_static='$wl-static'
10329         ;;
10330       esac
10331       ;;
10332
10333     hpux9* | hpux10* | hpux11*)
10334       lt_prog_compiler_wl='-Wl,'
10335       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10336       # not for PA HP-UX.
10337       case $host_cpu in
10338       hppa*64*|ia64*)
10339         # +Z the default
10340         ;;
10341       *)
10342         lt_prog_compiler_pic='+Z'
10343         ;;
10344       esac
10345       # Is there a better lt_prog_compiler_static that works with the bundled CC?
10346       lt_prog_compiler_static='$wl-a ${wl}archive'
10347       ;;
10348
10349     irix5* | irix6* | nonstopux*)
10350       lt_prog_compiler_wl='-Wl,'
10351       # PIC (with -KPIC) is the default.
10352       lt_prog_compiler_static='-non_shared'
10353       ;;
10354
10355     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10356       case $cc_basename in
10357       # old Intel for x86_64, which still supported -KPIC.
10358       ecc*)
10359         lt_prog_compiler_wl='-Wl,'
10360         lt_prog_compiler_pic='-KPIC'
10361         lt_prog_compiler_static='-static'
10362         ;;
10363       # icc used to be incompatible with GCC.
10364       # ICC 10 doesn't accept -KPIC any more.
10365       icc* | ifort*)
10366         lt_prog_compiler_wl='-Wl,'
10367         lt_prog_compiler_pic='-fPIC'
10368         lt_prog_compiler_static='-static'
10369         ;;
10370       # Lahey Fortran 8.1.
10371       lf95*)
10372         lt_prog_compiler_wl='-Wl,'
10373         lt_prog_compiler_pic='--shared'
10374         lt_prog_compiler_static='--static'
10375         ;;
10376       nagfor*)
10377         # NAG Fortran compiler
10378         lt_prog_compiler_wl='-Wl,-Wl,,'
10379         lt_prog_compiler_pic='-PIC'
10380         lt_prog_compiler_static='-Bstatic'
10381         ;;
10382       tcc*)
10383         # Fabrice Bellard et al's Tiny C Compiler
10384         lt_prog_compiler_wl='-Wl,'
10385         lt_prog_compiler_pic='-fPIC'
10386         lt_prog_compiler_static='-static'
10387         ;;
10388       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10389         # Portland Group compilers (*not* the Pentium gcc compiler,
10390         # which looks to be a dead project)
10391         lt_prog_compiler_wl='-Wl,'
10392         lt_prog_compiler_pic='-fpic'
10393         lt_prog_compiler_static='-Bstatic'
10394         ;;
10395       ccc*)
10396         lt_prog_compiler_wl='-Wl,'
10397         # All Alpha code is PIC.
10398         lt_prog_compiler_static='-non_shared'
10399         ;;
10400       xl* | bgxl* | bgf* | mpixl*)
10401         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10402         lt_prog_compiler_wl='-Wl,'
10403         lt_prog_compiler_pic='-qpic'
10404         lt_prog_compiler_static='-qstaticlink'
10405         ;;
10406       *)
10407         case `$CC -V 2>&1 | sed 5q` in
10408         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10409           # Sun Fortran 8.3 passes all unrecognized flags to the linker
10410           lt_prog_compiler_pic='-KPIC'
10411           lt_prog_compiler_static='-Bstatic'
10412           lt_prog_compiler_wl=''
10413           ;;
10414         *Sun\ F* | *Sun*Fortran*)
10415           lt_prog_compiler_pic='-KPIC'
10416           lt_prog_compiler_static='-Bstatic'
10417           lt_prog_compiler_wl='-Qoption ld '
10418           ;;
10419         *Sun\ C*)
10420           # Sun C 5.9
10421           lt_prog_compiler_pic='-KPIC'
10422           lt_prog_compiler_static='-Bstatic'
10423           lt_prog_compiler_wl='-Wl,'
10424           ;;
10425         *Intel*\ [CF]*Compiler*)
10426           lt_prog_compiler_wl='-Wl,'
10427           lt_prog_compiler_pic='-fPIC'
10428           lt_prog_compiler_static='-static'
10429           ;;
10430         *Portland\ Group*)
10431           lt_prog_compiler_wl='-Wl,'
10432           lt_prog_compiler_pic='-fpic'
10433           lt_prog_compiler_static='-Bstatic'
10434           ;;
10435         esac
10436         ;;
10437       esac
10438       ;;
10439
10440     newsos6)
10441       lt_prog_compiler_pic='-KPIC'
10442       lt_prog_compiler_static='-Bstatic'
10443       ;;
10444
10445     *nto* | *qnx*)
10446       # QNX uses GNU C++, but need to define -shared option too, otherwise
10447       # it will coredump.
10448       lt_prog_compiler_pic='-fPIC -shared'
10449       ;;
10450
10451     osf3* | osf4* | osf5*)
10452       lt_prog_compiler_wl='-Wl,'
10453       # All OSF/1 code is PIC.
10454       lt_prog_compiler_static='-non_shared'
10455       ;;
10456
10457     rdos*)
10458       lt_prog_compiler_static='-non_shared'
10459       ;;
10460
10461     solaris*)
10462       lt_prog_compiler_pic='-KPIC'
10463       lt_prog_compiler_static='-Bstatic'
10464       case $cc_basename in
10465       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10466         lt_prog_compiler_wl='-Qoption ld ';;
10467       *)
10468         lt_prog_compiler_wl='-Wl,';;
10469       esac
10470       ;;
10471
10472     sunos4*)
10473       lt_prog_compiler_wl='-Qoption ld '
10474       lt_prog_compiler_pic='-PIC'
10475       lt_prog_compiler_static='-Bstatic'
10476       ;;
10477
10478     sysv4 | sysv4.2uw2* | sysv4.3*)
10479       lt_prog_compiler_wl='-Wl,'
10480       lt_prog_compiler_pic='-KPIC'
10481       lt_prog_compiler_static='-Bstatic'
10482       ;;
10483
10484     sysv4*MP*)
10485       if test -d /usr/nec; then
10486         lt_prog_compiler_pic='-Kconform_pic'
10487         lt_prog_compiler_static='-Bstatic'
10488       fi
10489       ;;
10490
10491     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10492       lt_prog_compiler_wl='-Wl,'
10493       lt_prog_compiler_pic='-KPIC'
10494       lt_prog_compiler_static='-Bstatic'
10495       ;;
10496
10497     unicos*)
10498       lt_prog_compiler_wl='-Wl,'
10499       lt_prog_compiler_can_build_shared=no
10500       ;;
10501
10502     uts4*)
10503       lt_prog_compiler_pic='-pic'
10504       lt_prog_compiler_static='-Bstatic'
10505       ;;
10506
10507     *)
10508       lt_prog_compiler_can_build_shared=no
10509       ;;
10510     esac
10511   fi
10512
10513 case $host_os in
10514   # For platforms that do not support PIC, -DPIC is meaningless:
10515   *djgpp*)
10516     lt_prog_compiler_pic=
10517     ;;
10518   *)
10519     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10520     ;;
10521 esac
10522
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10524 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10525 if ${lt_cv_prog_compiler_pic+:} false; then :
10526   $as_echo_n "(cached) " >&6
10527 else
10528   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10529 fi
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10531 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10532 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10533
10534 #
10535 # Check to make sure the PIC flag actually works.
10536 #
10537 if test -n "$lt_prog_compiler_pic"; then
10538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10539 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10540 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10541   $as_echo_n "(cached) " >&6
10542 else
10543   lt_cv_prog_compiler_pic_works=no
10544    ac_outfile=conftest.$ac_objext
10545    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10546    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10547    # Insert the option either (1) after the last *FLAGS variable, or
10548    # (2) before a word containing "conftest.", or (3) at the end.
10549    # Note that $ac_compile itself does not contain backslashes and begins
10550    # with a dollar sign (not a hyphen), so the echo should work correctly.
10551    # The option is referenced via a variable to avoid confusing sed.
10552    lt_compile=`echo "$ac_compile" | $SED \
10553    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10554    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10555    -e 's:$: $lt_compiler_flag:'`
10556    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10557    (eval "$lt_compile" 2>conftest.err)
10558    ac_status=$?
10559    cat conftest.err >&5
10560    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561    if (exit $ac_status) && test -s "$ac_outfile"; then
10562      # The compiler can only warn and ignore the option if not recognized
10563      # So say no if there are warnings other than the usual output.
10564      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10565      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10566      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10567        lt_cv_prog_compiler_pic_works=yes
10568      fi
10569    fi
10570    $RM conftest*
10571
10572 fi
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10574 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10575
10576 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10577     case $lt_prog_compiler_pic in
10578      "" | " "*) ;;
10579      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10580      esac
10581 else
10582     lt_prog_compiler_pic=
10583      lt_prog_compiler_can_build_shared=no
10584 fi
10585
10586 fi
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598 #
10599 # Check to make sure the static flag actually works.
10600 #
10601 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10603 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10604 if ${lt_cv_prog_compiler_static_works+:} false; then :
10605   $as_echo_n "(cached) " >&6
10606 else
10607   lt_cv_prog_compiler_static_works=no
10608    save_LDFLAGS=$LDFLAGS
10609    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10610    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10611    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10612      # The linker can only warn and ignore the option if not recognized
10613      # So say no if there are warnings
10614      if test -s conftest.err; then
10615        # Append any errors to the config.log.
10616        cat conftest.err 1>&5
10617        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10618        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10619        if diff conftest.exp conftest.er2 >/dev/null; then
10620          lt_cv_prog_compiler_static_works=yes
10621        fi
10622      else
10623        lt_cv_prog_compiler_static_works=yes
10624      fi
10625    fi
10626    $RM -r conftest*
10627    LDFLAGS=$save_LDFLAGS
10628
10629 fi
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10631 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10632
10633 if test yes = "$lt_cv_prog_compiler_static_works"; then
10634     :
10635 else
10636     lt_prog_compiler_static=
10637 fi
10638
10639
10640
10641
10642
10643
10644
10645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10646 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10647 if ${lt_cv_prog_compiler_c_o+:} false; then :
10648   $as_echo_n "(cached) " >&6
10649 else
10650   lt_cv_prog_compiler_c_o=no
10651    $RM -r conftest 2>/dev/null
10652    mkdir conftest
10653    cd conftest
10654    mkdir out
10655    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10656
10657    lt_compiler_flag="-o out/conftest2.$ac_objext"
10658    # Insert the option either (1) after the last *FLAGS variable, or
10659    # (2) before a word containing "conftest.", or (3) at the end.
10660    # Note that $ac_compile itself does not contain backslashes and begins
10661    # with a dollar sign (not a hyphen), so the echo should work correctly.
10662    lt_compile=`echo "$ac_compile" | $SED \
10663    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10664    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10665    -e 's:$: $lt_compiler_flag:'`
10666    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10667    (eval "$lt_compile" 2>out/conftest.err)
10668    ac_status=$?
10669    cat out/conftest.err >&5
10670    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10672    then
10673      # The compiler can only warn and ignore the option if not recognized
10674      # So say no if there are warnings
10675      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10676      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10677      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10678        lt_cv_prog_compiler_c_o=yes
10679      fi
10680    fi
10681    chmod u+w . 2>&5
10682    $RM conftest*
10683    # SGI C++ compiler will create directory out/ii_files/ for
10684    # template instantiation
10685    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10686    $RM out/* && rmdir out
10687    cd ..
10688    $RM -r conftest
10689    $RM conftest*
10690
10691 fi
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10693 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10694
10695
10696
10697
10698
10699
10700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10701 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10702 if ${lt_cv_prog_compiler_c_o+:} false; then :
10703   $as_echo_n "(cached) " >&6
10704 else
10705   lt_cv_prog_compiler_c_o=no
10706    $RM -r conftest 2>/dev/null
10707    mkdir conftest
10708    cd conftest
10709    mkdir out
10710    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10711
10712    lt_compiler_flag="-o out/conftest2.$ac_objext"
10713    # Insert the option either (1) after the last *FLAGS variable, or
10714    # (2) before a word containing "conftest.", or (3) at the end.
10715    # Note that $ac_compile itself does not contain backslashes and begins
10716    # with a dollar sign (not a hyphen), so the echo should work correctly.
10717    lt_compile=`echo "$ac_compile" | $SED \
10718    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10719    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10720    -e 's:$: $lt_compiler_flag:'`
10721    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10722    (eval "$lt_compile" 2>out/conftest.err)
10723    ac_status=$?
10724    cat out/conftest.err >&5
10725    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10727    then
10728      # The compiler can only warn and ignore the option if not recognized
10729      # So say no if there are warnings
10730      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10731      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10732      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10733        lt_cv_prog_compiler_c_o=yes
10734      fi
10735    fi
10736    chmod u+w . 2>&5
10737    $RM conftest*
10738    # SGI C++ compiler will create directory out/ii_files/ for
10739    # template instantiation
10740    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10741    $RM out/* && rmdir out
10742    cd ..
10743    $RM -r conftest
10744    $RM conftest*
10745
10746 fi
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10748 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10749
10750
10751
10752
10753 hard_links=nottested
10754 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10755   # do not overwrite the value of need_locks provided by the user
10756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10757 $as_echo_n "checking if we can lock with hard links... " >&6; }
10758   hard_links=yes
10759   $RM conftest*
10760   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10761   touch conftest.a
10762   ln conftest.a conftest.b 2>&5 || hard_links=no
10763   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10765 $as_echo "$hard_links" >&6; }
10766   if test no = "$hard_links"; then
10767     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10768 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10769     need_locks=warn
10770   fi
10771 else
10772   need_locks=no
10773 fi
10774
10775
10776
10777
10778
10779
10780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10781 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10782
10783   runpath_var=
10784   allow_undefined_flag=
10785   always_export_symbols=no
10786   archive_cmds=
10787   archive_expsym_cmds=
10788   compiler_needs_object=no
10789   enable_shared_with_static_runtimes=no
10790   export_dynamic_flag_spec=
10791   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10792   hardcode_automatic=no
10793   hardcode_direct=no
10794   hardcode_direct_absolute=no
10795   hardcode_libdir_flag_spec=
10796   hardcode_libdir_separator=
10797   hardcode_minus_L=no
10798   hardcode_shlibpath_var=unsupported
10799   inherit_rpath=no
10800   link_all_deplibs=unknown
10801   module_cmds=
10802   module_expsym_cmds=
10803   old_archive_from_new_cmds=
10804   old_archive_from_expsyms_cmds=
10805   thread_safe_flag_spec=
10806   whole_archive_flag_spec=
10807   # include_expsyms should be a list of space-separated symbols to be *always*
10808   # included in the symbol list
10809   include_expsyms=
10810   # exclude_expsyms can be an extended regexp of symbols to exclude
10811   # it will be wrapped by ' (' and ')$', so one must not match beginning or
10812   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10813   # as well as any symbol that contains 'd'.
10814   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10815   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10816   # platforms (ab)use it in PIC code, but their linkers get confused if
10817   # the symbol is explicitly referenced.  Since portable code cannot
10818   # rely on this symbol name, it's probably fine to never include it in
10819   # preloaded symbol tables.
10820   # Exclude shared library initialization/finalization symbols.
10821   extract_expsyms_cmds=
10822
10823   case $host_os in
10824   cygwin* | mingw* | pw32* | cegcc*)
10825     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10826     # When not using gcc, we currently assume that we are using
10827     # Microsoft Visual C++.
10828     if test yes != "$GCC"; then
10829       with_gnu_ld=no
10830     fi
10831     ;;
10832   interix*)
10833     # we just hope/assume this is gcc and not c89 (= MSVC++)
10834     with_gnu_ld=yes
10835     ;;
10836   openbsd* | bitrig*)
10837     with_gnu_ld=no
10838     ;;
10839   linux* | k*bsd*-gnu | gnu*)
10840     link_all_deplibs=no
10841     ;;
10842   esac
10843
10844   ld_shlibs=yes
10845
10846   # On some targets, GNU ld is compatible enough with the native linker
10847   # that we're better off using the native interface for both.
10848   lt_use_gnu_ld_interface=no
10849   if test yes = "$with_gnu_ld"; then
10850     case $host_os in
10851       aix*)
10852         # The AIX port of GNU ld has always aspired to compatibility
10853         # with the native linker.  However, as the warning in the GNU ld
10854         # block says, versions before 2.19.5* couldn't really create working
10855         # shared libraries, regardless of the interface used.
10856         case `$LD -v 2>&1` in
10857           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10858           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10859           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10860           *)
10861             lt_use_gnu_ld_interface=yes
10862             ;;
10863         esac
10864         ;;
10865       *)
10866         lt_use_gnu_ld_interface=yes
10867         ;;
10868     esac
10869   fi
10870
10871   if test yes = "$lt_use_gnu_ld_interface"; then
10872     # If archive_cmds runs LD, not CC, wlarc should be empty
10873     wlarc='$wl'
10874
10875     # Set some defaults for GNU ld with shared library support. These
10876     # are reset later if shared libraries are not supported. Putting them
10877     # here allows them to be overridden if necessary.
10878     runpath_var=LD_RUN_PATH
10879     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10880     export_dynamic_flag_spec='$wl--export-dynamic'
10881     # ancient GNU ld didn't support --whole-archive et. al.
10882     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10883       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10884     else
10885       whole_archive_flag_spec=
10886     fi
10887     supports_anon_versioning=no
10888     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10889       *GNU\ gold*) supports_anon_versioning=yes ;;
10890       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10891       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10892       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10893       *\ 2.11.*) ;; # other 2.11 versions
10894       *) supports_anon_versioning=yes ;;
10895     esac
10896
10897     # See if GNU ld supports shared libraries.
10898     case $host_os in
10899     aix[3-9]*)
10900       # On AIX/PPC, the GNU linker is very broken
10901       if test ia64 != "$host_cpu"; then
10902         ld_shlibs=no
10903         cat <<_LT_EOF 1>&2
10904
10905 *** Warning: the GNU linker, at least up to release 2.19, is reported
10906 *** to be unable to reliably create shared libraries on AIX.
10907 *** Therefore, libtool is disabling shared libraries support.  If you
10908 *** really care for shared libraries, you may want to install binutils
10909 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10910 *** You will then need to restart the configuration process.
10911
10912 _LT_EOF
10913       fi
10914       ;;
10915
10916     amigaos*)
10917       case $host_cpu in
10918       powerpc)
10919             # see comment about AmigaOS4 .so support
10920             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10921             archive_expsym_cmds=''
10922         ;;
10923       m68k)
10924             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)'
10925             hardcode_libdir_flag_spec='-L$libdir'
10926             hardcode_minus_L=yes
10927         ;;
10928       esac
10929       ;;
10930
10931     beos*)
10932       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10933         allow_undefined_flag=unsupported
10934         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10935         # support --undefined.  This deserves some investigation.  FIXME
10936         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10937       else
10938         ld_shlibs=no
10939       fi
10940       ;;
10941
10942     cygwin* | mingw* | pw32* | cegcc*)
10943       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10944       # as there is no search path for DLLs.
10945       hardcode_libdir_flag_spec='-L$libdir'
10946       export_dynamic_flag_spec='$wl--export-all-symbols'
10947       allow_undefined_flag=unsupported
10948       always_export_symbols=no
10949       enable_shared_with_static_runtimes=yes
10950       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'
10951       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10952
10953       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10954         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10955         # If the export-symbols file already is a .def file, use it as
10956         # is; otherwise, prepend EXPORTS...
10957         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10958           cp $export_symbols $output_objdir/$soname.def;
10959         else
10960           echo EXPORTS > $output_objdir/$soname.def;
10961           cat $export_symbols >> $output_objdir/$soname.def;
10962         fi~
10963         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10964       else
10965         ld_shlibs=no
10966       fi
10967       ;;
10968
10969     haiku*)
10970       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10971       link_all_deplibs=yes
10972       ;;
10973
10974     os2*)
10975       hardcode_libdir_flag_spec='-L$libdir'
10976       hardcode_minus_L=yes
10977       allow_undefined_flag=unsupported
10978       shrext_cmds=.dll
10979       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10980         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10981         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10982         $ECHO EXPORTS >> $output_objdir/$libname.def~
10983         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10984         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10985         emximp -o $lib $output_objdir/$libname.def'
10986       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10987         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10988         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10989         $ECHO EXPORTS >> $output_objdir/$libname.def~
10990         prefix_cmds="$SED"~
10991         if test EXPORTS = "`$SED 1q $export_symbols`"; then
10992           prefix_cmds="$prefix_cmds -e 1d";
10993         fi~
10994         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10995         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10996         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10997         emximp -o $lib $output_objdir/$libname.def'
10998       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10999       enable_shared_with_static_runtimes=yes
11000       ;;
11001
11002     interix[3-9]*)
11003       hardcode_direct=no
11004       hardcode_shlibpath_var=no
11005       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11006       export_dynamic_flag_spec='$wl-E'
11007       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11008       # Instead, shared libraries are loaded at an image base (0x10000000 by
11009       # default) and relocated if they conflict, which is a slow very memory
11010       # consuming and fragmenting process.  To avoid this, we pick a random,
11011       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11012       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11013       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11014       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'
11015       ;;
11016
11017     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11018       tmp_diet=no
11019       if test linux-dietlibc = "$host_os"; then
11020         case $cc_basename in
11021           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
11022         esac
11023       fi
11024       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11025          && test no = "$tmp_diet"
11026       then
11027         tmp_addflag=' $pic_flag'
11028         tmp_sharedflag='-shared'
11029         case $cc_basename,$host_cpu in
11030         pgcc*)                          # Portland Group C compiler
11031           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'
11032           tmp_addflag=' $pic_flag'
11033           ;;
11034         pgf77* | pgf90* | pgf95* | pgfortran*)
11035                                         # Portland Group f77 and f90 compilers
11036           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'
11037           tmp_addflag=' $pic_flag -Mnomain' ;;
11038         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
11039           tmp_addflag=' -i_dynamic' ;;
11040         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11041           tmp_addflag=' -i_dynamic -nofor_main' ;;
11042         ifc* | ifort*)                  # Intel Fortran compiler
11043           tmp_addflag=' -nofor_main' ;;
11044         lf95*)                          # Lahey Fortran 8.1
11045           whole_archive_flag_spec=
11046           tmp_sharedflag='--shared' ;;
11047         nagfor*)                        # NAGFOR 5.3
11048           tmp_sharedflag='-Wl,-shared' ;;
11049         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11050           tmp_sharedflag='-qmkshrobj'
11051           tmp_addflag= ;;
11052         nvcc*)  # Cuda Compiler Driver 2.2
11053           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'
11054           compiler_needs_object=yes
11055           ;;
11056         esac
11057         case `$CC -V 2>&1 | sed 5q` in
11058         *Sun\ C*)                       # Sun C 5.9
11059           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'
11060           compiler_needs_object=yes
11061           tmp_sharedflag='-G' ;;
11062         *Sun\ F*)                       # Sun Fortran 8.3
11063           tmp_sharedflag='-G' ;;
11064         esac
11065         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11066
11067         if test yes = "$supports_anon_versioning"; then
11068           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11069             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11070             echo "local: *; };" >> $output_objdir/$libname.ver~
11071             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11072         fi
11073
11074         case $cc_basename in
11075         tcc*)
11076           export_dynamic_flag_spec='-rdynamic'
11077           ;;
11078         xlf* | bgf* | bgxlf* | mpixlf*)
11079           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11080           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11081           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11082           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11083           if test yes = "$supports_anon_versioning"; then
11084             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11085               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11086               echo "local: *; };" >> $output_objdir/$libname.ver~
11087               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11088           fi
11089           ;;
11090         esac
11091       else
11092         ld_shlibs=no
11093       fi
11094       ;;
11095
11096     netbsd* | netbsdelf*-gnu)
11097       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11098         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11099         wlarc=
11100       else
11101         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11102         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11103       fi
11104       ;;
11105
11106     solaris*)
11107       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11108         ld_shlibs=no
11109         cat <<_LT_EOF 1>&2
11110
11111 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11112 *** create shared libraries on Solaris systems.  Therefore, libtool
11113 *** is disabling shared libraries support.  We urge you to upgrade GNU
11114 *** binutils to release 2.9.1 or newer.  Another option is to modify
11115 *** your PATH or compiler configuration so that the native linker is
11116 *** used, and then restart.
11117
11118 _LT_EOF
11119       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11120         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11121         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11122       else
11123         ld_shlibs=no
11124       fi
11125       ;;
11126
11127     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11128       case `$LD -v 2>&1` in
11129         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11130         ld_shlibs=no
11131         cat <<_LT_EOF 1>&2
11132
11133 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11134 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11135 *** is disabling shared libraries support.  We urge you to upgrade GNU
11136 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11137 *** your PATH or compiler configuration so that the native linker is
11138 *** used, and then restart.
11139
11140 _LT_EOF
11141         ;;
11142         *)
11143           # For security reasons, it is highly recommended that you always
11144           # use absolute paths for naming shared libraries, and exclude the
11145           # DT_RUNPATH tag from executables and libraries.  But doing so
11146           # requires that you compile everything twice, which is a pain.
11147           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11148             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11149             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11150             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11151           else
11152             ld_shlibs=no
11153           fi
11154         ;;
11155       esac
11156       ;;
11157
11158     sunos4*)
11159       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11160       wlarc=
11161       hardcode_direct=yes
11162       hardcode_shlibpath_var=no
11163       ;;
11164
11165     *)
11166       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11167         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11168         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11169       else
11170         ld_shlibs=no
11171       fi
11172       ;;
11173     esac
11174
11175     if test no = "$ld_shlibs"; then
11176       runpath_var=
11177       hardcode_libdir_flag_spec=
11178       export_dynamic_flag_spec=
11179       whole_archive_flag_spec=
11180     fi
11181   else
11182     # PORTME fill in a description of your system's linker (not GNU ld)
11183     case $host_os in
11184     aix3*)
11185       allow_undefined_flag=unsupported
11186       always_export_symbols=yes
11187       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'
11188       # Note: this linker hardcodes the directories in LIBPATH if there
11189       # are no directories specified by -L.
11190       hardcode_minus_L=yes
11191       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11192         # Neither direct hardcoding nor static linking is supported with a
11193         # broken collect2.
11194         hardcode_direct=unsupported
11195       fi
11196       ;;
11197
11198     aix[4-9]*)
11199       if test ia64 = "$host_cpu"; then
11200         # On IA64, the linker does run time linking by default, so we don't
11201         # have to do anything special.
11202         aix_use_runtimelinking=no
11203         exp_sym_flag='-Bexport'
11204         no_entry_flag=
11205       else
11206         # If we're using GNU nm, then we don't want the "-C" option.
11207         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11208         # Without the "-l" option, or with the "-B" option, AIX nm treats
11209         # weak defined symbols like other global defined symbols, whereas
11210         # GNU nm marks them as "W".
11211         # While the 'weak' keyword is ignored in the Export File, we need
11212         # it in the Import File for the 'aix-soname' feature, so we have
11213         # to replace the "-B" option with "-P" for AIX nm.
11214         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11215           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
11216         else
11217           export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11218         fi
11219         aix_use_runtimelinking=no
11220
11221         # Test if we are trying to use run time linking or normal
11222         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11223         # have runtime linking enabled, and use it for executables.
11224         # For shared libraries, we enable/disable runtime linking
11225         # depending on the kind of the shared library created -
11226         # when "with_aix_soname,aix_use_runtimelinking" is:
11227         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11228         # "aix,yes"  lib.so          shared, rtl:yes, for executables
11229         #            lib.a           static archive
11230         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
11231         #            lib.a(lib.so.V) shared, rtl:no,  for executables
11232         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11233         #            lib.a(lib.so.V) shared, rtl:no
11234         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11235         #            lib.a           static archive
11236         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11237           for ld_flag in $LDFLAGS; do
11238           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11239             aix_use_runtimelinking=yes
11240             break
11241           fi
11242           done
11243           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11244             # With aix-soname=svr4, we create the lib.so.V shared archives only,
11245             # so we don't have lib.a shared libs to link our executables.
11246             # We have to force runtime linking in this case.
11247             aix_use_runtimelinking=yes
11248             LDFLAGS="$LDFLAGS -Wl,-brtl"
11249           fi
11250           ;;
11251         esac
11252
11253         exp_sym_flag='-bexport'
11254         no_entry_flag='-bnoentry'
11255       fi
11256
11257       # When large executables or shared objects are built, AIX ld can
11258       # have problems creating the table of contents.  If linking a library
11259       # or program results in "error TOC overflow" add -mminimal-toc to
11260       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11261       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11262
11263       archive_cmds=''
11264       hardcode_direct=yes
11265       hardcode_direct_absolute=yes
11266       hardcode_libdir_separator=':'
11267       link_all_deplibs=yes
11268       file_list_spec='$wl-f,'
11269       case $with_aix_soname,$aix_use_runtimelinking in
11270       aix,*) ;; # traditional, no import file
11271       svr4,* | *,yes) # use import file
11272         # The Import File defines what to hardcode.
11273         hardcode_direct=no
11274         hardcode_direct_absolute=no
11275         ;;
11276       esac
11277
11278       if test yes = "$GCC"; then
11279         case $host_os in aix4.[012]|aix4.[012].*)
11280         # We only want to do this on AIX 4.2 and lower, the check
11281         # below for broken collect2 doesn't work under 4.3+
11282           collect2name=`$CC -print-prog-name=collect2`
11283           if test -f "$collect2name" &&
11284            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11285           then
11286           # We have reworked collect2
11287           :
11288           else
11289           # We have old collect2
11290           hardcode_direct=unsupported
11291           # It fails to find uninstalled libraries when the uninstalled
11292           # path is not listed in the libpath.  Setting hardcode_minus_L
11293           # to unsupported forces relinking
11294           hardcode_minus_L=yes
11295           hardcode_libdir_flag_spec='-L$libdir'
11296           hardcode_libdir_separator=
11297           fi
11298           ;;
11299         esac
11300         shared_flag='-shared'
11301         if test yes = "$aix_use_runtimelinking"; then
11302           shared_flag="$shared_flag "'$wl-G'
11303         fi
11304         # Need to ensure runtime linking is disabled for the traditional
11305         # shared library, or the linker may eventually find shared libraries
11306         # /with/ Import File - we do not want to mix them.
11307         shared_flag_aix='-shared'
11308         shared_flag_svr4='-shared $wl-G'
11309       else
11310         # not using gcc
11311         if test ia64 = "$host_cpu"; then
11312         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11313         # chokes on -Wl,-G. The following line is correct:
11314           shared_flag='-G'
11315         else
11316           if test yes = "$aix_use_runtimelinking"; then
11317             shared_flag='$wl-G'
11318           else
11319             shared_flag='$wl-bM:SRE'
11320           fi
11321           shared_flag_aix='$wl-bM:SRE'
11322           shared_flag_svr4='$wl-G'
11323         fi
11324       fi
11325
11326       export_dynamic_flag_spec='$wl-bexpall'
11327       # It seems that -bexpall does not export symbols beginning with
11328       # underscore (_), so it is better to generate a list of symbols to export.
11329       always_export_symbols=yes
11330       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11331         # Warning - without using the other runtime loading flags (-brtl),
11332         # -berok will link without error, but may produce a broken library.
11333         allow_undefined_flag='-berok'
11334         # Determine the default libpath from the value encoded in an
11335         # empty executable.
11336         if test set = "${lt_cv_aix_libpath+set}"; then
11337   aix_libpath=$lt_cv_aix_libpath
11338 else
11339   if ${lt_cv_aix_libpath_+:} false; then :
11340   $as_echo_n "(cached) " >&6
11341 else
11342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h.  */
11344
11345 int
11346 main ()
11347 {
11348
11349   ;
11350   return 0;
11351 }
11352 _ACEOF
11353 if ac_fn_c_try_link "$LINENO"; then :
11354
11355   lt_aix_libpath_sed='
11356       /Import File Strings/,/^$/ {
11357           /^0/ {
11358               s/^0  *\([^ ]*\) *$/\1/
11359               p
11360           }
11361       }'
11362   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11363   # Check for a 64-bit object if we didn't find anything.
11364   if test -z "$lt_cv_aix_libpath_"; then
11365     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11366   fi
11367 fi
11368 rm -f core conftest.err conftest.$ac_objext \
11369     conftest$ac_exeext conftest.$ac_ext
11370   if test -z "$lt_cv_aix_libpath_"; then
11371     lt_cv_aix_libpath_=/usr/lib:/lib
11372   fi
11373
11374 fi
11375
11376   aix_libpath=$lt_cv_aix_libpath_
11377 fi
11378
11379         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11380         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
11381       else
11382         if test ia64 = "$host_cpu"; then
11383           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11384           allow_undefined_flag="-z nodefs"
11385           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"
11386         else
11387          # Determine the default libpath from the value encoded in an
11388          # empty executable.
11389          if test set = "${lt_cv_aix_libpath+set}"; then
11390   aix_libpath=$lt_cv_aix_libpath
11391 else
11392   if ${lt_cv_aix_libpath_+:} false; then :
11393   $as_echo_n "(cached) " >&6
11394 else
11395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h.  */
11397
11398 int
11399 main ()
11400 {
11401
11402   ;
11403   return 0;
11404 }
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407
11408   lt_aix_libpath_sed='
11409       /Import File Strings/,/^$/ {
11410           /^0/ {
11411               s/^0  *\([^ ]*\) *$/\1/
11412               p
11413           }
11414       }'
11415   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11416   # Check for a 64-bit object if we didn't find anything.
11417   if test -z "$lt_cv_aix_libpath_"; then
11418     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11419   fi
11420 fi
11421 rm -f core conftest.err conftest.$ac_objext \
11422     conftest$ac_exeext conftest.$ac_ext
11423   if test -z "$lt_cv_aix_libpath_"; then
11424     lt_cv_aix_libpath_=/usr/lib:/lib
11425   fi
11426
11427 fi
11428
11429   aix_libpath=$lt_cv_aix_libpath_
11430 fi
11431
11432          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11433           # Warning - without using the other run time loading flags,
11434           # -berok will link without error, but may produce a broken library.
11435           no_undefined_flag=' $wl-bernotok'
11436           allow_undefined_flag=' $wl-berok'
11437           if test yes = "$with_gnu_ld"; then
11438             # We only use this code for GNU lds that support --whole-archive.
11439             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11440           else
11441             # Exported symbols can be pulled into shared objects from archives
11442             whole_archive_flag_spec='$convenience'
11443           fi
11444           archive_cmds_need_lc=yes
11445           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11446           # -brtl affects multiple linker settings, -berok does not and is overridden later
11447           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11448           if test svr4 != "$with_aix_soname"; then
11449             # This is similar to how AIX traditionally builds its shared libraries.
11450             archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11451           fi
11452           if test aix != "$with_aix_soname"; then
11453             archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11454           else
11455             # used by -dlpreopen to get the symbols
11456             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11457           fi
11458           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11459         fi
11460       fi
11461       ;;
11462
11463     amigaos*)
11464       case $host_cpu in
11465       powerpc)
11466             # see comment about AmigaOS4 .so support
11467             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11468             archive_expsym_cmds=''
11469         ;;
11470       m68k)
11471             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)'
11472             hardcode_libdir_flag_spec='-L$libdir'
11473             hardcode_minus_L=yes
11474         ;;
11475       esac
11476       ;;
11477
11478     bsdi[45]*)
11479       export_dynamic_flag_spec=-rdynamic
11480       ;;
11481
11482     cygwin* | mingw* | pw32* | cegcc*)
11483       # When not using gcc, we currently assume that we are using
11484       # Microsoft Visual C++.
11485       # hardcode_libdir_flag_spec is actually meaningless, as there is
11486       # no search path for DLLs.
11487       case $cc_basename in
11488       cl*)
11489         # Native MSVC
11490         hardcode_libdir_flag_spec=' '
11491         allow_undefined_flag=unsupported
11492         always_export_symbols=yes
11493         file_list_spec='@'
11494         # Tell ltmain to make .lib files, not .a files.
11495         libext=lib
11496         # Tell ltmain to make .dll files, not .so files.
11497         shrext_cmds=.dll
11498         # FIXME: Setting linknames here is a bad hack.
11499         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11500         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11501             cp "$export_symbols" "$output_objdir/$soname.def";
11502             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11503           else
11504             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11505           fi~
11506           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11507           linknames='
11508         # The linker will not automatically build a static lib if we build a DLL.
11509         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11510         enable_shared_with_static_runtimes=yes
11511         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11512         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11513         # Don't use ranlib
11514         old_postinstall_cmds='chmod 644 $oldlib'
11515         postlink_cmds='lt_outputfile="@OUTPUT@"~
11516           lt_tool_outputfile="@TOOL_OUTPUT@"~
11517           case $lt_outputfile in
11518             *.exe|*.EXE) ;;
11519             *)
11520               lt_outputfile=$lt_outputfile.exe
11521               lt_tool_outputfile=$lt_tool_outputfile.exe
11522               ;;
11523           esac~
11524           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11525             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11526             $RM "$lt_outputfile.manifest";
11527           fi'
11528         ;;
11529       *)
11530         # Assume MSVC wrapper
11531         hardcode_libdir_flag_spec=' '
11532         allow_undefined_flag=unsupported
11533         # Tell ltmain to make .lib files, not .a files.
11534         libext=lib
11535         # Tell ltmain to make .dll files, not .so files.
11536         shrext_cmds=.dll
11537         # FIXME: Setting linknames here is a bad hack.
11538         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11539         # The linker will automatically build a .lib file if we build a DLL.
11540         old_archive_from_new_cmds='true'
11541         # FIXME: Should let the user specify the lib program.
11542         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11543         enable_shared_with_static_runtimes=yes
11544         ;;
11545       esac
11546       ;;
11547
11548     darwin* | rhapsody*)
11549
11550
11551   archive_cmds_need_lc=no
11552   hardcode_direct=no
11553   hardcode_automatic=yes
11554   hardcode_shlibpath_var=unsupported
11555   if test yes = "$lt_cv_ld_force_load"; then
11556     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\"`'
11557
11558   else
11559     whole_archive_flag_spec=''
11560   fi
11561   link_all_deplibs=yes
11562   allow_undefined_flag=$_lt_dar_allow_undefined
11563   case $cc_basename in
11564      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11565      *) _lt_dar_can_shared=$GCC ;;
11566   esac
11567   if test yes = "$_lt_dar_can_shared"; then
11568     output_verbose_link_cmd=func_echo_all
11569     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11570     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11571     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"
11572     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"
11573
11574   else
11575   ld_shlibs=no
11576   fi
11577
11578       ;;
11579
11580     dgux*)
11581       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11582       hardcode_libdir_flag_spec='-L$libdir'
11583       hardcode_shlibpath_var=no
11584       ;;
11585
11586     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11587     # support.  Future versions do this automatically, but an explicit c++rt0.o
11588     # does not break anything, and helps significantly (at the cost of a little
11589     # extra space).
11590     freebsd2.2*)
11591       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11592       hardcode_libdir_flag_spec='-R$libdir'
11593       hardcode_direct=yes
11594       hardcode_shlibpath_var=no
11595       ;;
11596
11597     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11598     freebsd2.*)
11599       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11600       hardcode_direct=yes
11601       hardcode_minus_L=yes
11602       hardcode_shlibpath_var=no
11603       ;;
11604
11605     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11606     freebsd* | dragonfly*)
11607       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11608       hardcode_libdir_flag_spec='-R$libdir'
11609       hardcode_direct=yes
11610       hardcode_shlibpath_var=no
11611       ;;
11612
11613     hpux9*)
11614       if test yes = "$GCC"; then
11615         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11616       else
11617         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11618       fi
11619       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11620       hardcode_libdir_separator=:
11621       hardcode_direct=yes
11622
11623       # hardcode_minus_L: Not really in the search PATH,
11624       # but as the default location of the library.
11625       hardcode_minus_L=yes
11626       export_dynamic_flag_spec='$wl-E'
11627       ;;
11628
11629     hpux10*)
11630       if test yes,no = "$GCC,$with_gnu_ld"; then
11631         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11632       else
11633         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11634       fi
11635       if test no = "$with_gnu_ld"; then
11636         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11637         hardcode_libdir_separator=:
11638         hardcode_direct=yes
11639         hardcode_direct_absolute=yes
11640         export_dynamic_flag_spec='$wl-E'
11641         # hardcode_minus_L: Not really in the search PATH,
11642         # but as the default location of the library.
11643         hardcode_minus_L=yes
11644       fi
11645       ;;
11646
11647     hpux11*)
11648       if test yes,no = "$GCC,$with_gnu_ld"; then
11649         case $host_cpu in
11650         hppa*64*)
11651           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11652           ;;
11653         ia64*)
11654           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11655           ;;
11656         *)
11657           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11658           ;;
11659         esac
11660       else
11661         case $host_cpu in
11662         hppa*64*)
11663           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11664           ;;
11665         ia64*)
11666           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11667           ;;
11668         *)
11669
11670           # Older versions of the 11.00 compiler do not understand -b yet
11671           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11672           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11673 $as_echo_n "checking if $CC understands -b... " >&6; }
11674 if ${lt_cv_prog_compiler__b+:} false; then :
11675   $as_echo_n "(cached) " >&6
11676 else
11677   lt_cv_prog_compiler__b=no
11678    save_LDFLAGS=$LDFLAGS
11679    LDFLAGS="$LDFLAGS -b"
11680    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11681    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11682      # The linker can only warn and ignore the option if not recognized
11683      # So say no if there are warnings
11684      if test -s conftest.err; then
11685        # Append any errors to the config.log.
11686        cat conftest.err 1>&5
11687        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11688        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11689        if diff conftest.exp conftest.er2 >/dev/null; then
11690          lt_cv_prog_compiler__b=yes
11691        fi
11692      else
11693        lt_cv_prog_compiler__b=yes
11694      fi
11695    fi
11696    $RM -r conftest*
11697    LDFLAGS=$save_LDFLAGS
11698
11699 fi
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11701 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11702
11703 if test yes = "$lt_cv_prog_compiler__b"; then
11704     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11705 else
11706     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11707 fi
11708
11709           ;;
11710         esac
11711       fi
11712       if test no = "$with_gnu_ld"; then
11713         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11714         hardcode_libdir_separator=:
11715
11716         case $host_cpu in
11717         hppa*64*|ia64*)
11718           hardcode_direct=no
11719           hardcode_shlibpath_var=no
11720           ;;
11721         *)
11722           hardcode_direct=yes
11723           hardcode_direct_absolute=yes
11724           export_dynamic_flag_spec='$wl-E'
11725
11726           # hardcode_minus_L: Not really in the search PATH,
11727           # but as the default location of the library.
11728           hardcode_minus_L=yes
11729           ;;
11730         esac
11731       fi
11732       ;;
11733
11734     irix5* | irix6* | nonstopux*)
11735       if test yes = "$GCC"; then
11736         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'
11737         # Try to use the -exported_symbol ld option, if it does not
11738         # work, assume that -exports_file does not work either and
11739         # implicitly export all symbols.
11740         # This should be the same for all languages, so no per-tag cache variable.
11741         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11742 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11743 if ${lt_cv_irix_exported_symbol+:} false; then :
11744   $as_echo_n "(cached) " >&6
11745 else
11746   save_LDFLAGS=$LDFLAGS
11747            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11748            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h.  */
11750 int foo (void) { return 0; }
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"; then :
11753   lt_cv_irix_exported_symbol=yes
11754 else
11755   lt_cv_irix_exported_symbol=no
11756 fi
11757 rm -f core conftest.err conftest.$ac_objext \
11758     conftest$ac_exeext conftest.$ac_ext
11759            LDFLAGS=$save_LDFLAGS
11760 fi
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11762 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11763         if test yes = "$lt_cv_irix_exported_symbol"; then
11764           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'
11765         fi
11766         link_all_deplibs=no
11767       else
11768         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'
11769         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'
11770       fi
11771       archive_cmds_need_lc='no'
11772       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11773       hardcode_libdir_separator=:
11774       inherit_rpath=yes
11775       link_all_deplibs=yes
11776       ;;
11777
11778     linux*)
11779       case $cc_basename in
11780       tcc*)
11781         # Fabrice Bellard et al's Tiny C Compiler
11782         ld_shlibs=yes
11783         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11784         ;;
11785       esac
11786       ;;
11787
11788     netbsd* | netbsdelf*-gnu)
11789       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11790         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11791       else
11792         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11793       fi
11794       hardcode_libdir_flag_spec='-R$libdir'
11795       hardcode_direct=yes
11796       hardcode_shlibpath_var=no
11797       ;;
11798
11799     newsos6)
11800       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11801       hardcode_direct=yes
11802       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11803       hardcode_libdir_separator=:
11804       hardcode_shlibpath_var=no
11805       ;;
11806
11807     *nto* | *qnx*)
11808       ;;
11809
11810     openbsd* | bitrig*)
11811       if test -f /usr/libexec/ld.so; then
11812         hardcode_direct=yes
11813         hardcode_shlibpath_var=no
11814         hardcode_direct_absolute=yes
11815         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11816           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11817           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11818           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11819           export_dynamic_flag_spec='$wl-E'
11820         else
11821           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11822           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11823         fi
11824       else
11825         ld_shlibs=no
11826       fi
11827       ;;
11828
11829     os2*)
11830       hardcode_libdir_flag_spec='-L$libdir'
11831       hardcode_minus_L=yes
11832       allow_undefined_flag=unsupported
11833       shrext_cmds=.dll
11834       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11835         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11836         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11837         $ECHO EXPORTS >> $output_objdir/$libname.def~
11838         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11839         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11840         emximp -o $lib $output_objdir/$libname.def'
11841       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11842         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11843         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11844         $ECHO EXPORTS >> $output_objdir/$libname.def~
11845         prefix_cmds="$SED"~
11846         if test EXPORTS = "`$SED 1q $export_symbols`"; then
11847           prefix_cmds="$prefix_cmds -e 1d";
11848         fi~
11849         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11850         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11851         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11852         emximp -o $lib $output_objdir/$libname.def'
11853       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11854       enable_shared_with_static_runtimes=yes
11855       ;;
11856
11857     osf3*)
11858       if test yes = "$GCC"; then
11859         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11860         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'
11861       else
11862         allow_undefined_flag=' -expect_unresolved \*'
11863         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'
11864       fi
11865       archive_cmds_need_lc='no'
11866       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11867       hardcode_libdir_separator=:
11868       ;;
11869
11870     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11871       if test yes = "$GCC"; then
11872         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11873         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'
11874         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11875       else
11876         allow_undefined_flag=' -expect_unresolved \*'
11877         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'
11878         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~
11879           $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'
11880
11881         # Both c and cxx compiler support -rpath directly
11882         hardcode_libdir_flag_spec='-rpath $libdir'
11883       fi
11884       archive_cmds_need_lc='no'
11885       hardcode_libdir_separator=:
11886       ;;
11887
11888     solaris*)
11889       no_undefined_flag=' -z defs'
11890       if test yes = "$GCC"; then
11891         wlarc='$wl'
11892         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11893         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11894           $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'
11895       else
11896         case `$CC -V 2>&1` in
11897         *"Compilers 5.0"*)
11898           wlarc=''
11899           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11900           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11901             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11902           ;;
11903         *)
11904           wlarc='$wl'
11905           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11906           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11907             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11908           ;;
11909         esac
11910       fi
11911       hardcode_libdir_flag_spec='-R$libdir'
11912       hardcode_shlibpath_var=no
11913       case $host_os in
11914       solaris2.[0-5] | solaris2.[0-5].*) ;;
11915       *)
11916         # The compiler driver will combine and reorder linker options,
11917         # but understands '-z linker_flag'.  GCC discards it without '$wl',
11918         # but is careful enough not to reorder.
11919         # Supported since Solaris 2.6 (maybe 2.5.1?)
11920         if test yes = "$GCC"; then
11921           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11922         else
11923           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11924         fi
11925         ;;
11926       esac
11927       link_all_deplibs=yes
11928       ;;
11929
11930     sunos4*)
11931       if test sequent = "$host_vendor"; then
11932         # Use $CC to link under sequent, because it throws in some extra .o
11933         # files that make .init and .fini sections work.
11934         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11935       else
11936         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11937       fi
11938       hardcode_libdir_flag_spec='-L$libdir'
11939       hardcode_direct=yes
11940       hardcode_minus_L=yes
11941       hardcode_shlibpath_var=no
11942       ;;
11943
11944     sysv4)
11945       case $host_vendor in
11946         sni)
11947           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11948           hardcode_direct=yes # is this really true???
11949         ;;
11950         siemens)
11951           ## LD is ld it makes a PLAMLIB
11952           ## CC just makes a GrossModule.
11953           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11954           reload_cmds='$CC -r -o $output$reload_objs'
11955           hardcode_direct=no
11956         ;;
11957         motorola)
11958           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11959           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11960         ;;
11961       esac
11962       runpath_var='LD_RUN_PATH'
11963       hardcode_shlibpath_var=no
11964       ;;
11965
11966     sysv4.3*)
11967       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11968       hardcode_shlibpath_var=no
11969       export_dynamic_flag_spec='-Bexport'
11970       ;;
11971
11972     sysv4*MP*)
11973       if test -d /usr/nec; then
11974         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11975         hardcode_shlibpath_var=no
11976         runpath_var=LD_RUN_PATH
11977         hardcode_runpath_var=yes
11978         ld_shlibs=yes
11979       fi
11980       ;;
11981
11982     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11983       no_undefined_flag='$wl-z,text'
11984       archive_cmds_need_lc=no
11985       hardcode_shlibpath_var=no
11986       runpath_var='LD_RUN_PATH'
11987
11988       if test yes = "$GCC"; then
11989         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11990         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11991       else
11992         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11993         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11994       fi
11995       ;;
11996
11997     sysv5* | sco3.2v5* | sco5v6*)
11998       # Note: We CANNOT use -z defs as we might desire, because we do not
11999       # link with -lc, and that would cause any symbols used from libc to
12000       # always be unresolved, which means just about no library would
12001       # ever link correctly.  If we're not using GNU ld we use -z text
12002       # though, which does catch some bad symbols but isn't as heavy-handed
12003       # as -z defs.
12004       no_undefined_flag='$wl-z,text'
12005       allow_undefined_flag='$wl-z,nodefs'
12006       archive_cmds_need_lc=no
12007       hardcode_shlibpath_var=no
12008       hardcode_libdir_flag_spec='$wl-R,$libdir'
12009       hardcode_libdir_separator=':'
12010       link_all_deplibs=yes
12011       export_dynamic_flag_spec='$wl-Bexport'
12012       runpath_var='LD_RUN_PATH'
12013
12014       if test yes = "$GCC"; then
12015         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12016         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12017       else
12018         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12019         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12020       fi
12021       ;;
12022
12023     uts4*)
12024       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12025       hardcode_libdir_flag_spec='-L$libdir'
12026       hardcode_shlibpath_var=no
12027       ;;
12028
12029     *)
12030       ld_shlibs=no
12031       ;;
12032     esac
12033
12034     if test sni = "$host_vendor"; then
12035       case $host in
12036       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12037         export_dynamic_flag_spec='$wl-Blargedynsym'
12038         ;;
12039       esac
12040     fi
12041   fi
12042
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12044 $as_echo "$ld_shlibs" >&6; }
12045 test no = "$ld_shlibs" && can_build_shared=no
12046
12047 with_gnu_ld=$with_gnu_ld
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063 #
12064 # Do we need to explicitly link libc?
12065 #
12066 case "x$archive_cmds_need_lc" in
12067 x|xyes)
12068   # Assume -lc should be added
12069   archive_cmds_need_lc=yes
12070
12071   if test yes,yes = "$GCC,$enable_shared"; then
12072     case $archive_cmds in
12073     *'~'*)
12074       # FIXME: we may have to deal with multi-command sequences.
12075       ;;
12076     '$CC '*)
12077       # Test whether the compiler implicitly links with -lc since on some
12078       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12079       # to ld, don't add -lc before -lgcc.
12080       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12081 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12082 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12083   $as_echo_n "(cached) " >&6
12084 else
12085   $RM conftest*
12086         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12087
12088         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12089   (eval $ac_compile) 2>&5
12090   ac_status=$?
12091   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12092   test $ac_status = 0; } 2>conftest.err; then
12093           soname=conftest
12094           lib=conftest
12095           libobjs=conftest.$ac_objext
12096           deplibs=
12097           wl=$lt_prog_compiler_wl
12098           pic_flag=$lt_prog_compiler_pic
12099           compiler_flags=-v
12100           linker_flags=-v
12101           verstring=
12102           output_objdir=.
12103           libname=conftest
12104           lt_save_allow_undefined_flag=$allow_undefined_flag
12105           allow_undefined_flag=
12106           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12107   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12108   ac_status=$?
12109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12110   test $ac_status = 0; }
12111           then
12112             lt_cv_archive_cmds_need_lc=no
12113           else
12114             lt_cv_archive_cmds_need_lc=yes
12115           fi
12116           allow_undefined_flag=$lt_save_allow_undefined_flag
12117         else
12118           cat conftest.err 1>&5
12119         fi
12120         $RM conftest*
12121
12122 fi
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12124 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12125       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12126       ;;
12127     esac
12128   fi
12129   ;;
12130 esac
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12284 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12285
12286 if test yes = "$GCC"; then
12287   case $host_os in
12288     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12289     *) lt_awk_arg='/^libraries:/' ;;
12290   esac
12291   case $host_os in
12292     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12293     *) lt_sed_strip_eq='s|=/|/|g' ;;
12294   esac
12295   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12296   case $lt_search_path_spec in
12297   *\;*)
12298     # if the path contains ";" then we assume it to be the separator
12299     # otherwise default to the standard path separator (i.e. ":") - it is
12300     # assumed that no part of a normal pathname contains ";" but that should
12301     # okay in the real world where ";" in dirpaths is itself problematic.
12302     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12303     ;;
12304   *)
12305     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12306     ;;
12307   esac
12308   # Ok, now we have the path, separated by spaces, we can step through it
12309   # and add multilib dir if necessary...
12310   lt_tmp_lt_search_path_spec=
12311   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12312   # ...but if some path component already ends with the multilib dir we assume
12313   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12314   case "$lt_multi_os_dir; $lt_search_path_spec " in
12315   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12316     lt_multi_os_dir=
12317     ;;
12318   esac
12319   for lt_sys_path in $lt_search_path_spec; do
12320     if test -d "$lt_sys_path$lt_multi_os_dir"; then
12321       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12322     elif test -n "$lt_multi_os_dir"; then
12323       test -d "$lt_sys_path" && \
12324         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12325     fi
12326   done
12327   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12328 BEGIN {RS = " "; FS = "/|\n";} {
12329   lt_foo = "";
12330   lt_count = 0;
12331   for (lt_i = NF; lt_i > 0; lt_i--) {
12332     if ($lt_i != "" && $lt_i != ".") {
12333       if ($lt_i == "..") {
12334         lt_count++;
12335       } else {
12336         if (lt_count == 0) {
12337           lt_foo = "/" $lt_i lt_foo;
12338         } else {
12339           lt_count--;
12340         }
12341       }
12342     }
12343   }
12344   if (lt_foo != "") { lt_freq[lt_foo]++; }
12345   if (lt_freq[lt_foo] == 1) { print lt_foo; }
12346 }'`
12347   # AWK program above erroneously prepends '/' to C:/dos/paths
12348   # for these hosts.
12349   case $host_os in
12350     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12351       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12352   esac
12353   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12354 else
12355   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12356 fi
12357 library_names_spec=
12358 libname_spec='lib$name'
12359 soname_spec=
12360 shrext_cmds=.so
12361 postinstall_cmds=
12362 postuninstall_cmds=
12363 finish_cmds=
12364 finish_eval=
12365 shlibpath_var=
12366 shlibpath_overrides_runpath=unknown
12367 version_type=none
12368 dynamic_linker="$host_os ld.so"
12369 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12370 need_lib_prefix=unknown
12371 hardcode_into_libs=no
12372
12373 # when you set need_version to no, make sure it does not cause -set_version
12374 # flags to be left without arguments
12375 need_version=unknown
12376
12377
12378
12379 case $host_os in
12380 aix3*)
12381   version_type=linux # correct to gnu/linux during the next big refactor
12382   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12383   shlibpath_var=LIBPATH
12384
12385   # AIX 3 has no versioning support, so we append a major version to the name.
12386   soname_spec='$libname$release$shared_ext$major'
12387   ;;
12388
12389 aix[4-9]*)
12390   version_type=linux # correct to gnu/linux during the next big refactor
12391   need_lib_prefix=no
12392   need_version=no
12393   hardcode_into_libs=yes
12394   if test ia64 = "$host_cpu"; then
12395     # AIX 5 supports IA64
12396     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12397     shlibpath_var=LD_LIBRARY_PATH
12398   else
12399     # With GCC up to 2.95.x, collect2 would create an import file
12400     # for dependence libraries.  The import file would start with
12401     # the line '#! .'.  This would cause the generated library to
12402     # depend on '.', always an invalid library.  This was fixed in
12403     # development snapshots of GCC prior to 3.0.
12404     case $host_os in
12405       aix4 | aix4.[01] | aix4.[01].*)
12406       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12407            echo ' yes '
12408            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12409         :
12410       else
12411         can_build_shared=no
12412       fi
12413       ;;
12414     esac
12415     # Using Import Files as archive members, it is possible to support
12416     # filename-based versioning of shared library archives on AIX. While
12417     # this would work for both with and without runtime linking, it will
12418     # prevent static linking of such archives. So we do filename-based
12419     # shared library versioning with .so extension only, which is used
12420     # when both runtime linking and shared linking is enabled.
12421     # Unfortunately, runtime linking may impact performance, so we do
12422     # not want this to be the default eventually. Also, we use the
12423     # versioned .so libs for executables only if there is the -brtl
12424     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12425     # To allow for filename-based versioning support, we need to create
12426     # libNAME.so.V as an archive file, containing:
12427     # *) an Import File, referring to the versioned filename of the
12428     #    archive as well as the shared archive member, telling the
12429     #    bitwidth (32 or 64) of that shared object, and providing the
12430     #    list of exported symbols of that shared object, eventually
12431     #    decorated with the 'weak' keyword
12432     # *) the shared object with the F_LOADONLY flag set, to really avoid
12433     #    it being seen by the linker.
12434     # At run time we better use the real file rather than another symlink,
12435     # but for link time we create the symlink libNAME.so -> libNAME.so.V
12436
12437     case $with_aix_soname,$aix_use_runtimelinking in
12438     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12439     # soname into executable. Probably we can add versioning support to
12440     # collect2, so additional links can be useful in future.
12441     aix,yes) # traditional libtool
12442       dynamic_linker='AIX unversionable lib.so'
12443       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12444       # instead of lib<name>.a to let people know that these are not
12445       # typical AIX shared libraries.
12446       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12447       ;;
12448     aix,no) # traditional AIX only
12449       dynamic_linker='AIX lib.a(lib.so.V)'
12450       # We preserve .a as extension for shared libraries through AIX4.2
12451       # and later when we are not doing run time linking.
12452       library_names_spec='$libname$release.a $libname.a'
12453       soname_spec='$libname$release$shared_ext$major'
12454       ;;
12455     svr4,*) # full svr4 only
12456       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12457       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12458       # We do not specify a path in Import Files, so LIBPATH fires.
12459       shlibpath_overrides_runpath=yes
12460       ;;
12461     *,yes) # both, prefer svr4
12462       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12463       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12464       # unpreferred sharedlib libNAME.a needs extra handling
12465       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12466       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12467       # We do not specify a path in Import Files, so LIBPATH fires.
12468       shlibpath_overrides_runpath=yes
12469       ;;
12470     *,no) # both, prefer aix
12471       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12472       library_names_spec='$libname$release.a $libname.a'
12473       soname_spec='$libname$release$shared_ext$major'
12474       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12475       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12476       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12477       ;;
12478     esac
12479     shlibpath_var=LIBPATH
12480   fi
12481   ;;
12482
12483 amigaos*)
12484   case $host_cpu in
12485   powerpc)
12486     # Since July 2007 AmigaOS4 officially supports .so libraries.
12487     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12488     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12489     ;;
12490   m68k)
12491     library_names_spec='$libname.ixlibrary $libname.a'
12492     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12493     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
12494     ;;
12495   esac
12496   ;;
12497
12498 beos*)
12499   library_names_spec='$libname$shared_ext'
12500   dynamic_linker="$host_os ld.so"
12501   shlibpath_var=LIBRARY_PATH
12502   ;;
12503
12504 bsdi[45]*)
12505   version_type=linux # correct to gnu/linux during the next big refactor
12506   need_version=no
12507   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12508   soname_spec='$libname$release$shared_ext$major'
12509   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12510   shlibpath_var=LD_LIBRARY_PATH
12511   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12512   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12513   # the default ld.so.conf also contains /usr/contrib/lib and
12514   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12515   # libtool to hard-code these into programs
12516   ;;
12517
12518 cygwin* | mingw* | pw32* | cegcc*)
12519   version_type=windows
12520   shrext_cmds=.dll
12521   need_version=no
12522   need_lib_prefix=no
12523
12524   case $GCC,$cc_basename in
12525   yes,*)
12526     # gcc
12527     library_names_spec='$libname.dll.a'
12528     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12529     postinstall_cmds='base_file=`basename \$file`~
12530       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12531       dldir=$destdir/`dirname \$dlpath`~
12532       test -d \$dldir || mkdir -p \$dldir~
12533       $install_prog $dir/$dlname \$dldir/$dlname~
12534       chmod a+x \$dldir/$dlname~
12535       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12536         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12537       fi'
12538     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12539       dlpath=$dir/\$dldll~
12540        $RM \$dlpath'
12541     shlibpath_overrides_runpath=yes
12542
12543     case $host_os in
12544     cygwin*)
12545       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12546       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12547
12548       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12549       ;;
12550     mingw* | cegcc*)
12551       # MinGW DLLs use traditional 'lib' prefix
12552       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12553       ;;
12554     pw32*)
12555       # pw32 DLLs use 'pw' prefix rather than 'lib'
12556       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12557       ;;
12558     esac
12559     dynamic_linker='Win32 ld.exe'
12560     ;;
12561
12562   *,cl*)
12563     # Native MSVC
12564     libname_spec='$name'
12565     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12566     library_names_spec='$libname.dll.lib'
12567
12568     case $build_os in
12569     mingw*)
12570       sys_lib_search_path_spec=
12571       lt_save_ifs=$IFS
12572       IFS=';'
12573       for lt_path in $LIB
12574       do
12575         IFS=$lt_save_ifs
12576         # Let DOS variable expansion print the short 8.3 style file name.
12577         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12578         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12579       done
12580       IFS=$lt_save_ifs
12581       # Convert to MSYS style.
12582       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12583       ;;
12584     cygwin*)
12585       # Convert to unix form, then to dos form, then back to unix form
12586       # but this time dos style (no spaces!) so that the unix form looks
12587       # like /cygdrive/c/PROGRA~1:/cygdr...
12588       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12589       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12590       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12591       ;;
12592     *)
12593       sys_lib_search_path_spec=$LIB
12594       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12595         # It is most probably a Windows format PATH.
12596         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12597       else
12598         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12599       fi
12600       # FIXME: find the short name or the path components, as spaces are
12601       # common. (e.g. "Program Files" -> "PROGRA~1")
12602       ;;
12603     esac
12604
12605     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12606     postinstall_cmds='base_file=`basename \$file`~
12607       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12608       dldir=$destdir/`dirname \$dlpath`~
12609       test -d \$dldir || mkdir -p \$dldir~
12610       $install_prog $dir/$dlname \$dldir/$dlname'
12611     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12612       dlpath=$dir/\$dldll~
12613        $RM \$dlpath'
12614     shlibpath_overrides_runpath=yes
12615     dynamic_linker='Win32 link.exe'
12616     ;;
12617
12618   *)
12619     # Assume MSVC wrapper
12620     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12621     dynamic_linker='Win32 ld.exe'
12622     ;;
12623   esac
12624   # FIXME: first we should search . and the directory the executable is in
12625   shlibpath_var=PATH
12626   ;;
12627
12628 darwin* | rhapsody*)
12629   dynamic_linker="$host_os dyld"
12630   version_type=darwin
12631   need_lib_prefix=no
12632   need_version=no
12633   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12634   soname_spec='$libname$release$major$shared_ext'
12635   shlibpath_overrides_runpath=yes
12636   shlibpath_var=DYLD_LIBRARY_PATH
12637   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12638
12639   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12640   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12641   ;;
12642
12643 dgux*)
12644   version_type=linux # correct to gnu/linux during the next big refactor
12645   need_lib_prefix=no
12646   need_version=no
12647   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12648   soname_spec='$libname$release$shared_ext$major'
12649   shlibpath_var=LD_LIBRARY_PATH
12650   ;;
12651
12652 freebsd* | dragonfly*)
12653   # DragonFly does not have aout.  When/if they implement a new
12654   # versioning mechanism, adjust this.
12655   if test -x /usr/bin/objformat; then
12656     objformat=`/usr/bin/objformat`
12657   else
12658     case $host_os in
12659     freebsd[23].*) objformat=aout ;;
12660     *) objformat=elf ;;
12661     esac
12662   fi
12663   version_type=freebsd-$objformat
12664   case $version_type in
12665     freebsd-elf*)
12666       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12667       soname_spec='$libname$release$shared_ext$major'
12668       need_version=no
12669       need_lib_prefix=no
12670       ;;
12671     freebsd-*)
12672       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12673       need_version=yes
12674       ;;
12675   esac
12676   shlibpath_var=LD_LIBRARY_PATH
12677   case $host_os in
12678   freebsd2.*)
12679     shlibpath_overrides_runpath=yes
12680     ;;
12681   freebsd3.[01]* | freebsdelf3.[01]*)
12682     shlibpath_overrides_runpath=yes
12683     hardcode_into_libs=yes
12684     ;;
12685   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12686   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12687     shlibpath_overrides_runpath=no
12688     hardcode_into_libs=yes
12689     ;;
12690   *) # from 4.6 on, and DragonFly
12691     shlibpath_overrides_runpath=yes
12692     hardcode_into_libs=yes
12693     ;;
12694   esac
12695   ;;
12696
12697 haiku*)
12698   version_type=linux # correct to gnu/linux during the next big refactor
12699   need_lib_prefix=no
12700   need_version=no
12701   dynamic_linker="$host_os runtime_loader"
12702   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12703   soname_spec='$libname$release$shared_ext$major'
12704   shlibpath_var=LIBRARY_PATH
12705   shlibpath_overrides_runpath=no
12706   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12707   hardcode_into_libs=yes
12708   ;;
12709
12710 hpux9* | hpux10* | hpux11*)
12711   # Give a soname corresponding to the major version so that dld.sl refuses to
12712   # link against other versions.
12713   version_type=sunos
12714   need_lib_prefix=no
12715   need_version=no
12716   case $host_cpu in
12717   ia64*)
12718     shrext_cmds='.so'
12719     hardcode_into_libs=yes
12720     dynamic_linker="$host_os dld.so"
12721     shlibpath_var=LD_LIBRARY_PATH
12722     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12723     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12724     soname_spec='$libname$release$shared_ext$major'
12725     if test 32 = "$HPUX_IA64_MODE"; then
12726       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12727       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12728     else
12729       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12730       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12731     fi
12732     ;;
12733   hppa*64*)
12734     shrext_cmds='.sl'
12735     hardcode_into_libs=yes
12736     dynamic_linker="$host_os dld.sl"
12737     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12738     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12739     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12740     soname_spec='$libname$release$shared_ext$major'
12741     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12742     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12743     ;;
12744   *)
12745     shrext_cmds='.sl'
12746     dynamic_linker="$host_os dld.sl"
12747     shlibpath_var=SHLIB_PATH
12748     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12749     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12750     soname_spec='$libname$release$shared_ext$major'
12751     ;;
12752   esac
12753   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12754   postinstall_cmds='chmod 555 $lib'
12755   # or fails outright, so override atomically:
12756   install_override_mode=555
12757   ;;
12758
12759 interix[3-9]*)
12760   version_type=linux # correct to gnu/linux during the next big refactor
12761   need_lib_prefix=no
12762   need_version=no
12763   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12764   soname_spec='$libname$release$shared_ext$major'
12765   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12766   shlibpath_var=LD_LIBRARY_PATH
12767   shlibpath_overrides_runpath=no
12768   hardcode_into_libs=yes
12769   ;;
12770
12771 irix5* | irix6* | nonstopux*)
12772   case $host_os in
12773     nonstopux*) version_type=nonstopux ;;
12774     *)
12775         if test yes = "$lt_cv_prog_gnu_ld"; then
12776                 version_type=linux # correct to gnu/linux during the next big refactor
12777         else
12778                 version_type=irix
12779         fi ;;
12780   esac
12781   need_lib_prefix=no
12782   need_version=no
12783   soname_spec='$libname$release$shared_ext$major'
12784   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12785   case $host_os in
12786   irix5* | nonstopux*)
12787     libsuff= shlibsuff=
12788     ;;
12789   *)
12790     case $LD in # libtool.m4 will add one of these switches to LD
12791     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12792       libsuff= shlibsuff= libmagic=32-bit;;
12793     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12794       libsuff=32 shlibsuff=N32 libmagic=N32;;
12795     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12796       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12797     *) libsuff= shlibsuff= libmagic=never-match;;
12798     esac
12799     ;;
12800   esac
12801   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12802   shlibpath_overrides_runpath=no
12803   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12804   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12805   hardcode_into_libs=yes
12806   ;;
12807
12808 # No shared lib support for Linux oldld, aout, or coff.
12809 linux*oldld* | linux*aout* | linux*coff*)
12810   dynamic_linker=no
12811   ;;
12812
12813 linux*android*)
12814   version_type=none # Android doesn't support versioned libraries.
12815   need_lib_prefix=no
12816   need_version=no
12817   library_names_spec='$libname$release$shared_ext'
12818   soname_spec='$libname$release$shared_ext'
12819   finish_cmds=
12820   shlibpath_var=LD_LIBRARY_PATH
12821   shlibpath_overrides_runpath=yes
12822
12823   # This implies no fast_install, which is unacceptable.
12824   # Some rework will be needed to allow for fast_install
12825   # before this can be enabled.
12826   hardcode_into_libs=yes
12827
12828   dynamic_linker='Android linker'
12829   # Don't embed -rpath directories since the linker doesn't support them.
12830   hardcode_libdir_flag_spec='-L$libdir'
12831   ;;
12832
12833 # This must be glibc/ELF.
12834 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12835   version_type=linux # correct to gnu/linux during the next big refactor
12836   need_lib_prefix=no
12837   need_version=no
12838   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12839   soname_spec='$libname$release$shared_ext$major'
12840   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12841   shlibpath_var=LD_LIBRARY_PATH
12842   shlibpath_overrides_runpath=no
12843
12844   # Some binutils ld are patched to set DT_RUNPATH
12845   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12846   $as_echo_n "(cached) " >&6
12847 else
12848   lt_cv_shlibpath_overrides_runpath=no
12849     save_LDFLAGS=$LDFLAGS
12850     save_libdir=$libdir
12851     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12852          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12853     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h.  */
12855
12856 int
12857 main ()
12858 {
12859
12860   ;
12861   return 0;
12862 }
12863 _ACEOF
12864 if ac_fn_c_try_link "$LINENO"; then :
12865   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12866   lt_cv_shlibpath_overrides_runpath=yes
12867 fi
12868 fi
12869 rm -f core conftest.err conftest.$ac_objext \
12870     conftest$ac_exeext conftest.$ac_ext
12871     LDFLAGS=$save_LDFLAGS
12872     libdir=$save_libdir
12873
12874 fi
12875
12876   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12877
12878   # This implies no fast_install, which is unacceptable.
12879   # Some rework will be needed to allow for fast_install
12880   # before this can be enabled.
12881   hardcode_into_libs=yes
12882
12883   # Ideally, we could use ldconfig to report *all* directores which are
12884   # searched for libraries, however this is still not possible.  Aside from not
12885   # being certain /sbin/ldconfig is available, command
12886   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12887   # even though it is searched at run-time.  Try to do the best guess by
12888   # appending ld.so.conf contents (and includes) to the search path.
12889   if test -f /etc/ld.so.conf; then
12890     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' ' '`
12891     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12892   fi
12893
12894   # We used to test for /lib/ld.so.1 and disable shared libraries on
12895   # powerpc, because MkLinux only supported shared libraries with the
12896   # GNU dynamic linker.  Since this was broken with cross compilers,
12897   # most powerpc-linux boxes support dynamic linking these days and
12898   # people can always --disable-shared, the test was removed, and we
12899   # assume the GNU/Linux dynamic linker is in use.
12900   dynamic_linker='GNU/Linux ld.so'
12901   ;;
12902
12903 netbsdelf*-gnu)
12904   version_type=linux
12905   need_lib_prefix=no
12906   need_version=no
12907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12908   soname_spec='${libname}${release}${shared_ext}$major'
12909   shlibpath_var=LD_LIBRARY_PATH
12910   shlibpath_overrides_runpath=no
12911   hardcode_into_libs=yes
12912   dynamic_linker='NetBSD ld.elf_so'
12913   ;;
12914
12915 netbsd*)
12916   version_type=sunos
12917   need_lib_prefix=no
12918   need_version=no
12919   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12920     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12921     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12922     dynamic_linker='NetBSD (a.out) ld.so'
12923   else
12924     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12925     soname_spec='$libname$release$shared_ext$major'
12926     dynamic_linker='NetBSD ld.elf_so'
12927   fi
12928   shlibpath_var=LD_LIBRARY_PATH
12929   shlibpath_overrides_runpath=yes
12930   hardcode_into_libs=yes
12931   ;;
12932
12933 newsos6)
12934   version_type=linux # correct to gnu/linux during the next big refactor
12935   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12936   shlibpath_var=LD_LIBRARY_PATH
12937   shlibpath_overrides_runpath=yes
12938   ;;
12939
12940 *nto* | *qnx*)
12941   version_type=qnx
12942   need_lib_prefix=no
12943   need_version=no
12944   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12945   soname_spec='$libname$release$shared_ext$major'
12946   shlibpath_var=LD_LIBRARY_PATH
12947   shlibpath_overrides_runpath=no
12948   hardcode_into_libs=yes
12949   dynamic_linker='ldqnx.so'
12950   ;;
12951
12952 openbsd* | bitrig*)
12953   version_type=sunos
12954   sys_lib_dlsearch_path_spec=/usr/lib
12955   need_lib_prefix=no
12956   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12957     need_version=no
12958   else
12959     need_version=yes
12960   fi
12961   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12962   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12963   shlibpath_var=LD_LIBRARY_PATH
12964   shlibpath_overrides_runpath=yes
12965   ;;
12966
12967 os2*)
12968   libname_spec='$name'
12969   version_type=windows
12970   shrext_cmds=.dll
12971   need_version=no
12972   need_lib_prefix=no
12973   # OS/2 can only load a DLL with a base name of 8 characters or less.
12974   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12975     v=$($ECHO $release$versuffix | tr -d .-);
12976     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12977     $ECHO $n$v`$shared_ext'
12978   library_names_spec='${libname}_dll.$libext'
12979   dynamic_linker='OS/2 ld.exe'
12980   shlibpath_var=BEGINLIBPATH
12981   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12982   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12983   postinstall_cmds='base_file=`basename \$file`~
12984     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12985     dldir=$destdir/`dirname \$dlpath`~
12986     test -d \$dldir || mkdir -p \$dldir~
12987     $install_prog $dir/$dlname \$dldir/$dlname~
12988     chmod a+x \$dldir/$dlname~
12989     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12990       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12991     fi'
12992   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12993     dlpath=$dir/\$dldll~
12994     $RM \$dlpath'
12995   ;;
12996
12997 osf3* | osf4* | osf5*)
12998   version_type=osf
12999   need_lib_prefix=no
13000   need_version=no
13001   soname_spec='$libname$release$shared_ext$major'
13002   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13003   shlibpath_var=LD_LIBRARY_PATH
13004   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13005   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13006   ;;
13007
13008 rdos*)
13009   dynamic_linker=no
13010   ;;
13011
13012 solaris*)
13013   version_type=linux # correct to gnu/linux during the next big refactor
13014   need_lib_prefix=no
13015   need_version=no
13016   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13017   soname_spec='$libname$release$shared_ext$major'
13018   shlibpath_var=LD_LIBRARY_PATH
13019   shlibpath_overrides_runpath=yes
13020   hardcode_into_libs=yes
13021   # ldd complains unless libraries are executable
13022   postinstall_cmds='chmod +x $lib'
13023   ;;
13024
13025 sunos4*)
13026   version_type=sunos
13027   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13028   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13029   shlibpath_var=LD_LIBRARY_PATH
13030   shlibpath_overrides_runpath=yes
13031   if test yes = "$with_gnu_ld"; then
13032     need_lib_prefix=no
13033   fi
13034   need_version=yes
13035   ;;
13036
13037 sysv4 | sysv4.3*)
13038   version_type=linux # correct to gnu/linux during the next big refactor
13039   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13040   soname_spec='$libname$release$shared_ext$major'
13041   shlibpath_var=LD_LIBRARY_PATH
13042   case $host_vendor in
13043     sni)
13044       shlibpath_overrides_runpath=no
13045       need_lib_prefix=no
13046       runpath_var=LD_RUN_PATH
13047       ;;
13048     siemens)
13049       need_lib_prefix=no
13050       ;;
13051     motorola)
13052       need_lib_prefix=no
13053       need_version=no
13054       shlibpath_overrides_runpath=no
13055       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13056       ;;
13057   esac
13058   ;;
13059
13060 sysv4*MP*)
13061   if test -d /usr/nec; then
13062     version_type=linux # correct to gnu/linux during the next big refactor
13063     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13064     soname_spec='$libname$shared_ext.$major'
13065     shlibpath_var=LD_LIBRARY_PATH
13066   fi
13067   ;;
13068
13069 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13070   version_type=sco
13071   need_lib_prefix=no
13072   need_version=no
13073   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13074   soname_spec='$libname$release$shared_ext$major'
13075   shlibpath_var=LD_LIBRARY_PATH
13076   shlibpath_overrides_runpath=yes
13077   hardcode_into_libs=yes
13078   if test yes = "$with_gnu_ld"; then
13079     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13080   else
13081     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13082     case $host_os in
13083       sco3.2v5*)
13084         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13085         ;;
13086     esac
13087   fi
13088   sys_lib_dlsearch_path_spec='/usr/lib'
13089   ;;
13090
13091 tpf*)
13092   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13093   version_type=linux # correct to gnu/linux during the next big refactor
13094   need_lib_prefix=no
13095   need_version=no
13096   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13097   shlibpath_var=LD_LIBRARY_PATH
13098   shlibpath_overrides_runpath=no
13099   hardcode_into_libs=yes
13100   ;;
13101
13102 uts4*)
13103   version_type=linux # correct to gnu/linux during the next big refactor
13104   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13105   soname_spec='$libname$release$shared_ext$major'
13106   shlibpath_var=LD_LIBRARY_PATH
13107   ;;
13108
13109 *)
13110   dynamic_linker=no
13111   ;;
13112 esac
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13114 $as_echo "$dynamic_linker" >&6; }
13115 test no = "$dynamic_linker" && can_build_shared=no
13116
13117 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13118 if test yes = "$GCC"; then
13119   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13120 fi
13121
13122 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13123   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13124 fi
13125
13126 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13127   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13128 fi
13129
13130 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13131 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13132
13133 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13134 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13135
13136 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13137 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13236 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13237 hardcode_action=
13238 if test -n "$hardcode_libdir_flag_spec" ||
13239    test -n "$runpath_var" ||
13240    test yes = "$hardcode_automatic"; then
13241
13242   # We can hardcode non-existent directories.
13243   if test no != "$hardcode_direct" &&
13244      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13245      # have to relink, otherwise we might link with an installed library
13246      # when we should be linking with a yet-to-be-installed one
13247      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13248      test no != "$hardcode_minus_L"; then
13249     # Linking always hardcodes the temporary library directory.
13250     hardcode_action=relink
13251   else
13252     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13253     hardcode_action=immediate
13254   fi
13255 else
13256   # We cannot hardcode anything, or else we can only hardcode existing
13257   # directories.
13258   hardcode_action=unsupported
13259 fi
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13261 $as_echo "$hardcode_action" >&6; }
13262
13263 if test relink = "$hardcode_action" ||
13264    test yes = "$inherit_rpath"; then
13265   # Fast installation is not supported
13266   enable_fast_install=no
13267 elif test yes = "$shlibpath_overrides_runpath" ||
13268      test no = "$enable_shared"; then
13269   # Fast installation is not necessary
13270   enable_fast_install=needless
13271 fi
13272
13273
13274
13275
13276
13277
13278   if test yes != "$enable_dlopen"; then
13279   enable_dlopen=unknown
13280   enable_dlopen_self=unknown
13281   enable_dlopen_self_static=unknown
13282 else
13283   lt_cv_dlopen=no
13284   lt_cv_dlopen_libs=
13285
13286   case $host_os in
13287   beos*)
13288     lt_cv_dlopen=load_add_on
13289     lt_cv_dlopen_libs=
13290     lt_cv_dlopen_self=yes
13291     ;;
13292
13293   mingw* | pw32* | cegcc*)
13294     lt_cv_dlopen=LoadLibrary
13295     lt_cv_dlopen_libs=
13296     ;;
13297
13298   cygwin*)
13299     lt_cv_dlopen=dlopen
13300     lt_cv_dlopen_libs=
13301     ;;
13302
13303   darwin*)
13304     # if libdl is installed we need to link against it
13305     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13306 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13307 if ${ac_cv_lib_dl_dlopen+:} false; then :
13308   $as_echo_n "(cached) " >&6
13309 else
13310   ac_check_lib_save_LIBS=$LIBS
13311 LIBS="-ldl  $LIBS"
13312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h.  */
13314
13315 /* Override any GCC internal prototype to avoid an error.
13316    Use char because int might match the return type of a GCC
13317    builtin and then its argument prototype would still apply.  */
13318 #ifdef __cplusplus
13319 extern "C"
13320 #endif
13321 char dlopen ();
13322 int
13323 main ()
13324 {
13325 return dlopen ();
13326   ;
13327   return 0;
13328 }
13329 _ACEOF
13330 if ac_fn_c_try_link "$LINENO"; then :
13331   ac_cv_lib_dl_dlopen=yes
13332 else
13333   ac_cv_lib_dl_dlopen=no
13334 fi
13335 rm -f core conftest.err conftest.$ac_objext \
13336     conftest$ac_exeext conftest.$ac_ext
13337 LIBS=$ac_check_lib_save_LIBS
13338 fi
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13340 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13341 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13342   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13343 else
13344
13345     lt_cv_dlopen=dyld
13346     lt_cv_dlopen_libs=
13347     lt_cv_dlopen_self=yes
13348
13349 fi
13350
13351     ;;
13352
13353   tpf*)
13354     # Don't try to run any link tests for TPF.  We know it's impossible
13355     # because TPF is a cross-compiler, and we know how we open DSOs.
13356     lt_cv_dlopen=dlopen
13357     lt_cv_dlopen_libs=
13358     lt_cv_dlopen_self=no
13359     ;;
13360
13361   *)
13362     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13363 if test "x$ac_cv_func_shl_load" = xyes; then :
13364   lt_cv_dlopen=shl_load
13365 else
13366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13367 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13368 if ${ac_cv_lib_dld_shl_load+:} false; then :
13369   $as_echo_n "(cached) " >&6
13370 else
13371   ac_check_lib_save_LIBS=$LIBS
13372 LIBS="-ldld  $LIBS"
13373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13374 /* end confdefs.h.  */
13375
13376 /* Override any GCC internal prototype to avoid an error.
13377    Use char because int might match the return type of a GCC
13378    builtin and then its argument prototype would still apply.  */
13379 #ifdef __cplusplus
13380 extern "C"
13381 #endif
13382 char shl_load ();
13383 int
13384 main ()
13385 {
13386 return shl_load ();
13387   ;
13388   return 0;
13389 }
13390 _ACEOF
13391 if ac_fn_c_try_link "$LINENO"; then :
13392   ac_cv_lib_dld_shl_load=yes
13393 else
13394   ac_cv_lib_dld_shl_load=no
13395 fi
13396 rm -f core conftest.err conftest.$ac_objext \
13397     conftest$ac_exeext conftest.$ac_ext
13398 LIBS=$ac_check_lib_save_LIBS
13399 fi
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13401 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13402 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13403   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13404 else
13405   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13406 if test "x$ac_cv_func_dlopen" = xyes; then :
13407   lt_cv_dlopen=dlopen
13408 else
13409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13410 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13411 if ${ac_cv_lib_dl_dlopen+:} false; then :
13412   $as_echo_n "(cached) " >&6
13413 else
13414   ac_check_lib_save_LIBS=$LIBS
13415 LIBS="-ldl  $LIBS"
13416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h.  */
13418
13419 /* Override any GCC internal prototype to avoid an error.
13420    Use char because int might match the return type of a GCC
13421    builtin and then its argument prototype would still apply.  */
13422 #ifdef __cplusplus
13423 extern "C"
13424 #endif
13425 char dlopen ();
13426 int
13427 main ()
13428 {
13429 return dlopen ();
13430   ;
13431   return 0;
13432 }
13433 _ACEOF
13434 if ac_fn_c_try_link "$LINENO"; then :
13435   ac_cv_lib_dl_dlopen=yes
13436 else
13437   ac_cv_lib_dl_dlopen=no
13438 fi
13439 rm -f core conftest.err conftest.$ac_objext \
13440     conftest$ac_exeext conftest.$ac_ext
13441 LIBS=$ac_check_lib_save_LIBS
13442 fi
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13444 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13445 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13446   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13447 else
13448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13449 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13450 if ${ac_cv_lib_svld_dlopen+:} false; then :
13451   $as_echo_n "(cached) " >&6
13452 else
13453   ac_check_lib_save_LIBS=$LIBS
13454 LIBS="-lsvld  $LIBS"
13455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h.  */
13457
13458 /* Override any GCC internal prototype to avoid an error.
13459    Use char because int might match the return type of a GCC
13460    builtin and then its argument prototype would still apply.  */
13461 #ifdef __cplusplus
13462 extern "C"
13463 #endif
13464 char dlopen ();
13465 int
13466 main ()
13467 {
13468 return dlopen ();
13469   ;
13470   return 0;
13471 }
13472 _ACEOF
13473 if ac_fn_c_try_link "$LINENO"; then :
13474   ac_cv_lib_svld_dlopen=yes
13475 else
13476   ac_cv_lib_svld_dlopen=no
13477 fi
13478 rm -f core conftest.err conftest.$ac_objext \
13479     conftest$ac_exeext conftest.$ac_ext
13480 LIBS=$ac_check_lib_save_LIBS
13481 fi
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13483 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13484 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13485   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13486 else
13487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13488 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13489 if ${ac_cv_lib_dld_dld_link+:} false; then :
13490   $as_echo_n "(cached) " >&6
13491 else
13492   ac_check_lib_save_LIBS=$LIBS
13493 LIBS="-ldld  $LIBS"
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h.  */
13496
13497 /* Override any GCC internal prototype to avoid an error.
13498    Use char because int might match the return type of a GCC
13499    builtin and then its argument prototype would still apply.  */
13500 #ifdef __cplusplus
13501 extern "C"
13502 #endif
13503 char dld_link ();
13504 int
13505 main ()
13506 {
13507 return dld_link ();
13508   ;
13509   return 0;
13510 }
13511 _ACEOF
13512 if ac_fn_c_try_link "$LINENO"; then :
13513   ac_cv_lib_dld_dld_link=yes
13514 else
13515   ac_cv_lib_dld_dld_link=no
13516 fi
13517 rm -f core conftest.err conftest.$ac_objext \
13518     conftest$ac_exeext conftest.$ac_ext
13519 LIBS=$ac_check_lib_save_LIBS
13520 fi
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13522 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13523 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13524   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13525 fi
13526
13527
13528 fi
13529
13530
13531 fi
13532
13533
13534 fi
13535
13536
13537 fi
13538
13539
13540 fi
13541
13542     ;;
13543   esac
13544
13545   if test no = "$lt_cv_dlopen"; then
13546     enable_dlopen=no
13547   else
13548     enable_dlopen=yes
13549   fi
13550
13551   case $lt_cv_dlopen in
13552   dlopen)
13553     save_CPPFLAGS=$CPPFLAGS
13554     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13555
13556     save_LDFLAGS=$LDFLAGS
13557     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13558
13559     save_LIBS=$LIBS
13560     LIBS="$lt_cv_dlopen_libs $LIBS"
13561
13562     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13563 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13564 if ${lt_cv_dlopen_self+:} false; then :
13565   $as_echo_n "(cached) " >&6
13566 else
13567           if test yes = "$cross_compiling"; then :
13568   lt_cv_dlopen_self=cross
13569 else
13570   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13571   lt_status=$lt_dlunknown
13572   cat > conftest.$ac_ext <<_LT_EOF
13573 #line $LINENO "configure"
13574 #include "confdefs.h"
13575
13576 #if HAVE_DLFCN_H
13577 #include <dlfcn.h>
13578 #endif
13579
13580 #include <stdio.h>
13581
13582 #ifdef RTLD_GLOBAL
13583 #  define LT_DLGLOBAL           RTLD_GLOBAL
13584 #else
13585 #  ifdef DL_GLOBAL
13586 #    define LT_DLGLOBAL         DL_GLOBAL
13587 #  else
13588 #    define LT_DLGLOBAL         0
13589 #  endif
13590 #endif
13591
13592 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13593    find out it does not work in some platform. */
13594 #ifndef LT_DLLAZY_OR_NOW
13595 #  ifdef RTLD_LAZY
13596 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13597 #  else
13598 #    ifdef DL_LAZY
13599 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13600 #    else
13601 #      ifdef RTLD_NOW
13602 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13603 #      else
13604 #        ifdef DL_NOW
13605 #          define LT_DLLAZY_OR_NOW      DL_NOW
13606 #        else
13607 #          define LT_DLLAZY_OR_NOW      0
13608 #        endif
13609 #      endif
13610 #    endif
13611 #  endif
13612 #endif
13613
13614 /* When -fvisibility=hidden is used, assume the code has been annotated
13615    correspondingly for the symbols needed.  */
13616 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13617 int fnord () __attribute__((visibility("default")));
13618 #endif
13619
13620 int fnord () { return 42; }
13621 int main ()
13622 {
13623   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13624   int status = $lt_dlunknown;
13625
13626   if (self)
13627     {
13628       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13629       else
13630         {
13631           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13632           else puts (dlerror ());
13633         }
13634       /* dlclose (self); */
13635     }
13636   else
13637     puts (dlerror ());
13638
13639   return status;
13640 }
13641 _LT_EOF
13642   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13643   (eval $ac_link) 2>&5
13644   ac_status=$?
13645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13646   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13647     (./conftest; exit; ) >&5 2>/dev/null
13648     lt_status=$?
13649     case x$lt_status in
13650       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13651       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13652       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13653     esac
13654   else :
13655     # compilation failed
13656     lt_cv_dlopen_self=no
13657   fi
13658 fi
13659 rm -fr conftest*
13660
13661
13662 fi
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13664 $as_echo "$lt_cv_dlopen_self" >&6; }
13665
13666     if test yes = "$lt_cv_dlopen_self"; then
13667       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13668       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13669 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13670 if ${lt_cv_dlopen_self_static+:} false; then :
13671   $as_echo_n "(cached) " >&6
13672 else
13673           if test yes = "$cross_compiling"; then :
13674   lt_cv_dlopen_self_static=cross
13675 else
13676   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13677   lt_status=$lt_dlunknown
13678   cat > conftest.$ac_ext <<_LT_EOF
13679 #line $LINENO "configure"
13680 #include "confdefs.h"
13681
13682 #if HAVE_DLFCN_H
13683 #include <dlfcn.h>
13684 #endif
13685
13686 #include <stdio.h>
13687
13688 #ifdef RTLD_GLOBAL
13689 #  define LT_DLGLOBAL           RTLD_GLOBAL
13690 #else
13691 #  ifdef DL_GLOBAL
13692 #    define LT_DLGLOBAL         DL_GLOBAL
13693 #  else
13694 #    define LT_DLGLOBAL         0
13695 #  endif
13696 #endif
13697
13698 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13699    find out it does not work in some platform. */
13700 #ifndef LT_DLLAZY_OR_NOW
13701 #  ifdef RTLD_LAZY
13702 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13703 #  else
13704 #    ifdef DL_LAZY
13705 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13706 #    else
13707 #      ifdef RTLD_NOW
13708 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13709 #      else
13710 #        ifdef DL_NOW
13711 #          define LT_DLLAZY_OR_NOW      DL_NOW
13712 #        else
13713 #          define LT_DLLAZY_OR_NOW      0
13714 #        endif
13715 #      endif
13716 #    endif
13717 #  endif
13718 #endif
13719
13720 /* When -fvisibility=hidden is used, assume the code has been annotated
13721    correspondingly for the symbols needed.  */
13722 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13723 int fnord () __attribute__((visibility("default")));
13724 #endif
13725
13726 int fnord () { return 42; }
13727 int main ()
13728 {
13729   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13730   int status = $lt_dlunknown;
13731
13732   if (self)
13733     {
13734       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13735       else
13736         {
13737           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13738           else puts (dlerror ());
13739         }
13740       /* dlclose (self); */
13741     }
13742   else
13743     puts (dlerror ());
13744
13745   return status;
13746 }
13747 _LT_EOF
13748   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13749   (eval $ac_link) 2>&5
13750   ac_status=$?
13751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13752   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13753     (./conftest; exit; ) >&5 2>/dev/null
13754     lt_status=$?
13755     case x$lt_status in
13756       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13757       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13758       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13759     esac
13760   else :
13761     # compilation failed
13762     lt_cv_dlopen_self_static=no
13763   fi
13764 fi
13765 rm -fr conftest*
13766
13767
13768 fi
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13770 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13771     fi
13772
13773     CPPFLAGS=$save_CPPFLAGS
13774     LDFLAGS=$save_LDFLAGS
13775     LIBS=$save_LIBS
13776     ;;
13777   esac
13778
13779   case $lt_cv_dlopen_self in
13780   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13781   *) enable_dlopen_self=unknown ;;
13782   esac
13783
13784   case $lt_cv_dlopen_self_static in
13785   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13786   *) enable_dlopen_self_static=unknown ;;
13787   esac
13788 fi
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806 striplib=
13807 old_striplib=
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13809 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13810 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13811   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13812   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13814 $as_echo "yes" >&6; }
13815 else
13816 # FIXME - insert some real tests, host_os isn't really good enough
13817   case $host_os in
13818   darwin*)
13819     if test -n "$STRIP"; then
13820       striplib="$STRIP -x"
13821       old_striplib="$STRIP -S"
13822       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13823 $as_echo "yes" >&6; }
13824     else
13825       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13826 $as_echo "no" >&6; }
13827     fi
13828     ;;
13829   *)
13830     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13831 $as_echo "no" >&6; }
13832     ;;
13833   esac
13834 fi
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847   # Report what library types will actually be built
13848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13849 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13851 $as_echo "$can_build_shared" >&6; }
13852
13853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13854 $as_echo_n "checking whether to build shared libraries... " >&6; }
13855   test no = "$can_build_shared" && enable_shared=no
13856
13857   # On AIX, shared libraries and static libraries use the same namespace, and
13858   # are all built from PIC.
13859   case $host_os in
13860   aix3*)
13861     test yes = "$enable_shared" && enable_static=no
13862     if test -n "$RANLIB"; then
13863       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13864       postinstall_cmds='$RANLIB $lib'
13865     fi
13866     ;;
13867
13868   aix[4-9]*)
13869     if test ia64 != "$host_cpu"; then
13870       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13871       yes,aix,yes) ;;                   # shared object as lib.so file only
13872       yes,svr4,*) ;;                    # shared object as lib.so archive member only
13873       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
13874       esac
13875     fi
13876     ;;
13877   esac
13878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13879 $as_echo "$enable_shared" >&6; }
13880
13881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13882 $as_echo_n "checking whether to build static libraries... " >&6; }
13883   # Make sure either enable_shared or enable_static is yes.
13884   test yes = "$enable_shared" || enable_static=yes
13885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13886 $as_echo "$enable_static" >&6; }
13887
13888
13889
13890
13891 fi
13892 ac_ext=c
13893 ac_cpp='$CPP $CPPFLAGS'
13894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13897
13898 CC=$lt_save_CC
13899
13900       if test -n "$CXX" && ( test no != "$CXX" &&
13901     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13902     (test g++ != "$CXX"))); then
13903   ac_ext=cpp
13904 ac_cpp='$CXXCPP $CPPFLAGS'
13905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13909 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13910 if test -z "$CXXCPP"; then
13911   if ${ac_cv_prog_CXXCPP+:} false; then :
13912   $as_echo_n "(cached) " >&6
13913 else
13914       # Double quotes because CXXCPP needs to be expanded
13915     for CXXCPP in "$CXX -E" "/lib/cpp"
13916     do
13917       ac_preproc_ok=false
13918 for ac_cxx_preproc_warn_flag in '' yes
13919 do
13920   # Use a header file that comes with gcc, so configuring glibc
13921   # with a fresh cross-compiler works.
13922   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13923   # <limits.h> exists even on freestanding compilers.
13924   # On the NeXT, cc -E runs the code through the compiler's parser,
13925   # not just through cpp. "Syntax error" is here to catch this case.
13926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h.  */
13928 #ifdef __STDC__
13929 # include <limits.h>
13930 #else
13931 # include <assert.h>
13932 #endif
13933                      Syntax error
13934 _ACEOF
13935 if ac_fn_cxx_try_cpp "$LINENO"; then :
13936
13937 else
13938   # Broken: fails on valid input.
13939 continue
13940 fi
13941 rm -f conftest.err conftest.i conftest.$ac_ext
13942
13943   # OK, works on sane cases.  Now check whether nonexistent headers
13944   # can be detected and how.
13945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h.  */
13947 #include <ac_nonexistent.h>
13948 _ACEOF
13949 if ac_fn_cxx_try_cpp "$LINENO"; then :
13950   # Broken: success on invalid input.
13951 continue
13952 else
13953   # Passes both tests.
13954 ac_preproc_ok=:
13955 break
13956 fi
13957 rm -f conftest.err conftest.i conftest.$ac_ext
13958
13959 done
13960 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13961 rm -f conftest.i conftest.err conftest.$ac_ext
13962 if $ac_preproc_ok; then :
13963   break
13964 fi
13965
13966     done
13967     ac_cv_prog_CXXCPP=$CXXCPP
13968
13969 fi
13970   CXXCPP=$ac_cv_prog_CXXCPP
13971 else
13972   ac_cv_prog_CXXCPP=$CXXCPP
13973 fi
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13975 $as_echo "$CXXCPP" >&6; }
13976 ac_preproc_ok=false
13977 for ac_cxx_preproc_warn_flag in '' yes
13978 do
13979   # Use a header file that comes with gcc, so configuring glibc
13980   # with a fresh cross-compiler works.
13981   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13982   # <limits.h> exists even on freestanding compilers.
13983   # On the NeXT, cc -E runs the code through the compiler's parser,
13984   # not just through cpp. "Syntax error" is here to catch this case.
13985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h.  */
13987 #ifdef __STDC__
13988 # include <limits.h>
13989 #else
13990 # include <assert.h>
13991 #endif
13992                      Syntax error
13993 _ACEOF
13994 if ac_fn_cxx_try_cpp "$LINENO"; then :
13995
13996 else
13997   # Broken: fails on valid input.
13998 continue
13999 fi
14000 rm -f conftest.err conftest.i conftest.$ac_ext
14001
14002   # OK, works on sane cases.  Now check whether nonexistent headers
14003   # can be detected and how.
14004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h.  */
14006 #include <ac_nonexistent.h>
14007 _ACEOF
14008 if ac_fn_cxx_try_cpp "$LINENO"; then :
14009   # Broken: success on invalid input.
14010 continue
14011 else
14012   # Passes both tests.
14013 ac_preproc_ok=:
14014 break
14015 fi
14016 rm -f conftest.err conftest.i conftest.$ac_ext
14017
14018 done
14019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14020 rm -f conftest.i conftest.err conftest.$ac_ext
14021 if $ac_preproc_ok; then :
14022
14023 else
14024   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14026 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14027 See \`config.log' for more details" "$LINENO" 5; }
14028 fi
14029
14030 ac_ext=c
14031 ac_cpp='$CPP $CPPFLAGS'
14032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14035
14036 else
14037   _lt_caught_CXX_error=yes
14038 fi
14039
14040 ac_ext=cpp
14041 ac_cpp='$CXXCPP $CPPFLAGS'
14042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14045
14046 archive_cmds_need_lc_CXX=no
14047 allow_undefined_flag_CXX=
14048 always_export_symbols_CXX=no
14049 archive_expsym_cmds_CXX=
14050 compiler_needs_object_CXX=no
14051 export_dynamic_flag_spec_CXX=
14052 hardcode_direct_CXX=no
14053 hardcode_direct_absolute_CXX=no
14054 hardcode_libdir_flag_spec_CXX=
14055 hardcode_libdir_separator_CXX=
14056 hardcode_minus_L_CXX=no
14057 hardcode_shlibpath_var_CXX=unsupported
14058 hardcode_automatic_CXX=no
14059 inherit_rpath_CXX=no
14060 module_cmds_CXX=
14061 module_expsym_cmds_CXX=
14062 link_all_deplibs_CXX=unknown
14063 old_archive_cmds_CXX=$old_archive_cmds
14064 reload_flag_CXX=$reload_flag
14065 reload_cmds_CXX=$reload_cmds
14066 no_undefined_flag_CXX=
14067 whole_archive_flag_spec_CXX=
14068 enable_shared_with_static_runtimes_CXX=no
14069
14070 # Source file extension for C++ test sources.
14071 ac_ext=cpp
14072
14073 # Object file extension for compiled C++ test sources.
14074 objext=o
14075 objext_CXX=$objext
14076
14077 # No sense in running all these tests if we already determined that
14078 # the CXX compiler isn't working.  Some variables (like enable_shared)
14079 # are currently assumed to apply to all compilers on this platform,
14080 # and will be corrupted by setting them based on a non-working compiler.
14081 if test yes != "$_lt_caught_CXX_error"; then
14082   # Code to be used in simple compile tests
14083   lt_simple_compile_test_code="int some_variable = 0;"
14084
14085   # Code to be used in simple link tests
14086   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14087
14088   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14089
14090
14091
14092
14093
14094
14095 # If no C compiler was specified, use CC.
14096 LTCC=${LTCC-"$CC"}
14097
14098 # If no C compiler flags were specified, use CFLAGS.
14099 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14100
14101 # Allow CC to be a program name with arguments.
14102 compiler=$CC
14103
14104
14105   # save warnings/boilerplate of simple test code
14106   ac_outfile=conftest.$ac_objext
14107 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14108 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14109 _lt_compiler_boilerplate=`cat conftest.err`
14110 $RM conftest*
14111
14112   ac_outfile=conftest.$ac_objext
14113 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14114 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14115 _lt_linker_boilerplate=`cat conftest.err`
14116 $RM -r conftest*
14117
14118
14119   # Allow CC to be a program name with arguments.
14120   lt_save_CC=$CC
14121   lt_save_CFLAGS=$CFLAGS
14122   lt_save_LD=$LD
14123   lt_save_GCC=$GCC
14124   GCC=$GXX
14125   lt_save_with_gnu_ld=$with_gnu_ld
14126   lt_save_path_LD=$lt_cv_path_LD
14127   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14128     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14129   else
14130     $as_unset lt_cv_prog_gnu_ld
14131   fi
14132   if test -n "${lt_cv_path_LDCXX+set}"; then
14133     lt_cv_path_LD=$lt_cv_path_LDCXX
14134   else
14135     $as_unset lt_cv_path_LD
14136   fi
14137   test -z "${LDCXX+set}" || LD=$LDCXX
14138   CC=${CXX-"c++"}
14139   CFLAGS=$CXXFLAGS
14140   compiler=$CC
14141   compiler_CXX=$CC
14142   func_cc_basename $compiler
14143 cc_basename=$func_cc_basename_result
14144
14145
14146   if test -n "$compiler"; then
14147     # We don't want -fno-exception when compiling C++ code, so set the
14148     # no_builtin_flag separately
14149     if test yes = "$GXX"; then
14150       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14151     else
14152       lt_prog_compiler_no_builtin_flag_CXX=
14153     fi
14154
14155     if test yes = "$GXX"; then
14156       # Set up default GNU C++ configuration
14157
14158
14159
14160 # Check whether --with-gnu-ld was given.
14161 if test "${with_gnu_ld+set}" = set; then :
14162   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14163 else
14164   with_gnu_ld=no
14165 fi
14166
14167 ac_prog=ld
14168 if test yes = "$GCC"; then
14169   # Check if gcc -print-prog-name=ld gives a path.
14170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14171 $as_echo_n "checking for ld used by $CC... " >&6; }
14172   case $host in
14173   *-*-mingw*)
14174     # gcc leaves a trailing carriage return, which upsets mingw
14175     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14176   *)
14177     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14178   esac
14179   case $ac_prog in
14180     # Accept absolute paths.
14181     [\\/]* | ?:[\\/]*)
14182       re_direlt='/[^/][^/]*/\.\./'
14183       # Canonicalize the pathname of ld
14184       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14185       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14186         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14187       done
14188       test -z "$LD" && LD=$ac_prog
14189       ;;
14190   "")
14191     # If it fails, then pretend we aren't using GCC.
14192     ac_prog=ld
14193     ;;
14194   *)
14195     # If it is relative, then search for the first ld in PATH.
14196     with_gnu_ld=unknown
14197     ;;
14198   esac
14199 elif test yes = "$with_gnu_ld"; then
14200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14201 $as_echo_n "checking for GNU ld... " >&6; }
14202 else
14203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14204 $as_echo_n "checking for non-GNU ld... " >&6; }
14205 fi
14206 if ${lt_cv_path_LD+:} false; then :
14207   $as_echo_n "(cached) " >&6
14208 else
14209   if test -z "$LD"; then
14210   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14211   for ac_dir in $PATH; do
14212     IFS=$lt_save_ifs
14213     test -z "$ac_dir" && ac_dir=.
14214     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14215       lt_cv_path_LD=$ac_dir/$ac_prog
14216       # Check to see if the program is GNU ld.  I'd rather use --version,
14217       # but apparently some variants of GNU ld only accept -v.
14218       # Break only if it was the GNU/non-GNU ld that we prefer.
14219       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14220       *GNU* | *'with BFD'*)
14221         test no != "$with_gnu_ld" && break
14222         ;;
14223       *)
14224         test yes != "$with_gnu_ld" && break
14225         ;;
14226       esac
14227     fi
14228   done
14229   IFS=$lt_save_ifs
14230 else
14231   lt_cv_path_LD=$LD # Let the user override the test with a path.
14232 fi
14233 fi
14234
14235 LD=$lt_cv_path_LD
14236 if test -n "$LD"; then
14237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14238 $as_echo "$LD" >&6; }
14239 else
14240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14241 $as_echo "no" >&6; }
14242 fi
14243 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14245 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14246 if ${lt_cv_prog_gnu_ld+:} false; then :
14247   $as_echo_n "(cached) " >&6
14248 else
14249   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14250 case `$LD -v 2>&1 </dev/null` in
14251 *GNU* | *'with BFD'*)
14252   lt_cv_prog_gnu_ld=yes
14253   ;;
14254 *)
14255   lt_cv_prog_gnu_ld=no
14256   ;;
14257 esac
14258 fi
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14260 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14261 with_gnu_ld=$lt_cv_prog_gnu_ld
14262
14263
14264
14265
14266
14267
14268
14269       # Check if GNU C++ uses GNU ld as the underlying linker, since the
14270       # archiving commands below assume that GNU ld is being used.
14271       if test yes = "$with_gnu_ld"; then
14272         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14273         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'
14274
14275         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14276         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14277
14278         # If archive_cmds runs LD, not CC, wlarc should be empty
14279         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14280         #     investigate it a little bit more. (MM)
14281         wlarc='$wl'
14282
14283         # ancient GNU ld didn't support --whole-archive et. al.
14284         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14285           $GREP 'no-whole-archive' > /dev/null; then
14286           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14287         else
14288           whole_archive_flag_spec_CXX=
14289         fi
14290       else
14291         with_gnu_ld=no
14292         wlarc=
14293
14294         # A generic and very simple default shared library creation
14295         # command for GNU C++ for the case where it uses the native
14296         # linker, instead of GNU ld.  If possible, this setting should
14297         # overridden to take advantage of the native linker features on
14298         # the platform it is being used on.
14299         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14300       fi
14301
14302       # Commands to make compiler produce verbose output that lists
14303       # what "hidden" libraries, object files and flags are used when
14304       # linking a shared library.
14305       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14306
14307     else
14308       GXX=no
14309       with_gnu_ld=no
14310       wlarc=
14311     fi
14312
14313     # PORTME: fill in a description of your system's C++ link characteristics
14314     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14315 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14316     ld_shlibs_CXX=yes
14317     case $host_os in
14318       aix3*)
14319         # FIXME: insert proper C++ library support
14320         ld_shlibs_CXX=no
14321         ;;
14322       aix[4-9]*)
14323         if test ia64 = "$host_cpu"; then
14324           # On IA64, the linker does run time linking by default, so we don't
14325           # have to do anything special.
14326           aix_use_runtimelinking=no
14327           exp_sym_flag='-Bexport'
14328           no_entry_flag=
14329         else
14330           aix_use_runtimelinking=no
14331
14332           # Test if we are trying to use run time linking or normal
14333           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14334           # have runtime linking enabled, and use it for executables.
14335           # For shared libraries, we enable/disable runtime linking
14336           # depending on the kind of the shared library created -
14337           # when "with_aix_soname,aix_use_runtimelinking" is:
14338           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14339           # "aix,yes"  lib.so          shared, rtl:yes, for executables
14340           #            lib.a           static archive
14341           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14342           #            lib.a(lib.so.V) shared, rtl:no,  for executables
14343           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14344           #            lib.a(lib.so.V) shared, rtl:no
14345           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14346           #            lib.a           static archive
14347           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14348             for ld_flag in $LDFLAGS; do
14349               case $ld_flag in
14350               *-brtl*)
14351                 aix_use_runtimelinking=yes
14352                 break
14353                 ;;
14354               esac
14355             done
14356             if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14357               # With aix-soname=svr4, we create the lib.so.V shared archives only,
14358               # so we don't have lib.a shared libs to link our executables.
14359               # We have to force runtime linking in this case.
14360               aix_use_runtimelinking=yes
14361               LDFLAGS="$LDFLAGS -Wl,-brtl"
14362             fi
14363             ;;
14364           esac
14365
14366           exp_sym_flag='-bexport'
14367           no_entry_flag='-bnoentry'
14368         fi
14369
14370         # When large executables or shared objects are built, AIX ld can
14371         # have problems creating the table of contents.  If linking a library
14372         # or program results in "error TOC overflow" add -mminimal-toc to
14373         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14374         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14375
14376         archive_cmds_CXX=''
14377         hardcode_direct_CXX=yes
14378         hardcode_direct_absolute_CXX=yes
14379         hardcode_libdir_separator_CXX=':'
14380         link_all_deplibs_CXX=yes
14381         file_list_spec_CXX='$wl-f,'
14382         case $with_aix_soname,$aix_use_runtimelinking in
14383         aix,*) ;;       # no import file
14384         svr4,* | *,yes) # use import file
14385           # The Import File defines what to hardcode.
14386           hardcode_direct_CXX=no
14387           hardcode_direct_absolute_CXX=no
14388           ;;
14389         esac
14390
14391         if test yes = "$GXX"; then
14392           case $host_os in aix4.[012]|aix4.[012].*)
14393           # We only want to do this on AIX 4.2 and lower, the check
14394           # below for broken collect2 doesn't work under 4.3+
14395           collect2name=`$CC -print-prog-name=collect2`
14396           if test -f "$collect2name" &&
14397              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14398           then
14399             # We have reworked collect2
14400             :
14401           else
14402             # We have old collect2
14403             hardcode_direct_CXX=unsupported
14404             # It fails to find uninstalled libraries when the uninstalled
14405             # path is not listed in the libpath.  Setting hardcode_minus_L
14406             # to unsupported forces relinking
14407             hardcode_minus_L_CXX=yes
14408             hardcode_libdir_flag_spec_CXX='-L$libdir'
14409             hardcode_libdir_separator_CXX=
14410           fi
14411           esac
14412           shared_flag='-shared'
14413           if test yes = "$aix_use_runtimelinking"; then
14414             shared_flag=$shared_flag' $wl-G'
14415           fi
14416           # Need to ensure runtime linking is disabled for the traditional
14417           # shared library, or the linker may eventually find shared libraries
14418           # /with/ Import File - we do not want to mix them.
14419           shared_flag_aix='-shared'
14420           shared_flag_svr4='-shared $wl-G'
14421         else
14422           # not using gcc
14423           if test ia64 = "$host_cpu"; then
14424           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14425           # chokes on -Wl,-G. The following line is correct:
14426           shared_flag='-G'
14427           else
14428             if test yes = "$aix_use_runtimelinking"; then
14429               shared_flag='$wl-G'
14430             else
14431               shared_flag='$wl-bM:SRE'
14432             fi
14433             shared_flag_aix='$wl-bM:SRE'
14434             shared_flag_svr4='$wl-G'
14435           fi
14436         fi
14437
14438         export_dynamic_flag_spec_CXX='$wl-bexpall'
14439         # It seems that -bexpall does not export symbols beginning with
14440         # underscore (_), so it is better to generate a list of symbols to
14441         # export.
14442         always_export_symbols_CXX=yes
14443         if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14444           # Warning - without using the other runtime loading flags (-brtl),
14445           # -berok will link without error, but may produce a broken library.
14446           # The "-G" linker flag allows undefined symbols.
14447           no_undefined_flag_CXX='-bernotok'
14448           # Determine the default libpath from the value encoded in an empty
14449           # executable.
14450           if test set = "${lt_cv_aix_libpath+set}"; then
14451   aix_libpath=$lt_cv_aix_libpath
14452 else
14453   if ${lt_cv_aix_libpath__CXX+:} false; then :
14454   $as_echo_n "(cached) " >&6
14455 else
14456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14457 /* end confdefs.h.  */
14458
14459 int
14460 main ()
14461 {
14462
14463   ;
14464   return 0;
14465 }
14466 _ACEOF
14467 if ac_fn_cxx_try_link "$LINENO"; then :
14468
14469   lt_aix_libpath_sed='
14470       /Import File Strings/,/^$/ {
14471           /^0/ {
14472               s/^0  *\([^ ]*\) *$/\1/
14473               p
14474           }
14475       }'
14476   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14477   # Check for a 64-bit object if we didn't find anything.
14478   if test -z "$lt_cv_aix_libpath__CXX"; then
14479     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14480   fi
14481 fi
14482 rm -f core conftest.err conftest.$ac_objext \
14483     conftest$ac_exeext conftest.$ac_ext
14484   if test -z "$lt_cv_aix_libpath__CXX"; then
14485     lt_cv_aix_libpath__CXX=/usr/lib:/lib
14486   fi
14487
14488 fi
14489
14490   aix_libpath=$lt_cv_aix_libpath__CXX
14491 fi
14492
14493           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14494
14495           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
14496         else
14497           if test ia64 = "$host_cpu"; then
14498             hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14499             allow_undefined_flag_CXX="-z nodefs"
14500             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"
14501           else
14502             # Determine the default libpath from the value encoded in an
14503             # empty executable.
14504             if test set = "${lt_cv_aix_libpath+set}"; then
14505   aix_libpath=$lt_cv_aix_libpath
14506 else
14507   if ${lt_cv_aix_libpath__CXX+:} false; then :
14508   $as_echo_n "(cached) " >&6
14509 else
14510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h.  */
14512
14513 int
14514 main ()
14515 {
14516
14517   ;
14518   return 0;
14519 }
14520 _ACEOF
14521 if ac_fn_cxx_try_link "$LINENO"; then :
14522
14523   lt_aix_libpath_sed='
14524       /Import File Strings/,/^$/ {
14525           /^0/ {
14526               s/^0  *\([^ ]*\) *$/\1/
14527               p
14528           }
14529       }'
14530   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14531   # Check for a 64-bit object if we didn't find anything.
14532   if test -z "$lt_cv_aix_libpath__CXX"; then
14533     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14534   fi
14535 fi
14536 rm -f core conftest.err conftest.$ac_objext \
14537     conftest$ac_exeext conftest.$ac_ext
14538   if test -z "$lt_cv_aix_libpath__CXX"; then
14539     lt_cv_aix_libpath__CXX=/usr/lib:/lib
14540   fi
14541
14542 fi
14543
14544   aix_libpath=$lt_cv_aix_libpath__CXX
14545 fi
14546
14547             hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14548             # Warning - without using the other run time loading flags,
14549             # -berok will link without error, but may produce a broken library.
14550             no_undefined_flag_CXX=' $wl-bernotok'
14551             allow_undefined_flag_CXX=' $wl-berok'
14552             if test yes = "$with_gnu_ld"; then
14553               # We only use this code for GNU lds that support --whole-archive.
14554               whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14555             else
14556               # Exported symbols can be pulled into shared objects from archives
14557               whole_archive_flag_spec_CXX='$convenience'
14558             fi
14559             archive_cmds_need_lc_CXX=yes
14560             archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14561             # -brtl affects multiple linker settings, -berok does not and is overridden later
14562             compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14563             if test svr4 != "$with_aix_soname"; then
14564               # This is similar to how AIX traditionally builds its shared
14565               # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14566               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
14567             fi
14568             if test aix != "$with_aix_soname"; then
14569               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
14570             else
14571               # used by -dlpreopen to get the symbols
14572               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14573             fi
14574             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14575           fi
14576         fi
14577         ;;
14578
14579       beos*)
14580         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14581           allow_undefined_flag_CXX=unsupported
14582           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14583           # support --undefined.  This deserves some investigation.  FIXME
14584           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14585         else
14586           ld_shlibs_CXX=no
14587         fi
14588         ;;
14589
14590       chorus*)
14591         case $cc_basename in
14592           *)
14593           # FIXME: insert proper C++ library support
14594           ld_shlibs_CXX=no
14595           ;;
14596         esac
14597         ;;
14598
14599       cygwin* | mingw* | pw32* | cegcc*)
14600         case $GXX,$cc_basename in
14601         ,cl* | no,cl*)
14602           # Native MSVC
14603           # hardcode_libdir_flag_spec is actually meaningless, as there is
14604           # no search path for DLLs.
14605           hardcode_libdir_flag_spec_CXX=' '
14606           allow_undefined_flag_CXX=unsupported
14607           always_export_symbols_CXX=yes
14608           file_list_spec_CXX='@'
14609           # Tell ltmain to make .lib files, not .a files.
14610           libext=lib
14611           # Tell ltmain to make .dll files, not .so files.
14612           shrext_cmds=.dll
14613           # FIXME: Setting linknames here is a bad hack.
14614           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14615           archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14616               cp "$export_symbols" "$output_objdir/$soname.def";
14617               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14618             else
14619               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14620             fi~
14621             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14622             linknames='
14623           # The linker will not automatically build a static lib if we build a DLL.
14624           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14625           enable_shared_with_static_runtimes_CXX=yes
14626           # Don't use ranlib
14627           old_postinstall_cmds_CXX='chmod 644 $oldlib'
14628           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14629             lt_tool_outputfile="@TOOL_OUTPUT@"~
14630             case $lt_outputfile in
14631               *.exe|*.EXE) ;;
14632               *)
14633                 lt_outputfile=$lt_outputfile.exe
14634                 lt_tool_outputfile=$lt_tool_outputfile.exe
14635                 ;;
14636             esac~
14637             func_to_tool_file "$lt_outputfile"~
14638             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14639               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14640               $RM "$lt_outputfile.manifest";
14641             fi'
14642           ;;
14643         *)
14644           # g++
14645           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14646           # as there is no search path for DLLs.
14647           hardcode_libdir_flag_spec_CXX='-L$libdir'
14648           export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14649           allow_undefined_flag_CXX=unsupported
14650           always_export_symbols_CXX=no
14651           enable_shared_with_static_runtimes_CXX=yes
14652
14653           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14654             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'
14655             # If the export-symbols file already is a .def file, use it as
14656             # is; otherwise, prepend EXPORTS...
14657             archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14658               cp $export_symbols $output_objdir/$soname.def;
14659             else
14660               echo EXPORTS > $output_objdir/$soname.def;
14661               cat $export_symbols >> $output_objdir/$soname.def;
14662             fi~
14663             $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'
14664           else
14665             ld_shlibs_CXX=no
14666           fi
14667           ;;
14668         esac
14669         ;;
14670       darwin* | rhapsody*)
14671
14672
14673   archive_cmds_need_lc_CXX=no
14674   hardcode_direct_CXX=no
14675   hardcode_automatic_CXX=yes
14676   hardcode_shlibpath_var_CXX=unsupported
14677   if test yes = "$lt_cv_ld_force_load"; then
14678     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\"`'
14679
14680   else
14681     whole_archive_flag_spec_CXX=''
14682   fi
14683   link_all_deplibs_CXX=yes
14684   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14685   case $cc_basename in
14686      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14687      *) _lt_dar_can_shared=$GCC ;;
14688   esac
14689   if test yes = "$_lt_dar_can_shared"; then
14690     output_verbose_link_cmd=func_echo_all
14691     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"
14692     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14693     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"
14694     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"
14695        if test yes != "$lt_cv_apple_cc_single_mod"; then
14696       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"
14697       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"
14698     fi
14699
14700   else
14701   ld_shlibs_CXX=no
14702   fi
14703
14704         ;;
14705
14706       os2*)
14707         hardcode_libdir_flag_spec_CXX='-L$libdir'
14708         hardcode_minus_L_CXX=yes
14709         allow_undefined_flag_CXX=unsupported
14710         shrext_cmds=.dll
14711         archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14712           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14713           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14714           $ECHO EXPORTS >> $output_objdir/$libname.def~
14715           emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14716           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14717           emximp -o $lib $output_objdir/$libname.def'
14718         archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14719           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14720           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14721           $ECHO EXPORTS >> $output_objdir/$libname.def~
14722           prefix_cmds="$SED"~
14723           if test EXPORTS = "`$SED 1q $export_symbols`"; then
14724             prefix_cmds="$prefix_cmds -e 1d";
14725           fi~
14726           prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14727           cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14728           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14729           emximp -o $lib $output_objdir/$libname.def'
14730         old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14731         enable_shared_with_static_runtimes_CXX=yes
14732         ;;
14733
14734       dgux*)
14735         case $cc_basename in
14736           ec++*)
14737             # FIXME: insert proper C++ library support
14738             ld_shlibs_CXX=no
14739             ;;
14740           ghcx*)
14741             # Green Hills C++ Compiler
14742             # FIXME: insert proper C++ library support
14743             ld_shlibs_CXX=no
14744             ;;
14745           *)
14746             # FIXME: insert proper C++ library support
14747             ld_shlibs_CXX=no
14748             ;;
14749         esac
14750         ;;
14751
14752       freebsd2.*)
14753         # C++ shared libraries reported to be fairly broken before
14754         # switch to ELF
14755         ld_shlibs_CXX=no
14756         ;;
14757
14758       freebsd-elf*)
14759         archive_cmds_need_lc_CXX=no
14760         ;;
14761
14762       freebsd* | dragonfly*)
14763         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14764         # conventions
14765         ld_shlibs_CXX=yes
14766         ;;
14767
14768       haiku*)
14769         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14770         link_all_deplibs_CXX=yes
14771         ;;
14772
14773       hpux9*)
14774         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14775         hardcode_libdir_separator_CXX=:
14776         export_dynamic_flag_spec_CXX='$wl-E'
14777         hardcode_direct_CXX=yes
14778         hardcode_minus_L_CXX=yes # Not in the search PATH,
14779                                              # but as the default
14780                                              # location of the library.
14781
14782         case $cc_basename in
14783           CC*)
14784             # FIXME: insert proper C++ library support
14785             ld_shlibs_CXX=no
14786             ;;
14787           aCC*)
14788             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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14789             # Commands to make compiler produce verbose output that lists
14790             # what "hidden" libraries, object files and flags are used when
14791             # linking a shared library.
14792             #
14793             # There doesn't appear to be a way to prevent this compiler from
14794             # explicitly linking system object files so we need to strip them
14795             # from the output so that they don't get included in the library
14796             # dependencies.
14797             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"'
14798             ;;
14799           *)
14800             if test yes = "$GXX"; then
14801               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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14802             else
14803               # FIXME: insert proper C++ library support
14804               ld_shlibs_CXX=no
14805             fi
14806             ;;
14807         esac
14808         ;;
14809
14810       hpux10*|hpux11*)
14811         if test no = "$with_gnu_ld"; then
14812           hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14813           hardcode_libdir_separator_CXX=:
14814
14815           case $host_cpu in
14816             hppa*64*|ia64*)
14817               ;;
14818             *)
14819               export_dynamic_flag_spec_CXX='$wl-E'
14820               ;;
14821           esac
14822         fi
14823         case $host_cpu in
14824           hppa*64*|ia64*)
14825             hardcode_direct_CXX=no
14826             hardcode_shlibpath_var_CXX=no
14827             ;;
14828           *)
14829             hardcode_direct_CXX=yes
14830             hardcode_direct_absolute_CXX=yes
14831             hardcode_minus_L_CXX=yes # Not in the search PATH,
14832                                                  # but as the default
14833                                                  # location of the library.
14834             ;;
14835         esac
14836
14837         case $cc_basename in
14838           CC*)
14839             # FIXME: insert proper C++ library support
14840             ld_shlibs_CXX=no
14841             ;;
14842           aCC*)
14843             case $host_cpu in
14844               hppa*64*)
14845                 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14846                 ;;
14847               ia64*)
14848                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14849                 ;;
14850               *)
14851                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14852                 ;;
14853             esac
14854             # Commands to make compiler produce verbose output that lists
14855             # what "hidden" libraries, object files and flags are used when
14856             # linking a shared library.
14857             #
14858             # There doesn't appear to be a way to prevent this compiler from
14859             # explicitly linking system object files so we need to strip them
14860             # from the output so that they don't get included in the library
14861             # dependencies.
14862             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"'
14863             ;;
14864           *)
14865             if test yes = "$GXX"; then
14866               if test no = "$with_gnu_ld"; then
14867                 case $host_cpu in
14868                   hppa*64*)
14869                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14870                     ;;
14871                   ia64*)
14872                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14873                     ;;
14874                   *)
14875                     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'
14876                     ;;
14877                 esac
14878               fi
14879             else
14880               # FIXME: insert proper C++ library support
14881               ld_shlibs_CXX=no
14882             fi
14883             ;;
14884         esac
14885         ;;
14886
14887       interix[3-9]*)
14888         hardcode_direct_CXX=no
14889         hardcode_shlibpath_var_CXX=no
14890         hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14891         export_dynamic_flag_spec_CXX='$wl-E'
14892         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14893         # Instead, shared libraries are loaded at an image base (0x10000000 by
14894         # default) and relocated if they conflict, which is a slow very memory
14895         # consuming and fragmenting process.  To avoid this, we pick a random,
14896         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14897         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14898         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'
14899         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'
14900         ;;
14901       irix5* | irix6*)
14902         case $cc_basename in
14903           CC*)
14904             # SGI C++
14905             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'
14906
14907             # Archives containing C++ object files must be created using
14908             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14909             # necessary to make sure instantiated templates are included
14910             # in the archive.
14911             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14912             ;;
14913           *)
14914             if test yes = "$GXX"; then
14915               if test no = "$with_gnu_ld"; then
14916                 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'
14917               else
14918                 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'
14919               fi
14920             fi
14921             link_all_deplibs_CXX=yes
14922             ;;
14923         esac
14924         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14925         hardcode_libdir_separator_CXX=:
14926         inherit_rpath_CXX=yes
14927         ;;
14928
14929       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14930         case $cc_basename in
14931           KCC*)
14932             # Kuck and Associates, Inc. (KAI) C++ Compiler
14933
14934             # KCC will only create a shared library if the output file
14935             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14936             # to its proper name (with version) after linking.
14937             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'
14938             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'
14939             # Commands to make compiler produce verbose output that lists
14940             # what "hidden" libraries, object files and flags are used when
14941             # linking a shared library.
14942             #
14943             # There doesn't appear to be a way to prevent this compiler from
14944             # explicitly linking system object files so we need to strip them
14945             # from the output so that they don't get included in the library
14946             # dependencies.
14947             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"'
14948
14949             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14950             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14951
14952             # Archives containing C++ object files must be created using
14953             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14954             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14955             ;;
14956           icpc* | ecpc* )
14957             # Intel C++
14958             with_gnu_ld=yes
14959             # version 8.0 and above of icpc choke on multiply defined symbols
14960             # if we add $predep_objects and $postdep_objects, however 7.1 and
14961             # earlier do not add the objects themselves.
14962             case `$CC -V 2>&1` in
14963               *"Version 7."*)
14964                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14965                 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'
14966                 ;;
14967               *)  # Version 8.0 or newer
14968                 tmp_idyn=
14969                 case $host_cpu in
14970                   ia64*) tmp_idyn=' -i_dynamic';;
14971                 esac
14972                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14973                 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'
14974                 ;;
14975             esac
14976             archive_cmds_need_lc_CXX=no
14977             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14978             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14979             whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14980             ;;
14981           pgCC* | pgcpp*)
14982             # Portland Group C++ compiler
14983             case `$CC -V` in
14984             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14985               prelink_cmds_CXX='tpldir=Template.dir~
14986                rm -rf $tpldir~
14987                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14988                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14989               old_archive_cmds_CXX='tpldir=Template.dir~
14990                 rm -rf $tpldir~
14991                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14992                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14993                 $RANLIB $oldlib'
14994               archive_cmds_CXX='tpldir=Template.dir~
14995                 rm -rf $tpldir~
14996                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14997                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14998               archive_expsym_cmds_CXX='tpldir=Template.dir~
14999                 rm -rf $tpldir~
15000                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15001                 $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'
15002               ;;
15003             *) # Version 6 and above use weak symbols
15004               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15005               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'
15006               ;;
15007             esac
15008
15009             hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15010             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15011             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'
15012             ;;
15013           cxx*)
15014             # Compaq C++
15015             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15016             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'
15017
15018             runpath_var=LD_RUN_PATH
15019             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15020             hardcode_libdir_separator_CXX=:
15021
15022             # Commands to make compiler produce verbose output that lists
15023             # what "hidden" libraries, object files and flags are used when
15024             # linking a shared library.
15025             #
15026             # There doesn't appear to be a way to prevent this compiler from
15027             # explicitly linking system object files so we need to strip them
15028             # from the output so that they don't get included in the library
15029             # dependencies.
15030             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'
15031             ;;
15032           xl* | mpixl* | bgxl*)
15033             # IBM XL 8.0 on PPC, with GNU ld
15034             hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15035             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15036             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15037             if test yes = "$supports_anon_versioning"; then
15038               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15039                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15040                 echo "local: *; };" >> $output_objdir/$libname.ver~
15041                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15042             fi
15043             ;;
15044           *)
15045             case `$CC -V 2>&1 | sed 5q` in
15046             *Sun\ C*)
15047               # Sun C++ 5.9
15048               no_undefined_flag_CXX=' -zdefs'
15049               archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15050               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'
15051               hardcode_libdir_flag_spec_CXX='-R$libdir'
15052               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'
15053               compiler_needs_object_CXX=yes
15054
15055               # Not sure whether something based on
15056               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15057               # would be better.
15058               output_verbose_link_cmd='func_echo_all'
15059
15060               # Archives containing C++ object files must be created using
15061               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15062               # necessary to make sure instantiated templates are included
15063               # in the archive.
15064               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15065               ;;
15066             esac
15067             ;;
15068         esac
15069         ;;
15070
15071       lynxos*)
15072         # FIXME: insert proper C++ library support
15073         ld_shlibs_CXX=no
15074         ;;
15075
15076       m88k*)
15077         # FIXME: insert proper C++ library support
15078         ld_shlibs_CXX=no
15079         ;;
15080
15081       mvs*)
15082         case $cc_basename in
15083           cxx*)
15084             # FIXME: insert proper C++ library support
15085             ld_shlibs_CXX=no
15086             ;;
15087           *)
15088             # FIXME: insert proper C++ library support
15089             ld_shlibs_CXX=no
15090             ;;
15091         esac
15092         ;;
15093
15094       netbsd*)
15095         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15096           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15097           wlarc=
15098           hardcode_libdir_flag_spec_CXX='-R$libdir'
15099           hardcode_direct_CXX=yes
15100           hardcode_shlibpath_var_CXX=no
15101         fi
15102         # Workaround some broken pre-1.5 toolchains
15103         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15104         ;;
15105
15106       *nto* | *qnx*)
15107         ld_shlibs_CXX=yes
15108         ;;
15109
15110       openbsd* | bitrig*)
15111         if test -f /usr/libexec/ld.so; then
15112           hardcode_direct_CXX=yes
15113           hardcode_shlibpath_var_CXX=no
15114           hardcode_direct_absolute_CXX=yes
15115           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15116           hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15117           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15118             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15119             export_dynamic_flag_spec_CXX='$wl-E'
15120             whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15121           fi
15122           output_verbose_link_cmd=func_echo_all
15123         else
15124           ld_shlibs_CXX=no
15125         fi
15126         ;;
15127
15128       osf3* | osf4* | osf5*)
15129         case $cc_basename in
15130           KCC*)
15131             # Kuck and Associates, Inc. (KAI) C++ Compiler
15132
15133             # KCC will only create a shared library if the output file
15134             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15135             # to its proper name (with version) after linking.
15136             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'
15137
15138             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15139             hardcode_libdir_separator_CXX=:
15140
15141             # Archives containing C++ object files must be created using
15142             # the KAI C++ compiler.
15143             case $host in
15144               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15145               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15146             esac
15147             ;;
15148           RCC*)
15149             # Rational C++ 2.4.1
15150             # FIXME: insert proper C++ library support
15151             ld_shlibs_CXX=no
15152             ;;
15153           cxx*)
15154             case $host in
15155               osf3*)
15156                 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15157                 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'
15158                 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15159                 ;;
15160               *)
15161                 allow_undefined_flag_CXX=' -expect_unresolved \*'
15162                 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'
15163                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15164                   echo "-hidden">> $lib.exp~
15165                   $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~
15166                   $RM $lib.exp'
15167                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15168                 ;;
15169             esac
15170
15171             hardcode_libdir_separator_CXX=:
15172
15173             # Commands to make compiler produce verbose output that lists
15174             # what "hidden" libraries, object files and flags are used when
15175             # linking a shared library.
15176             #
15177             # There doesn't appear to be a way to prevent this compiler from
15178             # explicitly linking system object files so we need to strip them
15179             # from the output so that they don't get included in the library
15180             # dependencies.
15181             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"'
15182             ;;
15183           *)
15184             if test yes,no = "$GXX,$with_gnu_ld"; then
15185               allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15186               case $host in
15187                 osf3*)
15188                   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'
15189                   ;;
15190                 *)
15191                   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'
15192                   ;;
15193               esac
15194
15195               hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15196               hardcode_libdir_separator_CXX=:
15197
15198               # Commands to make compiler produce verbose output that lists
15199               # what "hidden" libraries, object files and flags are used when
15200               # linking a shared library.
15201               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15202
15203             else
15204               # FIXME: insert proper C++ library support
15205               ld_shlibs_CXX=no
15206             fi
15207             ;;
15208         esac
15209         ;;
15210
15211       psos*)
15212         # FIXME: insert proper C++ library support
15213         ld_shlibs_CXX=no
15214         ;;
15215
15216       sunos4*)
15217         case $cc_basename in
15218           CC*)
15219             # Sun C++ 4.x
15220             # FIXME: insert proper C++ library support
15221             ld_shlibs_CXX=no
15222             ;;
15223           lcc*)
15224             # Lucid
15225             # FIXME: insert proper C++ library support
15226             ld_shlibs_CXX=no
15227             ;;
15228           *)
15229             # FIXME: insert proper C++ library support
15230             ld_shlibs_CXX=no
15231             ;;
15232         esac
15233         ;;
15234
15235       solaris*)
15236         case $cc_basename in
15237           CC* | sunCC*)
15238             # Sun C++ 4.2, 5.x and Centerline C++
15239             archive_cmds_need_lc_CXX=yes
15240             no_undefined_flag_CXX=' -zdefs'
15241             archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15242             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15243               $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'
15244
15245             hardcode_libdir_flag_spec_CXX='-R$libdir'
15246             hardcode_shlibpath_var_CXX=no
15247             case $host_os in
15248               solaris2.[0-5] | solaris2.[0-5].*) ;;
15249               *)
15250                 # The compiler driver will combine and reorder linker options,
15251                 # but understands '-z linker_flag'.
15252                 # Supported since Solaris 2.6 (maybe 2.5.1?)
15253                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15254                 ;;
15255             esac
15256             link_all_deplibs_CXX=yes
15257
15258             output_verbose_link_cmd='func_echo_all'
15259
15260             # Archives containing C++ object files must be created using
15261             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15262             # necessary to make sure instantiated templates are included
15263             # in the archive.
15264             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15265             ;;
15266           gcx*)
15267             # Green Hills C++ Compiler
15268             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15269
15270             # The C++ compiler must be used to create the archive.
15271             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15272             ;;
15273           *)
15274             # GNU C++ compiler with Solaris linker
15275             if test yes,no = "$GXX,$with_gnu_ld"; then
15276               no_undefined_flag_CXX=' $wl-z ${wl}defs'
15277               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15278                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15279                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15280                   $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15281
15282                 # Commands to make compiler produce verbose output that lists
15283                 # what "hidden" libraries, object files and flags are used when
15284                 # linking a shared library.
15285                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15286               else
15287                 # g++ 2.7 appears to require '-G' NOT '-shared' on this
15288                 # platform.
15289                 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15290                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15291                   $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15292
15293                 # Commands to make compiler produce verbose output that lists
15294                 # what "hidden" libraries, object files and flags are used when
15295                 # linking a shared library.
15296                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15297               fi
15298
15299               hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15300               case $host_os in
15301                 solaris2.[0-5] | solaris2.[0-5].*) ;;
15302                 *)
15303                   whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15304                   ;;
15305               esac
15306             fi
15307             ;;
15308         esac
15309         ;;
15310
15311     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15312       no_undefined_flag_CXX='$wl-z,text'
15313       archive_cmds_need_lc_CXX=no
15314       hardcode_shlibpath_var_CXX=no
15315       runpath_var='LD_RUN_PATH'
15316
15317       case $cc_basename in
15318         CC*)
15319           archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15320           archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15321           ;;
15322         *)
15323           archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15324           archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15325           ;;
15326       esac
15327       ;;
15328
15329       sysv5* | sco3.2v5* | sco5v6*)
15330         # Note: We CANNOT use -z defs as we might desire, because we do not
15331         # link with -lc, and that would cause any symbols used from libc to
15332         # always be unresolved, which means just about no library would
15333         # ever link correctly.  If we're not using GNU ld we use -z text
15334         # though, which does catch some bad symbols but isn't as heavy-handed
15335         # as -z defs.
15336         no_undefined_flag_CXX='$wl-z,text'
15337         allow_undefined_flag_CXX='$wl-z,nodefs'
15338         archive_cmds_need_lc_CXX=no
15339         hardcode_shlibpath_var_CXX=no
15340         hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15341         hardcode_libdir_separator_CXX=':'
15342         link_all_deplibs_CXX=yes
15343         export_dynamic_flag_spec_CXX='$wl-Bexport'
15344         runpath_var='LD_RUN_PATH'
15345
15346         case $cc_basename in
15347           CC*)
15348             archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15349             archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15350             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15351               '"$old_archive_cmds_CXX"
15352             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15353               '"$reload_cmds_CXX"
15354             ;;
15355           *)
15356             archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15357             archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15358             ;;
15359         esac
15360       ;;
15361
15362       tandem*)
15363         case $cc_basename in
15364           NCC*)
15365             # NonStop-UX NCC 3.20
15366             # FIXME: insert proper C++ library support
15367             ld_shlibs_CXX=no
15368             ;;
15369           *)
15370             # FIXME: insert proper C++ library support
15371             ld_shlibs_CXX=no
15372             ;;
15373         esac
15374         ;;
15375
15376       vxworks*)
15377         # FIXME: insert proper C++ library support
15378         ld_shlibs_CXX=no
15379         ;;
15380
15381       *)
15382         # FIXME: insert proper C++ library support
15383         ld_shlibs_CXX=no
15384         ;;
15385     esac
15386
15387     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15388 $as_echo "$ld_shlibs_CXX" >&6; }
15389     test no = "$ld_shlibs_CXX" && can_build_shared=no
15390
15391     GCC_CXX=$GXX
15392     LD_CXX=$LD
15393
15394     ## CAVEAT EMPTOR:
15395     ## There is no encapsulation within the following macros, do not change
15396     ## the running order or otherwise move them around unless you know exactly
15397     ## what you are doing...
15398     # Dependencies to place before and after the object being linked:
15399 predep_objects_CXX=
15400 postdep_objects_CXX=
15401 predeps_CXX=
15402 postdeps_CXX=
15403 compiler_lib_search_path_CXX=
15404
15405 cat > conftest.$ac_ext <<_LT_EOF
15406 class Foo
15407 {
15408 public:
15409   Foo (void) { a = 0; }
15410 private:
15411   int a;
15412 };
15413 _LT_EOF
15414
15415
15416 _lt_libdeps_save_CFLAGS=$CFLAGS
15417 case "$CC $CFLAGS " in #(
15418 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15419 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15420 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15421 esac
15422
15423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15424   (eval $ac_compile) 2>&5
15425   ac_status=$?
15426   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15427   test $ac_status = 0; }; then
15428   # Parse the compiler output and extract the necessary
15429   # objects, libraries and library flags.
15430
15431   # Sentinel used to keep track of whether or not we are before
15432   # the conftest object file.
15433   pre_test_object_deps_done=no
15434
15435   for p in `eval "$output_verbose_link_cmd"`; do
15436     case $prev$p in
15437
15438     -L* | -R* | -l*)
15439        # Some compilers place space between "-{L,R}" and the path.
15440        # Remove the space.
15441        if test x-L = "$p" ||
15442           test x-R = "$p"; then
15443          prev=$p
15444          continue
15445        fi
15446
15447        # Expand the sysroot to ease extracting the directories later.
15448        if test -z "$prev"; then
15449          case $p in
15450          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15451          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15452          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15453          esac
15454        fi
15455        case $p in
15456        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15457        esac
15458        if test no = "$pre_test_object_deps_done"; then
15459          case $prev in
15460          -L | -R)
15461            # Internal compiler library paths should come after those
15462            # provided the user.  The postdeps already come after the
15463            # user supplied libs so there is no need to process them.
15464            if test -z "$compiler_lib_search_path_CXX"; then
15465              compiler_lib_search_path_CXX=$prev$p
15466            else
15467              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15468            fi
15469            ;;
15470          # The "-l" case would never come before the object being
15471          # linked, so don't bother handling this case.
15472          esac
15473        else
15474          if test -z "$postdeps_CXX"; then
15475            postdeps_CXX=$prev$p
15476          else
15477            postdeps_CXX="${postdeps_CXX} $prev$p"
15478          fi
15479        fi
15480        prev=
15481        ;;
15482
15483     *.lto.$objext) ;; # Ignore GCC LTO objects
15484     *.$objext)
15485        # This assumes that the test object file only shows up
15486        # once in the compiler output.
15487        if test "$p" = "conftest.$objext"; then
15488          pre_test_object_deps_done=yes
15489          continue
15490        fi
15491
15492        if test no = "$pre_test_object_deps_done"; then
15493          if test -z "$predep_objects_CXX"; then
15494            predep_objects_CXX=$p
15495          else
15496            predep_objects_CXX="$predep_objects_CXX $p"
15497          fi
15498        else
15499          if test -z "$postdep_objects_CXX"; then
15500            postdep_objects_CXX=$p
15501          else
15502            postdep_objects_CXX="$postdep_objects_CXX $p"
15503          fi
15504        fi
15505        ;;
15506
15507     *) ;; # Ignore the rest.
15508
15509     esac
15510   done
15511
15512   # Clean up.
15513   rm -f a.out a.exe
15514 else
15515   echo "libtool.m4: error: problem compiling CXX test program"
15516 fi
15517
15518 $RM -f confest.$objext
15519 CFLAGS=$_lt_libdeps_save_CFLAGS
15520
15521 # PORTME: override above test on systems where it is broken
15522 case $host_os in
15523 interix[3-9]*)
15524   # Interix 3.5 installs completely hosed .la files for C++, so rather than
15525   # hack all around it, let's just trust "g++" to DTRT.
15526   predep_objects_CXX=
15527   postdep_objects_CXX=
15528   postdeps_CXX=
15529   ;;
15530 esac
15531
15532
15533 case " $postdeps_CXX " in
15534 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15535 esac
15536  compiler_lib_search_dirs_CXX=
15537 if test -n "${compiler_lib_search_path_CXX}"; then
15538  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15539 fi
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571     lt_prog_compiler_wl_CXX=
15572 lt_prog_compiler_pic_CXX=
15573 lt_prog_compiler_static_CXX=
15574
15575
15576   # C++ specific cases for pic, static, wl, etc.
15577   if test yes = "$GXX"; then
15578     lt_prog_compiler_wl_CXX='-Wl,'
15579     lt_prog_compiler_static_CXX='-static'
15580
15581     case $host_os in
15582     aix*)
15583       # All AIX code is PIC.
15584       if test ia64 = "$host_cpu"; then
15585         # AIX 5 now supports IA64 processor
15586         lt_prog_compiler_static_CXX='-Bstatic'
15587       fi
15588       lt_prog_compiler_pic_CXX='-fPIC'
15589       ;;
15590
15591     amigaos*)
15592       case $host_cpu in
15593       powerpc)
15594             # see comment about AmigaOS4 .so support
15595             lt_prog_compiler_pic_CXX='-fPIC'
15596         ;;
15597       m68k)
15598             # FIXME: we need at least 68020 code to build shared libraries, but
15599             # adding the '-m68020' flag to GCC prevents building anything better,
15600             # like '-m68040'.
15601             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15602         ;;
15603       esac
15604       ;;
15605
15606     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15607       # PIC is the default for these OSes.
15608       ;;
15609     mingw* | cygwin* | os2* | pw32* | cegcc*)
15610       # This hack is so that the source file can tell whether it is being
15611       # built for inclusion in a dll (and should export symbols for example).
15612       # Although the cygwin gcc ignores -fPIC, still need this for old-style
15613       # (--disable-auto-import) libraries
15614       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15615       case $host_os in
15616       os2*)
15617         lt_prog_compiler_static_CXX='$wl-static'
15618         ;;
15619       esac
15620       ;;
15621     darwin* | rhapsody*)
15622       # PIC is the default on this platform
15623       # Common symbols not allowed in MH_DYLIB files
15624       lt_prog_compiler_pic_CXX='-fno-common'
15625       ;;
15626     *djgpp*)
15627       # DJGPP does not support shared libraries at all
15628       lt_prog_compiler_pic_CXX=
15629       ;;
15630     haiku*)
15631       # PIC is the default for Haiku.
15632       # The "-static" flag exists, but is broken.
15633       lt_prog_compiler_static_CXX=
15634       ;;
15635     interix[3-9]*)
15636       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15637       # Instead, we relocate shared libraries at runtime.
15638       ;;
15639     sysv4*MP*)
15640       if test -d /usr/nec; then
15641         lt_prog_compiler_pic_CXX=-Kconform_pic
15642       fi
15643       ;;
15644     hpux*)
15645       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15646       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15647       # sets the default TLS model and affects inlining.
15648       case $host_cpu in
15649       hppa*64*)
15650         ;;
15651       *)
15652         lt_prog_compiler_pic_CXX='-fPIC'
15653         ;;
15654       esac
15655       ;;
15656     *qnx* | *nto*)
15657       # QNX uses GNU C++, but need to define -shared option too, otherwise
15658       # it will coredump.
15659       lt_prog_compiler_pic_CXX='-fPIC -shared'
15660       ;;
15661     *)
15662       lt_prog_compiler_pic_CXX='-fPIC'
15663       ;;
15664     esac
15665   else
15666     case $host_os in
15667       aix[4-9]*)
15668         # All AIX code is PIC.
15669         if test ia64 = "$host_cpu"; then
15670           # AIX 5 now supports IA64 processor
15671           lt_prog_compiler_static_CXX='-Bstatic'
15672         else
15673           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15674         fi
15675         ;;
15676       chorus*)
15677         case $cc_basename in
15678         cxch68*)
15679           # Green Hills C++ Compiler
15680           # _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"
15681           ;;
15682         esac
15683         ;;
15684       mingw* | cygwin* | os2* | pw32* | cegcc*)
15685         # This hack is so that the source file can tell whether it is being
15686         # built for inclusion in a dll (and should export symbols for example).
15687         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15688         ;;
15689       dgux*)
15690         case $cc_basename in
15691           ec++*)
15692             lt_prog_compiler_pic_CXX='-KPIC'
15693             ;;
15694           ghcx*)
15695             # Green Hills C++ Compiler
15696             lt_prog_compiler_pic_CXX='-pic'
15697             ;;
15698           *)
15699             ;;
15700         esac
15701         ;;
15702       freebsd* | dragonfly*)
15703         # FreeBSD uses GNU C++
15704         ;;
15705       hpux9* | hpux10* | hpux11*)
15706         case $cc_basename in
15707           CC*)
15708             lt_prog_compiler_wl_CXX='-Wl,'
15709             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15710             if test ia64 != "$host_cpu"; then
15711               lt_prog_compiler_pic_CXX='+Z'
15712             fi
15713             ;;
15714           aCC*)
15715             lt_prog_compiler_wl_CXX='-Wl,'
15716             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15717             case $host_cpu in
15718             hppa*64*|ia64*)
15719               # +Z the default
15720               ;;
15721             *)
15722               lt_prog_compiler_pic_CXX='+Z'
15723               ;;
15724             esac
15725             ;;
15726           *)
15727             ;;
15728         esac
15729         ;;
15730       interix*)
15731         # This is c89, which is MS Visual C++ (no shared libs)
15732         # Anyone wants to do a port?
15733         ;;
15734       irix5* | irix6* | nonstopux*)
15735         case $cc_basename in
15736           CC*)
15737             lt_prog_compiler_wl_CXX='-Wl,'
15738             lt_prog_compiler_static_CXX='-non_shared'
15739             # CC pic flag -KPIC is the default.
15740             ;;
15741           *)
15742             ;;
15743         esac
15744         ;;
15745       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15746         case $cc_basename in
15747           KCC*)
15748             # KAI C++ Compiler
15749             lt_prog_compiler_wl_CXX='--backend -Wl,'
15750             lt_prog_compiler_pic_CXX='-fPIC'
15751             ;;
15752           ecpc* )
15753             # old Intel C++ for x86_64, which still supported -KPIC.
15754             lt_prog_compiler_wl_CXX='-Wl,'
15755             lt_prog_compiler_pic_CXX='-KPIC'
15756             lt_prog_compiler_static_CXX='-static'
15757             ;;
15758           icpc* )
15759             # Intel C++, used to be incompatible with GCC.
15760             # ICC 10 doesn't accept -KPIC any more.
15761             lt_prog_compiler_wl_CXX='-Wl,'
15762             lt_prog_compiler_pic_CXX='-fPIC'
15763             lt_prog_compiler_static_CXX='-static'
15764             ;;
15765           pgCC* | pgcpp*)
15766             # Portland Group C++ compiler
15767             lt_prog_compiler_wl_CXX='-Wl,'
15768             lt_prog_compiler_pic_CXX='-fpic'
15769             lt_prog_compiler_static_CXX='-Bstatic'
15770             ;;
15771           cxx*)
15772             # Compaq C++
15773             # Make sure the PIC flag is empty.  It appears that all Alpha
15774             # Linux and Compaq Tru64 Unix objects are PIC.
15775             lt_prog_compiler_pic_CXX=
15776             lt_prog_compiler_static_CXX='-non_shared'
15777             ;;
15778           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15779             # IBM XL 8.0, 9.0 on PPC and BlueGene
15780             lt_prog_compiler_wl_CXX='-Wl,'
15781             lt_prog_compiler_pic_CXX='-qpic'
15782             lt_prog_compiler_static_CXX='-qstaticlink'
15783             ;;
15784           *)
15785             case `$CC -V 2>&1 | sed 5q` in
15786             *Sun\ C*)
15787               # Sun C++ 5.9
15788               lt_prog_compiler_pic_CXX='-KPIC'
15789               lt_prog_compiler_static_CXX='-Bstatic'
15790               lt_prog_compiler_wl_CXX='-Qoption ld '
15791               ;;
15792             esac
15793             ;;
15794         esac
15795         ;;
15796       lynxos*)
15797         ;;
15798       m88k*)
15799         ;;
15800       mvs*)
15801         case $cc_basename in
15802           cxx*)
15803             lt_prog_compiler_pic_CXX='-W c,exportall'
15804             ;;
15805           *)
15806             ;;
15807         esac
15808         ;;
15809       netbsd* | netbsdelf*-gnu)
15810         ;;
15811       *qnx* | *nto*)
15812         # QNX uses GNU C++, but need to define -shared option too, otherwise
15813         # it will coredump.
15814         lt_prog_compiler_pic_CXX='-fPIC -shared'
15815         ;;
15816       osf3* | osf4* | osf5*)
15817         case $cc_basename in
15818           KCC*)
15819             lt_prog_compiler_wl_CXX='--backend -Wl,'
15820             ;;
15821           RCC*)
15822             # Rational C++ 2.4.1
15823             lt_prog_compiler_pic_CXX='-pic'
15824             ;;
15825           cxx*)
15826             # Digital/Compaq C++
15827             lt_prog_compiler_wl_CXX='-Wl,'
15828             # Make sure the PIC flag is empty.  It appears that all Alpha
15829             # Linux and Compaq Tru64 Unix objects are PIC.
15830             lt_prog_compiler_pic_CXX=
15831             lt_prog_compiler_static_CXX='-non_shared'
15832             ;;
15833           *)
15834             ;;
15835         esac
15836         ;;
15837       psos*)
15838         ;;
15839       solaris*)
15840         case $cc_basename in
15841           CC* | sunCC*)
15842             # Sun C++ 4.2, 5.x and Centerline C++
15843             lt_prog_compiler_pic_CXX='-KPIC'
15844             lt_prog_compiler_static_CXX='-Bstatic'
15845             lt_prog_compiler_wl_CXX='-Qoption ld '
15846             ;;
15847           gcx*)
15848             # Green Hills C++ Compiler
15849             lt_prog_compiler_pic_CXX='-PIC'
15850             ;;
15851           *)
15852             ;;
15853         esac
15854         ;;
15855       sunos4*)
15856         case $cc_basename in
15857           CC*)
15858             # Sun C++ 4.x
15859             lt_prog_compiler_pic_CXX='-pic'
15860             lt_prog_compiler_static_CXX='-Bstatic'
15861             ;;
15862           lcc*)
15863             # Lucid
15864             lt_prog_compiler_pic_CXX='-pic'
15865             ;;
15866           *)
15867             ;;
15868         esac
15869         ;;
15870       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15871         case $cc_basename in
15872           CC*)
15873             lt_prog_compiler_wl_CXX='-Wl,'
15874             lt_prog_compiler_pic_CXX='-KPIC'
15875             lt_prog_compiler_static_CXX='-Bstatic'
15876             ;;
15877         esac
15878         ;;
15879       tandem*)
15880         case $cc_basename in
15881           NCC*)
15882             # NonStop-UX NCC 3.20
15883             lt_prog_compiler_pic_CXX='-KPIC'
15884             ;;
15885           *)
15886             ;;
15887         esac
15888         ;;
15889       vxworks*)
15890         ;;
15891       *)
15892         lt_prog_compiler_can_build_shared_CXX=no
15893         ;;
15894     esac
15895   fi
15896
15897 case $host_os in
15898   # For platforms that do not support PIC, -DPIC is meaningless:
15899   *djgpp*)
15900     lt_prog_compiler_pic_CXX=
15901     ;;
15902   *)
15903     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15904     ;;
15905 esac
15906
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15908 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15909 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15910   $as_echo_n "(cached) " >&6
15911 else
15912   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15913 fi
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15915 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15916 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15917
15918 #
15919 # Check to make sure the PIC flag actually works.
15920 #
15921 if test -n "$lt_prog_compiler_pic_CXX"; then
15922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15923 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15924 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15925   $as_echo_n "(cached) " >&6
15926 else
15927   lt_cv_prog_compiler_pic_works_CXX=no
15928    ac_outfile=conftest.$ac_objext
15929    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15930    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15931    # Insert the option either (1) after the last *FLAGS variable, or
15932    # (2) before a word containing "conftest.", or (3) at the end.
15933    # Note that $ac_compile itself does not contain backslashes and begins
15934    # with a dollar sign (not a hyphen), so the echo should work correctly.
15935    # The option is referenced via a variable to avoid confusing sed.
15936    lt_compile=`echo "$ac_compile" | $SED \
15937    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15938    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15939    -e 's:$: $lt_compiler_flag:'`
15940    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15941    (eval "$lt_compile" 2>conftest.err)
15942    ac_status=$?
15943    cat conftest.err >&5
15944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945    if (exit $ac_status) && test -s "$ac_outfile"; then
15946      # The compiler can only warn and ignore the option if not recognized
15947      # So say no if there are warnings other than the usual output.
15948      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15949      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15950      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15951        lt_cv_prog_compiler_pic_works_CXX=yes
15952      fi
15953    fi
15954    $RM conftest*
15955
15956 fi
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15958 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15959
15960 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15961     case $lt_prog_compiler_pic_CXX in
15962      "" | " "*) ;;
15963      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15964      esac
15965 else
15966     lt_prog_compiler_pic_CXX=
15967      lt_prog_compiler_can_build_shared_CXX=no
15968 fi
15969
15970 fi
15971
15972
15973
15974
15975
15976 #
15977 # Check to make sure the static flag actually works.
15978 #
15979 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15981 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15982 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15983   $as_echo_n "(cached) " >&6
15984 else
15985   lt_cv_prog_compiler_static_works_CXX=no
15986    save_LDFLAGS=$LDFLAGS
15987    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15988    echo "$lt_simple_link_test_code" > conftest.$ac_ext
15989    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15990      # The linker can only warn and ignore the option if not recognized
15991      # So say no if there are warnings
15992      if test -s conftest.err; then
15993        # Append any errors to the config.log.
15994        cat conftest.err 1>&5
15995        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15996        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15997        if diff conftest.exp conftest.er2 >/dev/null; then
15998          lt_cv_prog_compiler_static_works_CXX=yes
15999        fi
16000      else
16001        lt_cv_prog_compiler_static_works_CXX=yes
16002      fi
16003    fi
16004    $RM -r conftest*
16005    LDFLAGS=$save_LDFLAGS
16006
16007 fi
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16009 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16010
16011 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16012     :
16013 else
16014     lt_prog_compiler_static_CXX=
16015 fi
16016
16017
16018
16019
16020     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16022 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16023   $as_echo_n "(cached) " >&6
16024 else
16025   lt_cv_prog_compiler_c_o_CXX=no
16026    $RM -r conftest 2>/dev/null
16027    mkdir conftest
16028    cd conftest
16029    mkdir out
16030    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16031
16032    lt_compiler_flag="-o out/conftest2.$ac_objext"
16033    # Insert the option either (1) after the last *FLAGS variable, or
16034    # (2) before a word containing "conftest.", or (3) at the end.
16035    # Note that $ac_compile itself does not contain backslashes and begins
16036    # with a dollar sign (not a hyphen), so the echo should work correctly.
16037    lt_compile=`echo "$ac_compile" | $SED \
16038    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16039    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16040    -e 's:$: $lt_compiler_flag:'`
16041    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16042    (eval "$lt_compile" 2>out/conftest.err)
16043    ac_status=$?
16044    cat out/conftest.err >&5
16045    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16047    then
16048      # The compiler can only warn and ignore the option if not recognized
16049      # So say no if there are warnings
16050      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16051      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16052      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16053        lt_cv_prog_compiler_c_o_CXX=yes
16054      fi
16055    fi
16056    chmod u+w . 2>&5
16057    $RM conftest*
16058    # SGI C++ compiler will create directory out/ii_files/ for
16059    # template instantiation
16060    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16061    $RM out/* && rmdir out
16062    cd ..
16063    $RM -r conftest
16064    $RM conftest*
16065
16066 fi
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16068 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16069
16070
16071
16072     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16073 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16074 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16075   $as_echo_n "(cached) " >&6
16076 else
16077   lt_cv_prog_compiler_c_o_CXX=no
16078    $RM -r conftest 2>/dev/null
16079    mkdir conftest
16080    cd conftest
16081    mkdir out
16082    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16083
16084    lt_compiler_flag="-o out/conftest2.$ac_objext"
16085    # Insert the option either (1) after the last *FLAGS variable, or
16086    # (2) before a word containing "conftest.", or (3) at the end.
16087    # Note that $ac_compile itself does not contain backslashes and begins
16088    # with a dollar sign (not a hyphen), so the echo should work correctly.
16089    lt_compile=`echo "$ac_compile" | $SED \
16090    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16091    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16092    -e 's:$: $lt_compiler_flag:'`
16093    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16094    (eval "$lt_compile" 2>out/conftest.err)
16095    ac_status=$?
16096    cat out/conftest.err >&5
16097    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16099    then
16100      # The compiler can only warn and ignore the option if not recognized
16101      # So say no if there are warnings
16102      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16103      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16104      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16105        lt_cv_prog_compiler_c_o_CXX=yes
16106      fi
16107    fi
16108    chmod u+w . 2>&5
16109    $RM conftest*
16110    # SGI C++ compiler will create directory out/ii_files/ for
16111    # template instantiation
16112    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16113    $RM out/* && rmdir out
16114    cd ..
16115    $RM -r conftest
16116    $RM conftest*
16117
16118 fi
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16120 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16121
16122
16123
16124
16125 hard_links=nottested
16126 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16127   # do not overwrite the value of need_locks provided by the user
16128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16129 $as_echo_n "checking if we can lock with hard links... " >&6; }
16130   hard_links=yes
16131   $RM conftest*
16132   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16133   touch conftest.a
16134   ln conftest.a conftest.b 2>&5 || hard_links=no
16135   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16137 $as_echo "$hard_links" >&6; }
16138   if test no = "$hard_links"; then
16139     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16140 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16141     need_locks=warn
16142   fi
16143 else
16144   need_locks=no
16145 fi
16146
16147
16148
16149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16150 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16151
16152   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16153   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16154   case $host_os in
16155   aix[4-9]*)
16156     # If we're using GNU nm, then we don't want the "-C" option.
16157     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16158     # Without the "-l" option, or with the "-B" option, AIX nm treats
16159     # weak defined symbols like other global defined symbols, whereas
16160     # GNU nm marks them as "W".
16161     # While the 'weak' keyword is ignored in the Export File, we need
16162     # it in the Import File for the 'aix-soname' feature, so we have
16163     # to replace the "-B" option with "-P" for AIX nm.
16164     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16165       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
16166     else
16167       export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
16168     fi
16169     ;;
16170   pw32*)
16171     export_symbols_cmds_CXX=$ltdll_cmds
16172     ;;
16173   cygwin* | mingw* | cegcc*)
16174     case $cc_basename in
16175     cl*)
16176       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16177       ;;
16178     *)
16179       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'
16180       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16181       ;;
16182     esac
16183     ;;
16184   linux* | k*bsd*-gnu | gnu*)
16185     link_all_deplibs_CXX=no
16186     ;;
16187   *)
16188     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16189     ;;
16190   esac
16191
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16193 $as_echo "$ld_shlibs_CXX" >&6; }
16194 test no = "$ld_shlibs_CXX" && can_build_shared=no
16195
16196 with_gnu_ld_CXX=$with_gnu_ld
16197
16198
16199
16200
16201
16202
16203 #
16204 # Do we need to explicitly link libc?
16205 #
16206 case "x$archive_cmds_need_lc_CXX" in
16207 x|xyes)
16208   # Assume -lc should be added
16209   archive_cmds_need_lc_CXX=yes
16210
16211   if test yes,yes = "$GCC,$enable_shared"; then
16212     case $archive_cmds_CXX in
16213     *'~'*)
16214       # FIXME: we may have to deal with multi-command sequences.
16215       ;;
16216     '$CC '*)
16217       # Test whether the compiler implicitly links with -lc since on some
16218       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16219       # to ld, don't add -lc before -lgcc.
16220       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16221 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16222 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16223   $as_echo_n "(cached) " >&6
16224 else
16225   $RM conftest*
16226         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16227
16228         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16229   (eval $ac_compile) 2>&5
16230   ac_status=$?
16231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16232   test $ac_status = 0; } 2>conftest.err; then
16233           soname=conftest
16234           lib=conftest
16235           libobjs=conftest.$ac_objext
16236           deplibs=
16237           wl=$lt_prog_compiler_wl_CXX
16238           pic_flag=$lt_prog_compiler_pic_CXX
16239           compiler_flags=-v
16240           linker_flags=-v
16241           verstring=
16242           output_objdir=.
16243           libname=conftest
16244           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16245           allow_undefined_flag_CXX=
16246           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16247   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16248   ac_status=$?
16249   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16250   test $ac_status = 0; }
16251           then
16252             lt_cv_archive_cmds_need_lc_CXX=no
16253           else
16254             lt_cv_archive_cmds_need_lc_CXX=yes
16255           fi
16256           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16257         else
16258           cat conftest.err 1>&5
16259         fi
16260         $RM conftest*
16261
16262 fi
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16264 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16265       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16266       ;;
16267     esac
16268   fi
16269   ;;
16270 esac
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16334 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16335
16336 library_names_spec=
16337 libname_spec='lib$name'
16338 soname_spec=
16339 shrext_cmds=.so
16340 postinstall_cmds=
16341 postuninstall_cmds=
16342 finish_cmds=
16343 finish_eval=
16344 shlibpath_var=
16345 shlibpath_overrides_runpath=unknown
16346 version_type=none
16347 dynamic_linker="$host_os ld.so"
16348 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16349 need_lib_prefix=unknown
16350 hardcode_into_libs=no
16351
16352 # when you set need_version to no, make sure it does not cause -set_version
16353 # flags to be left without arguments
16354 need_version=unknown
16355
16356
16357
16358 case $host_os in
16359 aix3*)
16360   version_type=linux # correct to gnu/linux during the next big refactor
16361   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16362   shlibpath_var=LIBPATH
16363
16364   # AIX 3 has no versioning support, so we append a major version to the name.
16365   soname_spec='$libname$release$shared_ext$major'
16366   ;;
16367
16368 aix[4-9]*)
16369   version_type=linux # correct to gnu/linux during the next big refactor
16370   need_lib_prefix=no
16371   need_version=no
16372   hardcode_into_libs=yes
16373   if test ia64 = "$host_cpu"; then
16374     # AIX 5 supports IA64
16375     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16376     shlibpath_var=LD_LIBRARY_PATH
16377   else
16378     # With GCC up to 2.95.x, collect2 would create an import file
16379     # for dependence libraries.  The import file would start with
16380     # the line '#! .'.  This would cause the generated library to
16381     # depend on '.', always an invalid library.  This was fixed in
16382     # development snapshots of GCC prior to 3.0.
16383     case $host_os in
16384       aix4 | aix4.[01] | aix4.[01].*)
16385       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16386            echo ' yes '
16387            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16388         :
16389       else
16390         can_build_shared=no
16391       fi
16392       ;;
16393     esac
16394     # Using Import Files as archive members, it is possible to support
16395     # filename-based versioning of shared library archives on AIX. While
16396     # this would work for both with and without runtime linking, it will
16397     # prevent static linking of such archives. So we do filename-based
16398     # shared library versioning with .so extension only, which is used
16399     # when both runtime linking and shared linking is enabled.
16400     # Unfortunately, runtime linking may impact performance, so we do
16401     # not want this to be the default eventually. Also, we use the
16402     # versioned .so libs for executables only if there is the -brtl
16403     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16404     # To allow for filename-based versioning support, we need to create
16405     # libNAME.so.V as an archive file, containing:
16406     # *) an Import File, referring to the versioned filename of the
16407     #    archive as well as the shared archive member, telling the
16408     #    bitwidth (32 or 64) of that shared object, and providing the
16409     #    list of exported symbols of that shared object, eventually
16410     #    decorated with the 'weak' keyword
16411     # *) the shared object with the F_LOADONLY flag set, to really avoid
16412     #    it being seen by the linker.
16413     # At run time we better use the real file rather than another symlink,
16414     # but for link time we create the symlink libNAME.so -> libNAME.so.V
16415
16416     case $with_aix_soname,$aix_use_runtimelinking in
16417     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16418     # soname into executable. Probably we can add versioning support to
16419     # collect2, so additional links can be useful in future.
16420     aix,yes) # traditional libtool
16421       dynamic_linker='AIX unversionable lib.so'
16422       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16423       # instead of lib<name>.a to let people know that these are not
16424       # typical AIX shared libraries.
16425       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16426       ;;
16427     aix,no) # traditional AIX only
16428       dynamic_linker='AIX lib.a(lib.so.V)'
16429       # We preserve .a as extension for shared libraries through AIX4.2
16430       # and later when we are not doing run time linking.
16431       library_names_spec='$libname$release.a $libname.a'
16432       soname_spec='$libname$release$shared_ext$major'
16433       ;;
16434     svr4,*) # full svr4 only
16435       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16436       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16437       # We do not specify a path in Import Files, so LIBPATH fires.
16438       shlibpath_overrides_runpath=yes
16439       ;;
16440     *,yes) # both, prefer svr4
16441       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16442       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16443       # unpreferred sharedlib libNAME.a needs extra handling
16444       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
16445       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
16446       # We do not specify a path in Import Files, so LIBPATH fires.
16447       shlibpath_overrides_runpath=yes
16448       ;;
16449     *,no) # both, prefer aix
16450       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16451       library_names_spec='$libname$release.a $libname.a'
16452       soname_spec='$libname$release$shared_ext$major'
16453       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16454       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
16455       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
16456       ;;
16457     esac
16458     shlibpath_var=LIBPATH
16459   fi
16460   ;;
16461
16462 amigaos*)
16463   case $host_cpu in
16464   powerpc)
16465     # Since July 2007 AmigaOS4 officially supports .so libraries.
16466     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16467     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16468     ;;
16469   m68k)
16470     library_names_spec='$libname.ixlibrary $libname.a'
16471     # Create ${libname}_ixlibrary.a entries in /sys/libs.
16472     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
16473     ;;
16474   esac
16475   ;;
16476
16477 beos*)
16478   library_names_spec='$libname$shared_ext'
16479   dynamic_linker="$host_os ld.so"
16480   shlibpath_var=LIBRARY_PATH
16481   ;;
16482
16483 bsdi[45]*)
16484   version_type=linux # correct to gnu/linux during the next big refactor
16485   need_version=no
16486   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16487   soname_spec='$libname$release$shared_ext$major'
16488   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16489   shlibpath_var=LD_LIBRARY_PATH
16490   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16491   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16492   # the default ld.so.conf also contains /usr/contrib/lib and
16493   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16494   # libtool to hard-code these into programs
16495   ;;
16496
16497 cygwin* | mingw* | pw32* | cegcc*)
16498   version_type=windows
16499   shrext_cmds=.dll
16500   need_version=no
16501   need_lib_prefix=no
16502
16503   case $GCC,$cc_basename in
16504   yes,*)
16505     # gcc
16506     library_names_spec='$libname.dll.a'
16507     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16508     postinstall_cmds='base_file=`basename \$file`~
16509       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16510       dldir=$destdir/`dirname \$dlpath`~
16511       test -d \$dldir || mkdir -p \$dldir~
16512       $install_prog $dir/$dlname \$dldir/$dlname~
16513       chmod a+x \$dldir/$dlname~
16514       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16515         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16516       fi'
16517     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16518       dlpath=$dir/\$dldll~
16519        $RM \$dlpath'
16520     shlibpath_overrides_runpath=yes
16521
16522     case $host_os in
16523     cygwin*)
16524       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16525       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16526
16527       ;;
16528     mingw* | cegcc*)
16529       # MinGW DLLs use traditional 'lib' prefix
16530       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16531       ;;
16532     pw32*)
16533       # pw32 DLLs use 'pw' prefix rather than 'lib'
16534       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16535       ;;
16536     esac
16537     dynamic_linker='Win32 ld.exe'
16538     ;;
16539
16540   *,cl*)
16541     # Native MSVC
16542     libname_spec='$name'
16543     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16544     library_names_spec='$libname.dll.lib'
16545
16546     case $build_os in
16547     mingw*)
16548       sys_lib_search_path_spec=
16549       lt_save_ifs=$IFS
16550       IFS=';'
16551       for lt_path in $LIB
16552       do
16553         IFS=$lt_save_ifs
16554         # Let DOS variable expansion print the short 8.3 style file name.
16555         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16556         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16557       done
16558       IFS=$lt_save_ifs
16559       # Convert to MSYS style.
16560       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16561       ;;
16562     cygwin*)
16563       # Convert to unix form, then to dos form, then back to unix form
16564       # but this time dos style (no spaces!) so that the unix form looks
16565       # like /cygdrive/c/PROGRA~1:/cygdr...
16566       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16567       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16568       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16569       ;;
16570     *)
16571       sys_lib_search_path_spec=$LIB
16572       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16573         # It is most probably a Windows format PATH.
16574         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16575       else
16576         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16577       fi
16578       # FIXME: find the short name or the path components, as spaces are
16579       # common. (e.g. "Program Files" -> "PROGRA~1")
16580       ;;
16581     esac
16582
16583     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16584     postinstall_cmds='base_file=`basename \$file`~
16585       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16586       dldir=$destdir/`dirname \$dlpath`~
16587       test -d \$dldir || mkdir -p \$dldir~
16588       $install_prog $dir/$dlname \$dldir/$dlname'
16589     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16590       dlpath=$dir/\$dldll~
16591        $RM \$dlpath'
16592     shlibpath_overrides_runpath=yes
16593     dynamic_linker='Win32 link.exe'
16594     ;;
16595
16596   *)
16597     # Assume MSVC wrapper
16598     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16599     dynamic_linker='Win32 ld.exe'
16600     ;;
16601   esac
16602   # FIXME: first we should search . and the directory the executable is in
16603   shlibpath_var=PATH
16604   ;;
16605
16606 darwin* | rhapsody*)
16607   dynamic_linker="$host_os dyld"
16608   version_type=darwin
16609   need_lib_prefix=no
16610   need_version=no
16611   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16612   soname_spec='$libname$release$major$shared_ext'
16613   shlibpath_overrides_runpath=yes
16614   shlibpath_var=DYLD_LIBRARY_PATH
16615   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16616
16617   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16618   ;;
16619
16620 dgux*)
16621   version_type=linux # correct to gnu/linux during the next big refactor
16622   need_lib_prefix=no
16623   need_version=no
16624   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16625   soname_spec='$libname$release$shared_ext$major'
16626   shlibpath_var=LD_LIBRARY_PATH
16627   ;;
16628
16629 freebsd* | dragonfly*)
16630   # DragonFly does not have aout.  When/if they implement a new
16631   # versioning mechanism, adjust this.
16632   if test -x /usr/bin/objformat; then
16633     objformat=`/usr/bin/objformat`
16634   else
16635     case $host_os in
16636     freebsd[23].*) objformat=aout ;;
16637     *) objformat=elf ;;
16638     esac
16639   fi
16640   version_type=freebsd-$objformat
16641   case $version_type in
16642     freebsd-elf*)
16643       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16644       soname_spec='$libname$release$shared_ext$major'
16645       need_version=no
16646       need_lib_prefix=no
16647       ;;
16648     freebsd-*)
16649       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16650       need_version=yes
16651       ;;
16652   esac
16653   shlibpath_var=LD_LIBRARY_PATH
16654   case $host_os in
16655   freebsd2.*)
16656     shlibpath_overrides_runpath=yes
16657     ;;
16658   freebsd3.[01]* | freebsdelf3.[01]*)
16659     shlibpath_overrides_runpath=yes
16660     hardcode_into_libs=yes
16661     ;;
16662   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16663   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16664     shlibpath_overrides_runpath=no
16665     hardcode_into_libs=yes
16666     ;;
16667   *) # from 4.6 on, and DragonFly
16668     shlibpath_overrides_runpath=yes
16669     hardcode_into_libs=yes
16670     ;;
16671   esac
16672   ;;
16673
16674 haiku*)
16675   version_type=linux # correct to gnu/linux during the next big refactor
16676   need_lib_prefix=no
16677   need_version=no
16678   dynamic_linker="$host_os runtime_loader"
16679   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16680   soname_spec='$libname$release$shared_ext$major'
16681   shlibpath_var=LIBRARY_PATH
16682   shlibpath_overrides_runpath=no
16683   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16684   hardcode_into_libs=yes
16685   ;;
16686
16687 hpux9* | hpux10* | hpux11*)
16688   # Give a soname corresponding to the major version so that dld.sl refuses to
16689   # link against other versions.
16690   version_type=sunos
16691   need_lib_prefix=no
16692   need_version=no
16693   case $host_cpu in
16694   ia64*)
16695     shrext_cmds='.so'
16696     hardcode_into_libs=yes
16697     dynamic_linker="$host_os dld.so"
16698     shlibpath_var=LD_LIBRARY_PATH
16699     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16700     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16701     soname_spec='$libname$release$shared_ext$major'
16702     if test 32 = "$HPUX_IA64_MODE"; then
16703       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16704       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16705     else
16706       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16707       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16708     fi
16709     ;;
16710   hppa*64*)
16711     shrext_cmds='.sl'
16712     hardcode_into_libs=yes
16713     dynamic_linker="$host_os dld.sl"
16714     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16715     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16716     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16717     soname_spec='$libname$release$shared_ext$major'
16718     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16719     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16720     ;;
16721   *)
16722     shrext_cmds='.sl'
16723     dynamic_linker="$host_os dld.sl"
16724     shlibpath_var=SHLIB_PATH
16725     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16726     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16727     soname_spec='$libname$release$shared_ext$major'
16728     ;;
16729   esac
16730   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16731   postinstall_cmds='chmod 555 $lib'
16732   # or fails outright, so override atomically:
16733   install_override_mode=555
16734   ;;
16735
16736 interix[3-9]*)
16737   version_type=linux # correct to gnu/linux during the next big refactor
16738   need_lib_prefix=no
16739   need_version=no
16740   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16741   soname_spec='$libname$release$shared_ext$major'
16742   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16743   shlibpath_var=LD_LIBRARY_PATH
16744   shlibpath_overrides_runpath=no
16745   hardcode_into_libs=yes
16746   ;;
16747
16748 irix5* | irix6* | nonstopux*)
16749   case $host_os in
16750     nonstopux*) version_type=nonstopux ;;
16751     *)
16752         if test yes = "$lt_cv_prog_gnu_ld"; then
16753                 version_type=linux # correct to gnu/linux during the next big refactor
16754         else
16755                 version_type=irix
16756         fi ;;
16757   esac
16758   need_lib_prefix=no
16759   need_version=no
16760   soname_spec='$libname$release$shared_ext$major'
16761   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16762   case $host_os in
16763   irix5* | nonstopux*)
16764     libsuff= shlibsuff=
16765     ;;
16766   *)
16767     case $LD in # libtool.m4 will add one of these switches to LD
16768     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16769       libsuff= shlibsuff= libmagic=32-bit;;
16770     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16771       libsuff=32 shlibsuff=N32 libmagic=N32;;
16772     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16773       libsuff=64 shlibsuff=64 libmagic=64-bit;;
16774     *) libsuff= shlibsuff= libmagic=never-match;;
16775     esac
16776     ;;
16777   esac
16778   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16779   shlibpath_overrides_runpath=no
16780   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16781   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16782   hardcode_into_libs=yes
16783   ;;
16784
16785 # No shared lib support for Linux oldld, aout, or coff.
16786 linux*oldld* | linux*aout* | linux*coff*)
16787   dynamic_linker=no
16788   ;;
16789
16790 linux*android*)
16791   version_type=none # Android doesn't support versioned libraries.
16792   need_lib_prefix=no
16793   need_version=no
16794   library_names_spec='$libname$release$shared_ext'
16795   soname_spec='$libname$release$shared_ext'
16796   finish_cmds=
16797   shlibpath_var=LD_LIBRARY_PATH
16798   shlibpath_overrides_runpath=yes
16799
16800   # This implies no fast_install, which is unacceptable.
16801   # Some rework will be needed to allow for fast_install
16802   # before this can be enabled.
16803   hardcode_into_libs=yes
16804
16805   dynamic_linker='Android linker'
16806   # Don't embed -rpath directories since the linker doesn't support them.
16807   hardcode_libdir_flag_spec_CXX='-L$libdir'
16808   ;;
16809
16810 # This must be glibc/ELF.
16811 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16812   version_type=linux # correct to gnu/linux during the next big refactor
16813   need_lib_prefix=no
16814   need_version=no
16815   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16816   soname_spec='$libname$release$shared_ext$major'
16817   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16818   shlibpath_var=LD_LIBRARY_PATH
16819   shlibpath_overrides_runpath=no
16820
16821   # Some binutils ld are patched to set DT_RUNPATH
16822   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16823   $as_echo_n "(cached) " >&6
16824 else
16825   lt_cv_shlibpath_overrides_runpath=no
16826     save_LDFLAGS=$LDFLAGS
16827     save_libdir=$libdir
16828     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16829          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16830     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h.  */
16832
16833 int
16834 main ()
16835 {
16836
16837   ;
16838   return 0;
16839 }
16840 _ACEOF
16841 if ac_fn_cxx_try_link "$LINENO"; then :
16842   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16843   lt_cv_shlibpath_overrides_runpath=yes
16844 fi
16845 fi
16846 rm -f core conftest.err conftest.$ac_objext \
16847     conftest$ac_exeext conftest.$ac_ext
16848     LDFLAGS=$save_LDFLAGS
16849     libdir=$save_libdir
16850
16851 fi
16852
16853   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16854
16855   # This implies no fast_install, which is unacceptable.
16856   # Some rework will be needed to allow for fast_install
16857   # before this can be enabled.
16858   hardcode_into_libs=yes
16859
16860   # Ideally, we could use ldconfig to report *all* directores which are
16861   # searched for libraries, however this is still not possible.  Aside from not
16862   # being certain /sbin/ldconfig is available, command
16863   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16864   # even though it is searched at run-time.  Try to do the best guess by
16865   # appending ld.so.conf contents (and includes) to the search path.
16866   if test -f /etc/ld.so.conf; then
16867     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' ' '`
16868     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16869   fi
16870
16871   # We used to test for /lib/ld.so.1 and disable shared libraries on
16872   # powerpc, because MkLinux only supported shared libraries with the
16873   # GNU dynamic linker.  Since this was broken with cross compilers,
16874   # most powerpc-linux boxes support dynamic linking these days and
16875   # people can always --disable-shared, the test was removed, and we
16876   # assume the GNU/Linux dynamic linker is in use.
16877   dynamic_linker='GNU/Linux ld.so'
16878   ;;
16879
16880 netbsdelf*-gnu)
16881   version_type=linux
16882   need_lib_prefix=no
16883   need_version=no
16884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16885   soname_spec='${libname}${release}${shared_ext}$major'
16886   shlibpath_var=LD_LIBRARY_PATH
16887   shlibpath_overrides_runpath=no
16888   hardcode_into_libs=yes
16889   dynamic_linker='NetBSD ld.elf_so'
16890   ;;
16891
16892 netbsd*)
16893   version_type=sunos
16894   need_lib_prefix=no
16895   need_version=no
16896   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16897     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16898     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16899     dynamic_linker='NetBSD (a.out) ld.so'
16900   else
16901     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16902     soname_spec='$libname$release$shared_ext$major'
16903     dynamic_linker='NetBSD ld.elf_so'
16904   fi
16905   shlibpath_var=LD_LIBRARY_PATH
16906   shlibpath_overrides_runpath=yes
16907   hardcode_into_libs=yes
16908   ;;
16909
16910 newsos6)
16911   version_type=linux # correct to gnu/linux during the next big refactor
16912   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16913   shlibpath_var=LD_LIBRARY_PATH
16914   shlibpath_overrides_runpath=yes
16915   ;;
16916
16917 *nto* | *qnx*)
16918   version_type=qnx
16919   need_lib_prefix=no
16920   need_version=no
16921   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16922   soname_spec='$libname$release$shared_ext$major'
16923   shlibpath_var=LD_LIBRARY_PATH
16924   shlibpath_overrides_runpath=no
16925   hardcode_into_libs=yes
16926   dynamic_linker='ldqnx.so'
16927   ;;
16928
16929 openbsd* | bitrig*)
16930   version_type=sunos
16931   sys_lib_dlsearch_path_spec=/usr/lib
16932   need_lib_prefix=no
16933   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16934     need_version=no
16935   else
16936     need_version=yes
16937   fi
16938   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16939   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16940   shlibpath_var=LD_LIBRARY_PATH
16941   shlibpath_overrides_runpath=yes
16942   ;;
16943
16944 os2*)
16945   libname_spec='$name'
16946   version_type=windows
16947   shrext_cmds=.dll
16948   need_version=no
16949   need_lib_prefix=no
16950   # OS/2 can only load a DLL with a base name of 8 characters or less.
16951   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16952     v=$($ECHO $release$versuffix | tr -d .-);
16953     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16954     $ECHO $n$v`$shared_ext'
16955   library_names_spec='${libname}_dll.$libext'
16956   dynamic_linker='OS/2 ld.exe'
16957   shlibpath_var=BEGINLIBPATH
16958   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16959   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16960   postinstall_cmds='base_file=`basename \$file`~
16961     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16962     dldir=$destdir/`dirname \$dlpath`~
16963     test -d \$dldir || mkdir -p \$dldir~
16964     $install_prog $dir/$dlname \$dldir/$dlname~
16965     chmod a+x \$dldir/$dlname~
16966     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16967       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16968     fi'
16969   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16970     dlpath=$dir/\$dldll~
16971     $RM \$dlpath'
16972   ;;
16973
16974 osf3* | osf4* | osf5*)
16975   version_type=osf
16976   need_lib_prefix=no
16977   need_version=no
16978   soname_spec='$libname$release$shared_ext$major'
16979   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16980   shlibpath_var=LD_LIBRARY_PATH
16981   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16982   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16983   ;;
16984
16985 rdos*)
16986   dynamic_linker=no
16987   ;;
16988
16989 solaris*)
16990   version_type=linux # correct to gnu/linux during the next big refactor
16991   need_lib_prefix=no
16992   need_version=no
16993   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16994   soname_spec='$libname$release$shared_ext$major'
16995   shlibpath_var=LD_LIBRARY_PATH
16996   shlibpath_overrides_runpath=yes
16997   hardcode_into_libs=yes
16998   # ldd complains unless libraries are executable
16999   postinstall_cmds='chmod +x $lib'
17000   ;;
17001
17002 sunos4*)
17003   version_type=sunos
17004   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17005   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17006   shlibpath_var=LD_LIBRARY_PATH
17007   shlibpath_overrides_runpath=yes
17008   if test yes = "$with_gnu_ld"; then
17009     need_lib_prefix=no
17010   fi
17011   need_version=yes
17012   ;;
17013
17014 sysv4 | sysv4.3*)
17015   version_type=linux # correct to gnu/linux during the next big refactor
17016   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17017   soname_spec='$libname$release$shared_ext$major'
17018   shlibpath_var=LD_LIBRARY_PATH
17019   case $host_vendor in
17020     sni)
17021       shlibpath_overrides_runpath=no
17022       need_lib_prefix=no
17023       runpath_var=LD_RUN_PATH
17024       ;;
17025     siemens)
17026       need_lib_prefix=no
17027       ;;
17028     motorola)
17029       need_lib_prefix=no
17030       need_version=no
17031       shlibpath_overrides_runpath=no
17032       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17033       ;;
17034   esac
17035   ;;
17036
17037 sysv4*MP*)
17038   if test -d /usr/nec; then
17039     version_type=linux # correct to gnu/linux during the next big refactor
17040     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17041     soname_spec='$libname$shared_ext.$major'
17042     shlibpath_var=LD_LIBRARY_PATH
17043   fi
17044   ;;
17045
17046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17047   version_type=sco
17048   need_lib_prefix=no
17049   need_version=no
17050   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17051   soname_spec='$libname$release$shared_ext$major'
17052   shlibpath_var=LD_LIBRARY_PATH
17053   shlibpath_overrides_runpath=yes
17054   hardcode_into_libs=yes
17055   if test yes = "$with_gnu_ld"; then
17056     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17057   else
17058     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17059     case $host_os in
17060       sco3.2v5*)
17061         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17062         ;;
17063     esac
17064   fi
17065   sys_lib_dlsearch_path_spec='/usr/lib'
17066   ;;
17067
17068 tpf*)
17069   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17070   version_type=linux # correct to gnu/linux during the next big refactor
17071   need_lib_prefix=no
17072   need_version=no
17073   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17074   shlibpath_var=LD_LIBRARY_PATH
17075   shlibpath_overrides_runpath=no
17076   hardcode_into_libs=yes
17077   ;;
17078
17079 uts4*)
17080   version_type=linux # correct to gnu/linux during the next big refactor
17081   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17082   soname_spec='$libname$release$shared_ext$major'
17083   shlibpath_var=LD_LIBRARY_PATH
17084   ;;
17085
17086 *)
17087   dynamic_linker=no
17088   ;;
17089 esac
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17091 $as_echo "$dynamic_linker" >&6; }
17092 test no = "$dynamic_linker" && can_build_shared=no
17093
17094 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17095 if test yes = "$GCC"; then
17096   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17097 fi
17098
17099 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17100   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17101 fi
17102
17103 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17104   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17105 fi
17106
17107 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17108 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
17109
17110 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17111 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
17112
17113 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17114 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17156 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17157 hardcode_action_CXX=
17158 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17159    test -n "$runpath_var_CXX" ||
17160    test yes = "$hardcode_automatic_CXX"; then
17161
17162   # We can hardcode non-existent directories.
17163   if test no != "$hardcode_direct_CXX" &&
17164      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17165      # have to relink, otherwise we might link with an installed library
17166      # when we should be linking with a yet-to-be-installed one
17167      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17168      test no != "$hardcode_minus_L_CXX"; then
17169     # Linking always hardcodes the temporary library directory.
17170     hardcode_action_CXX=relink
17171   else
17172     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17173     hardcode_action_CXX=immediate
17174   fi
17175 else
17176   # We cannot hardcode anything, or else we can only hardcode existing
17177   # directories.
17178   hardcode_action_CXX=unsupported
17179 fi
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17181 $as_echo "$hardcode_action_CXX" >&6; }
17182
17183 if test relink = "$hardcode_action_CXX" ||
17184    test yes = "$inherit_rpath_CXX"; then
17185   # Fast installation is not supported
17186   enable_fast_install=no
17187 elif test yes = "$shlibpath_overrides_runpath" ||
17188      test no = "$enable_shared"; then
17189   # Fast installation is not necessary
17190   enable_fast_install=needless
17191 fi
17192
17193
17194
17195
17196
17197
17198
17199   fi # test -n "$compiler"
17200
17201   CC=$lt_save_CC
17202   CFLAGS=$lt_save_CFLAGS
17203   LDCXX=$LD
17204   LD=$lt_save_LD
17205   GCC=$lt_save_GCC
17206   with_gnu_ld=$lt_save_with_gnu_ld
17207   lt_cv_path_LDCXX=$lt_cv_path_LD
17208   lt_cv_path_LD=$lt_save_path_LD
17209   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17210   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17211 fi # test yes != "$_lt_caught_CXX_error"
17212
17213 ac_ext=c
17214 ac_cpp='$CPP $CPPFLAGS'
17215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233         ac_config_commands="$ac_config_commands libtool"
17234
17235
17236
17237
17238 # Only expand once:
17239
17240
17241
17242 # Extract the first word of "perl", so it can be a program name with args.
17243 set dummy perl; ac_word=$2
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17245 $as_echo_n "checking for $ac_word... " >&6; }
17246 if ${ac_cv_path_PERL+:} false; then :
17247   $as_echo_n "(cached) " >&6
17248 else
17249   case $PERL in
17250   [\\/]* | ?:[\\/]*)
17251   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
17252   ;;
17253   *)
17254   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17255 for as_dir in $PATH
17256 do
17257   IFS=$as_save_IFS
17258   test -z "$as_dir" && as_dir=.
17259     for ac_exec_ext in '' $ac_executable_extensions; do
17260   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17261     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
17262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17263     break 2
17264   fi
17265 done
17266   done
17267 IFS=$as_save_IFS
17268
17269   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
17270   ;;
17271 esac
17272 fi
17273 PERL=$ac_cv_path_PERL
17274 if test -n "$PERL"; then
17275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
17276 $as_echo "$PERL" >&6; }
17277 else
17278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17279 $as_echo "no" >&6; }
17280 fi
17281
17282
17283
17284 # Extract the first word of "dot", so it can be a program name with args.
17285 set dummy dot; ac_word=$2
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17287 $as_echo_n "checking for $ac_word... " >&6; }
17288 if ${ac_cv_path_DOT+:} false; then :
17289   $as_echo_n "(cached) " >&6
17290 else
17291   case $DOT in
17292   [\\/]* | ?:[\\/]*)
17293   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
17294   ;;
17295   *)
17296   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17297 for as_dir in $PATH
17298 do
17299   IFS=$as_save_IFS
17300   test -z "$as_dir" && as_dir=.
17301     for ac_exec_ext in '' $ac_executable_extensions; do
17302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17303     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
17304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17305     break 2
17306   fi
17307 done
17308   done
17309 IFS=$as_save_IFS
17310
17311   test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
17312   ;;
17313 esac
17314 fi
17315 DOT=$ac_cv_path_DOT
17316 if test -n "$DOT"; then
17317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
17318 $as_echo "$DOT" >&6; }
17319 else
17320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17321 $as_echo "no" >&6; }
17322 fi
17323
17324
17325 # Extract the first word of "doxygen", so it can be a program name with args.
17326 set dummy doxygen; ac_word=$2
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17328 $as_echo_n "checking for $ac_word... " >&6; }
17329 if ${ac_cv_path_DOXYGEN+:} false; then :
17330   $as_echo_n "(cached) " >&6
17331 else
17332   case $DOXYGEN in
17333   [\\/]* | ?:[\\/]*)
17334   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
17335   ;;
17336   *)
17337   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17338 for as_dir in $PATH
17339 do
17340   IFS=$as_save_IFS
17341   test -z "$as_dir" && as_dir=.
17342     for ac_exec_ext in '' $ac_executable_extensions; do
17343   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17344     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
17345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17346     break 2
17347   fi
17348 done
17349   done
17350 IFS=$as_save_IFS
17351
17352   test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
17353   ;;
17354 esac
17355 fi
17356 DOXYGEN=$ac_cv_path_DOXYGEN
17357 if test -n "$DOXYGEN"; then
17358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
17359 $as_echo "$DOXYGEN" >&6; }
17360 else
17361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17362 $as_echo "no" >&6; }
17363 fi
17364
17365
17366 # Extract the first word of "xsltproc", so it can be a program name with args.
17367 set dummy xsltproc; ac_word=$2
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17369 $as_echo_n "checking for $ac_word... " >&6; }
17370 if ${ac_cv_path_XSLTPROC+:} false; then :
17371   $as_echo_n "(cached) " >&6
17372 else
17373   case $XSLTPROC in
17374   [\\/]* | ?:[\\/]*)
17375   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
17376   ;;
17377   *)
17378   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17379 for as_dir in $PATH
17380 do
17381   IFS=$as_save_IFS
17382   test -z "$as_dir" && as_dir=.
17383     for ac_exec_ext in '' $ac_executable_extensions; do
17384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17385     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
17386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17387     break 2
17388   fi
17389 done
17390   done
17391 IFS=$as_save_IFS
17392
17393   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
17394   ;;
17395 esac
17396 fi
17397 XSLTPROC=$ac_cv_path_XSLTPROC
17398 if test -n "$XSLTPROC"; then
17399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
17400 $as_echo "$XSLTPROC" >&6; }
17401 else
17402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17403 $as_echo "no" >&6; }
17404 fi
17405
17406
17407 # Check whether --enable-documentation was given.
17408 if test "${enable_documentation+set}" = set; then :
17409   enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
17410 else
17411   ENABLE_DOCUMENTATION=auto
17412 fi
17413
17414 if test "x$ENABLE_DOCUMENTATION" != xno; then :
17415
17416   mm_err=
17417   if test "x$MMDOCTOOLDIR" = x; then :
17418   mm_err='The mm-common-util module is available, but the installation of mm-common on this
17419 machine is missing the shared documentation utilities of the GNOME C++
17420 bindings.  It may be necessary to upgrade to a more recent release of
17421 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
17422 elif test "x$PERL" = xperl; then :
17423   mm_err='Perl is required for installing the documentation.'
17424 elif test "x$USE_MAINTAINER_MODE" != xno; then :
17425
17426     test "x$DOT" != xdot || mm_err=' dot'
17427     test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
17428     test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
17429     test -z "$mm_err" || mm_err='The documentation cannot be generated because
17430 not all of the required tools are available:'$mm_err
17431
17432 fi
17433   if test -z "$mm_err"; then :
17434   ENABLE_DOCUMENTATION=yes
17435 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
17436   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17438 as_fn_error $? "$mm_err
17439 See \`config.log' for more details" "$LINENO" 5; }
17440 else
17441   ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
17442 $as_echo "$as_me: WARNING: $mm_err" >&2;}
17443 fi
17444
17445 fi
17446  if test "x$ENABLE_DOCUMENTATION" = xyes; then
17447   ENABLE_DOCUMENTATION_TRUE=
17448   ENABLE_DOCUMENTATION_FALSE='#'
17449 else
17450   ENABLE_DOCUMENTATION_TRUE='#'
17451   ENABLE_DOCUMENTATION_FALSE=
17452 fi
17453
17454 DOXYGEN_TAGFILES=
17455
17456 DOCINSTALL_FLAGS=
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17467         if test -n "$ac_tool_prefix"; then
17468   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17469 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17471 $as_echo_n "checking for $ac_word... " >&6; }
17472 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17473   $as_echo_n "(cached) " >&6
17474 else
17475   case $PKG_CONFIG in
17476   [\\/]* | ?:[\\/]*)
17477   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17478   ;;
17479   *)
17480   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17481 for as_dir in $PATH
17482 do
17483   IFS=$as_save_IFS
17484   test -z "$as_dir" && as_dir=.
17485     for ac_exec_ext in '' $ac_executable_extensions; do
17486   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17487     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17489     break 2
17490   fi
17491 done
17492   done
17493 IFS=$as_save_IFS
17494
17495   ;;
17496 esac
17497 fi
17498 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17499 if test -n "$PKG_CONFIG"; then
17500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17501 $as_echo "$PKG_CONFIG" >&6; }
17502 else
17503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17504 $as_echo "no" >&6; }
17505 fi
17506
17507
17508 fi
17509 if test -z "$ac_cv_path_PKG_CONFIG"; then
17510   ac_pt_PKG_CONFIG=$PKG_CONFIG
17511   # Extract the first word of "pkg-config", so it can be a program name with args.
17512 set dummy pkg-config; ac_word=$2
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17514 $as_echo_n "checking for $ac_word... " >&6; }
17515 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17516   $as_echo_n "(cached) " >&6
17517 else
17518   case $ac_pt_PKG_CONFIG in
17519   [\\/]* | ?:[\\/]*)
17520   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17521   ;;
17522   *)
17523   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17524 for as_dir in $PATH
17525 do
17526   IFS=$as_save_IFS
17527   test -z "$as_dir" && as_dir=.
17528     for ac_exec_ext in '' $ac_executable_extensions; do
17529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17530     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17532     break 2
17533   fi
17534 done
17535   done
17536 IFS=$as_save_IFS
17537
17538   ;;
17539 esac
17540 fi
17541 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17542 if test -n "$ac_pt_PKG_CONFIG"; then
17543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17544 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17545 else
17546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17547 $as_echo "no" >&6; }
17548 fi
17549
17550   if test "x$ac_pt_PKG_CONFIG" = x; then
17551     PKG_CONFIG=""
17552   else
17553     case $cross_compiling:$ac_tool_warned in
17554 yes:)
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17557 ac_tool_warned=yes ;;
17558 esac
17559     PKG_CONFIG=$ac_pt_PKG_CONFIG
17560   fi
17561 else
17562   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17563 fi
17564
17565 fi
17566 if test -n "$PKG_CONFIG"; then
17567         _pkg_min_version=0.9.0
17568         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17569 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17570         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17571                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17572 $as_echo "yes" >&6; }
17573         else
17574                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17575 $as_echo "no" >&6; }
17576                 PKG_CONFIG=""
17577         fi
17578 fi
17579 if test "x$ENABLE_DOCUMENTATION" != xno; then :
17580     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
17581 $as_echo_n "checking for libstdc documentation... " >&6; }
17582
17583 # Check whether --with-libstdc-doc was given.
17584 if test "${with_libstdc_doc+set}" = set; then :
17585   withval=$with_libstdc_doc;
17586     mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
17587     mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
17588     mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
17589     test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
17590     test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
17591 else
17592
17593     mm_htmlrefdir=
17594     mm_tagname="libstdc++.tag"
17595     mm_tagpath=$mm_tagname
17596 fi
17597
17598   # Prepend working direcory if the tag file path starts with ./ or ../
17599   case $mm_tagpath in #(
17600   .[\\/]*|..[\\/]*) :
17601     mm_tagpath=`pwd`/$mm_tagpath ;; #(
17602   *) :
17603      ;;
17604 esac
17605
17606   # If no local directory was specified, get the default from the .pc file
17607   if test "x$mm_htmlrefdir" = x; then :
17608
17609     mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
17610 fi
17611   # If the user specified a Web URL, allow it to override the public location
17612   case $mm_htmlrefdir in #(
17613   http://*|https://*) :
17614     mm_htmlrefpub=$mm_htmlrefdir ;; #(
17615   *) :
17616
17617     mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
17618     test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
17619     test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
17620    ;;
17621 esac
17622   # The user-supplied tag-file name takes precedence if it includes the path
17623   case $mm_tagpath in #(
17624   *[\\/]*) :
17625      ;; #(
17626   *) :
17627
17628     mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
17629     test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
17630    ;;
17631 esac
17632   # Remove trailing slashes and translate to URI
17633   mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17634   mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17635
17636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
17637 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
17638
17639   if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
17640   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
17641 $as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
17642 fi
17643   if test "x$mm_htmlrefdir" = x; then :
17644   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
17645 $as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
17646 else
17647   if test "x$DOCINSTALL_FLAGS" = x; then :
17648   DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
17649 else
17650   DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
17651 fi
17652 fi
17653
17654   if test "x$mm_htmlrefpub" = x; then :
17655   mm_val=$mm_tagpath
17656 else
17657   mm_val="$mm_tagpath=$mm_htmlrefpub"
17658 fi
17659   if test "x$DOXYGEN_TAGFILES" = x; then :
17660   DOXYGEN_TAGFILES=\"$mm_val\"
17661 else
17662   DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
17663 fi
17664 fi
17665
17666 ac_ext=cpp
17667 ac_cpp='$CXXCPP $CPPFLAGS'
17668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17671
17672
17673 if test "x$config_error" = xyes; then :
17674   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17676 as_fn_error $? "One or more of the required C++ compiler features is missing.
17677 See \`config.log' for more details" "$LINENO" 5; }
17678 fi
17679
17680 # Evaluate the --enable-warnings=level option.
17681 # Check whether --enable-warnings was given.
17682 if test "${enable_warnings+set}" = set; then :
17683   enableval=$enable_warnings; mm_enable_warnings=$enableval
17684 else
17685   mm_enable_warnings=min
17686 fi
17687
17688 case $ac_compile in #(
17689   *'$CXXFLAGS '*) :
17690     mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
17691   *'$CFLAGS '*) :
17692     mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
17693   *) :
17694     as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
17695 esac
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
17697 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
17698 mm_tested_flags=
17699 case $mm_enable_warnings in #(
17700   no) :
17701     mm_warning_flags= ;; #(
17702   max) :
17703     mm_warning_flags="-pedantic -Wall -Wextra -Wsuggest-override -Wshadow -Wzero-as-null-pointer-constant -Wformat-security" ;; #(
17704   fatal) :
17705     mm_warning_flags="-pedantic -Wall -Wextra -Wsuggest-override -Wshadow -Wzero-as-null-pointer-constant -Wformat-security -Werror" ;; #(
17706   *) :
17707     mm_warning_flags="-Wall" ;;
17708 esac
17709 if test "x$mm_warning_flags" != x; then :
17710
17711   # Keep in mind that the dummy source must be devoid of any
17712   # problems that might cause diagnostics.
17713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h.  */
17715
17716 int main(int argc, char** argv) { return !argv ? 0 : argc; }
17717
17718 _ACEOF
17719   for mm_flag in $mm_warning_flags
17720   do
17721     # Test whether the compiler accepts the flag.  Look at standard output,
17722     # since GCC only shows a warning message if an option is not supported.
17723     mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
17724     rm -f "conftest.${OBJEXT-o}"
17725
17726     if test "x$mm_cc_out" = x; then :
17727   if test "x$mm_tested_flags" = x; then :
17728   mm_tested_flags=$mm_flag
17729 else
17730   mm_tested_flags="$mm_tested_flags $mm_flag"
17731 fi
17732 else
17733   cat <<_MMEOF >&5
17734 $mm_cc: $mm_cc_out
17735 _MMEOF
17736
17737 fi
17738   done
17739   rm -f "$mm_conftest"
17740
17741 fi
17742 mm_all_flags=$mm_tested_flags
17743 SIGC_WXXFLAGS=$mm_all_flags
17744
17745 test "x$mm_all_flags" != x || mm_all_flags=none
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
17747 $as_echo "$mm_all_flags" >&6; }
17748
17749 # Offer the ability to omit some API from the library.
17750 # Check whether --enable-deprecated-api was given.
17751 if test "${enable_deprecated_api+set}" = set; then :
17752   enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
17753 else
17754   mm_enable_deprecated_api=yes
17755 fi
17756 if test "x$mm_enable_deprecated_api" = xno; then :
17757   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
17758 Do not use this option for distribution packages." >&5
17759 $as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
17760 Do not use this option for distribution packages." >&2;}
17761 else
17762   { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
17763 $as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
17764 fi
17765  if test "x$mm_enable_deprecated_api" = xno; then
17766   DISABLE_DEPRECATED_API_TRUE=
17767   DISABLE_DEPRECATED_API_FALSE='#'
17768 else
17769   DISABLE_DEPRECATED_API_TRUE='#'
17770   DISABLE_DEPRECATED_API_FALSE=
17771 fi
17772
17773 if test "x$mm_enable_deprecated_api" = xno; then :
17774
17775 $as_echo "#define SIGCXX_DISABLE_DEPRECATED 1" >>confdefs.h
17776
17777
17778 fi
17779
17780 # Check whether --enable-benchmark was given.
17781 if test "${enable_benchmark+set}" = set; then :
17782   enableval=$enable_benchmark;
17783 fi
17784
17785
17786  if test "x$enable_benchmark" = xyes; then
17787   SIGC_BUILD_BENCHMARK_TRUE=
17788   SIGC_BUILD_BENCHMARK_FALSE='#'
17789 else
17790   SIGC_BUILD_BENCHMARK_TRUE='#'
17791   SIGC_BUILD_BENCHMARK_FALSE=
17792 fi
17793
17794
17795 if test "x$enable_benchmark" = xyes; then :
17796
17797   #Use boost::timer for our benchmark, if it's available.
17798   # See http://www.gnu.org/software/autoconf-archive/ax_boost_base.html
17799   # Boost System is needed by Boost Timer
17800
17801
17802 # Check whether --with-boost was given.
17803 if test "${with_boost+set}" = set; then :
17804   withval=$with_boost;
17805     if test "$withval" = "no"; then
17806         want_boost="no"
17807     elif test "$withval" = "yes"; then
17808         want_boost="yes"
17809         ac_boost_path=""
17810     else
17811         want_boost="yes"
17812         ac_boost_path="$withval"
17813     fi
17814
17815 else
17816   want_boost="yes"
17817 fi
17818
17819
17820
17821
17822 # Check whether --with-boost-libdir was given.
17823 if test "${with_boost_libdir+set}" = set; then :
17824   withval=$with_boost_libdir;
17825         if test -d "$withval"
17826         then
17827                 ac_boost_lib_path="$withval"
17828         else
17829                 as_fn_error $? "--with-boost-libdir expected directory name" "$LINENO" 5
17830         fi
17831
17832 else
17833   ac_boost_lib_path=""
17834
17835 fi
17836
17837
17838 if test "x$want_boost" = "xyes"; then
17839     boost_lib_version_req=1.20.0
17840     boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
17841     boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
17842     boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
17843     boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
17844     if test "x$boost_lib_version_req_sub_minor" = "x" ; then
17845         boost_lib_version_req_sub_minor="0"
17846         fi
17847     WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+  $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
17848     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= $boost_lib_version_req" >&5
17849 $as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; }
17850     succeeded=no
17851
17852                         libsubdirs="lib"
17853     ax_arch=`uname -m`
17854     case $ax_arch in
17855       x86_64)
17856         libsubdirs="lib64 libx32 lib lib64"
17857         ;;
17858       ppc64|s390x|sparc64|aarch64|ppc64le)
17859         libsubdirs="lib64 lib lib64 ppc64le"
17860         ;;
17861     esac
17862
17863
17864     libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs"
17865
17866     case ${host_cpu} in
17867       i?86)
17868         libsubdirs="lib/i386-${host_os} $libsubdirs"
17869         ;;
17870     esac
17871
17872                 if test "$ac_boost_path" != ""; then
17873         BOOST_CPPFLAGS="-I$ac_boost_path/include"
17874         for ac_boost_path_tmp in $libsubdirs; do
17875                 if test -d "$ac_boost_path"/"$ac_boost_path_tmp" ; then
17876                         BOOST_LDFLAGS="-L$ac_boost_path/$ac_boost_path_tmp"
17877                         break
17878                 fi
17879         done
17880     elif test "$cross_compiling" != yes; then
17881         for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
17882             if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
17883                 for libsubdir in $libsubdirs ; do
17884                     if ls "$ac_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
17885                 done
17886                 BOOST_LDFLAGS="-L$ac_boost_path_tmp/$libsubdir"
17887                 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
17888                 break;
17889             fi
17890         done
17891     fi
17892
17893             if test "$ac_boost_lib_path" != ""; then
17894        BOOST_LDFLAGS="-L$ac_boost_lib_path"
17895     fi
17896
17897     CPPFLAGS_SAVED="$CPPFLAGS"
17898     CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
17899     export CPPFLAGS
17900
17901     LDFLAGS_SAVED="$LDFLAGS"
17902     LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
17903     export LDFLAGS
17904
17905
17906     ac_ext=cpp
17907 ac_cpp='$CXXCPP $CPPFLAGS'
17908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17911
17912         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h.  */
17914
17915     #include <boost/version.hpp>
17916
17917 int
17918 main ()
17919 {
17920
17921     #if BOOST_VERSION >= $WANT_BOOST_VERSION
17922     // Everything is okay
17923     #else
17924     #  error Boost version is too old
17925     #endif
17926
17927   ;
17928   return 0;
17929 }
17930 _ACEOF
17931 if ac_fn_cxx_try_compile "$LINENO"; then :
17932
17933         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17934 $as_echo "yes" >&6; }
17935     succeeded=yes
17936     found_system=yes
17937
17938 fi
17939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17940     ac_ext=cpp
17941 ac_cpp='$CXXCPP $CPPFLAGS'
17942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17945
17946
17947
17948
17949             if test "x$succeeded" != "xyes"; then
17950         CPPFLAGS="$CPPFLAGS_SAVED"
17951         LDFLAGS="$LDFLAGS_SAVED"
17952         BOOST_CPPFLAGS=
17953         BOOST_LDFLAGS=
17954         _version=0
17955         if test "$ac_boost_path" != ""; then
17956             if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
17957                 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
17958                     _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
17959                     V_CHECK=`expr $_version_tmp \> $_version`
17960                     if test "$V_CHECK" = "1" ; then
17961                         _version=$_version_tmp
17962                     fi
17963                     VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
17964                     BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
17965                 done
17966                                 if test -z "$BOOST_CPPFLAGS"; then
17967                     if test -d "$ac_boost_path/boost" && test -r "$ac_boost_path/boost"; then
17968                         BOOST_CPPFLAGS="-I$ac_boost_path"
17969                     fi
17970                 fi
17971             fi
17972         else
17973             if test "$cross_compiling" != yes; then
17974                 for ac_boost_path in /usr /usr/local /opt /opt/local ; do
17975                     if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
17976                         for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
17977                             _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
17978                             V_CHECK=`expr $_version_tmp \> $_version`
17979                             if test "$V_CHECK" = "1" ; then
17980                                 _version=$_version_tmp
17981                                 best_path=$ac_boost_path
17982                             fi
17983                         done
17984                     fi
17985                 done
17986
17987                 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
17988                 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
17989                 if test "$ac_boost_lib_path" = ""; then
17990                     for libsubdir in $libsubdirs ; do
17991                         if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
17992                     done
17993                     BOOST_LDFLAGS="-L$best_path/$libsubdir"
17994                 fi
17995             fi
17996
17997             if test "x$BOOST_ROOT" != "x"; then
17998                 for libsubdir in $libsubdirs ; do
17999                     if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
18000                 done
18001                 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
18002                     version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
18003                     stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
18004                         stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
18005                     V_CHECK=`expr $stage_version_shorten \>\= $_version`
18006                     if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; then
18007                         { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
18008 $as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
18009                         BOOST_CPPFLAGS="-I$BOOST_ROOT"
18010                         BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir"
18011                     fi
18012                 fi
18013             fi
18014         fi
18015
18016         CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18017         export CPPFLAGS
18018         LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
18019         export LDFLAGS
18020
18021         ac_ext=cpp
18022 ac_cpp='$CXXCPP $CPPFLAGS'
18023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18026
18027             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h.  */
18029
18030         #include <boost/version.hpp>
18031
18032 int
18033 main ()
18034 {
18035
18036         #if BOOST_VERSION >= $WANT_BOOST_VERSION
18037         // Everything is okay
18038         #else
18039         #  error Boost version is too old
18040         #endif
18041
18042   ;
18043   return 0;
18044 }
18045 _ACEOF
18046 if ac_fn_cxx_try_compile "$LINENO"; then :
18047
18048             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18049 $as_echo "yes" >&6; }
18050         succeeded=yes
18051         found_system=yes
18052
18053 fi
18054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18055         ac_ext=cpp
18056 ac_cpp='$CXXCPP $CPPFLAGS'
18057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18060
18061     fi
18062
18063     if test "$succeeded" != "yes" ; then
18064         if test "$_version" = "0" ; then
18065             { $as_echo "$as_me:${as_lineno-$LINENO}: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option.  If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&5
18066 $as_echo "$as_me: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option.  If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&6;}
18067         else
18068             { $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
18069 $as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
18070         fi
18071         # execute ACTION-IF-NOT-FOUND (if present):
18072         :
18073     else
18074
18075
18076
18077 $as_echo "#define HAVE_BOOST /**/" >>confdefs.h
18078
18079         # execute ACTION-IF-FOUND (if present):
18080         :
18081     fi
18082
18083     CPPFLAGS="$CPPFLAGS_SAVED"
18084     LDFLAGS="$LDFLAGS_SAVED"
18085 fi
18086
18087
18088
18089
18090 # Check whether --with-boost-system was given.
18091 if test "${with_boost_system+set}" = set; then :
18092   withval=$with_boost_system;
18093         if test "$withval" = "no"; then
18094                         want_boost="no"
18095         elif test "$withval" = "yes"; then
18096             want_boost="yes"
18097             ax_boost_user_system_lib=""
18098         else
18099                     want_boost="yes"
18100                 ax_boost_user_system_lib="$withval"
18101                 fi
18102
18103 else
18104   want_boost="yes"
18105
18106 fi
18107
18108
18109         if test "x$want_boost" = "xyes"; then
18110
18111
18112                 CPPFLAGS_SAVED="$CPPFLAGS"
18113                 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18114                 export CPPFLAGS
18115
18116                 LDFLAGS_SAVED="$LDFLAGS"
18117                 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
18118                 export LDFLAGS
18119
18120         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::System library is available" >&5
18121 $as_echo_n "checking whether the Boost::System library is available... " >&6; }
18122 if ${ax_cv_boost_system+:} false; then :
18123   $as_echo_n "(cached) " >&6
18124 else
18125   ac_ext=cpp
18126 ac_cpp='$CXXCPP $CPPFLAGS'
18127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18130
18131                          CXXFLAGS_SAVE=$CXXFLAGS
18132
18133                          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h.  */
18135 #include <boost/system/error_code.hpp>
18136 int
18137 main ()
18138 {
18139 boost::system::system_category
18140   ;
18141   return 0;
18142 }
18143 _ACEOF
18144 if ac_fn_cxx_try_compile "$LINENO"; then :
18145   ax_cv_boost_system=yes
18146 else
18147   ax_cv_boost_system=no
18148 fi
18149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18150                          CXXFLAGS=$CXXFLAGS_SAVE
18151              ac_ext=cpp
18152 ac_cpp='$CXXCPP $CPPFLAGS'
18153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18156
18157
18158 fi
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_system" >&5
18160 $as_echo "$ax_cv_boost_system" >&6; }
18161                 if test "x$ax_cv_boost_system" = "xyes"; then
18162
18163
18164
18165 $as_echo "#define HAVE_BOOST_SYSTEM /**/" >>confdefs.h
18166
18167             BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
18168
18169                         LDFLAGS_SAVE=$LDFLAGS
18170             if test "x$ax_boost_user_system_lib" = "x"; then
18171                 for libextension in `ls -r $BOOSTLIBDIR/libboost_system* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
18172                      ax_lib=${libextension}
18173                                     as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18175 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18176 if eval \${$as_ac_Lib+:} false; then :
18177   $as_echo_n "(cached) " >&6
18178 else
18179   ac_check_lib_save_LIBS=$LIBS
18180 LIBS="-l$ax_lib  $LIBS"
18181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18182 /* end confdefs.h.  */
18183
18184 /* Override any GCC internal prototype to avoid an error.
18185    Use char because int might match the return type of a GCC
18186    builtin and then its argument prototype would still apply.  */
18187 #ifdef __cplusplus
18188 extern "C"
18189 #endif
18190 char exit ();
18191 int
18192 main ()
18193 {
18194 return exit ();
18195   ;
18196   return 0;
18197 }
18198 _ACEOF
18199 if ac_fn_cxx_try_link "$LINENO"; then :
18200   eval "$as_ac_Lib=yes"
18201 else
18202   eval "$as_ac_Lib=no"
18203 fi
18204 rm -f core conftest.err conftest.$ac_objext \
18205     conftest$ac_exeext conftest.$ac_ext
18206 LIBS=$ac_check_lib_save_LIBS
18207 fi
18208 eval ac_res=\$$as_ac_Lib
18209                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18210 $as_echo "$ac_res" >&6; }
18211 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18212   BOOST_SYSTEM_LIB="-l$ax_lib";  link_system="yes"; break
18213 else
18214   link_system="no"
18215 fi
18216
18217                                 done
18218                 if test "x$link_system" != "xyes"; then
18219                 for libextension in `ls -r $BOOSTLIBDIR/boost_system* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
18220                      ax_lib=${libextension}
18221                                     as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18223 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18224 if eval \${$as_ac_Lib+:} false; then :
18225   $as_echo_n "(cached) " >&6
18226 else
18227   ac_check_lib_save_LIBS=$LIBS
18228 LIBS="-l$ax_lib  $LIBS"
18229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18230 /* end confdefs.h.  */
18231
18232 /* Override any GCC internal prototype to avoid an error.
18233    Use char because int might match the return type of a GCC
18234    builtin and then its argument prototype would still apply.  */
18235 #ifdef __cplusplus
18236 extern "C"
18237 #endif
18238 char exit ();
18239 int
18240 main ()
18241 {
18242 return exit ();
18243   ;
18244   return 0;
18245 }
18246 _ACEOF
18247 if ac_fn_cxx_try_link "$LINENO"; then :
18248   eval "$as_ac_Lib=yes"
18249 else
18250   eval "$as_ac_Lib=no"
18251 fi
18252 rm -f core conftest.err conftest.$ac_objext \
18253     conftest$ac_exeext conftest.$ac_ext
18254 LIBS=$ac_check_lib_save_LIBS
18255 fi
18256 eval ac_res=\$$as_ac_Lib
18257                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18258 $as_echo "$ac_res" >&6; }
18259 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18260   BOOST_SYSTEM_LIB="-l$ax_lib";  link_system="yes"; break
18261 else
18262   link_system="no"
18263 fi
18264
18265                                 done
18266                 fi
18267
18268             else
18269                for ax_lib in $ax_boost_user_system_lib boost_system-$ax_boost_user_system_lib; do
18270                                       as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18272 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18273 if eval \${$as_ac_Lib+:} false; then :
18274   $as_echo_n "(cached) " >&6
18275 else
18276   ac_check_lib_save_LIBS=$LIBS
18277 LIBS="-l$ax_lib  $LIBS"
18278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18279 /* end confdefs.h.  */
18280
18281 /* Override any GCC internal prototype to avoid an error.
18282    Use char because int might match the return type of a GCC
18283    builtin and then its argument prototype would still apply.  */
18284 #ifdef __cplusplus
18285 extern "C"
18286 #endif
18287 char exit ();
18288 int
18289 main ()
18290 {
18291 return exit ();
18292   ;
18293   return 0;
18294 }
18295 _ACEOF
18296 if ac_fn_cxx_try_link "$LINENO"; then :
18297   eval "$as_ac_Lib=yes"
18298 else
18299   eval "$as_ac_Lib=no"
18300 fi
18301 rm -f core conftest.err conftest.$ac_objext \
18302     conftest$ac_exeext conftest.$ac_ext
18303 LIBS=$ac_check_lib_save_LIBS
18304 fi
18305 eval ac_res=\$$as_ac_Lib
18306                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18307 $as_echo "$ac_res" >&6; }
18308 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18309   BOOST_SYSTEM_LIB="-l$ax_lib";  link_system="yes"; break
18310 else
18311   link_system="no"
18312 fi
18313
18314                   done
18315
18316             fi
18317             if test "x$ax_lib" = "x"; then
18318                 as_fn_error $? "Could not find a version of the library!" "$LINENO" 5
18319             fi
18320                         if test "x$link_system" = "xno"; then
18321                                 as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5
18322                         fi
18323                 fi
18324
18325                 CPPFLAGS="$CPPFLAGS_SAVED"
18326         LDFLAGS="$LDFLAGS_SAVED"
18327         fi
18328
18329
18330
18331 # Check whether --with-boost-timer was given.
18332 if test "${with_boost_timer+set}" = set; then :
18333   withval=$with_boost_timer;
18334         if test "$withval" = "no"; then
18335                         want_boost="no"
18336         elif test "$withval" = "yes"; then
18337             want_boost="yes"
18338             ax_boost_user_timer_lib=""
18339         else
18340                     want_boost="yes"
18341                 ax_boost_user_timer_lib="$withval"
18342                 fi
18343
18344 else
18345   want_boost="yes"
18346
18347 fi
18348
18349
18350         if test "x$want_boost" = "xyes"; then
18351
18352
18353                 CPPFLAGS_SAVED="$CPPFLAGS"
18354                 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18355                 export CPPFLAGS
18356
18357                 LDFLAGS_SAVED="$LDFLAGS"
18358                 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
18359                 export LDFLAGS
18360
18361         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::Timer library is available" >&5
18362 $as_echo_n "checking whether the Boost::Timer library is available... " >&6; }
18363 if ${ax_cv_boost_timer+:} false; then :
18364   $as_echo_n "(cached) " >&6
18365 else
18366   ac_ext=cpp
18367 ac_cpp='$CXXCPP $CPPFLAGS'
18368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18371
18372                          CXXFLAGS_SAVE=$CXXFLAGS
18373
18374                          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h.  */
18376 #include <boost/timer/timer.hpp>
18377 int
18378 main ()
18379 {
18380 boost::timer::cpu_timer().stop();
18381   ;
18382   return 0;
18383 }
18384 _ACEOF
18385 if ac_fn_cxx_try_compile "$LINENO"; then :
18386   ax_cv_boost_timer=yes
18387 else
18388   ax_cv_boost_timer=no
18389 fi
18390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18391                          CXXFLAGS=$CXXFLAGS_SAVE
18392              ac_ext=cpp
18393 ac_cpp='$CXXCPP $CPPFLAGS'
18394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18397
18398
18399 fi
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_timer" >&5
18401 $as_echo "$ax_cv_boost_timer" >&6; }
18402                 if test "x$ax_cv_boost_timer" = "xyes"; then
18403
18404
18405
18406 $as_echo "#define HAVE_BOOST_TIMER /**/" >>confdefs.h
18407
18408             BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
18409
18410                         LDFLAGS_SAVE=$LDFLAGS
18411             if test "x$ax_boost_user_timer_lib" = "x"; then
18412                 for libextension in `ls $BOOSTLIBDIR/libboost_timer*.so* $BOOSTLIBDIR/libboost_timer*.dylib* $BOOSTLIBDIR/libboost_timer*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_timer.*\)\.so.*$;\1;' -e 's;^lib\(boost_timer.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_timer.*\)\.a.*$;\1;'` ; do
18413                      ax_lib=${libextension}
18414                                     as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18416 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18417 if eval \${$as_ac_Lib+:} false; then :
18418   $as_echo_n "(cached) " >&6
18419 else
18420   ac_check_lib_save_LIBS=$LIBS
18421 LIBS="-l$ax_lib  $LIBS"
18422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h.  */
18424
18425 /* Override any GCC internal prototype to avoid an error.
18426    Use char because int might match the return type of a GCC
18427    builtin and then its argument prototype would still apply.  */
18428 #ifdef __cplusplus
18429 extern "C"
18430 #endif
18431 char exit ();
18432 int
18433 main ()
18434 {
18435 return exit ();
18436   ;
18437   return 0;
18438 }
18439 _ACEOF
18440 if ac_fn_cxx_try_link "$LINENO"; then :
18441   eval "$as_ac_Lib=yes"
18442 else
18443   eval "$as_ac_Lib=no"
18444 fi
18445 rm -f core conftest.err conftest.$ac_objext \
18446     conftest$ac_exeext conftest.$ac_ext
18447 LIBS=$ac_check_lib_save_LIBS
18448 fi
18449 eval ac_res=\$$as_ac_Lib
18450                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18451 $as_echo "$ac_res" >&6; }
18452 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18453   BOOST_TIMER_LIB="-l$ax_lib";  link_timer="yes"; break
18454 else
18455   link_timer="no"
18456 fi
18457
18458                                 done
18459                 if test "x$link_timer" != "xyes"; then
18460                 for libextension in `ls $BOOSTLIBDIR/boost_timer*.dll* $BOOSTLIBDIR/boost_timer*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_timer.*\)\.dll.*$;\1;' -e 's;^\(boost_timer.*\)\.a.*$;\1;'` ; do
18461                      ax_lib=${libextension}
18462                                     as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18464 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18465 if eval \${$as_ac_Lib+:} false; then :
18466   $as_echo_n "(cached) " >&6
18467 else
18468   ac_check_lib_save_LIBS=$LIBS
18469 LIBS="-l$ax_lib  $LIBS"
18470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h.  */
18472
18473 /* Override any GCC internal prototype to avoid an error.
18474    Use char because int might match the return type of a GCC
18475    builtin and then its argument prototype would still apply.  */
18476 #ifdef __cplusplus
18477 extern "C"
18478 #endif
18479 char exit ();
18480 int
18481 main ()
18482 {
18483 return exit ();
18484   ;
18485   return 0;
18486 }
18487 _ACEOF
18488 if ac_fn_cxx_try_link "$LINENO"; then :
18489   eval "$as_ac_Lib=yes"
18490 else
18491   eval "$as_ac_Lib=no"
18492 fi
18493 rm -f core conftest.err conftest.$ac_objext \
18494     conftest$ac_exeext conftest.$ac_ext
18495 LIBS=$ac_check_lib_save_LIBS
18496 fi
18497 eval ac_res=\$$as_ac_Lib
18498                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18499 $as_echo "$ac_res" >&6; }
18500 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18501   BOOST_TIMER_LIB="-l$ax_lib";  link_timer="yes"; break
18502 else
18503   link_timer="no"
18504 fi
18505
18506                                 done
18507                 fi
18508
18509             else
18510                for ax_lib in $ax_boost_user_timer_lib boost_timer-$ax_boost_user_timer_lib; do
18511                                       as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18513 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18514 if eval \${$as_ac_Lib+:} false; then :
18515   $as_echo_n "(cached) " >&6
18516 else
18517   ac_check_lib_save_LIBS=$LIBS
18518 LIBS="-l$ax_lib  $LIBS"
18519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h.  */
18521
18522 /* Override any GCC internal prototype to avoid an error.
18523    Use char because int might match the return type of a GCC
18524    builtin and then its argument prototype would still apply.  */
18525 #ifdef __cplusplus
18526 extern "C"
18527 #endif
18528 char exit ();
18529 int
18530 main ()
18531 {
18532 return exit ();
18533   ;
18534   return 0;
18535 }
18536 _ACEOF
18537 if ac_fn_cxx_try_link "$LINENO"; then :
18538   eval "$as_ac_Lib=yes"
18539 else
18540   eval "$as_ac_Lib=no"
18541 fi
18542 rm -f core conftest.err conftest.$ac_objext \
18543     conftest$ac_exeext conftest.$ac_ext
18544 LIBS=$ac_check_lib_save_LIBS
18545 fi
18546 eval ac_res=\$$as_ac_Lib
18547                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18548 $as_echo "$ac_res" >&6; }
18549 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18550   BOOST_TIMER_LIB="-l$ax_lib";  link_timer="yes"; break
18551 else
18552   link_timer="no"
18553 fi
18554
18555                   done
18556
18557             fi
18558             if test "x$ax_lib" = "x"; then
18559                 as_fn_error $? "Could not find a version of the library!" "$LINENO" 5
18560             fi
18561                         if test "x$link_timer" = "xno"; then
18562                                 as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5
18563                         fi
18564                 fi
18565
18566                 CPPFLAGS="$CPPFLAGS_SAVED"
18567         LDFLAGS="$LDFLAGS_SAVED"
18568         fi
18569
18570
18571 fi
18572
18573 ac_config_files="$ac_config_files Makefile ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in cmake/Makefile sigc++/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2017/sigc.rc"
18574
18575
18576 # Copy the generated configuration headers into the MSVC project directories.
18577 ac_config_commands="$ac_config_commands MSVC_Net2017/sigc++config.h"
18578
18579 cat >confcache <<\_ACEOF
18580 # This file is a shell script that caches the results of configure
18581 # tests run on this system so they can be shared between configure
18582 # scripts and configure runs, see configure's option --config-cache.
18583 # It is not useful on other systems.  If it contains results you don't
18584 # want to keep, you may remove or edit it.
18585 #
18586 # config.status only pays attention to the cache file if you give it
18587 # the --recheck option to rerun configure.
18588 #
18589 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18590 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18591 # following values.
18592
18593 _ACEOF
18594
18595 # The following way of writing the cache mishandles newlines in values,
18596 # but we know of no workaround that is simple, portable, and efficient.
18597 # So, we kill variables containing newlines.
18598 # Ultrix sh set writes to stderr and can't be redirected directly,
18599 # and sets the high bit in the cache file unless we assign to the vars.
18600 (
18601   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18602     eval ac_val=\$$ac_var
18603     case $ac_val in #(
18604     *${as_nl}*)
18605       case $ac_var in #(
18606       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18607 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18608       esac
18609       case $ac_var in #(
18610       _ | IFS | as_nl) ;; #(
18611       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18612       *) { eval $ac_var=; unset $ac_var;} ;;
18613       esac ;;
18614     esac
18615   done
18616
18617   (set) 2>&1 |
18618     case $as_nl`(ac_space=' '; set) 2>&1` in #(
18619     *${as_nl}ac_space=\ *)
18620       # `set' does not quote correctly, so add quotes: double-quote
18621       # substitution turns \\\\ into \\, and sed turns \\ into \.
18622       sed -n \
18623         "s/'/'\\\\''/g;
18624           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18625       ;; #(
18626     *)
18627       # `set' quotes correctly as required by POSIX, so do not add quotes.
18628       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18629       ;;
18630     esac |
18631     sort
18632 ) |
18633   sed '
18634      /^ac_cv_env_/b end
18635      t clear
18636      :clear
18637      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18638      t end
18639      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18640      :end' >>confcache
18641 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18642   if test -w "$cache_file"; then
18643     if test "x$cache_file" != "x/dev/null"; then
18644       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18645 $as_echo "$as_me: updating cache $cache_file" >&6;}
18646       if test ! -f "$cache_file" || test -h "$cache_file"; then
18647         cat confcache >"$cache_file"
18648       else
18649         case $cache_file in #(
18650         */* | ?:*)
18651           mv -f confcache "$cache_file"$$ &&
18652           mv -f "$cache_file"$$ "$cache_file" ;; #(
18653         *)
18654           mv -f confcache "$cache_file" ;;
18655         esac
18656       fi
18657     fi
18658   else
18659     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18660 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18661   fi
18662 fi
18663 rm -f confcache
18664
18665 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18666 # Let make expand exec_prefix.
18667 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18668
18669 DEFS=-DHAVE_CONFIG_H
18670
18671 ac_libobjs=
18672 ac_ltlibobjs=
18673 U=
18674 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18675   # 1. Remove the extension, and $U if already installed.
18676   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18677   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18678   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18679   #    will be set to the directory where LIBOBJS objects are built.
18680   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18681   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18682 done
18683 LIBOBJS=$ac_libobjs
18684
18685 LTLIBOBJS=$ac_ltlibobjs
18686
18687
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18689 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18690    if test -n "$am_sleep_pid"; then
18691      # Hide warnings about reused PIDs.
18692      wait $am_sleep_pid 2>/dev/null
18693    fi
18694    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18695 $as_echo "done" >&6; }
18696  if test -n "$EXEEXT"; then
18697   am__EXEEXT_TRUE=
18698   am__EXEEXT_FALSE='#'
18699 else
18700   am__EXEEXT_TRUE='#'
18701   am__EXEEXT_FALSE=
18702 fi
18703
18704 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18705   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
18706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18707 fi
18708 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
18709   as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
18710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18711 fi
18712 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18713   as_fn_error $? "conditional \"AMDEP\" was never defined.
18714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18715 fi
18716 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18717   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
18718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18719 fi
18720 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18721   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18723 fi
18724 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
18725   as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
18726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18727 fi
18728 if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
18729   as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
18730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18731 fi
18732 if test -z "${SIGC_BUILD_BENCHMARK_TRUE}" && test -z "${SIGC_BUILD_BENCHMARK_FALSE}"; then
18733   as_fn_error $? "conditional \"SIGC_BUILD_BENCHMARK\" was never defined.
18734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18735 fi
18736
18737 : "${CONFIG_STATUS=./config.status}"
18738 ac_write_fail=0
18739 ac_clean_files_save=$ac_clean_files
18740 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18742 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18743 as_write_fail=0
18744 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18745 #! $SHELL
18746 # Generated by $as_me.
18747 # Run this file to recreate the current configuration.
18748 # Compiler output produced by configure, useful for debugging
18749 # configure, is in config.log if it exists.
18750
18751 debug=false
18752 ac_cs_recheck=false
18753 ac_cs_silent=false
18754
18755 SHELL=\${CONFIG_SHELL-$SHELL}
18756 export SHELL
18757 _ASEOF
18758 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18759 ## -------------------- ##
18760 ## M4sh Initialization. ##
18761 ## -------------------- ##
18762
18763 # Be more Bourne compatible
18764 DUALCASE=1; export DUALCASE # for MKS sh
18765 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18766   emulate sh
18767   NULLCMD=:
18768   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18769   # is contrary to our usage.  Disable this feature.
18770   alias -g '${1+"$@"}'='"$@"'
18771   setopt NO_GLOB_SUBST
18772 else
18773   case `(set -o) 2>/dev/null` in #(
18774   *posix*) :
18775     set -o posix ;; #(
18776   *) :
18777      ;;
18778 esac
18779 fi
18780
18781
18782 as_nl='
18783 '
18784 export as_nl
18785 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18786 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18787 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18788 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18789 # Prefer a ksh shell builtin over an external printf program on Solaris,
18790 # but without wasting forks for bash or zsh.
18791 if test -z "$BASH_VERSION$ZSH_VERSION" \
18792     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18793   as_echo='print -r --'
18794   as_echo_n='print -rn --'
18795 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18796   as_echo='printf %s\n'
18797   as_echo_n='printf %s'
18798 else
18799   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18800     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18801     as_echo_n='/usr/ucb/echo -n'
18802   else
18803     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18804     as_echo_n_body='eval
18805       arg=$1;
18806       case $arg in #(
18807       *"$as_nl"*)
18808         expr "X$arg" : "X\\(.*\\)$as_nl";
18809         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18810       esac;
18811       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18812     '
18813     export as_echo_n_body
18814     as_echo_n='sh -c $as_echo_n_body as_echo'
18815   fi
18816   export as_echo_body
18817   as_echo='sh -c $as_echo_body as_echo'
18818 fi
18819
18820 # The user is always right.
18821 if test "${PATH_SEPARATOR+set}" != set; then
18822   PATH_SEPARATOR=:
18823   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18824     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18825       PATH_SEPARATOR=';'
18826   }
18827 fi
18828
18829
18830 # IFS
18831 # We need space, tab and new line, in precisely that order.  Quoting is
18832 # there to prevent editors from complaining about space-tab.
18833 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18834 # splitting by setting IFS to empty value.)
18835 IFS=" ""        $as_nl"
18836
18837 # Find who we are.  Look in the path if we contain no directory separator.
18838 as_myself=
18839 case $0 in #((
18840   *[\\/]* ) as_myself=$0 ;;
18841   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18842 for as_dir in $PATH
18843 do
18844   IFS=$as_save_IFS
18845   test -z "$as_dir" && as_dir=.
18846     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18847   done
18848 IFS=$as_save_IFS
18849
18850      ;;
18851 esac
18852 # We did not find ourselves, most probably we were run as `sh COMMAND'
18853 # in which case we are not to be found in the path.
18854 if test "x$as_myself" = x; then
18855   as_myself=$0
18856 fi
18857 if test ! -f "$as_myself"; then
18858   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18859   exit 1
18860 fi
18861
18862 # Unset variables that we do not need and which cause bugs (e.g. in
18863 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18864 # suppresses any "Segmentation fault" message there.  '((' could
18865 # trigger a bug in pdksh 5.2.14.
18866 for as_var in BASH_ENV ENV MAIL MAILPATH
18867 do eval test x\${$as_var+set} = xset \
18868   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18869 done
18870 PS1='$ '
18871 PS2='> '
18872 PS4='+ '
18873
18874 # NLS nuisances.
18875 LC_ALL=C
18876 export LC_ALL
18877 LANGUAGE=C
18878 export LANGUAGE
18879
18880 # CDPATH.
18881 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18882
18883
18884 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18885 # ----------------------------------------
18886 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18887 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18888 # script with STATUS, using 1 if that was 0.
18889 as_fn_error ()
18890 {
18891   as_status=$1; test $as_status -eq 0 && as_status=1
18892   if test "$4"; then
18893     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18894     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18895   fi
18896   $as_echo "$as_me: error: $2" >&2
18897   as_fn_exit $as_status
18898 } # as_fn_error
18899
18900
18901 # as_fn_set_status STATUS
18902 # -----------------------
18903 # Set $? to STATUS, without forking.
18904 as_fn_set_status ()
18905 {
18906   return $1
18907 } # as_fn_set_status
18908
18909 # as_fn_exit STATUS
18910 # -----------------
18911 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18912 as_fn_exit ()
18913 {
18914   set +e
18915   as_fn_set_status $1
18916   exit $1
18917 } # as_fn_exit
18918
18919 # as_fn_unset VAR
18920 # ---------------
18921 # Portably unset VAR.
18922 as_fn_unset ()
18923 {
18924   { eval $1=; unset $1;}
18925 }
18926 as_unset=as_fn_unset
18927 # as_fn_append VAR VALUE
18928 # ----------------------
18929 # Append the text in VALUE to the end of the definition contained in VAR. Take
18930 # advantage of any shell optimizations that allow amortized linear growth over
18931 # repeated appends, instead of the typical quadratic growth present in naive
18932 # implementations.
18933 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18934   eval 'as_fn_append ()
18935   {
18936     eval $1+=\$2
18937   }'
18938 else
18939   as_fn_append ()
18940   {
18941     eval $1=\$$1\$2
18942   }
18943 fi # as_fn_append
18944
18945 # as_fn_arith ARG...
18946 # ------------------
18947 # Perform arithmetic evaluation on the ARGs, and store the result in the
18948 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18949 # must be portable across $(()) and expr.
18950 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18951   eval 'as_fn_arith ()
18952   {
18953     as_val=$(( $* ))
18954   }'
18955 else
18956   as_fn_arith ()
18957   {
18958     as_val=`expr "$@" || test $? -eq 1`
18959   }
18960 fi # as_fn_arith
18961
18962
18963 if expr a : '\(a\)' >/dev/null 2>&1 &&
18964    test "X`expr 00001 : '.*\(...\)'`" = X001; then
18965   as_expr=expr
18966 else
18967   as_expr=false
18968 fi
18969
18970 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18971   as_basename=basename
18972 else
18973   as_basename=false
18974 fi
18975
18976 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18977   as_dirname=dirname
18978 else
18979   as_dirname=false
18980 fi
18981
18982 as_me=`$as_basename -- "$0" ||
18983 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18984          X"$0" : 'X\(//\)$' \| \
18985          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18986 $as_echo X/"$0" |
18987     sed '/^.*\/\([^/][^/]*\)\/*$/{
18988             s//\1/
18989             q
18990           }
18991           /^X\/\(\/\/\)$/{
18992             s//\1/
18993             q
18994           }
18995           /^X\/\(\/\).*/{
18996             s//\1/
18997             q
18998           }
18999           s/.*/./; q'`
19000
19001 # Avoid depending upon Character Ranges.
19002 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19003 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19004 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19005 as_cr_digits='0123456789'
19006 as_cr_alnum=$as_cr_Letters$as_cr_digits
19007
19008 ECHO_C= ECHO_N= ECHO_T=
19009 case `echo -n x` in #(((((
19010 -n*)
19011   case `echo 'xy\c'` in
19012   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
19013   xy)  ECHO_C='\c';;
19014   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19015        ECHO_T=' ';;
19016   esac;;
19017 *)
19018   ECHO_N='-n';;
19019 esac
19020
19021 rm -f conf$$ conf$$.exe conf$$.file
19022 if test -d conf$$.dir; then
19023   rm -f conf$$.dir/conf$$.file
19024 else
19025   rm -f conf$$.dir
19026   mkdir conf$$.dir 2>/dev/null
19027 fi
19028 if (echo >conf$$.file) 2>/dev/null; then
19029   if ln -s conf$$.file conf$$ 2>/dev/null; then
19030     as_ln_s='ln -s'
19031     # ... but there are two gotchas:
19032     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19033     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19034     # In both cases, we have to default to `cp -pR'.
19035     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19036       as_ln_s='cp -pR'
19037   elif ln conf$$.file conf$$ 2>/dev/null; then
19038     as_ln_s=ln
19039   else
19040     as_ln_s='cp -pR'
19041   fi
19042 else
19043   as_ln_s='cp -pR'
19044 fi
19045 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19046 rmdir conf$$.dir 2>/dev/null
19047
19048
19049 # as_fn_mkdir_p
19050 # -------------
19051 # Create "$as_dir" as a directory, including parents if necessary.
19052 as_fn_mkdir_p ()
19053 {
19054
19055   case $as_dir in #(
19056   -*) as_dir=./$as_dir;;
19057   esac
19058   test -d "$as_dir" || eval $as_mkdir_p || {
19059     as_dirs=
19060     while :; do
19061       case $as_dir in #(
19062       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19063       *) as_qdir=$as_dir;;
19064       esac
19065       as_dirs="'$as_qdir' $as_dirs"
19066       as_dir=`$as_dirname -- "$as_dir" ||
19067 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19068          X"$as_dir" : 'X\(//\)[^/]' \| \
19069          X"$as_dir" : 'X\(//\)$' \| \
19070          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19071 $as_echo X"$as_dir" |
19072     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19073             s//\1/
19074             q
19075           }
19076           /^X\(\/\/\)[^/].*/{
19077             s//\1/
19078             q
19079           }
19080           /^X\(\/\/\)$/{
19081             s//\1/
19082             q
19083           }
19084           /^X\(\/\).*/{
19085             s//\1/
19086             q
19087           }
19088           s/.*/./; q'`
19089       test -d "$as_dir" && break
19090     done
19091     test -z "$as_dirs" || eval "mkdir $as_dirs"
19092   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19093
19094
19095 } # as_fn_mkdir_p
19096 if mkdir -p . 2>/dev/null; then
19097   as_mkdir_p='mkdir -p "$as_dir"'
19098 else
19099   test -d ./-p && rmdir ./-p
19100   as_mkdir_p=false
19101 fi
19102
19103
19104 # as_fn_executable_p FILE
19105 # -----------------------
19106 # Test if FILE is an executable regular file.
19107 as_fn_executable_p ()
19108 {
19109   test -f "$1" && test -x "$1"
19110 } # as_fn_executable_p
19111 as_test_x='test -x'
19112 as_executable_p=as_fn_executable_p
19113
19114 # Sed expression to map a string onto a valid CPP name.
19115 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19116
19117 # Sed expression to map a string onto a valid variable name.
19118 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19119
19120
19121 exec 6>&1
19122 ## ----------------------------------- ##
19123 ## Main body of $CONFIG_STATUS script. ##
19124 ## ----------------------------------- ##
19125 _ASEOF
19126 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19127
19128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19129 # Save the log message, to keep $0 and so on meaningful, and to
19130 # report actual input values of CONFIG_FILES etc. instead of their
19131 # values after options handling.
19132 ac_log="
19133 This file was extended by libsigc++ $as_me 2.99.9, which was
19134 generated by GNU Autoconf 2.69.  Invocation command line was
19135
19136   CONFIG_FILES    = $CONFIG_FILES
19137   CONFIG_HEADERS  = $CONFIG_HEADERS
19138   CONFIG_LINKS    = $CONFIG_LINKS
19139   CONFIG_COMMANDS = $CONFIG_COMMANDS
19140   $ $0 $@
19141
19142 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19143 "
19144
19145 _ACEOF
19146
19147 case $ac_config_files in *"
19148 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19149 esac
19150
19151 case $ac_config_headers in *"
19152 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19153 esac
19154
19155
19156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19157 # Files that config.status was made for.
19158 config_files="$ac_config_files"
19159 config_headers="$ac_config_headers"
19160 config_commands="$ac_config_commands"
19161
19162 _ACEOF
19163
19164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19165 ac_cs_usage="\
19166 \`$as_me' instantiates files and other configuration actions
19167 from templates according to the current configuration.  Unless the files
19168 and actions are specified as TAGs, all are instantiated by default.
19169
19170 Usage: $0 [OPTION]... [TAG]...
19171
19172   -h, --help       print this help, then exit
19173   -V, --version    print version number and configuration settings, then exit
19174       --config     print configuration, then exit
19175   -q, --quiet, --silent
19176                    do not print progress messages
19177   -d, --debug      don't remove temporary files
19178       --recheck    update $as_me by reconfiguring in the same conditions
19179       --file=FILE[:TEMPLATE]
19180                    instantiate the configuration file FILE
19181       --header=FILE[:TEMPLATE]
19182                    instantiate the configuration header FILE
19183
19184 Configuration files:
19185 $config_files
19186
19187 Configuration headers:
19188 $config_headers
19189
19190 Configuration commands:
19191 $config_commands
19192
19193 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
19194 libsigc++ home page: <http://libsigc.sourceforge.net/>."
19195
19196 _ACEOF
19197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19198 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19199 ac_cs_version="\\
19200 libsigc++ config.status 2.99.9
19201 configured by $0, generated by GNU Autoconf 2.69,
19202   with options \\"\$ac_cs_config\\"
19203
19204 Copyright (C) 2012 Free Software Foundation, Inc.
19205 This config.status script is free software; the Free Software Foundation
19206 gives unlimited permission to copy, distribute and modify it."
19207
19208 ac_pwd='$ac_pwd'
19209 srcdir='$srcdir'
19210 INSTALL='$INSTALL'
19211 MKDIR_P='$MKDIR_P'
19212 AWK='$AWK'
19213 test -n "\$AWK" || AWK=awk
19214 _ACEOF
19215
19216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19217 # The default lists apply if the user does not specify any file.
19218 ac_need_defaults=:
19219 while test $# != 0
19220 do
19221   case $1 in
19222   --*=?*)
19223     ac_option=`expr "X$1" : 'X\([^=]*\)='`
19224     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19225     ac_shift=:
19226     ;;
19227   --*=)
19228     ac_option=`expr "X$1" : 'X\([^=]*\)='`
19229     ac_optarg=
19230     ac_shift=:
19231     ;;
19232   *)
19233     ac_option=$1
19234     ac_optarg=$2
19235     ac_shift=shift
19236     ;;
19237   esac
19238
19239   case $ac_option in
19240   # Handling of the options.
19241   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19242     ac_cs_recheck=: ;;
19243   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19244     $as_echo "$ac_cs_version"; exit ;;
19245   --config | --confi | --conf | --con | --co | --c )
19246     $as_echo "$ac_cs_config"; exit ;;
19247   --debug | --debu | --deb | --de | --d | -d )
19248     debug=: ;;
19249   --file | --fil | --fi | --f )
19250     $ac_shift
19251     case $ac_optarg in
19252     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19253     '') as_fn_error $? "missing file argument" ;;
19254     esac
19255     as_fn_append CONFIG_FILES " '$ac_optarg'"
19256     ac_need_defaults=false;;
19257   --header | --heade | --head | --hea )
19258     $ac_shift
19259     case $ac_optarg in
19260     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19261     esac
19262     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19263     ac_need_defaults=false;;
19264   --he | --h)
19265     # Conflict between --help and --header
19266     as_fn_error $? "ambiguous option: \`$1'
19267 Try \`$0 --help' for more information.";;
19268   --help | --hel | -h )
19269     $as_echo "$ac_cs_usage"; exit ;;
19270   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19271   | -silent | --silent | --silen | --sile | --sil | --si | --s)
19272     ac_cs_silent=: ;;
19273
19274   # This is an error.
19275   -*) as_fn_error $? "unrecognized option: \`$1'
19276 Try \`$0 --help' for more information." ;;
19277
19278   *) as_fn_append ac_config_targets " $1"
19279      ac_need_defaults=false ;;
19280
19281   esac
19282   shift
19283 done
19284
19285 ac_configure_extra_args=
19286
19287 if $ac_cs_silent; then
19288   exec 6>/dev/null
19289   ac_configure_extra_args="$ac_configure_extra_args --silent"
19290 fi
19291
19292 _ACEOF
19293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19294 if \$ac_cs_recheck; then
19295   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19296   shift
19297   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19298   CONFIG_SHELL='$SHELL'
19299   export CONFIG_SHELL
19300   exec "\$@"
19301 fi
19302
19303 _ACEOF
19304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19305 exec 5>>config.log
19306 {
19307   echo
19308   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19309 ## Running $as_me. ##
19310 _ASBOX
19311   $as_echo "$ac_log"
19312 } >&5
19313
19314 _ACEOF
19315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19316 #
19317 # INIT-COMMANDS
19318 #
19319 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19320
19321
19322 # The HP-UX ksh and POSIX shell print the target directory to stdout
19323 # if CDPATH is set.
19324 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19325
19326 sed_quote_subst='$sed_quote_subst'
19327 double_quote_subst='$double_quote_subst'
19328 delay_variable_subst='$delay_variable_subst'
19329 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19330 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19331 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19332 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
19333 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19334 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19335 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19336 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19337 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19338 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
19339 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19340 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19341 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19342 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19343 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19344 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19345 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19346 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19347 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19348 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19349 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19350 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19351 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19352 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19353 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19354 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19355 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19356 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19357 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19358 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19359 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19360 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19361 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19362 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19363 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19364 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19365 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19366 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19367 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19368 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19369 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19370 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19371 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19372 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19373 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19374 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19375 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19376 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19377 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19378 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19379 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19380 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19381 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19382 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19383 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19384 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19385 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19386 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
19387 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19388 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"`'
19389 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
19390 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19391 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19392 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
19393 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19394 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19395 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19396 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19397 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19398 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19399 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19400 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19401 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19402 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19403 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19404 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19405 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19406 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19407 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19408 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19409 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19410 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19411 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19412 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19413 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19414 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19415 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19416 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19417 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19418 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19419 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19420 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19421 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19422 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19423 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19424 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19425 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19426 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19427 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19428 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19429 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19430 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19431 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19432 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19433 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19434 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19435 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19436 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19437 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19438 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19439 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19440 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19441 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19442 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19443 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19444 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19445 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19446 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19447 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19448 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19449 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19450 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19451 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19452 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19453 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19454 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19455 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19456 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19457 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
19458 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
19459 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19460 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19461 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19462 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19463 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19464 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19465 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19466 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19467 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19468 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19469 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19470 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19471 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19472 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19473 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19474 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19475 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19476 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19477 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19478 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19479 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19480 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19481 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19482 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19483 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19484 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19485 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19486 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19487 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19488 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19489 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19490 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19491 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19492 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19493 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19494 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19495 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19496 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19497 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19498 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19499 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19500 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19501 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19502 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19503 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19504 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19505 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19506 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19507 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19508 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19509 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19510 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19511 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19512 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19513 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19514 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19515 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19516 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19517 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19518 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19519
19520 LTCC='$LTCC'
19521 LTCFLAGS='$LTCFLAGS'
19522 compiler='$compiler_DEFAULT'
19523
19524 # A function that is used when there is no print builtin or printf.
19525 func_fallback_echo ()
19526 {
19527   eval 'cat <<_LTECHO_EOF
19528 \$1
19529 _LTECHO_EOF'
19530 }
19531
19532 # Quote evaled strings.
19533 for var in AS \
19534 DLLTOOL \
19535 OBJDUMP \
19536 SHELL \
19537 ECHO \
19538 PATH_SEPARATOR \
19539 SED \
19540 GREP \
19541 EGREP \
19542 FGREP \
19543 LD \
19544 NM \
19545 LN_S \
19546 lt_SP2NL \
19547 lt_NL2SP \
19548 reload_flag \
19549 deplibs_check_method \
19550 file_magic_cmd \
19551 file_magic_glob \
19552 want_nocaseglob \
19553 sharedlib_from_linklib_cmd \
19554 AR \
19555 AR_FLAGS \
19556 archiver_list_spec \
19557 STRIP \
19558 RANLIB \
19559 CC \
19560 CFLAGS \
19561 compiler \
19562 lt_cv_sys_global_symbol_pipe \
19563 lt_cv_sys_global_symbol_to_cdecl \
19564 lt_cv_sys_global_symbol_to_import \
19565 lt_cv_sys_global_symbol_to_c_name_address \
19566 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19567 lt_cv_nm_interface \
19568 nm_file_list_spec \
19569 lt_cv_truncate_bin \
19570 lt_prog_compiler_no_builtin_flag \
19571 lt_prog_compiler_pic \
19572 lt_prog_compiler_wl \
19573 lt_prog_compiler_static \
19574 lt_cv_prog_compiler_c_o \
19575 need_locks \
19576 MANIFEST_TOOL \
19577 DSYMUTIL \
19578 NMEDIT \
19579 LIPO \
19580 OTOOL \
19581 OTOOL64 \
19582 shrext_cmds \
19583 export_dynamic_flag_spec \
19584 whole_archive_flag_spec \
19585 compiler_needs_object \
19586 with_gnu_ld \
19587 allow_undefined_flag \
19588 no_undefined_flag \
19589 hardcode_libdir_flag_spec \
19590 hardcode_libdir_separator \
19591 exclude_expsyms \
19592 include_expsyms \
19593 file_list_spec \
19594 variables_saved_for_relink \
19595 libname_spec \
19596 library_names_spec \
19597 soname_spec \
19598 install_override_mode \
19599 finish_eval \
19600 old_striplib \
19601 striplib \
19602 compiler_lib_search_dirs \
19603 predep_objects \
19604 postdep_objects \
19605 predeps \
19606 postdeps \
19607 compiler_lib_search_path \
19608 LD_CXX \
19609 reload_flag_CXX \
19610 compiler_CXX \
19611 lt_prog_compiler_no_builtin_flag_CXX \
19612 lt_prog_compiler_pic_CXX \
19613 lt_prog_compiler_wl_CXX \
19614 lt_prog_compiler_static_CXX \
19615 lt_cv_prog_compiler_c_o_CXX \
19616 export_dynamic_flag_spec_CXX \
19617 whole_archive_flag_spec_CXX \
19618 compiler_needs_object_CXX \
19619 with_gnu_ld_CXX \
19620 allow_undefined_flag_CXX \
19621 no_undefined_flag_CXX \
19622 hardcode_libdir_flag_spec_CXX \
19623 hardcode_libdir_separator_CXX \
19624 exclude_expsyms_CXX \
19625 include_expsyms_CXX \
19626 file_list_spec_CXX \
19627 compiler_lib_search_dirs_CXX \
19628 predep_objects_CXX \
19629 postdep_objects_CXX \
19630 predeps_CXX \
19631 postdeps_CXX \
19632 compiler_lib_search_path_CXX; do
19633     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19634     *[\\\\\\\`\\"\\\$]*)
19635       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19636       ;;
19637     *)
19638       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19639       ;;
19640     esac
19641 done
19642
19643 # Double-quote double-evaled strings.
19644 for var in reload_cmds \
19645 old_postinstall_cmds \
19646 old_postuninstall_cmds \
19647 old_archive_cmds \
19648 extract_expsyms_cmds \
19649 old_archive_from_new_cmds \
19650 old_archive_from_expsyms_cmds \
19651 archive_cmds \
19652 archive_expsym_cmds \
19653 module_cmds \
19654 module_expsym_cmds \
19655 export_symbols_cmds \
19656 prelink_cmds \
19657 postlink_cmds \
19658 postinstall_cmds \
19659 postuninstall_cmds \
19660 finish_cmds \
19661 sys_lib_search_path_spec \
19662 configure_time_dlsearch_path \
19663 configure_time_lt_sys_library_path \
19664 reload_cmds_CXX \
19665 old_archive_cmds_CXX \
19666 old_archive_from_new_cmds_CXX \
19667 old_archive_from_expsyms_cmds_CXX \
19668 archive_cmds_CXX \
19669 archive_expsym_cmds_CXX \
19670 module_cmds_CXX \
19671 module_expsym_cmds_CXX \
19672 export_symbols_cmds_CXX \
19673 prelink_cmds_CXX \
19674 postlink_cmds_CXX; do
19675     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19676     *[\\\\\\\`\\"\\\$]*)
19677       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19678       ;;
19679     *)
19680       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19681       ;;
19682     esac
19683 done
19684
19685 ac_aux_dir='$ac_aux_dir'
19686
19687 # See if we are running on zsh, and set the options that allow our
19688 # commands through without removal of \ escapes INIT.
19689 if test -n "\${ZSH_VERSION+set}"; then
19690    setopt NO_GLOB_SUBST
19691 fi
19692
19693
19694     PACKAGE='$PACKAGE'
19695     VERSION='$VERSION'
19696     RM='$RM'
19697     ofile='$ofile'
19698
19699
19700
19701
19702
19703
19704 _ACEOF
19705
19706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19707
19708 # Handling of arguments.
19709 for ac_config_target in $ac_config_targets
19710 do
19711   case $ac_config_target in
19712     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19713     "sigc++config.h") CONFIG_HEADERS="$CONFIG_HEADERS sigc++config.h" ;;
19714     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19715     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19716     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19717     "${SIGCXX_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in" ;;
19718     "${SIGCXX_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in" ;;
19719     "cmake/Makefile") CONFIG_FILES="$CONFIG_FILES cmake/Makefile" ;;
19720     "sigc++/Makefile") CONFIG_FILES="$CONFIG_FILES sigc++/Makefile" ;;
19721     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
19722     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
19723     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
19724     "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
19725     "MSVC_Net2017/sigc.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2017/sigc.rc" ;;
19726     "MSVC_Net2017/sigc++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2017/sigc++config.h" ;;
19727
19728   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19729   esac
19730 done
19731
19732
19733 # If the user did not use the arguments to specify the items to instantiate,
19734 # then the envvar interface is used.  Set only those that are not.
19735 # We use the long form for the default assignment because of an extremely
19736 # bizarre bug on SunOS 4.1.3.
19737 if $ac_need_defaults; then
19738   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19739   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19740   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19741 fi
19742
19743 # Have a temporary directory for convenience.  Make it in the build tree
19744 # simply because there is no reason against having it here, and in addition,
19745 # creating and moving files from /tmp can sometimes cause problems.
19746 # Hook for its removal unless debugging.
19747 # Note that there is a small window in which the directory will not be cleaned:
19748 # after its creation but before its name has been assigned to `$tmp'.
19749 $debug ||
19750 {
19751   tmp= ac_tmp=
19752   trap 'exit_status=$?
19753   : "${ac_tmp:=$tmp}"
19754   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19755 ' 0
19756   trap 'as_fn_exit 1' 1 2 13 15
19757 }
19758 # Create a (secure) tmp directory for tmp files.
19759
19760 {
19761   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19762   test -d "$tmp"
19763 }  ||
19764 {
19765   tmp=./conf$$-$RANDOM
19766   (umask 077 && mkdir "$tmp")
19767 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19768 ac_tmp=$tmp
19769
19770 # Set up the scripts for CONFIG_FILES section.
19771 # No need to generate them if there are no CONFIG_FILES.
19772 # This happens for instance with `./config.status config.h'.
19773 if test -n "$CONFIG_FILES"; then
19774
19775
19776 ac_cr=`echo X | tr X '\015'`
19777 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19778 # But we know of no other shell where ac_cr would be empty at this
19779 # point, so we can use a bashism as a fallback.
19780 if test "x$ac_cr" = x; then
19781   eval ac_cr=\$\'\\r\'
19782 fi
19783 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19784 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19785   ac_cs_awk_cr='\\r'
19786 else
19787   ac_cs_awk_cr=$ac_cr
19788 fi
19789
19790 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19791 _ACEOF
19792
19793
19794 {
19795   echo "cat >conf$$subs.awk <<_ACEOF" &&
19796   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19797   echo "_ACEOF"
19798 } >conf$$subs.sh ||
19799   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19800 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19801 ac_delim='%!_!# '
19802 for ac_last_try in false false false false false :; do
19803   . ./conf$$subs.sh ||
19804     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19805
19806   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19807   if test $ac_delim_n = $ac_delim_num; then
19808     break
19809   elif $ac_last_try; then
19810     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19811   else
19812     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19813   fi
19814 done
19815 rm -f conf$$subs.sh
19816
19817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19818 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19819 _ACEOF
19820 sed -n '
19821 h
19822 s/^/S["/; s/!.*/"]=/
19823 p
19824 g
19825 s/^[^!]*!//
19826 :repl
19827 t repl
19828 s/'"$ac_delim"'$//
19829 t delim
19830 :nl
19831 h
19832 s/\(.\{148\}\)..*/\1/
19833 t more1
19834 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19835 p
19836 n
19837 b repl
19838 :more1
19839 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19840 p
19841 g
19842 s/.\{148\}//
19843 t nl
19844 :delim
19845 h
19846 s/\(.\{148\}\)..*/\1/
19847 t more2
19848 s/["\\]/\\&/g; s/^/"/; s/$/"/
19849 p
19850 b
19851 :more2
19852 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19853 p
19854 g
19855 s/.\{148\}//
19856 t delim
19857 ' <conf$$subs.awk | sed '
19858 /^[^""]/{
19859   N
19860   s/\n//
19861 }
19862 ' >>$CONFIG_STATUS || ac_write_fail=1
19863 rm -f conf$$subs.awk
19864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19865 _ACAWK
19866 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19867   for (key in S) S_is_set[key] = 1
19868   FS = "\a"
19869
19870 }
19871 {
19872   line = $ 0
19873   nfields = split(line, field, "@")
19874   substed = 0
19875   len = length(field[1])
19876   for (i = 2; i < nfields; i++) {
19877     key = field[i]
19878     keylen = length(key)
19879     if (S_is_set[key]) {
19880       value = S[key]
19881       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19882       len += length(value) + length(field[++i])
19883       substed = 1
19884     } else
19885       len += 1 + keylen
19886   }
19887
19888   print line
19889 }
19890
19891 _ACAWK
19892 _ACEOF
19893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19894 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19895   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19896 else
19897   cat
19898 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19899   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19900 _ACEOF
19901
19902 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19903 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19904 # trailing colons and then remove the whole line if VPATH becomes empty
19905 # (actually we leave an empty line to preserve line numbers).
19906 if test "x$srcdir" = x.; then
19907   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
19908 h
19909 s///
19910 s/^/:/
19911 s/[      ]*$/:/
19912 s/:\$(srcdir):/:/g
19913 s/:\${srcdir}:/:/g
19914 s/:@srcdir@:/:/g
19915 s/^:*//
19916 s/:*$//
19917 x
19918 s/\(=[   ]*\).*/\1/
19919 G
19920 s/\n//
19921 s/^[^=]*=[       ]*$//
19922 }'
19923 fi
19924
19925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19926 fi # test -n "$CONFIG_FILES"
19927
19928 # Set up the scripts for CONFIG_HEADERS section.
19929 # No need to generate them if there are no CONFIG_HEADERS.
19930 # This happens for instance with `./config.status Makefile'.
19931 if test -n "$CONFIG_HEADERS"; then
19932 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19933 BEGIN {
19934 _ACEOF
19935
19936 # Transform confdefs.h into an awk script `defines.awk', embedded as
19937 # here-document in config.status, that substitutes the proper values into
19938 # config.h.in to produce config.h.
19939
19940 # Create a delimiter string that does not exist in confdefs.h, to ease
19941 # handling of long lines.
19942 ac_delim='%!_!# '
19943 for ac_last_try in false false :; do
19944   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19945   if test -z "$ac_tt"; then
19946     break
19947   elif $ac_last_try; then
19948     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19949   else
19950     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19951   fi
19952 done
19953
19954 # For the awk script, D is an array of macro values keyed by name,
19955 # likewise P contains macro parameters if any.  Preserve backslash
19956 # newline sequences.
19957
19958 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19959 sed -n '
19960 s/.\{148\}/&'"$ac_delim"'/g
19961 t rset
19962 :rset
19963 s/^[     ]*#[    ]*define[       ][      ]*/ /
19964 t def
19965 d
19966 :def
19967 s/\\$//
19968 t bsnl
19969 s/["\\]/\\&/g
19970 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19971 D["\1"]=" \3"/p
19972 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
19973 d
19974 :bsnl
19975 s/["\\]/\\&/g
19976 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19977 D["\1"]=" \3\\\\\\n"\\/p
19978 t cont
19979 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19980 t cont
19981 d
19982 :cont
19983 n
19984 s/.\{148\}/&'"$ac_delim"'/g
19985 t clear
19986 :clear
19987 s/\\$//
19988 t bsnlc
19989 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19990 d
19991 :bsnlc
19992 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19993 b cont
19994 ' <confdefs.h | sed '
19995 s/'"$ac_delim"'/"\\\
19996 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19997
19998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19999   for (key in D) D_is_set[key] = 1
20000   FS = "\a"
20001 }
20002 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20003   line = \$ 0
20004   split(line, arg, " ")
20005   if (arg[1] == "#") {
20006     defundef = arg[2]
20007     mac1 = arg[3]
20008   } else {
20009     defundef = substr(arg[1], 2)
20010     mac1 = arg[2]
20011   }
20012   split(mac1, mac2, "(") #)
20013   macro = mac2[1]
20014   prefix = substr(line, 1, index(line, defundef) - 1)
20015   if (D_is_set[macro]) {
20016     # Preserve the white space surrounding the "#".
20017     print prefix "define", macro P[macro] D[macro]
20018     next
20019   } else {
20020     # Replace #undef with comments.  This is necessary, for example,
20021     # in the case of _POSIX_SOURCE, which is predefined and required
20022     # on some systems where configure will not decide to define it.
20023     if (defundef == "undef") {
20024       print "/*", prefix defundef, macro, "*/"
20025       next
20026     }
20027   }
20028 }
20029 { print }
20030 _ACAWK
20031 _ACEOF
20032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20033   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20034 fi # test -n "$CONFIG_HEADERS"
20035
20036
20037 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
20038 shift
20039 for ac_tag
20040 do
20041   case $ac_tag in
20042   :[FHLC]) ac_mode=$ac_tag; continue;;
20043   esac
20044   case $ac_mode$ac_tag in
20045   :[FHL]*:*);;
20046   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20047   :[FH]-) ac_tag=-:-;;
20048   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20049   esac
20050   ac_save_IFS=$IFS
20051   IFS=:
20052   set x $ac_tag
20053   IFS=$ac_save_IFS
20054   shift
20055   ac_file=$1
20056   shift
20057
20058   case $ac_mode in
20059   :L) ac_source=$1;;
20060   :[FH])
20061     ac_file_inputs=
20062     for ac_f
20063     do
20064       case $ac_f in
20065       -) ac_f="$ac_tmp/stdin";;
20066       *) # Look for the file first in the build tree, then in the source tree
20067          # (if the path is not absolute).  The absolute path cannot be DOS-style,
20068          # because $ac_f cannot contain `:'.
20069          test -f "$ac_f" ||
20070            case $ac_f in
20071            [\\/$]*) false;;
20072            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20073            esac ||
20074            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20075       esac
20076       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20077       as_fn_append ac_file_inputs " '$ac_f'"
20078     done
20079
20080     # Let's still pretend it is `configure' which instantiates (i.e., don't
20081     # use $as_me), people would be surprised to read:
20082     #    /* config.h.  Generated by config.status.  */
20083     configure_input='Generated from '`
20084           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20085         `' by configure.'
20086     if test x"$ac_file" != x-; then
20087       configure_input="$ac_file.  $configure_input"
20088       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20089 $as_echo "$as_me: creating $ac_file" >&6;}
20090     fi
20091     # Neutralize special characters interpreted by sed in replacement strings.
20092     case $configure_input in #(
20093     *\&* | *\|* | *\\* )
20094        ac_sed_conf_input=`$as_echo "$configure_input" |
20095        sed 's/[\\\\&|]/\\\\&/g'`;; #(
20096     *) ac_sed_conf_input=$configure_input;;
20097     esac
20098
20099     case $ac_tag in
20100     *:-:* | *:-) cat >"$ac_tmp/stdin" \
20101       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20102     esac
20103     ;;
20104   esac
20105
20106   ac_dir=`$as_dirname -- "$ac_file" ||
20107 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20108          X"$ac_file" : 'X\(//\)[^/]' \| \
20109          X"$ac_file" : 'X\(//\)$' \| \
20110          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20111 $as_echo X"$ac_file" |
20112     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20113             s//\1/
20114             q
20115           }
20116           /^X\(\/\/\)[^/].*/{
20117             s//\1/
20118             q
20119           }
20120           /^X\(\/\/\)$/{
20121             s//\1/
20122             q
20123           }
20124           /^X\(\/\).*/{
20125             s//\1/
20126             q
20127           }
20128           s/.*/./; q'`
20129   as_dir="$ac_dir"; as_fn_mkdir_p
20130   ac_builddir=.
20131
20132 case "$ac_dir" in
20133 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20134 *)
20135   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20136   # A ".." for each directory in $ac_dir_suffix.
20137   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20138   case $ac_top_builddir_sub in
20139   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20140   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20141   esac ;;
20142 esac
20143 ac_abs_top_builddir=$ac_pwd
20144 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20145 # for backward compatibility:
20146 ac_top_builddir=$ac_top_build_prefix
20147
20148 case $srcdir in
20149   .)  # We are building in place.
20150     ac_srcdir=.
20151     ac_top_srcdir=$ac_top_builddir_sub
20152     ac_abs_top_srcdir=$ac_pwd ;;
20153   [\\/]* | ?:[\\/]* )  # Absolute name.
20154     ac_srcdir=$srcdir$ac_dir_suffix;
20155     ac_top_srcdir=$srcdir
20156     ac_abs_top_srcdir=$srcdir ;;
20157   *) # Relative name.
20158     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20159     ac_top_srcdir=$ac_top_build_prefix$srcdir
20160     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20161 esac
20162 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20163
20164
20165   case $ac_mode in
20166   :F)
20167   #
20168   # CONFIG_FILE
20169   #
20170
20171   case $INSTALL in
20172   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20173   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20174   esac
20175   ac_MKDIR_P=$MKDIR_P
20176   case $MKDIR_P in
20177   [\\/$]* | ?:[\\/]* ) ;;
20178   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20179   esac
20180 _ACEOF
20181
20182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20183 # If the template does not know about datarootdir, expand it.
20184 # FIXME: This hack should be removed a few years after 2.60.
20185 ac_datarootdir_hack=; ac_datarootdir_seen=
20186 ac_sed_dataroot='
20187 /datarootdir/ {
20188   p
20189   q
20190 }
20191 /@datadir@/p
20192 /@docdir@/p
20193 /@infodir@/p
20194 /@localedir@/p
20195 /@mandir@/p'
20196 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20197 *datarootdir*) ac_datarootdir_seen=yes;;
20198 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20199   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20200 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20201 _ACEOF
20202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20203   ac_datarootdir_hack='
20204   s&@datadir@&$datadir&g
20205   s&@docdir@&$docdir&g
20206   s&@infodir@&$infodir&g
20207   s&@localedir@&$localedir&g
20208   s&@mandir@&$mandir&g
20209   s&\\\${datarootdir}&$datarootdir&g' ;;
20210 esac
20211 _ACEOF
20212
20213 # Neutralize VPATH when `$srcdir' = `.'.
20214 # Shell code in configure.ac might set extrasub.
20215 # FIXME: do we really want to maintain this feature?
20216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20217 ac_sed_extra="$ac_vpsub
20218 $extrasub
20219 _ACEOF
20220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20221 :t
20222 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20223 s|@configure_input@|$ac_sed_conf_input|;t t
20224 s&@top_builddir@&$ac_top_builddir_sub&;t t
20225 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20226 s&@srcdir@&$ac_srcdir&;t t
20227 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20228 s&@top_srcdir@&$ac_top_srcdir&;t t
20229 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20230 s&@builddir@&$ac_builddir&;t t
20231 s&@abs_builddir@&$ac_abs_builddir&;t t
20232 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20233 s&@INSTALL@&$ac_INSTALL&;t t
20234 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20235 $ac_datarootdir_hack
20236 "
20237 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20238   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20239
20240 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20241   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20242   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
20243       "$ac_tmp/out"`; test -z "$ac_out"; } &&
20244   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20245 which seems to be undefined.  Please make sure it is defined" >&5
20246 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20247 which seems to be undefined.  Please make sure it is defined" >&2;}
20248
20249   rm -f "$ac_tmp/stdin"
20250   case $ac_file in
20251   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20252   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20253   esac \
20254   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20255  ;;
20256   :H)
20257   #
20258   # CONFIG_HEADER
20259   #
20260   if test x"$ac_file" != x-; then
20261     {
20262       $as_echo "/* $configure_input  */" \
20263       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20264     } >"$ac_tmp/config.h" \
20265       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20266     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20267       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20268 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20269     else
20270       rm -f "$ac_file"
20271       mv "$ac_tmp/config.h" "$ac_file" \
20272         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20273     fi
20274   else
20275     $as_echo "/* $configure_input  */" \
20276       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20277       || as_fn_error $? "could not create -" "$LINENO" 5
20278   fi
20279 # Compute "$ac_file"'s index in $config_headers.
20280 _am_arg="$ac_file"
20281 _am_stamp_count=1
20282 for _am_header in $config_headers :; do
20283   case $_am_header in
20284     $_am_arg | $_am_arg:* )
20285       break ;;
20286     * )
20287       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20288   esac
20289 done
20290 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20291 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20292          X"$_am_arg" : 'X\(//\)[^/]' \| \
20293          X"$_am_arg" : 'X\(//\)$' \| \
20294          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20295 $as_echo X"$_am_arg" |
20296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20297             s//\1/
20298             q
20299           }
20300           /^X\(\/\/\)[^/].*/{
20301             s//\1/
20302             q
20303           }
20304           /^X\(\/\/\)$/{
20305             s//\1/
20306             q
20307           }
20308           /^X\(\/\).*/{
20309             s//\1/
20310             q
20311           }
20312           s/.*/./; q'`/stamp-h$_am_stamp_count
20313  ;;
20314
20315   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20316 $as_echo "$as_me: executing $ac_file commands" >&6;}
20317  ;;
20318   esac
20319
20320
20321   case $ac_file$ac_mode in
20322     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20323   # Older Autoconf quotes --file arguments for eval, but not when files
20324   # are listed without --file.  Let's play safe and only enable the eval
20325   # if we detect the quoting.
20326   case $CONFIG_FILES in
20327   *\'*) eval set x "$CONFIG_FILES" ;;
20328   *)   set x $CONFIG_FILES ;;
20329   esac
20330   shift
20331   for mf
20332   do
20333     # Strip MF so we end up with the name of the file.
20334     mf=`echo "$mf" | sed -e 's/:.*$//'`
20335     # Check whether this is an Automake generated Makefile or not.
20336     # We used to match only the files named 'Makefile.in', but
20337     # some people rename them; so instead we look at the file content.
20338     # Grep'ing the first line is not enough: some people post-process
20339     # each Makefile.in and add a new line on top of each file to say so.
20340     # Grep'ing the whole file is not good either: AIX grep has a line
20341     # limit of 2048, but all sed's we know have understand at least 4000.
20342     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20343       dirpart=`$as_dirname -- "$mf" ||
20344 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20345          X"$mf" : 'X\(//\)[^/]' \| \
20346          X"$mf" : 'X\(//\)$' \| \
20347          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20348 $as_echo X"$mf" |
20349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20350             s//\1/
20351             q
20352           }
20353           /^X\(\/\/\)[^/].*/{
20354             s//\1/
20355             q
20356           }
20357           /^X\(\/\/\)$/{
20358             s//\1/
20359             q
20360           }
20361           /^X\(\/\).*/{
20362             s//\1/
20363             q
20364           }
20365           s/.*/./; q'`
20366     else
20367       continue
20368     fi
20369     # Extract the definition of DEPDIR, am__include, and am__quote
20370     # from the Makefile without running 'make'.
20371     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20372     test -z "$DEPDIR" && continue
20373     am__include=`sed -n 's/^am__include = //p' < "$mf"`
20374     test -z "$am__include" && continue
20375     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20376     # Find all dependency output files, they are included files with
20377     # $(DEPDIR) in their names.  We invoke sed twice because it is the
20378     # simplest approach to changing $(DEPDIR) to its actual value in the
20379     # expansion.
20380     for file in `sed -n "
20381       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20382          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20383       # Make sure the directory exists.
20384       test -f "$dirpart/$file" && continue
20385       fdir=`$as_dirname -- "$file" ||
20386 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20387          X"$file" : 'X\(//\)[^/]' \| \
20388          X"$file" : 'X\(//\)$' \| \
20389          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20390 $as_echo X"$file" |
20391     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20392             s//\1/
20393             q
20394           }
20395           /^X\(\/\/\)[^/].*/{
20396             s//\1/
20397             q
20398           }
20399           /^X\(\/\/\)$/{
20400             s//\1/
20401             q
20402           }
20403           /^X\(\/\).*/{
20404             s//\1/
20405             q
20406           }
20407           s/.*/./; q'`
20408       as_dir=$dirpart/$fdir; as_fn_mkdir_p
20409       # echo "creating $dirpart/$file"
20410       echo '# dummy' > "$dirpart/$file"
20411     done
20412   done
20413 }
20414  ;;
20415     "libtool":C)
20416
20417     # See if we are running on zsh, and set the options that allow our
20418     # commands through without removal of \ escapes.
20419     if test -n "${ZSH_VERSION+set}"; then
20420       setopt NO_GLOB_SUBST
20421     fi
20422
20423     cfgfile=${ofile}T
20424     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20425     $RM "$cfgfile"
20426
20427     cat <<_LT_EOF >> "$cfgfile"
20428 #! $SHELL
20429 # Generated automatically by $as_me ($PACKAGE) $VERSION
20430 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20431
20432 # Provide generalized library-building support services.
20433 # Written by Gordon Matzigkeit, 1996
20434
20435 # Copyright (C) 2014 Free Software Foundation, Inc.
20436 # This is free software; see the source for copying conditions.  There is NO
20437 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20438
20439 # GNU Libtool is free software; you can redistribute it and/or modify
20440 # it under the terms of the GNU General Public License as published by
20441 # the Free Software Foundation; either version 2 of of the License, or
20442 # (at your option) any later version.
20443 #
20444 # As a special exception to the GNU General Public License, if you
20445 # distribute this file as part of a program or library that is built
20446 # using GNU Libtool, you may include this file under the  same
20447 # distribution terms that you use for the rest of that program.
20448 #
20449 # GNU Libtool is distributed in the hope that it will be useful, but
20450 # WITHOUT ANY WARRANTY; without even the implied warranty of
20451 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20452 # GNU General Public License for more details.
20453 #
20454 # You should have received a copy of the GNU General Public License
20455 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
20456
20457
20458 # The names of the tagged configurations supported by this script.
20459 available_tags='CXX '
20460
20461 # Configured defaults for sys_lib_dlsearch_path munging.
20462 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
20463
20464 # ### BEGIN LIBTOOL CONFIG
20465
20466 # Whether or not to build static libraries.
20467 build_old_libs=$enable_static
20468
20469 # Which release of libtool.m4 was used?
20470 macro_version=$macro_version
20471 macro_revision=$macro_revision
20472
20473 # Assembler program.
20474 AS=$lt_AS
20475
20476 # DLL creation program.
20477 DLLTOOL=$lt_DLLTOOL
20478
20479 # Object dumper program.
20480 OBJDUMP=$lt_OBJDUMP
20481
20482 # Whether or not to build shared libraries.
20483 build_libtool_libs=$enable_shared
20484
20485 # What type of objects to build.
20486 pic_mode=$pic_mode
20487
20488 # Whether or not to optimize for fast installation.
20489 fast_install=$enable_fast_install
20490
20491 # Shared archive member basename,for filename based shared library versioning on AIX.
20492 shared_archive_member_spec=$shared_archive_member_spec
20493
20494 # Shell to use when invoking shell scripts.
20495 SHELL=$lt_SHELL
20496
20497 # An echo program that protects backslashes.
20498 ECHO=$lt_ECHO
20499
20500 # The PATH separator for the build system.
20501 PATH_SEPARATOR=$lt_PATH_SEPARATOR
20502
20503 # The host system.
20504 host_alias=$host_alias
20505 host=$host
20506 host_os=$host_os
20507
20508 # The build system.
20509 build_alias=$build_alias
20510 build=$build
20511 build_os=$build_os
20512
20513 # A sed program that does not truncate output.
20514 SED=$lt_SED
20515
20516 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20517 Xsed="\$SED -e 1s/^X//"
20518
20519 # A grep program that handles long lines.
20520 GREP=$lt_GREP
20521
20522 # An ERE matcher.
20523 EGREP=$lt_EGREP
20524
20525 # A literal string matcher.
20526 FGREP=$lt_FGREP
20527
20528 # A BSD- or MS-compatible name lister.
20529 NM=$lt_NM
20530
20531 # Whether we need soft or hard links.
20532 LN_S=$lt_LN_S
20533
20534 # What is the maximum length of a command?
20535 max_cmd_len=$max_cmd_len
20536
20537 # Object file suffix (normally "o").
20538 objext=$ac_objext
20539
20540 # Executable file suffix (normally "").
20541 exeext=$exeext
20542
20543 # whether the shell understands "unset".
20544 lt_unset=$lt_unset
20545
20546 # turn spaces into newlines.
20547 SP2NL=$lt_lt_SP2NL
20548
20549 # turn newlines into spaces.
20550 NL2SP=$lt_lt_NL2SP
20551
20552 # convert \$build file names to \$host format.
20553 to_host_file_cmd=$lt_cv_to_host_file_cmd
20554
20555 # convert \$build files to toolchain format.
20556 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20557
20558 # Method to check whether dependent libraries are shared objects.
20559 deplibs_check_method=$lt_deplibs_check_method
20560
20561 # Command to use when deplibs_check_method = "file_magic".
20562 file_magic_cmd=$lt_file_magic_cmd
20563
20564 # How to find potential files when deplibs_check_method = "file_magic".
20565 file_magic_glob=$lt_file_magic_glob
20566
20567 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20568 want_nocaseglob=$lt_want_nocaseglob
20569
20570 # Command to associate shared and link libraries.
20571 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20572
20573 # The archiver.
20574 AR=$lt_AR
20575
20576 # Flags to create an archive.
20577 AR_FLAGS=$lt_AR_FLAGS
20578
20579 # How to feed a file listing to the archiver.
20580 archiver_list_spec=$lt_archiver_list_spec
20581
20582 # A symbol stripping program.
20583 STRIP=$lt_STRIP
20584
20585 # Commands used to install an old-style archive.
20586 RANLIB=$lt_RANLIB
20587 old_postinstall_cmds=$lt_old_postinstall_cmds
20588 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20589
20590 # Whether to use a lock for old archive extraction.
20591 lock_old_archive_extraction=$lock_old_archive_extraction
20592
20593 # A C compiler.
20594 LTCC=$lt_CC
20595
20596 # LTCC compiler flags.
20597 LTCFLAGS=$lt_CFLAGS
20598
20599 # Take the output of nm and produce a listing of raw symbols and C names.
20600 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20601
20602 # Transform the output of nm in a proper C declaration.
20603 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20604
20605 # Transform the output of nm into a list of symbols to manually relocate.
20606 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
20607
20608 # Transform the output of nm in a C name address pair.
20609 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20610
20611 # Transform the output of nm in a C name address pair when lib prefix is needed.
20612 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20613
20614 # The name lister interface.
20615 nm_interface=$lt_lt_cv_nm_interface
20616
20617 # Specify filename containing input files for \$NM.
20618 nm_file_list_spec=$lt_nm_file_list_spec
20619
20620 # The root where to search for dependent libraries,and where our libraries should be installed.
20621 lt_sysroot=$lt_sysroot
20622
20623 # Command to truncate a binary pipe.
20624 lt_truncate_bin=$lt_lt_cv_truncate_bin
20625
20626 # The name of the directory that contains temporary libtool files.
20627 objdir=$objdir
20628
20629 # Used to examine libraries when file_magic_cmd begins with "file".
20630 MAGIC_CMD=$MAGIC_CMD
20631
20632 # Must we lock files when doing compilation?
20633 need_locks=$lt_need_locks
20634
20635 # Manifest tool.
20636 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20637
20638 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20639 DSYMUTIL=$lt_DSYMUTIL
20640
20641 # Tool to change global to local symbols on Mac OS X.
20642 NMEDIT=$lt_NMEDIT
20643
20644 # Tool to manipulate fat objects and archives on Mac OS X.
20645 LIPO=$lt_LIPO
20646
20647 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20648 OTOOL=$lt_OTOOL
20649
20650 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20651 OTOOL64=$lt_OTOOL64
20652
20653 # Old archive suffix (normally "a").
20654 libext=$libext
20655
20656 # Shared library suffix (normally ".so").
20657 shrext_cmds=$lt_shrext_cmds
20658
20659 # The commands to extract the exported symbol list from a shared archive.
20660 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20661
20662 # Variables whose values should be saved in libtool wrapper scripts and
20663 # restored at link time.
20664 variables_saved_for_relink=$lt_variables_saved_for_relink
20665
20666 # Do we need the "lib" prefix for modules?
20667 need_lib_prefix=$need_lib_prefix
20668
20669 # Do we need a version for libraries?
20670 need_version=$need_version
20671
20672 # Library versioning type.
20673 version_type=$version_type
20674
20675 # Shared library runtime path variable.
20676 runpath_var=$runpath_var
20677
20678 # Shared library path variable.
20679 shlibpath_var=$shlibpath_var
20680
20681 # Is shlibpath searched before the hard-coded library search path?
20682 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20683
20684 # Format of library name prefix.
20685 libname_spec=$lt_libname_spec
20686
20687 # List of archive names.  First name is the real one, the rest are links.
20688 # The last name is the one that the linker finds with -lNAME
20689 library_names_spec=$lt_library_names_spec
20690
20691 # The coded name of the library, if different from the real name.
20692 soname_spec=$lt_soname_spec
20693
20694 # Permission mode override for installation of shared libraries.
20695 install_override_mode=$lt_install_override_mode
20696
20697 # Command to use after installation of a shared archive.
20698 postinstall_cmds=$lt_postinstall_cmds
20699
20700 # Command to use after uninstallation of a shared archive.
20701 postuninstall_cmds=$lt_postuninstall_cmds
20702
20703 # Commands used to finish a libtool library installation in a directory.
20704 finish_cmds=$lt_finish_cmds
20705
20706 # As "finish_cmds", except a single script fragment to be evaled but
20707 # not shown.
20708 finish_eval=$lt_finish_eval
20709
20710 # Whether we should hardcode library paths into libraries.
20711 hardcode_into_libs=$hardcode_into_libs
20712
20713 # Compile-time system search path for libraries.
20714 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20715
20716 # Detected run-time system search path for libraries.
20717 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
20718
20719 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
20720 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
20721
20722 # Whether dlopen is supported.
20723 dlopen_support=$enable_dlopen
20724
20725 # Whether dlopen of programs is supported.
20726 dlopen_self=$enable_dlopen_self
20727
20728 # Whether dlopen of statically linked programs is supported.
20729 dlopen_self_static=$enable_dlopen_self_static
20730
20731 # Commands to strip libraries.
20732 old_striplib=$lt_old_striplib
20733 striplib=$lt_striplib
20734
20735
20736 # The linker used to build libraries.
20737 LD=$lt_LD
20738
20739 # How to create reloadable object files.
20740 reload_flag=$lt_reload_flag
20741 reload_cmds=$lt_reload_cmds
20742
20743 # Commands used to build an old-style archive.
20744 old_archive_cmds=$lt_old_archive_cmds
20745
20746 # A language specific compiler.
20747 CC=$lt_compiler
20748
20749 # Is the compiler the GNU compiler?
20750 with_gcc=$GCC
20751
20752 # Compiler flag to turn off builtin functions.
20753 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20754
20755 # Additional compiler flags for building library objects.
20756 pic_flag=$lt_lt_prog_compiler_pic
20757
20758 # How to pass a linker flag through the compiler.
20759 wl=$lt_lt_prog_compiler_wl
20760
20761 # Compiler flag to prevent dynamic linking.
20762 link_static_flag=$lt_lt_prog_compiler_static
20763
20764 # Does compiler simultaneously support -c and -o options?
20765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20766
20767 # Whether or not to add -lc for building shared libraries.
20768 build_libtool_need_lc=$archive_cmds_need_lc
20769
20770 # Whether or not to disallow shared libs when runtime libs are static.
20771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20772
20773 # Compiler flag to allow reflexive dlopens.
20774 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20775
20776 # Compiler flag to generate shared objects directly from archives.
20777 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20778
20779 # Whether the compiler copes with passing no objects directly.
20780 compiler_needs_object=$lt_compiler_needs_object
20781
20782 # Create an old-style archive from a shared archive.
20783 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20784
20785 # Create a temporary old-style archive to link instead of a shared archive.
20786 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20787
20788 # Commands used to build a shared archive.
20789 archive_cmds=$lt_archive_cmds
20790 archive_expsym_cmds=$lt_archive_expsym_cmds
20791
20792 # Commands used to build a loadable module if different from building
20793 # a shared archive.
20794 module_cmds=$lt_module_cmds
20795 module_expsym_cmds=$lt_module_expsym_cmds
20796
20797 # Whether we are building with GNU ld or not.
20798 with_gnu_ld=$lt_with_gnu_ld
20799
20800 # Flag that allows shared libraries with undefined symbols to be built.
20801 allow_undefined_flag=$lt_allow_undefined_flag
20802
20803 # Flag that enforces no undefined symbols.
20804 no_undefined_flag=$lt_no_undefined_flag
20805
20806 # Flag to hardcode \$libdir into a binary during linking.
20807 # This must work even if \$libdir does not exist
20808 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20809
20810 # Whether we need a single "-rpath" flag with a separated argument.
20811 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20812
20813 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20814 # DIR into the resulting binary.
20815 hardcode_direct=$hardcode_direct
20816
20817 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20818 # DIR into the resulting binary and the resulting library dependency is
20819 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
20820 # library is relocated.
20821 hardcode_direct_absolute=$hardcode_direct_absolute
20822
20823 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20824 # into the resulting binary.
20825 hardcode_minus_L=$hardcode_minus_L
20826
20827 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20828 # into the resulting binary.
20829 hardcode_shlibpath_var=$hardcode_shlibpath_var
20830
20831 # Set to "yes" if building a shared library automatically hardcodes DIR
20832 # into the library and all subsequent libraries and executables linked
20833 # against it.
20834 hardcode_automatic=$hardcode_automatic
20835
20836 # Set to yes if linker adds runtime paths of dependent libraries
20837 # to runtime path list.
20838 inherit_rpath=$inherit_rpath
20839
20840 # Whether libtool must link a program against all its dependency libraries.
20841 link_all_deplibs=$link_all_deplibs
20842
20843 # Set to "yes" if exported symbols are required.
20844 always_export_symbols=$always_export_symbols
20845
20846 # The commands to list exported symbols.
20847 export_symbols_cmds=$lt_export_symbols_cmds
20848
20849 # Symbols that should not be listed in the preloaded symbols.
20850 exclude_expsyms=$lt_exclude_expsyms
20851
20852 # Symbols that must always be exported.
20853 include_expsyms=$lt_include_expsyms
20854
20855 # Commands necessary for linking programs (against libraries) with templates.
20856 prelink_cmds=$lt_prelink_cmds
20857
20858 # Commands necessary for finishing linking programs.
20859 postlink_cmds=$lt_postlink_cmds
20860
20861 # Specify filename containing input files.
20862 file_list_spec=$lt_file_list_spec
20863
20864 # How to hardcode a shared library path into an executable.
20865 hardcode_action=$hardcode_action
20866
20867 # The directories searched by this compiler when creating a shared library.
20868 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20869
20870 # Dependencies to place before and after the objects being linked to
20871 # create a shared library.
20872 predep_objects=$lt_predep_objects
20873 postdep_objects=$lt_postdep_objects
20874 predeps=$lt_predeps
20875 postdeps=$lt_postdeps
20876
20877 # The library search path used internally by the compiler when linking
20878 # a shared library.
20879 compiler_lib_search_path=$lt_compiler_lib_search_path
20880
20881 # ### END LIBTOOL CONFIG
20882
20883 _LT_EOF
20884
20885     cat <<'_LT_EOF' >> "$cfgfile"
20886
20887 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20888
20889 # func_munge_path_list VARIABLE PATH
20890 # -----------------------------------
20891 # VARIABLE is name of variable containing _space_ separated list of
20892 # directories to be munged by the contents of PATH, which is string
20893 # having a format:
20894 # "DIR[:DIR]:"
20895 #       string "DIR[ DIR]" will be prepended to VARIABLE
20896 # ":DIR[:DIR]"
20897 #       string "DIR[ DIR]" will be appended to VARIABLE
20898 # "DIRP[:DIRP]::[DIRA:]DIRA"
20899 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20900 #       "DIRA[ DIRA]" will be appended to VARIABLE
20901 # "DIR[:DIR]"
20902 #       VARIABLE will be replaced by "DIR[ DIR]"
20903 func_munge_path_list ()
20904 {
20905     case x$2 in
20906     x)
20907         ;;
20908     *:)
20909         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20910         ;;
20911     x:*)
20912         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20913         ;;
20914     *::*)
20915         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20916         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20917         ;;
20918     *)
20919         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20920         ;;
20921     esac
20922 }
20923
20924
20925 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
20926 func_cc_basename ()
20927 {
20928     for cc_temp in $*""; do
20929       case $cc_temp in
20930         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20931         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20932         \-*) ;;
20933         *) break;;
20934       esac
20935     done
20936     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20937 }
20938
20939
20940 # ### END FUNCTIONS SHARED WITH CONFIGURE
20941
20942 _LT_EOF
20943
20944   case $host_os in
20945   aix3*)
20946     cat <<\_LT_EOF >> "$cfgfile"
20947 # AIX sometimes has problems with the GCC collect2 program.  For some
20948 # reason, if we set the COLLECT_NAMES environment variable, the problems
20949 # vanish in a puff of smoke.
20950 if test set != "${COLLECT_NAMES+set}"; then
20951   COLLECT_NAMES=
20952   export COLLECT_NAMES
20953 fi
20954 _LT_EOF
20955     ;;
20956   esac
20957
20958
20959 ltmain=$ac_aux_dir/ltmain.sh
20960
20961
20962   # We use sed instead of cat because bash on DJGPP gets confused if
20963   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20964   # text mode, it properly converts lines to CR/LF.  This bash problem
20965   # is reportedly fixed, but why not run on old versions too?
20966   sed '$q' "$ltmain" >> "$cfgfile" \
20967      || (rm -f "$cfgfile"; exit 1)
20968
20969    mv -f "$cfgfile" "$ofile" ||
20970     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20971   chmod +x "$ofile"
20972
20973
20974     cat <<_LT_EOF >> "$ofile"
20975
20976 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20977
20978 # The linker used to build libraries.
20979 LD=$lt_LD_CXX
20980
20981 # How to create reloadable object files.
20982 reload_flag=$lt_reload_flag_CXX
20983 reload_cmds=$lt_reload_cmds_CXX
20984
20985 # Commands used to build an old-style archive.
20986 old_archive_cmds=$lt_old_archive_cmds_CXX
20987
20988 # A language specific compiler.
20989 CC=$lt_compiler_CXX
20990
20991 # Is the compiler the GNU compiler?
20992 with_gcc=$GCC_CXX
20993
20994 # Compiler flag to turn off builtin functions.
20995 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20996
20997 # Additional compiler flags for building library objects.
20998 pic_flag=$lt_lt_prog_compiler_pic_CXX
20999
21000 # How to pass a linker flag through the compiler.
21001 wl=$lt_lt_prog_compiler_wl_CXX
21002
21003 # Compiler flag to prevent dynamic linking.
21004 link_static_flag=$lt_lt_prog_compiler_static_CXX
21005
21006 # Does compiler simultaneously support -c and -o options?
21007 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21008
21009 # Whether or not to add -lc for building shared libraries.
21010 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21011
21012 # Whether or not to disallow shared libs when runtime libs are static.
21013 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21014
21015 # Compiler flag to allow reflexive dlopens.
21016 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21017
21018 # Compiler flag to generate shared objects directly from archives.
21019 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21020
21021 # Whether the compiler copes with passing no objects directly.
21022 compiler_needs_object=$lt_compiler_needs_object_CXX
21023
21024 # Create an old-style archive from a shared archive.
21025 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21026
21027 # Create a temporary old-style archive to link instead of a shared archive.
21028 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21029
21030 # Commands used to build a shared archive.
21031 archive_cmds=$lt_archive_cmds_CXX
21032 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21033
21034 # Commands used to build a loadable module if different from building
21035 # a shared archive.
21036 module_cmds=$lt_module_cmds_CXX
21037 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21038
21039 # Whether we are building with GNU ld or not.
21040 with_gnu_ld=$lt_with_gnu_ld_CXX
21041
21042 # Flag that allows shared libraries with undefined symbols to be built.
21043 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21044
21045 # Flag that enforces no undefined symbols.
21046 no_undefined_flag=$lt_no_undefined_flag_CXX
21047
21048 # Flag to hardcode \$libdir into a binary during linking.
21049 # This must work even if \$libdir does not exist
21050 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21051
21052 # Whether we need a single "-rpath" flag with a separated argument.
21053 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21054
21055 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21056 # DIR into the resulting binary.
21057 hardcode_direct=$hardcode_direct_CXX
21058
21059 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21060 # DIR into the resulting binary and the resulting library dependency is
21061 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
21062 # library is relocated.
21063 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21064
21065 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21066 # into the resulting binary.
21067 hardcode_minus_L=$hardcode_minus_L_CXX
21068
21069 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21070 # into the resulting binary.
21071 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21072
21073 # Set to "yes" if building a shared library automatically hardcodes DIR
21074 # into the library and all subsequent libraries and executables linked
21075 # against it.
21076 hardcode_automatic=$hardcode_automatic_CXX
21077
21078 # Set to yes if linker adds runtime paths of dependent libraries
21079 # to runtime path list.
21080 inherit_rpath=$inherit_rpath_CXX
21081
21082 # Whether libtool must link a program against all its dependency libraries.
21083 link_all_deplibs=$link_all_deplibs_CXX
21084
21085 # Set to "yes" if exported symbols are required.
21086 always_export_symbols=$always_export_symbols_CXX
21087
21088 # The commands to list exported symbols.
21089 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21090
21091 # Symbols that should not be listed in the preloaded symbols.
21092 exclude_expsyms=$lt_exclude_expsyms_CXX
21093
21094 # Symbols that must always be exported.
21095 include_expsyms=$lt_include_expsyms_CXX
21096
21097 # Commands necessary for linking programs (against libraries) with templates.
21098 prelink_cmds=$lt_prelink_cmds_CXX
21099
21100 # Commands necessary for finishing linking programs.
21101 postlink_cmds=$lt_postlink_cmds_CXX
21102
21103 # Specify filename containing input files.
21104 file_list_spec=$lt_file_list_spec_CXX
21105
21106 # How to hardcode a shared library path into an executable.
21107 hardcode_action=$hardcode_action_CXX
21108
21109 # The directories searched by this compiler when creating a shared library.
21110 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21111
21112 # Dependencies to place before and after the objects being linked to
21113 # create a shared library.
21114 predep_objects=$lt_predep_objects_CXX
21115 postdep_objects=$lt_postdep_objects_CXX
21116 predeps=$lt_predeps_CXX
21117 postdeps=$lt_postdeps_CXX
21118
21119 # The library search path used internally by the compiler when linking
21120 # a shared library.
21121 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21122
21123 # ### END LIBTOOL TAG CONFIG: CXX
21124 _LT_EOF
21125
21126  ;;
21127     "MSVC_Net2017/sigc++config.h":C) cp -f sigc++config.h MSVC_Net2017/sigc++config.h ;;
21128
21129   esac
21130 done # for ac_tag
21131
21132
21133 as_fn_exit 0
21134 _ACEOF
21135 ac_clean_files=$ac_clean_files_save
21136
21137 test $ac_write_fail = 0 ||
21138   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21139
21140
21141 # configure is writing to config.log, and then calls config.status.
21142 # config.status does its own redirection, appending to config.log.
21143 # Unfortunately, on DOS this fails, as config.log is still kept open
21144 # by configure, so config.status won't be able to write to it; its
21145 # output is simply discarded.  So we exec the FD to /dev/null,
21146 # effectively closing config.log, so it can be properly (re)opened and
21147 # appended to by config.status.  When coming back to configure, we
21148 # need to make the FD available again.
21149 if test "$no_create" != yes; then
21150   ac_cs_success=:
21151   ac_config_status_args=
21152   test "$silent" = yes &&
21153     ac_config_status_args="$ac_config_status_args --quiet"
21154   exec 5>/dev/null
21155   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21156   exec 5>>config.log
21157   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21158   # would make configure fail if this is the last instruction.
21159   $ac_cs_success || as_fn_exit 1
21160 fi
21161 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21162   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21163 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21164 fi
21165