Imported Upstream version 2.4.1
[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.4.1.
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.4.1'
595 PACKAGE_STRING='libsigc++ 2.4.1'
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 DISABLE_DEPRECATED_API_FALSE
641 DISABLE_DEPRECATED_API_TRUE
642 SIGC_WXXFLAGS
643 PKG_CONFIG_LIBDIR
644 PKG_CONFIG_PATH
645 PKG_CONFIG
646 DOCINSTALL_FLAGS
647 DOXYGEN_TAGFILES
648 ENABLE_DOCUMENTATION_FALSE
649 ENABLE_DOCUMENTATION_TRUE
650 XSLTPROC
651 DOXYGEN
652 DOT
653 PERL
654 M4
655 CXXCPP
656 CPP
657 OTOOL64
658 OTOOL
659 LIPO
660 NMEDIT
661 DSYMUTIL
662 MANIFEST_TOOL
663 RANLIB
664 ac_ct_AR
665 AR
666 LN_S
667 NM
668 ac_ct_DUMPBIN
669 DUMPBIN
670 LD
671 FGREP
672 EGREP
673 GREP
674 SED
675 am__fastdepCC_FALSE
676 am__fastdepCC_TRUE
677 CCDEPMODE
678 ac_ct_CC
679 CFLAGS
680 CC
681 host_os
682 host_vendor
683 host_cpu
684 host
685 build_os
686 build_vendor
687 build_cpu
688 build
689 LIBTOOL
690 OBJDUMP
691 DLLTOOL
692 AS
693 am__fastdepCXX_FALSE
694 am__fastdepCXX_TRUE
695 CXXDEPMODE
696 am__nodep
697 AMDEPBACKSLASH
698 AMDEP_FALSE
699 AMDEP_TRUE
700 am__quote
701 am__include
702 DEPDIR
703 OBJEXT
704 EXEEXT
705 ac_ct_CXX
706 CPPFLAGS
707 LDFLAGS
708 CXXFLAGS
709 CXX
710 MMDOCTOOLDIR
711 DIST_DOCTOOLS_FALSE
712 DIST_DOCTOOLS_TRUE
713 SIGCXX_MICRO_VERSION
714 SIGCXX_MINOR_VERSION
715 SIGCXX_MAJOR_VERSION
716 SIGCXX_API_VERSION
717 SIGCXX_VERSION
718 SIGCXX_MODULE_NAME
719 ACLOCAL_FLAGS
720 MAINT
721 MAINTAINER_MODE_FALSE
722 MAINTAINER_MODE_TRUE
723 AM_BACKSLASH
724 AM_DEFAULT_VERBOSITY
725 AM_DEFAULT_V
726 AM_V
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
732 AWK
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_alias
751 host_alias
752 build_alias
753 LIBS
754 ECHO_T
755 ECHO_N
756 ECHO_C
757 DEFS
758 mandir
759 localedir
760 libdir
761 psdir
762 pdfdir
763 dvidir
764 htmldir
765 infodir
766 docdir
767 oldincludedir
768 includedir
769 localstatedir
770 sharedstatedir
771 sysconfdir
772 datadir
773 datarootdir
774 libexecdir
775 sbindir
776 bindir
777 program_transform_name
778 prefix
779 exec_prefix
780 PACKAGE_URL
781 PACKAGE_BUGREPORT
782 PACKAGE_STRING
783 PACKAGE_VERSION
784 PACKAGE_TARNAME
785 PACKAGE_NAME
786 PATH_SEPARATOR
787 SHELL'
788 ac_subst_files=''
789 ac_user_opts='
790 enable_option_checking
791 enable_silent_rules
792 enable_maintainer_mode
793 enable_dependency_tracking
794 enable_static
795 enable_shared
796 with_pic
797 enable_fast_install
798 with_gnu_ld
799 with_sysroot
800 enable_libtool_lock
801 enable_documentation
802 with_libstdc_doc
803 enable_warnings
804 enable_deprecated_api
805 '
806       ac_precious_vars='build_alias
807 host_alias
808 target_alias
809 ACLOCAL_FLAGS
810 CXX
811 CXXFLAGS
812 LDFLAGS
813 LIBS
814 CPPFLAGS
815 CCC
816 CC
817 CFLAGS
818 CPP
819 CXXCPP
820 M4
821 PERL
822 DOT
823 DOXYGEN
824 XSLTPROC
825 PKG_CONFIG
826 PKG_CONFIG_PATH
827 PKG_CONFIG_LIBDIR'
828
829
830 # Initialize some variables set by options.
831 ac_init_help=
832 ac_init_version=false
833 ac_unrecognized_opts=
834 ac_unrecognized_sep=
835 # The variables have the same names as the options, with
836 # dashes changed to underlines.
837 cache_file=/dev/null
838 exec_prefix=NONE
839 no_create=
840 no_recursion=
841 prefix=NONE
842 program_prefix=NONE
843 program_suffix=NONE
844 program_transform_name=s,x,x,
845 silent=
846 site=
847 srcdir=
848 verbose=
849 x_includes=NONE
850 x_libraries=NONE
851
852 # Installation directory options.
853 # These are left unexpanded so users can "make install exec_prefix=/foo"
854 # and all the variables that are supposed to be based on exec_prefix
855 # by default will actually change.
856 # Use braces instead of parens because sh, perl, etc. also accept them.
857 # (The list follows the same order as the GNU Coding Standards.)
858 bindir='${exec_prefix}/bin'
859 sbindir='${exec_prefix}/sbin'
860 libexecdir='${exec_prefix}/libexec'
861 datarootdir='${prefix}/share'
862 datadir='${datarootdir}'
863 sysconfdir='${prefix}/etc'
864 sharedstatedir='${prefix}/com'
865 localstatedir='${prefix}/var'
866 includedir='${prefix}/include'
867 oldincludedir='/usr/include'
868 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
869 infodir='${datarootdir}/info'
870 htmldir='${docdir}'
871 dvidir='${docdir}'
872 pdfdir='${docdir}'
873 psdir='${docdir}'
874 libdir='${exec_prefix}/lib'
875 localedir='${datarootdir}/locale'
876 mandir='${datarootdir}/man'
877
878 ac_prev=
879 ac_dashdash=
880 for ac_option
881 do
882   # If the previous option needs an argument, assign it.
883   if test -n "$ac_prev"; then
884     eval $ac_prev=\$ac_option
885     ac_prev=
886     continue
887   fi
888
889   case $ac_option in
890   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
891   *=)   ac_optarg= ;;
892   *)    ac_optarg=yes ;;
893   esac
894
895   # Accept the important Cygnus configure options, so we can diagnose typos.
896
897   case $ac_dashdash$ac_option in
898   --)
899     ac_dashdash=yes ;;
900
901   -bindir | --bindir | --bindi | --bind | --bin | --bi)
902     ac_prev=bindir ;;
903   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
904     bindir=$ac_optarg ;;
905
906   -build | --build | --buil | --bui | --bu)
907     ac_prev=build_alias ;;
908   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
909     build_alias=$ac_optarg ;;
910
911   -cache-file | --cache-file | --cache-fil | --cache-fi \
912   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
913     ac_prev=cache_file ;;
914   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
915   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
916     cache_file=$ac_optarg ;;
917
918   --config-cache | -C)
919     cache_file=config.cache ;;
920
921   -datadir | --datadir | --datadi | --datad)
922     ac_prev=datadir ;;
923   -datadir=* | --datadir=* | --datadi=* | --datad=*)
924     datadir=$ac_optarg ;;
925
926   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
927   | --dataroo | --dataro | --datar)
928     ac_prev=datarootdir ;;
929   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
930   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
931     datarootdir=$ac_optarg ;;
932
933   -disable-* | --disable-*)
934     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
935     # Reject names that are not valid shell variable names.
936     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
937       as_fn_error $? "invalid feature name: $ac_useropt"
938     ac_useropt_orig=$ac_useropt
939     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
940     case $ac_user_opts in
941       *"
942 "enable_$ac_useropt"
943 "*) ;;
944       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
945          ac_unrecognized_sep=', ';;
946     esac
947     eval enable_$ac_useropt=no ;;
948
949   -docdir | --docdir | --docdi | --doc | --do)
950     ac_prev=docdir ;;
951   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
952     docdir=$ac_optarg ;;
953
954   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
955     ac_prev=dvidir ;;
956   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
957     dvidir=$ac_optarg ;;
958
959   -enable-* | --enable-*)
960     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
961     # Reject names that are not valid shell variable names.
962     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963       as_fn_error $? "invalid feature name: $ac_useropt"
964     ac_useropt_orig=$ac_useropt
965     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966     case $ac_user_opts in
967       *"
968 "enable_$ac_useropt"
969 "*) ;;
970       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
971          ac_unrecognized_sep=', ';;
972     esac
973     eval enable_$ac_useropt=\$ac_optarg ;;
974
975   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
976   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
977   | --exec | --exe | --ex)
978     ac_prev=exec_prefix ;;
979   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
980   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
981   | --exec=* | --exe=* | --ex=*)
982     exec_prefix=$ac_optarg ;;
983
984   -gas | --gas | --ga | --g)
985     # Obsolete; use --with-gas.
986     with_gas=yes ;;
987
988   -help | --help | --hel | --he | -h)
989     ac_init_help=long ;;
990   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
991     ac_init_help=recursive ;;
992   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
993     ac_init_help=short ;;
994
995   -host | --host | --hos | --ho)
996     ac_prev=host_alias ;;
997   -host=* | --host=* | --hos=* | --ho=*)
998     host_alias=$ac_optarg ;;
999
1000   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1001     ac_prev=htmldir ;;
1002   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1003   | --ht=*)
1004     htmldir=$ac_optarg ;;
1005
1006   -includedir | --includedir | --includedi | --included | --include \
1007   | --includ | --inclu | --incl | --inc)
1008     ac_prev=includedir ;;
1009   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1010   | --includ=* | --inclu=* | --incl=* | --inc=*)
1011     includedir=$ac_optarg ;;
1012
1013   -infodir | --infodir | --infodi | --infod | --info | --inf)
1014     ac_prev=infodir ;;
1015   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1016     infodir=$ac_optarg ;;
1017
1018   -libdir | --libdir | --libdi | --libd)
1019     ac_prev=libdir ;;
1020   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1021     libdir=$ac_optarg ;;
1022
1023   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1024   | --libexe | --libex | --libe)
1025     ac_prev=libexecdir ;;
1026   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1027   | --libexe=* | --libex=* | --libe=*)
1028     libexecdir=$ac_optarg ;;
1029
1030   -localedir | --localedir | --localedi | --localed | --locale)
1031     ac_prev=localedir ;;
1032   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1033     localedir=$ac_optarg ;;
1034
1035   -localstatedir | --localstatedir | --localstatedi | --localstated \
1036   | --localstate | --localstat | --localsta | --localst | --locals)
1037     ac_prev=localstatedir ;;
1038   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1039   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1040     localstatedir=$ac_optarg ;;
1041
1042   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1043     ac_prev=mandir ;;
1044   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1045     mandir=$ac_optarg ;;
1046
1047   -nfp | --nfp | --nf)
1048     # Obsolete; use --without-fp.
1049     with_fp=no ;;
1050
1051   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1052   | --no-cr | --no-c | -n)
1053     no_create=yes ;;
1054
1055   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1056   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1057     no_recursion=yes ;;
1058
1059   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1060   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1061   | --oldin | --oldi | --old | --ol | --o)
1062     ac_prev=oldincludedir ;;
1063   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1064   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1065   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1066     oldincludedir=$ac_optarg ;;
1067
1068   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1069     ac_prev=prefix ;;
1070   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1071     prefix=$ac_optarg ;;
1072
1073   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1074   | --program-pre | --program-pr | --program-p)
1075     ac_prev=program_prefix ;;
1076   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1077   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1078     program_prefix=$ac_optarg ;;
1079
1080   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1081   | --program-suf | --program-su | --program-s)
1082     ac_prev=program_suffix ;;
1083   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1084   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1085     program_suffix=$ac_optarg ;;
1086
1087   -program-transform-name | --program-transform-name \
1088   | --program-transform-nam | --program-transform-na \
1089   | --program-transform-n | --program-transform- \
1090   | --program-transform | --program-transfor \
1091   | --program-transfo | --program-transf \
1092   | --program-trans | --program-tran \
1093   | --progr-tra | --program-tr | --program-t)
1094     ac_prev=program_transform_name ;;
1095   -program-transform-name=* | --program-transform-name=* \
1096   | --program-transform-nam=* | --program-transform-na=* \
1097   | --program-transform-n=* | --program-transform-=* \
1098   | --program-transform=* | --program-transfor=* \
1099   | --program-transfo=* | --program-transf=* \
1100   | --program-trans=* | --program-tran=* \
1101   | --progr-tra=* | --program-tr=* | --program-t=*)
1102     program_transform_name=$ac_optarg ;;
1103
1104   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1105     ac_prev=pdfdir ;;
1106   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1107     pdfdir=$ac_optarg ;;
1108
1109   -psdir | --psdir | --psdi | --psd | --ps)
1110     ac_prev=psdir ;;
1111   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1112     psdir=$ac_optarg ;;
1113
1114   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1115   | -silent | --silent | --silen | --sile | --sil)
1116     silent=yes ;;
1117
1118   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1119     ac_prev=sbindir ;;
1120   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1121   | --sbi=* | --sb=*)
1122     sbindir=$ac_optarg ;;
1123
1124   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1125   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1126   | --sharedst | --shareds | --shared | --share | --shar \
1127   | --sha | --sh)
1128     ac_prev=sharedstatedir ;;
1129   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1130   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1131   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1132   | --sha=* | --sh=*)
1133     sharedstatedir=$ac_optarg ;;
1134
1135   -site | --site | --sit)
1136     ac_prev=site ;;
1137   -site=* | --site=* | --sit=*)
1138     site=$ac_optarg ;;
1139
1140   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1141     ac_prev=srcdir ;;
1142   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1143     srcdir=$ac_optarg ;;
1144
1145   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1146   | --syscon | --sysco | --sysc | --sys | --sy)
1147     ac_prev=sysconfdir ;;
1148   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1149   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1150     sysconfdir=$ac_optarg ;;
1151
1152   -target | --target | --targe | --targ | --tar | --ta | --t)
1153     ac_prev=target_alias ;;
1154   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1155     target_alias=$ac_optarg ;;
1156
1157   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1158     verbose=yes ;;
1159
1160   -version | --version | --versio | --versi | --vers | -V)
1161     ac_init_version=: ;;
1162
1163   -with-* | --with-*)
1164     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1165     # Reject names that are not valid shell variable names.
1166     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167       as_fn_error $? "invalid package name: $ac_useropt"
1168     ac_useropt_orig=$ac_useropt
1169     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170     case $ac_user_opts in
1171       *"
1172 "with_$ac_useropt"
1173 "*) ;;
1174       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1175          ac_unrecognized_sep=', ';;
1176     esac
1177     eval with_$ac_useropt=\$ac_optarg ;;
1178
1179   -without-* | --without-*)
1180     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1181     # Reject names that are not valid shell variable names.
1182     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1183       as_fn_error $? "invalid package name: $ac_useropt"
1184     ac_useropt_orig=$ac_useropt
1185     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186     case $ac_user_opts in
1187       *"
1188 "with_$ac_useropt"
1189 "*) ;;
1190       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1191          ac_unrecognized_sep=', ';;
1192     esac
1193     eval with_$ac_useropt=no ;;
1194
1195   --x)
1196     # Obsolete; use --with-x.
1197     with_x=yes ;;
1198
1199   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1200   | --x-incl | --x-inc | --x-in | --x-i)
1201     ac_prev=x_includes ;;
1202   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1203   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1204     x_includes=$ac_optarg ;;
1205
1206   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1207   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1208     ac_prev=x_libraries ;;
1209   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1210   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1211     x_libraries=$ac_optarg ;;
1212
1213   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1214 Try \`$0 --help' for more information"
1215     ;;
1216
1217   *=*)
1218     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1219     # Reject names that are not valid shell variable names.
1220     case $ac_envvar in #(
1221       '' | [0-9]* | *[!_$as_cr_alnum]* )
1222       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1223     esac
1224     eval $ac_envvar=\$ac_optarg
1225     export $ac_envvar ;;
1226
1227   *)
1228     # FIXME: should be removed in autoconf 3.0.
1229     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1230     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1231       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1232     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1233     ;;
1234
1235   esac
1236 done
1237
1238 if test -n "$ac_prev"; then
1239   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1240   as_fn_error $? "missing argument to $ac_option"
1241 fi
1242
1243 if test -n "$ac_unrecognized_opts"; then
1244   case $enable_option_checking in
1245     no) ;;
1246     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1247     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1248   esac
1249 fi
1250
1251 # Check all directory arguments for consistency.
1252 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1253                 datadir sysconfdir sharedstatedir localstatedir includedir \
1254                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1255                 libdir localedir mandir
1256 do
1257   eval ac_val=\$$ac_var
1258   # Remove trailing slashes.
1259   case $ac_val in
1260     */ )
1261       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1262       eval $ac_var=\$ac_val;;
1263   esac
1264   # Be sure to have absolute directory names.
1265   case $ac_val in
1266     [\\/$]* | ?:[\\/]* )  continue;;
1267     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1268   esac
1269   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1270 done
1271
1272 # There might be people who depend on the old broken behavior: `$host'
1273 # used to hold the argument of --host etc.
1274 # FIXME: To remove some day.
1275 build=$build_alias
1276 host=$host_alias
1277 target=$target_alias
1278
1279 # FIXME: To remove some day.
1280 if test "x$host_alias" != x; then
1281   if test "x$build_alias" = x; then
1282     cross_compiling=maybe
1283   elif test "x$build_alias" != "x$host_alias"; then
1284     cross_compiling=yes
1285   fi
1286 fi
1287
1288 ac_tool_prefix=
1289 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1290
1291 test "$silent" = yes && exec 6>/dev/null
1292
1293
1294 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1295 ac_ls_di=`ls -di .` &&
1296 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1297   as_fn_error $? "working directory cannot be determined"
1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1299   as_fn_error $? "pwd does not report name of working directory"
1300
1301
1302 # Find the source files, if location was not specified.
1303 if test -z "$srcdir"; then
1304   ac_srcdir_defaulted=yes
1305   # Try the directory containing this script, then the parent directory.
1306   ac_confdir=`$as_dirname -- "$as_myself" ||
1307 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1308          X"$as_myself" : 'X\(//\)[^/]' \| \
1309          X"$as_myself" : 'X\(//\)$' \| \
1310          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1311 $as_echo X"$as_myself" |
1312     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1313             s//\1/
1314             q
1315           }
1316           /^X\(\/\/\)[^/].*/{
1317             s//\1/
1318             q
1319           }
1320           /^X\(\/\/\)$/{
1321             s//\1/
1322             q
1323           }
1324           /^X\(\/\).*/{
1325             s//\1/
1326             q
1327           }
1328           s/.*/./; q'`
1329   srcdir=$ac_confdir
1330   if test ! -r "$srcdir/$ac_unique_file"; then
1331     srcdir=..
1332   fi
1333 else
1334   ac_srcdir_defaulted=no
1335 fi
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1337   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1338   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1339 fi
1340 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1341 ac_abs_confdir=`(
1342         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1343         pwd)`
1344 # When building in place, set srcdir=.
1345 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346   srcdir=.
1347 fi
1348 # Remove unnecessary trailing slashes from srcdir.
1349 # Double slashes in file names in object file debugging info
1350 # mess up M-x gdb in Emacs.
1351 case $srcdir in
1352 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1353 esac
1354 for ac_var in $ac_precious_vars; do
1355   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1356   eval ac_env_${ac_var}_value=\$${ac_var}
1357   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1358   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1359 done
1360
1361 #
1362 # Report the --help message.
1363 #
1364 if test "$ac_init_help" = "long"; then
1365   # Omit some internal or obsolete options to make the list less imposing.
1366   # This message is too long to be a string in the A/UX 3.1 sh.
1367   cat <<_ACEOF
1368 \`configure' configures libsigc++ 2.4.1 to adapt to many kinds of systems.
1369
1370 Usage: $0 [OPTION]... [VAR=VALUE]...
1371
1372 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1373 VAR=VALUE.  See below for descriptions of some of the useful variables.
1374
1375 Defaults for the options are specified in brackets.
1376
1377 Configuration:
1378   -h, --help              display this help and exit
1379       --help=short        display options specific to this package
1380       --help=recursive    display the short help of all the included packages
1381   -V, --version           display version information and exit
1382   -q, --quiet, --silent   do not print \`checking ...' messages
1383       --cache-file=FILE   cache test results in FILE [disabled]
1384   -C, --config-cache      alias for \`--cache-file=config.cache'
1385   -n, --no-create         do not create output files
1386       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1387
1388 Installation directories:
1389   --prefix=PREFIX         install architecture-independent files in PREFIX
1390                           [$ac_default_prefix]
1391   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1392                           [PREFIX]
1393
1394 By default, \`make install' will install all the files in
1395 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1396 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1397 for instance \`--prefix=\$HOME'.
1398
1399 For better control, use the options below.
1400
1401 Fine tuning of the installation directories:
1402   --bindir=DIR            user executables [EPREFIX/bin]
1403   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1404   --libexecdir=DIR        program executables [EPREFIX/libexec]
1405   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1406   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1407   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1408   --libdir=DIR            object code libraries [EPREFIX/lib]
1409   --includedir=DIR        C header files [PREFIX/include]
1410   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1411   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1412   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1413   --infodir=DIR           info documentation [DATAROOTDIR/info]
1414   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1415   --mandir=DIR            man documentation [DATAROOTDIR/man]
1416   --docdir=DIR            documentation root [DATAROOTDIR/doc/libsigc++]
1417   --htmldir=DIR           html documentation [DOCDIR]
1418   --dvidir=DIR            dvi documentation [DOCDIR]
1419   --pdfdir=DIR            pdf documentation [DOCDIR]
1420   --psdir=DIR             ps documentation [DOCDIR]
1421 _ACEOF
1422
1423   cat <<\_ACEOF
1424
1425 Program names:
1426   --program-prefix=PREFIX            prepend PREFIX to installed program names
1427   --program-suffix=SUFFIX            append SUFFIX to installed program names
1428   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1429
1430 System types:
1431   --build=BUILD     configure for building on BUILD [guessed]
1432   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1433 _ACEOF
1434 fi
1435
1436 if test -n "$ac_init_help"; then
1437   case $ac_init_help in
1438      short | recursive ) echo "Configuration of libsigc++ 2.4.1:";;
1439    esac
1440   cat <<\_ACEOF
1441
1442 Optional Features:
1443   --disable-option-checking  ignore unrecognized --enable/--with options
1444   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1445   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1446   --enable-silent-rules   less verbose build output (undo: "make V=1")
1447   --disable-silent-rules  verbose build output (undo: "make V=0")
1448   --enable-maintainer-mode
1449                           enable make rules and dependencies not useful (and
1450                           sometimes confusing) to the casual installer
1451   --enable-dependency-tracking
1452                           do not reject slow dependency extractors
1453   --disable-dependency-tracking
1454                           speeds up one-time build
1455   --enable-static[=PKGS]  build static libraries [default=no]
1456   --enable-shared[=PKGS]  build shared libraries [default=yes]
1457   --enable-fast-install[=PKGS]
1458                           optimize for fast installation [default=yes]
1459   --disable-libtool-lock  avoid locking (might break parallel builds)
1460   --disable-documentation do not build or install the documentation
1461   --enable-warnings[=min|max|fatal|no]
1462                           set compiler pedantry level [default=min]
1463   --disable-deprecated-api
1464                           omit deprecated API from the library
1465
1466 Optional Packages:
1467   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1468   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1469   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1470                           both]
1471   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1472   --with-sysroot=DIR Search for dependent libraries within DIR
1473                         (or the compiler's sysroot if not specified).
1474   --with-libstdc-doc=[TAGFILE@]HTMLREFDIR
1475                           Link to external libstdc documentation [auto]
1476
1477 Some influential environment variables:
1478   ACLOCAL_FLAGS
1479               aclocal flags, e.g. -I <macro dir>
1480   CXX         C++ compiler command
1481   CXXFLAGS    C++ compiler flags
1482   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1483               nonstandard directory <lib dir>
1484   LIBS        libraries to pass to the linker, e.g. -l<library>
1485   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1486               you have headers in a nonstandard directory <include dir>
1487   CC          C compiler command
1488   CFLAGS      C compiler flags
1489   CPP         C preprocessor
1490   CXXCPP      C++ preprocessor
1491   M4          M4 macro processor command
1492   PERL        path to Perl interpreter
1493   DOT         path to dot utility
1494   DOXYGEN     path to Doxygen utility
1495   XSLTPROC    path to xsltproc utility
1496   PKG_CONFIG  path to pkg-config utility
1497   PKG_CONFIG_PATH
1498               directories to add to pkg-config's search path
1499   PKG_CONFIG_LIBDIR
1500               path overriding pkg-config's built-in search path
1501
1502 Use these variables to override the choices made by `configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1504
1505 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
1506 libsigc++ home page: <http://libsigc.sourceforge.net/>.
1507 _ACEOF
1508 ac_status=$?
1509 fi
1510
1511 if test "$ac_init_help" = "recursive"; then
1512   # If there are subdirs, report their specific --help.
1513   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1514     test -d "$ac_dir" ||
1515       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1516       continue
1517     ac_builddir=.
1518
1519 case "$ac_dir" in
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 *)
1522   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1523   # A ".." for each directory in $ac_dir_suffix.
1524   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1525   case $ac_top_builddir_sub in
1526   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1528   esac ;;
1529 esac
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1534
1535 case $srcdir in
1536   .)  # We are building in place.
1537     ac_srcdir=.
1538     ac_top_srcdir=$ac_top_builddir_sub
1539     ac_abs_top_srcdir=$ac_pwd ;;
1540   [\\/]* | ?:[\\/]* )  # Absolute name.
1541     ac_srcdir=$srcdir$ac_dir_suffix;
1542     ac_top_srcdir=$srcdir
1543     ac_abs_top_srcdir=$srcdir ;;
1544   *) # Relative name.
1545     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546     ac_top_srcdir=$ac_top_build_prefix$srcdir
1547     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548 esac
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550
1551     cd "$ac_dir" || { ac_status=$?; continue; }
1552     # Check for guested configure.
1553     if test -f "$ac_srcdir/configure.gnu"; then
1554       echo &&
1555       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556     elif test -f "$ac_srcdir/configure"; then
1557       echo &&
1558       $SHELL "$ac_srcdir/configure" --help=recursive
1559     else
1560       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561     fi || ac_status=$?
1562     cd "$ac_pwd" || { ac_status=$?; break; }
1563   done
1564 fi
1565
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1568   cat <<\_ACEOF
1569 libsigc++ configure 2.4.1
1570 generated by GNU Autoconf 2.69
1571
1572 Copyright (C) 2012 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1575 _ACEOF
1576   exit
1577 fi
1578
1579 ## ------------------------ ##
1580 ## Autoconf initialization. ##
1581 ## ------------------------ ##
1582
1583 # ac_fn_cxx_try_compile LINENO
1584 # ----------------------------
1585 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1586 ac_fn_cxx_try_compile ()
1587 {
1588   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589   rm -f conftest.$ac_objext
1590   if { { ac_try="$ac_compile"
1591 case "(($ac_try" in
1592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593   *) ac_try_echo=$ac_try;;
1594 esac
1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597   (eval "$ac_compile") 2>conftest.err
1598   ac_status=$?
1599   if test -s conftest.err; then
1600     grep -v '^ *+' conftest.err >conftest.er1
1601     cat conftest.er1 >&5
1602     mv -f conftest.er1 conftest.err
1603   fi
1604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605   test $ac_status = 0; } && {
1606          test -z "$ac_cxx_werror_flag" ||
1607          test ! -s conftest.err
1608        } && test -s conftest.$ac_objext; then :
1609   ac_retval=0
1610 else
1611   $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1613
1614         ac_retval=1
1615 fi
1616   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617   as_fn_set_status $ac_retval
1618
1619 } # ac_fn_cxx_try_compile
1620
1621 # ac_fn_c_try_compile LINENO
1622 # --------------------------
1623 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1624 ac_fn_c_try_compile ()
1625 {
1626   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627   rm -f conftest.$ac_objext
1628   if { { ac_try="$ac_compile"
1629 case "(($ac_try" in
1630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1631   *) ac_try_echo=$ac_try;;
1632 esac
1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635   (eval "$ac_compile") 2>conftest.err
1636   ac_status=$?
1637   if test -s conftest.err; then
1638     grep -v '^ *+' conftest.err >conftest.er1
1639     cat conftest.er1 >&5
1640     mv -f conftest.er1 conftest.err
1641   fi
1642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643   test $ac_status = 0; } && {
1644          test -z "$ac_c_werror_flag" ||
1645          test ! -s conftest.err
1646        } && test -s conftest.$ac_objext; then :
1647   ac_retval=0
1648 else
1649   $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.$ac_ext >&5
1651
1652         ac_retval=1
1653 fi
1654   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655   as_fn_set_status $ac_retval
1656
1657 } # ac_fn_c_try_compile
1658
1659 # ac_fn_c_try_link LINENO
1660 # -----------------------
1661 # Try to link conftest.$ac_ext, and return whether this succeeded.
1662 ac_fn_c_try_link ()
1663 {
1664   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665   rm -f conftest.$ac_objext conftest$ac_exeext
1666   if { { ac_try="$ac_link"
1667 case "(($ac_try" in
1668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669   *) ac_try_echo=$ac_try;;
1670 esac
1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673   (eval "$ac_link") 2>conftest.err
1674   ac_status=$?
1675   if test -s conftest.err; then
1676     grep -v '^ *+' conftest.err >conftest.er1
1677     cat conftest.er1 >&5
1678     mv -f conftest.er1 conftest.err
1679   fi
1680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681   test $ac_status = 0; } && {
1682          test -z "$ac_c_werror_flag" ||
1683          test ! -s conftest.err
1684        } && test -s conftest$ac_exeext && {
1685          test "$cross_compiling" = yes ||
1686          test -x conftest$ac_exeext
1687        }; then :
1688   ac_retval=0
1689 else
1690   $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.$ac_ext >&5
1692
1693         ac_retval=1
1694 fi
1695   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1696   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1697   # interfere with the next link command; also delete a directory that is
1698   # left behind by Apple's compiler.  We do this before executing the actions.
1699   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1700   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701   as_fn_set_status $ac_retval
1702
1703 } # ac_fn_c_try_link
1704
1705 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1706 # -------------------------------------------------------
1707 # Tests whether HEADER exists and can be compiled using the include files in
1708 # INCLUDES, setting the cache variable VAR accordingly.
1709 ac_fn_c_check_header_compile ()
1710 {
1711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if eval \${$3+:} false; then :
1715   $as_echo_n "(cached) " >&6
1716 else
1717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h.  */
1719 $4
1720 #include <$2>
1721 _ACEOF
1722 if ac_fn_c_try_compile "$LINENO"; then :
1723   eval "$3=yes"
1724 else
1725   eval "$3=no"
1726 fi
1727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1728 fi
1729 eval ac_res=\$$3
1730                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1731 $as_echo "$ac_res" >&6; }
1732   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733
1734 } # ac_fn_c_check_header_compile
1735
1736 # ac_fn_c_try_cpp LINENO
1737 # ----------------------
1738 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_c_try_cpp ()
1740 {
1741   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742   if { { ac_try="$ac_cpp conftest.$ac_ext"
1743 case "(($ac_try" in
1744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1745   *) ac_try_echo=$ac_try;;
1746 esac
1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1750   ac_status=$?
1751   if test -s conftest.err; then
1752     grep -v '^ *+' conftest.err >conftest.er1
1753     cat conftest.er1 >&5
1754     mv -f conftest.er1 conftest.err
1755   fi
1756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757   test $ac_status = 0; } > conftest.i && {
1758          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1759          test ! -s conftest.err
1760        }; then :
1761   ac_retval=0
1762 else
1763   $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1765
1766     ac_retval=1
1767 fi
1768   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769   as_fn_set_status $ac_retval
1770
1771 } # ac_fn_c_try_cpp
1772
1773 # ac_fn_c_try_run LINENO
1774 # ----------------------
1775 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1776 # that executables *can* be run.
1777 ac_fn_c_try_run ()
1778 {
1779   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780   if { { ac_try="$ac_link"
1781 case "(($ac_try" in
1782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783   *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787   (eval "$ac_link") 2>&5
1788   ac_status=$?
1789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1791   { { case "(($ac_try" in
1792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793   *) ac_try_echo=$ac_try;;
1794 esac
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797   (eval "$ac_try") 2>&5
1798   ac_status=$?
1799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800   test $ac_status = 0; }; }; then :
1801   ac_retval=0
1802 else
1803   $as_echo "$as_me: program exited with status $ac_status" >&5
1804        $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1806
1807        ac_retval=$ac_status
1808 fi
1809   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811   as_fn_set_status $ac_retval
1812
1813 } # ac_fn_c_try_run
1814
1815 # ac_fn_c_check_func LINENO FUNC VAR
1816 # ----------------------------------
1817 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1818 ac_fn_c_check_func ()
1819 {
1820   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1822 $as_echo_n "checking for $2... " >&6; }
1823 if eval \${$3+:} false; then :
1824   $as_echo_n "(cached) " >&6
1825 else
1826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h.  */
1828 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1829    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1830 #define $2 innocuous_$2
1831
1832 /* System header to define __stub macros and hopefully few prototypes,
1833     which can conflict with char $2 (); below.
1834     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1835     <limits.h> exists even on freestanding compilers.  */
1836
1837 #ifdef __STDC__
1838 # include <limits.h>
1839 #else
1840 # include <assert.h>
1841 #endif
1842
1843 #undef $2
1844
1845 /* Override any GCC internal prototype to avoid an error.
1846    Use char because int might match the return type of a GCC
1847    builtin and then its argument prototype would still apply.  */
1848 #ifdef __cplusplus
1849 extern "C"
1850 #endif
1851 char $2 ();
1852 /* The GNU C library defines this for functions which it implements
1853     to always fail with ENOSYS.  Some functions are actually named
1854     something starting with __ and the normal name is an alias.  */
1855 #if defined __stub_$2 || defined __stub___$2
1856 choke me
1857 #endif
1858
1859 int
1860 main ()
1861 {
1862 return $2 ();
1863   ;
1864   return 0;
1865 }
1866 _ACEOF
1867 if ac_fn_c_try_link "$LINENO"; then :
1868   eval "$3=yes"
1869 else
1870   eval "$3=no"
1871 fi
1872 rm -f core conftest.err conftest.$ac_objext \
1873     conftest$ac_exeext conftest.$ac_ext
1874 fi
1875 eval ac_res=\$$3
1876                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1878   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879
1880 } # ac_fn_c_check_func
1881
1882 # ac_fn_cxx_try_cpp LINENO
1883 # ------------------------
1884 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1885 ac_fn_cxx_try_cpp ()
1886 {
1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888   if { { ac_try="$ac_cpp conftest.$ac_ext"
1889 case "(($ac_try" in
1890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891   *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1896   ac_status=$?
1897   if test -s conftest.err; then
1898     grep -v '^ *+' conftest.err >conftest.er1
1899     cat conftest.er1 >&5
1900     mv -f conftest.er1 conftest.err
1901   fi
1902   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903   test $ac_status = 0; } > conftest.i && {
1904          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1905          test ! -s conftest.err
1906        }; then :
1907   ac_retval=0
1908 else
1909   $as_echo "$as_me: failed program was:" >&5
1910 sed 's/^/| /' conftest.$ac_ext >&5
1911
1912     ac_retval=1
1913 fi
1914   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915   as_fn_set_status $ac_retval
1916
1917 } # ac_fn_cxx_try_cpp
1918
1919 # ac_fn_cxx_try_link LINENO
1920 # -------------------------
1921 # Try to link conftest.$ac_ext, and return whether this succeeded.
1922 ac_fn_cxx_try_link ()
1923 {
1924   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925   rm -f conftest.$ac_objext conftest$ac_exeext
1926   if { { ac_try="$ac_link"
1927 case "(($ac_try" in
1928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1929   *) ac_try_echo=$ac_try;;
1930 esac
1931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1932 $as_echo "$ac_try_echo"; } >&5
1933   (eval "$ac_link") 2>conftest.err
1934   ac_status=$?
1935   if test -s conftest.err; then
1936     grep -v '^ *+' conftest.err >conftest.er1
1937     cat conftest.er1 >&5
1938     mv -f conftest.er1 conftest.err
1939   fi
1940   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941   test $ac_status = 0; } && {
1942          test -z "$ac_cxx_werror_flag" ||
1943          test ! -s conftest.err
1944        } && test -s conftest$ac_exeext && {
1945          test "$cross_compiling" = yes ||
1946          test -x conftest$ac_exeext
1947        }; then :
1948   ac_retval=0
1949 else
1950   $as_echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.$ac_ext >&5
1952
1953         ac_retval=1
1954 fi
1955   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1956   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1957   # interfere with the next link command; also delete a directory that is
1958   # left behind by Apple's compiler.  We do this before executing the actions.
1959   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1960   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961   as_fn_set_status $ac_retval
1962
1963 } # ac_fn_cxx_try_link
1964 cat >config.log <<_ACEOF
1965 This file contains any messages produced by compilers while
1966 running configure, to aid debugging if configure makes a mistake.
1967
1968 It was created by libsigc++ $as_me 2.4.1, which was
1969 generated by GNU Autoconf 2.69.  Invocation command line was
1970
1971   $ $0 $@
1972
1973 _ACEOF
1974 exec 5>>config.log
1975 {
1976 cat <<_ASUNAME
1977 ## --------- ##
1978 ## Platform. ##
1979 ## --------- ##
1980
1981 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1982 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1983 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1984 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1985 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1986
1987 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1988 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1989
1990 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1991 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1992 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1993 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1994 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1995 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1996 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1997
1998 _ASUNAME
1999
2000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001 for as_dir in $PATH
2002 do
2003   IFS=$as_save_IFS
2004   test -z "$as_dir" && as_dir=.
2005     $as_echo "PATH: $as_dir"
2006   done
2007 IFS=$as_save_IFS
2008
2009 } >&5
2010
2011 cat >&5 <<_ACEOF
2012
2013
2014 ## ----------- ##
2015 ## Core tests. ##
2016 ## ----------- ##
2017
2018 _ACEOF
2019
2020
2021 # Keep a trace of the command line.
2022 # Strip out --no-create and --no-recursion so they do not pile up.
2023 # Strip out --silent because we don't want to record it for future runs.
2024 # Also quote any args containing shell meta-characters.
2025 # Make two passes to allow for proper duplicate-argument suppression.
2026 ac_configure_args=
2027 ac_configure_args0=
2028 ac_configure_args1=
2029 ac_must_keep_next=false
2030 for ac_pass in 1 2
2031 do
2032   for ac_arg
2033   do
2034     case $ac_arg in
2035     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2036     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2037     | -silent | --silent | --silen | --sile | --sil)
2038       continue ;;
2039     *\'*)
2040       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2041     esac
2042     case $ac_pass in
2043     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2044     2)
2045       as_fn_append ac_configure_args1 " '$ac_arg'"
2046       if test $ac_must_keep_next = true; then
2047         ac_must_keep_next=false # Got value, back to normal.
2048       else
2049         case $ac_arg in
2050           *=* | --config-cache | -C | -disable-* | --disable-* \
2051           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2052           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2053           | -with-* | --with-* | -without-* | --without-* | --x)
2054             case "$ac_configure_args0 " in
2055               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2056             esac
2057             ;;
2058           -* ) ac_must_keep_next=true ;;
2059         esac
2060       fi
2061       as_fn_append ac_configure_args " '$ac_arg'"
2062       ;;
2063     esac
2064   done
2065 done
2066 { ac_configure_args0=; unset ac_configure_args0;}
2067 { ac_configure_args1=; unset ac_configure_args1;}
2068
2069 # When interrupted or exit'd, cleanup temporary files, and complete
2070 # config.log.  We remove comments because anyway the quotes in there
2071 # would cause problems or look ugly.
2072 # WARNING: Use '\'' to represent an apostrophe within the trap.
2073 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2074 trap 'exit_status=$?
2075   # Save into config.log some information that might help in debugging.
2076   {
2077     echo
2078
2079     $as_echo "## ---------------- ##
2080 ## Cache variables. ##
2081 ## ---------------- ##"
2082     echo
2083     # The following way of writing the cache mishandles newlines in values,
2084 (
2085   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2086     eval ac_val=\$$ac_var
2087     case $ac_val in #(
2088     *${as_nl}*)
2089       case $ac_var in #(
2090       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2091 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2092       esac
2093       case $ac_var in #(
2094       _ | IFS | as_nl) ;; #(
2095       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2096       *) { eval $ac_var=; unset $ac_var;} ;;
2097       esac ;;
2098     esac
2099   done
2100   (set) 2>&1 |
2101     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2102     *${as_nl}ac_space=\ *)
2103       sed -n \
2104         "s/'\''/'\''\\\\'\'''\''/g;
2105           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2106       ;; #(
2107     *)
2108       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2109       ;;
2110     esac |
2111     sort
2112 )
2113     echo
2114
2115     $as_echo "## ----------------- ##
2116 ## Output variables. ##
2117 ## ----------------- ##"
2118     echo
2119     for ac_var in $ac_subst_vars
2120     do
2121       eval ac_val=\$$ac_var
2122       case $ac_val in
2123       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2124       esac
2125       $as_echo "$ac_var='\''$ac_val'\''"
2126     done | sort
2127     echo
2128
2129     if test -n "$ac_subst_files"; then
2130       $as_echo "## ------------------- ##
2131 ## File substitutions. ##
2132 ## ------------------- ##"
2133       echo
2134       for ac_var in $ac_subst_files
2135       do
2136         eval ac_val=\$$ac_var
2137         case $ac_val in
2138         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2139         esac
2140         $as_echo "$ac_var='\''$ac_val'\''"
2141       done | sort
2142       echo
2143     fi
2144
2145     if test -s confdefs.h; then
2146       $as_echo "## ----------- ##
2147 ## confdefs.h. ##
2148 ## ----------- ##"
2149       echo
2150       cat confdefs.h
2151       echo
2152     fi
2153     test "$ac_signal" != 0 &&
2154       $as_echo "$as_me: caught signal $ac_signal"
2155     $as_echo "$as_me: exit $exit_status"
2156   } >&5
2157   rm -f core *.core core.conftest.* &&
2158     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2159     exit $exit_status
2160 ' 0
2161 for ac_signal in 1 2 13 15; do
2162   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2163 done
2164 ac_signal=0
2165
2166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2167 rm -f -r conftest* confdefs.h
2168
2169 $as_echo "/* confdefs.h */" > confdefs.h
2170
2171 # Predefined preprocessor variables.
2172
2173 cat >>confdefs.h <<_ACEOF
2174 #define PACKAGE_NAME "$PACKAGE_NAME"
2175 _ACEOF
2176
2177 cat >>confdefs.h <<_ACEOF
2178 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2179 _ACEOF
2180
2181 cat >>confdefs.h <<_ACEOF
2182 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2183 _ACEOF
2184
2185 cat >>confdefs.h <<_ACEOF
2186 #define PACKAGE_STRING "$PACKAGE_STRING"
2187 _ACEOF
2188
2189 cat >>confdefs.h <<_ACEOF
2190 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2191 _ACEOF
2192
2193 cat >>confdefs.h <<_ACEOF
2194 #define PACKAGE_URL "$PACKAGE_URL"
2195 _ACEOF
2196
2197
2198 # Let the site file select an alternate cache file if it wants to.
2199 # Prefer an explicitly selected file to automatically selected ones.
2200 ac_site_file1=NONE
2201 ac_site_file2=NONE
2202 if test -n "$CONFIG_SITE"; then
2203   # We do not want a PATH search for config.site.
2204   case $CONFIG_SITE in #((
2205     -*)  ac_site_file1=./$CONFIG_SITE;;
2206     */*) ac_site_file1=$CONFIG_SITE;;
2207     *)   ac_site_file1=./$CONFIG_SITE;;
2208   esac
2209 elif test "x$prefix" != xNONE; then
2210   ac_site_file1=$prefix/share/config.site
2211   ac_site_file2=$prefix/etc/config.site
2212 else
2213   ac_site_file1=$ac_default_prefix/share/config.site
2214   ac_site_file2=$ac_default_prefix/etc/config.site
2215 fi
2216 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2217 do
2218   test "x$ac_site_file" = xNONE && continue
2219   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2220     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2221 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2222     sed 's/^/| /' "$ac_site_file" >&5
2223     . "$ac_site_file" \
2224       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2226 as_fn_error $? "failed to load site script $ac_site_file
2227 See \`config.log' for more details" "$LINENO" 5; }
2228   fi
2229 done
2230
2231 if test -r "$cache_file"; then
2232   # Some versions of bash will fail to source /dev/null (special files
2233   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2234   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2235     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2236 $as_echo "$as_me: loading cache $cache_file" >&6;}
2237     case $cache_file in
2238       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2239       *)                      . "./$cache_file";;
2240     esac
2241   fi
2242 else
2243   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2244 $as_echo "$as_me: creating cache $cache_file" >&6;}
2245   >$cache_file
2246 fi
2247
2248 # Check that the precious variables saved in the cache have kept the same
2249 # value.
2250 ac_cache_corrupted=false
2251 for ac_var in $ac_precious_vars; do
2252   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2253   eval ac_new_set=\$ac_env_${ac_var}_set
2254   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2255   eval ac_new_val=\$ac_env_${ac_var}_value
2256   case $ac_old_set,$ac_new_set in
2257     set,)
2258       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2259 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2260       ac_cache_corrupted=: ;;
2261     ,set)
2262       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2263 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2264       ac_cache_corrupted=: ;;
2265     ,);;
2266     *)
2267       if test "x$ac_old_val" != "x$ac_new_val"; then
2268         # differences in whitespace do not lead to failure.
2269         ac_old_val_w=`echo x $ac_old_val`
2270         ac_new_val_w=`echo x $ac_new_val`
2271         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2272           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2273 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2274           ac_cache_corrupted=:
2275         else
2276           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2277 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2278           eval $ac_var=\$ac_old_val
2279         fi
2280         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2281 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2282         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2283 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2284       fi;;
2285   esac
2286   # Pass precious variables to config.status.
2287   if test "$ac_new_set" = set; then
2288     case $ac_new_val in
2289     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2290     *) ac_arg=$ac_var=$ac_new_val ;;
2291     esac
2292     case " $ac_configure_args " in
2293       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2294       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2295     esac
2296   fi
2297 done
2298 if $ac_cache_corrupted; then
2299   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2301   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2302 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2303   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2304 fi
2305 ## -------------------- ##
2306 ## Main body of script. ##
2307 ## -------------------- ##
2308
2309 ac_ext=c
2310 ac_cpp='$CPP $CPPFLAGS'
2311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2314
2315
2316
2317
2318
2319 ac_aux_dir=
2320 for ac_dir in build "$srcdir"/build; do
2321   if test -f "$ac_dir/install-sh"; then
2322     ac_aux_dir=$ac_dir
2323     ac_install_sh="$ac_aux_dir/install-sh -c"
2324     break
2325   elif test -f "$ac_dir/install.sh"; then
2326     ac_aux_dir=$ac_dir
2327     ac_install_sh="$ac_aux_dir/install.sh -c"
2328     break
2329   elif test -f "$ac_dir/shtool"; then
2330     ac_aux_dir=$ac_dir
2331     ac_install_sh="$ac_aux_dir/shtool install -c"
2332     break
2333   fi
2334 done
2335 if test -z "$ac_aux_dir"; then
2336   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2337 fi
2338
2339 # These three variables are undocumented and unsupported,
2340 # and are intended to be withdrawn in a future Autoconf release.
2341 # They can cause serious problems if a builder's source tree is in a directory
2342 # whose full name contains unusual characters.
2343 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2344 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2345 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2346
2347
2348
2349 ac_config_headers="$ac_config_headers config.h sigc++config.h"
2350
2351
2352 am__api_version='1.14'
2353
2354 # Find a good install program.  We prefer a C program (faster),
2355 # so one script is as good as another.  But avoid the broken or
2356 # incompatible versions:
2357 # SysV /etc/install, /usr/sbin/install
2358 # SunOS /usr/etc/install
2359 # IRIX /sbin/install
2360 # AIX /bin/install
2361 # AmigaOS /C/install, which installs bootblocks on floppy discs
2362 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2363 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2364 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2365 # OS/2's system install, which has a completely different semantic
2366 # ./install, which can be erroneously created by make from ./install.sh.
2367 # Reject install programs that cannot install multiple files.
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2369 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2370 if test -z "$INSTALL"; then
2371 if ${ac_cv_path_install+:} false; then :
2372   $as_echo_n "(cached) " >&6
2373 else
2374   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375 for as_dir in $PATH
2376 do
2377   IFS=$as_save_IFS
2378   test -z "$as_dir" && as_dir=.
2379     # Account for people who put trailing slashes in PATH elements.
2380 case $as_dir/ in #((
2381   ./ | .// | /[cC]/* | \
2382   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2383   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2384   /usr/ucb/* ) ;;
2385   *)
2386     # OSF1 and SCO ODT 3.0 have their own names for install.
2387     # Don't use installbsd from OSF since it installs stuff as root
2388     # by default.
2389     for ac_prog in ginstall scoinst install; do
2390       for ac_exec_ext in '' $ac_executable_extensions; do
2391         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2392           if test $ac_prog = install &&
2393             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2394             # AIX install.  It has an incompatible calling convention.
2395             :
2396           elif test $ac_prog = install &&
2397             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398             # program-specific install script used by HP pwplus--don't use.
2399             :
2400           else
2401             rm -rf conftest.one conftest.two conftest.dir
2402             echo one > conftest.one
2403             echo two > conftest.two
2404             mkdir conftest.dir
2405             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2406               test -s conftest.one && test -s conftest.two &&
2407               test -s conftest.dir/conftest.one &&
2408               test -s conftest.dir/conftest.two
2409             then
2410               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2411               break 3
2412             fi
2413           fi
2414         fi
2415       done
2416     done
2417     ;;
2418 esac
2419
2420   done
2421 IFS=$as_save_IFS
2422
2423 rm -rf conftest.one conftest.two conftest.dir
2424
2425 fi
2426   if test "${ac_cv_path_install+set}" = set; then
2427     INSTALL=$ac_cv_path_install
2428   else
2429     # As a last resort, use the slow shell script.  Don't cache a
2430     # value for INSTALL within a source directory, because that will
2431     # break other packages using the cache if that directory is
2432     # removed, or if the value is a relative name.
2433     INSTALL=$ac_install_sh
2434   fi
2435 fi
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2437 $as_echo "$INSTALL" >&6; }
2438
2439 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2440 # It thinks the first close brace ends the variable substitution.
2441 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2442
2443 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2444
2445 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2446
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2448 $as_echo_n "checking whether build environment is sane... " >&6; }
2449 # Reject unsafe characters in $srcdir or the absolute working directory
2450 # name.  Accept space and tab only in the latter.
2451 am_lf='
2452 '
2453 case `pwd` in
2454   *[\\\"\#\$\&\'\`$am_lf]*)
2455     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2456 esac
2457 case $srcdir in
2458   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2459     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2460 esac
2461
2462 # Do 'set' in a subshell so we don't clobber the current shell's
2463 # arguments.  Must try -L first in case configure is actually a
2464 # symlink; some systems play weird games with the mod time of symlinks
2465 # (eg FreeBSD returns the mod time of the symlink's containing
2466 # directory).
2467 if (
2468    am_has_slept=no
2469    for am_try in 1 2; do
2470      echo "timestamp, slept: $am_has_slept" > conftest.file
2471      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2472      if test "$*" = "X"; then
2473         # -L didn't work.
2474         set X `ls -t "$srcdir/configure" conftest.file`
2475      fi
2476      if test "$*" != "X $srcdir/configure conftest.file" \
2477         && test "$*" != "X conftest.file $srcdir/configure"; then
2478
2479         # If neither matched, then we have a broken ls.  This can happen
2480         # if, for instance, CONFIG_SHELL is bash and it inherits a
2481         # broken ls alias from the environment.  This has actually
2482         # happened.  Such a system could not be considered "sane".
2483         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2484   alias in your environment" "$LINENO" 5
2485      fi
2486      if test "$2" = conftest.file || test $am_try -eq 2; then
2487        break
2488      fi
2489      # Just in case.
2490      sleep 1
2491      am_has_slept=yes
2492    done
2493    test "$2" = conftest.file
2494    )
2495 then
2496    # Ok.
2497    :
2498 else
2499    as_fn_error $? "newly created file is older than distributed files!
2500 Check your system clock" "$LINENO" 5
2501 fi
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2503 $as_echo "yes" >&6; }
2504 # If we didn't sleep, we still need to ensure time stamps of config.status and
2505 # generated files are strictly newer.
2506 am_sleep_pid=
2507 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2508   ( sleep 1 ) &
2509   am_sleep_pid=$!
2510 fi
2511
2512 rm -f conftest.file
2513
2514 test "$program_prefix" != NONE &&
2515   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2516 # Use a double $ so make ignores it.
2517 test "$program_suffix" != NONE &&
2518   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2519 # Double any \ or $.
2520 # By default was `s,x,x', remove it if useless.
2521 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2522 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2523
2524 # expand $ac_aux_dir to an absolute path
2525 am_aux_dir=`cd $ac_aux_dir && pwd`
2526
2527 if test x"${MISSING+set}" != xset; then
2528   case $am_aux_dir in
2529   *\ * | *\     *)
2530     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2531   *)
2532     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2533   esac
2534 fi
2535 # Use eval to expand $SHELL
2536 if eval "$MISSING --is-lightweight"; then
2537   am_missing_run="$MISSING "
2538 else
2539   am_missing_run=
2540   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2541 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2542 fi
2543
2544 if test x"${install_sh}" != xset; then
2545   case $am_aux_dir in
2546   *\ * | *\     *)
2547     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2548   *)
2549     install_sh="\${SHELL} $am_aux_dir/install-sh"
2550   esac
2551 fi
2552
2553 # Installed binaries are usually stripped using 'strip' when the user
2554 # run "make install-strip".  However 'strip' might not be the right
2555 # tool to use in cross-compilation environments, therefore Automake
2556 # will honor the 'STRIP' environment variable to overrule this program.
2557 if test "$cross_compiling" != no; then
2558   if test -n "$ac_tool_prefix"; then
2559   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2560 set dummy ${ac_tool_prefix}strip; ac_word=$2
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2562 $as_echo_n "checking for $ac_word... " >&6; }
2563 if ${ac_cv_prog_STRIP+:} false; then :
2564   $as_echo_n "(cached) " >&6
2565 else
2566   if test -n "$STRIP"; then
2567   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2568 else
2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570 for as_dir in $PATH
2571 do
2572   IFS=$as_save_IFS
2573   test -z "$as_dir" && as_dir=.
2574     for ac_exec_ext in '' $ac_executable_extensions; do
2575   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2576     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2578     break 2
2579   fi
2580 done
2581   done
2582 IFS=$as_save_IFS
2583
2584 fi
2585 fi
2586 STRIP=$ac_cv_prog_STRIP
2587 if test -n "$STRIP"; then
2588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2589 $as_echo "$STRIP" >&6; }
2590 else
2591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2592 $as_echo "no" >&6; }
2593 fi
2594
2595
2596 fi
2597 if test -z "$ac_cv_prog_STRIP"; then
2598   ac_ct_STRIP=$STRIP
2599   # Extract the first word of "strip", so it can be a program name with args.
2600 set dummy strip; ac_word=$2
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2602 $as_echo_n "checking for $ac_word... " >&6; }
2603 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2604   $as_echo_n "(cached) " >&6
2605 else
2606   if test -n "$ac_ct_STRIP"; then
2607   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2608 else
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610 for as_dir in $PATH
2611 do
2612   IFS=$as_save_IFS
2613   test -z "$as_dir" && as_dir=.
2614     for ac_exec_ext in '' $ac_executable_extensions; do
2615   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616     ac_cv_prog_ac_ct_STRIP="strip"
2617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2618     break 2
2619   fi
2620 done
2621   done
2622 IFS=$as_save_IFS
2623
2624 fi
2625 fi
2626 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2627 if test -n "$ac_ct_STRIP"; then
2628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2629 $as_echo "$ac_ct_STRIP" >&6; }
2630 else
2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2632 $as_echo "no" >&6; }
2633 fi
2634
2635   if test "x$ac_ct_STRIP" = x; then
2636     STRIP=":"
2637   else
2638     case $cross_compiling:$ac_tool_warned in
2639 yes:)
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2642 ac_tool_warned=yes ;;
2643 esac
2644     STRIP=$ac_ct_STRIP
2645   fi
2646 else
2647   STRIP="$ac_cv_prog_STRIP"
2648 fi
2649
2650 fi
2651 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2652
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2654 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2655 if test -z "$MKDIR_P"; then
2656   if ${ac_cv_path_mkdir+:} false; then :
2657   $as_echo_n "(cached) " >&6
2658 else
2659   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2661 do
2662   IFS=$as_save_IFS
2663   test -z "$as_dir" && as_dir=.
2664     for ac_prog in mkdir gmkdir; do
2665          for ac_exec_ext in '' $ac_executable_extensions; do
2666            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2667            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2668              'mkdir (GNU coreutils) '* | \
2669              'mkdir (coreutils) '* | \
2670              'mkdir (fileutils) '4.1*)
2671                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2672                break 3;;
2673            esac
2674          done
2675        done
2676   done
2677 IFS=$as_save_IFS
2678
2679 fi
2680
2681   test -d ./--version && rmdir ./--version
2682   if test "${ac_cv_path_mkdir+set}" = set; then
2683     MKDIR_P="$ac_cv_path_mkdir -p"
2684   else
2685     # As a last resort, use the slow shell script.  Don't cache a
2686     # value for MKDIR_P within a source directory, because that will
2687     # break other packages using the cache if that directory is
2688     # removed, or if the value is a relative name.
2689     MKDIR_P="$ac_install_sh -d"
2690   fi
2691 fi
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2693 $as_echo "$MKDIR_P" >&6; }
2694
2695 for ac_prog in gawk mawk nawk awk
2696 do
2697   # Extract the first word of "$ac_prog", so it can be a program name with args.
2698 set dummy $ac_prog; ac_word=$2
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if ${ac_cv_prog_AWK+:} false; then :
2702   $as_echo_n "(cached) " >&6
2703 else
2704   if test -n "$AWK"; then
2705   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2706 else
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 for as_dir in $PATH
2709 do
2710   IFS=$as_save_IFS
2711   test -z "$as_dir" && as_dir=.
2712     for ac_exec_ext in '' $ac_executable_extensions; do
2713   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2714     ac_cv_prog_AWK="$ac_prog"
2715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716     break 2
2717   fi
2718 done
2719   done
2720 IFS=$as_save_IFS
2721
2722 fi
2723 fi
2724 AWK=$ac_cv_prog_AWK
2725 if test -n "$AWK"; then
2726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2727 $as_echo "$AWK" >&6; }
2728 else
2729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730 $as_echo "no" >&6; }
2731 fi
2732
2733
2734   test -n "$AWK" && break
2735 done
2736
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2738 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2739 set x ${MAKE-make}
2740 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2741 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2742   $as_echo_n "(cached) " >&6
2743 else
2744   cat >conftest.make <<\_ACEOF
2745 SHELL = /bin/sh
2746 all:
2747         @echo '@@@%%%=$(MAKE)=@@@%%%'
2748 _ACEOF
2749 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2750 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2751   *@@@%%%=?*=@@@%%%*)
2752     eval ac_cv_prog_make_${ac_make}_set=yes;;
2753   *)
2754     eval ac_cv_prog_make_${ac_make}_set=no;;
2755 esac
2756 rm -f conftest.make
2757 fi
2758 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2760 $as_echo "yes" >&6; }
2761   SET_MAKE=
2762 else
2763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2765   SET_MAKE="MAKE=${MAKE-make}"
2766 fi
2767
2768 rm -rf .tst 2>/dev/null
2769 mkdir .tst 2>/dev/null
2770 if test -d .tst; then
2771   am__leading_dot=.
2772 else
2773   am__leading_dot=_
2774 fi
2775 rmdir .tst 2>/dev/null
2776
2777 # Check whether --enable-silent-rules was given.
2778 if test "${enable_silent_rules+set}" = set; then :
2779   enableval=$enable_silent_rules;
2780 fi
2781
2782 case $enable_silent_rules in # (((
2783   yes) AM_DEFAULT_VERBOSITY=0;;
2784    no) AM_DEFAULT_VERBOSITY=1;;
2785     *) AM_DEFAULT_VERBOSITY=1;;
2786 esac
2787 am_make=${MAKE-make}
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2789 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2790 if ${am_cv_make_support_nested_variables+:} false; then :
2791   $as_echo_n "(cached) " >&6
2792 else
2793   if $as_echo 'TRUE=$(BAR$(V))
2794 BAR0=false
2795 BAR1=true
2796 V=1
2797 am__doit:
2798         @$(TRUE)
2799 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2800   am_cv_make_support_nested_variables=yes
2801 else
2802   am_cv_make_support_nested_variables=no
2803 fi
2804 fi
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2806 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2807 if test $am_cv_make_support_nested_variables = yes; then
2808     AM_V='$(V)'
2809   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2810 else
2811   AM_V=$AM_DEFAULT_VERBOSITY
2812   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2813 fi
2814 AM_BACKSLASH='\'
2815
2816 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2817   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2818   # is not polluted with repeated "-I."
2819   am__isrc=' -I$(srcdir)'
2820   # test to see if srcdir already configured
2821   if test -f $srcdir/config.status; then
2822     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2823   fi
2824 fi
2825
2826 # test whether we have cygpath
2827 if test -z "$CYGPATH_W"; then
2828   if (cygpath --version) >/dev/null 2>/dev/null; then
2829     CYGPATH_W='cygpath -w'
2830   else
2831     CYGPATH_W=echo
2832   fi
2833 fi
2834
2835
2836 # Define the identity of the package.
2837  PACKAGE='libsigc++'
2838  VERSION='2.4.1'
2839
2840
2841 # Some tools Automake needs.
2842
2843 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2844
2845
2846 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2847
2848
2849 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2850
2851
2852 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2853
2854
2855 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2856
2857 # For better backward compatibility.  To be removed once Automake 1.9.x
2858 # dies out for good.  For more background, see:
2859 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2860 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2861 mkdir_p='$(MKDIR_P)'
2862
2863 # We need awk for the "check" target.  The system "awk" is bad on
2864 # some platforms.
2865 # Always define AMTAR for backward compatibility.  Yes, it's still used
2866 # in the wild :-(  We should find a proper way to deprecate it ...
2867 AMTAR='$${TAR-tar}'
2868
2869
2870 # We'll loop over all known methods to create a tar archive until one works.
2871 _am_tools='gnutar plaintar pax cpio none'
2872
2873 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
2874       # There is notably a 21 bits limit for the UID and the GID.  In fact,
2875       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2876       # and bug#13588).
2877       am_max_uid=2097151 # 2^21 - 1
2878       am_max_gid=$am_max_uid
2879       # The $UID and $GID variables are not portable, so we need to resort
2880       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
2881       # below are definitely unexpected, so allow the users to see them
2882       # (that is, avoid stderr redirection).
2883       am_uid=`id -u || echo unknown`
2884       am_gid=`id -g || echo unknown`
2885       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2886 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2887       if test $am_uid -le $am_max_uid; then
2888          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2889 $as_echo "yes" >&6; }
2890       else
2891          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2893          _am_tools=none
2894       fi
2895       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2896 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2897       if test $am_gid -le $am_max_gid; then
2898          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2899 $as_echo "yes" >&6; }
2900       else
2901         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2903         _am_tools=none
2904       fi
2905
2906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2907 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2908
2909   # Go ahead even if we have the value already cached.  We do so because we
2910   # need to set the values for the 'am__tar' and 'am__untar' variables.
2911   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2912
2913   for _am_tool in $_am_tools; do
2914     case $_am_tool in
2915     gnutar)
2916       for _am_tar in tar gnutar gtar; do
2917         { echo "$as_me:$LINENO: $_am_tar --version" >&5
2918    ($_am_tar --version) >&5 2>&5
2919    ac_status=$?
2920    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921    (exit $ac_status); } && break
2922       done
2923       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2924       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2925       am__untar="$_am_tar -xf -"
2926       ;;
2927     plaintar)
2928       # Must skip GNU tar: if it does not support --format= it doesn't create
2929       # ustar tarball either.
2930       (tar --version) >/dev/null 2>&1 && continue
2931       am__tar='tar chf - "$$tardir"'
2932       am__tar_='tar chf - "$tardir"'
2933       am__untar='tar xf -'
2934       ;;
2935     pax)
2936       am__tar='pax -L -x ustar -w "$$tardir"'
2937       am__tar_='pax -L -x ustar -w "$tardir"'
2938       am__untar='pax -r'
2939       ;;
2940     cpio)
2941       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2942       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2943       am__untar='cpio -i -H ustar -d'
2944       ;;
2945     none)
2946       am__tar=false
2947       am__tar_=false
2948       am__untar=false
2949       ;;
2950     esac
2951
2952     # If the value was cached, stop now.  We just wanted to have am__tar
2953     # and am__untar set.
2954     test -n "${am_cv_prog_tar_ustar}" && break
2955
2956     # tar/untar a dummy directory, and stop if the command works.
2957     rm -rf conftest.dir
2958     mkdir conftest.dir
2959     echo GrepMe > conftest.dir/file
2960     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2961    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2962    ac_status=$?
2963    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964    (exit $ac_status); }
2965     rm -rf conftest.dir
2966     if test -s conftest.tar; then
2967       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2968    ($am__untar <conftest.tar) >&5 2>&5
2969    ac_status=$?
2970    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971    (exit $ac_status); }
2972       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2973    (cat conftest.dir/file) >&5 2>&5
2974    ac_status=$?
2975    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976    (exit $ac_status); }
2977       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2978     fi
2979   done
2980   rm -rf conftest.dir
2981
2982   if ${am_cv_prog_tar_ustar+:} false; then :
2983   $as_echo_n "(cached) " >&6
2984 else
2985   am_cv_prog_tar_ustar=$_am_tool
2986 fi
2987
2988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2989 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2990
2991
2992
2993
2994
2995
2996 # POSIX will say in a future version that running "rm -f" with no argument
2997 # is OK; and we want to be able to make that assumption in our Makefile
2998 # recipes.  So use an aggressive probe to check that the usage we want is
2999 # actually supported "in the wild" to an acceptable degree.
3000 # See automake bug#10828.
3001 # To make any issue more visible, cause the running configure to be aborted
3002 # by default if the 'rm' program in use doesn't match our expectations; the
3003 # user can still override this though.
3004 if rm -f && rm -fr && rm -rf; then : OK; else
3005   cat >&2 <<'END'
3006 Oops!
3007
3008 Your 'rm' program seems unable to run without file operands specified
3009 on the command line, even when the '-f' option is present.  This is contrary
3010 to the behaviour of most rm programs out there, and not conforming with
3011 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3012
3013 Please tell bug-automake@gnu.org about your system, including the value
3014 of your $PATH and any error possibly output before this message.  This
3015 can help us improve future automake versions.
3016
3017 END
3018   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3019     echo 'Configuration will proceed anyway, since you have set the' >&2
3020     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3021     echo >&2
3022   else
3023     cat >&2 <<'END'
3024 Aborting the configuration process, to ensure you take notice of the issue.
3025
3026 You can download and install GNU coreutils to get an 'rm' implementation
3027 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3028
3029 If you want to complete the configuration process using your problematic
3030 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3031 to "yes", and re-run configure.
3032
3033 END
3034     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3035   fi
3036 fi
3037
3038 # Check whether --enable-silent-rules was given.
3039 if test "${enable_silent_rules+set}" = set; then :
3040   enableval=$enable_silent_rules;
3041 fi
3042
3043 case $enable_silent_rules in # (((
3044   yes) AM_DEFAULT_VERBOSITY=0;;
3045    no) AM_DEFAULT_VERBOSITY=1;;
3046     *) AM_DEFAULT_VERBOSITY=1;;
3047 esac
3048 am_make=${MAKE-make}
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3050 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3051 if ${am_cv_make_support_nested_variables+:} false; then :
3052   $as_echo_n "(cached) " >&6
3053 else
3054   if $as_echo 'TRUE=$(BAR$(V))
3055 BAR0=false
3056 BAR1=true
3057 V=1
3058 am__doit:
3059         @$(TRUE)
3060 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3061   am_cv_make_support_nested_variables=yes
3062 else
3063   am_cv_make_support_nested_variables=no
3064 fi
3065 fi
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3067 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3068 if test $am_cv_make_support_nested_variables = yes; then
3069     AM_V='$(V)'
3070   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3071 else
3072   AM_V=$AM_DEFAULT_VERBOSITY
3073   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3074 fi
3075 AM_BACKSLASH='\'
3076
3077
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3079 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3080     # Check whether --enable-maintainer-mode was given.
3081 if test "${enable_maintainer_mode+set}" = set; then :
3082   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3083 else
3084   USE_MAINTAINER_MODE=no
3085 fi
3086
3087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3088 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3089    if test $USE_MAINTAINER_MODE = yes; then
3090   MAINTAINER_MODE_TRUE=
3091   MAINTAINER_MODE_FALSE='#'
3092 else
3093   MAINTAINER_MODE_TRUE='#'
3094   MAINTAINER_MODE_FALSE=
3095 fi
3096
3097   MAINT=$MAINTAINER_MODE_TRUE
3098
3099
3100
3101
3102
3103
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
3105 $as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
3106 cat >conftest.make <<'_MMEOF'
3107 override reverse = $(2)$(subst ,, )$(1)
3108 override result := $(word 2,$(call reverse,success,failure))
3109 all: ; test '$(result)' = success
3110 .PHONY: all
3111 _MMEOF
3112 if ${MAKE-make} -f conftest.make >&5 2>&5; then :
3113   mm_gnu_make=yes
3114 else
3115   mm_gnu_make=no
3116 fi
3117 rm -f conftest.make
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
3119 $as_echo "$mm_gnu_make" >&6; }
3120 if test "x$mm_gnu_make" != xyes; then :
3121   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3123 as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
3124 See \`config.log' for more details" "$LINENO" 5; }
3125 fi
3126
3127 SIGCXX_MODULE_NAME='sigc++-2.0'
3128
3129 SIGCXX_VERSION='2.4.1'
3130
3131 SIGCXX_API_VERSION='2.0'
3132
3133 SIGCXX_MAJOR_VERSION=2
3134
3135
3136 $as_echo "#define SIGCXX_MAJOR_VERSION 2" >>confdefs.h
3137
3138 SIGCXX_MINOR_VERSION=4
3139
3140
3141 $as_echo "#define SIGCXX_MINOR_VERSION 4" >>confdefs.h
3142
3143 SIGCXX_MICRO_VERSION=1
3144
3145
3146 $as_echo "#define SIGCXX_MICRO_VERSION 1" >>confdefs.h
3147
3148
3149 MMDOCTOOLDIR='${top_srcdir}/docs'
3150  if test 'xdocs' != 'x'; then
3151   DIST_DOCTOOLS_TRUE=
3152   DIST_DOCTOOLS_FALSE='#'
3153 else
3154   DIST_DOCTOOLS_TRUE='#'
3155   DIST_DOCTOOLS_FALSE=
3156 fi
3157
3158
3159 ac_ext=cpp
3160 ac_cpp='$CXXCPP $CPPFLAGS'
3161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3164 if test -z "$CXX"; then
3165   if test -n "$CCC"; then
3166     CXX=$CCC
3167   else
3168     if test -n "$ac_tool_prefix"; then
3169   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3170   do
3171     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3172 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if ${ac_cv_prog_CXX+:} false; then :
3176   $as_echo_n "(cached) " >&6
3177 else
3178   if test -n "$CXX"; then
3179   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3180 else
3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3182 for as_dir in $PATH
3183 do
3184   IFS=$as_save_IFS
3185   test -z "$as_dir" && as_dir=.
3186     for ac_exec_ext in '' $ac_executable_extensions; do
3187   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3188     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3190     break 2
3191   fi
3192 done
3193   done
3194 IFS=$as_save_IFS
3195
3196 fi
3197 fi
3198 CXX=$ac_cv_prog_CXX
3199 if test -n "$CXX"; then
3200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3201 $as_echo "$CXX" >&6; }
3202 else
3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3205 fi
3206
3207
3208     test -n "$CXX" && break
3209   done
3210 fi
3211 if test -z "$CXX"; then
3212   ac_ct_CXX=$CXX
3213   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3214 do
3215   # Extract the first word of "$ac_prog", so it can be a program name with args.
3216 set dummy $ac_prog; ac_word=$2
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218 $as_echo_n "checking for $ac_word... " >&6; }
3219 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3220   $as_echo_n "(cached) " >&6
3221 else
3222   if test -n "$ac_ct_CXX"; then
3223   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3224 else
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 for as_dir in $PATH
3227 do
3228   IFS=$as_save_IFS
3229   test -z "$as_dir" && as_dir=.
3230     for ac_exec_ext in '' $ac_executable_extensions; do
3231   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3232     ac_cv_prog_ac_ct_CXX="$ac_prog"
3233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3234     break 2
3235   fi
3236 done
3237   done
3238 IFS=$as_save_IFS
3239
3240 fi
3241 fi
3242 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3243 if test -n "$ac_ct_CXX"; then
3244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3245 $as_echo "$ac_ct_CXX" >&6; }
3246 else
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3249 fi
3250
3251
3252   test -n "$ac_ct_CXX" && break
3253 done
3254
3255   if test "x$ac_ct_CXX" = x; then
3256     CXX="g++"
3257   else
3258     case $cross_compiling:$ac_tool_warned in
3259 yes:)
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3262 ac_tool_warned=yes ;;
3263 esac
3264     CXX=$ac_ct_CXX
3265   fi
3266 fi
3267
3268   fi
3269 fi
3270 # Provide some information about the compiler.
3271 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3272 set X $ac_compile
3273 ac_compiler=$2
3274 for ac_option in --version -v -V -qversion; do
3275   { { ac_try="$ac_compiler $ac_option >&5"
3276 case "(($ac_try" in
3277   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278   *) ac_try_echo=$ac_try;;
3279 esac
3280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3283   ac_status=$?
3284   if test -s conftest.err; then
3285     sed '10a\
3286 ... rest of stderr output deleted ...
3287          10q' conftest.err >conftest.er1
3288     cat conftest.er1 >&5
3289   fi
3290   rm -f conftest.er1 conftest.err
3291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3292   test $ac_status = 0; }
3293 done
3294
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h.  */
3297
3298 int
3299 main ()
3300 {
3301
3302   ;
3303   return 0;
3304 }
3305 _ACEOF
3306 ac_clean_files_save=$ac_clean_files
3307 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3308 # Try to create an executable without -o first, disregard a.out.
3309 # It will help us diagnose broken compilers, and finding out an intuition
3310 # of exeext.
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3312 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3313 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3314
3315 # The possible output files:
3316 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3317
3318 ac_rmfiles=
3319 for ac_file in $ac_files
3320 do
3321   case $ac_file in
3322     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3323     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3324   esac
3325 done
3326 rm -f $ac_rmfiles
3327
3328 if { { ac_try="$ac_link_default"
3329 case "(($ac_try" in
3330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331   *) ac_try_echo=$ac_try;;
3332 esac
3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335   (eval "$ac_link_default") 2>&5
3336   ac_status=$?
3337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338   test $ac_status = 0; }; then :
3339   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3340 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3341 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3342 # so that the user can short-circuit this test for compilers unknown to
3343 # Autoconf.
3344 for ac_file in $ac_files ''
3345 do
3346   test -f "$ac_file" || continue
3347   case $ac_file in
3348     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3349         ;;
3350     [ab].out )
3351         # We found the default executable, but exeext='' is most
3352         # certainly right.
3353         break;;
3354     *.* )
3355         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3356         then :; else
3357            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3358         fi
3359         # We set ac_cv_exeext here because the later test for it is not
3360         # safe: cross compilers may not add the suffix if given an `-o'
3361         # argument, so we may need to know it at that point already.
3362         # Even if this section looks crufty: it has the advantage of
3363         # actually working.
3364         break;;
3365     * )
3366         break;;
3367   esac
3368 done
3369 test "$ac_cv_exeext" = no && ac_cv_exeext=
3370
3371 else
3372   ac_file=''
3373 fi
3374 if test -z "$ac_file"; then :
3375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3377 $as_echo "$as_me: failed program was:" >&5
3378 sed 's/^/| /' conftest.$ac_ext >&5
3379
3380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382 as_fn_error 77 "C++ compiler cannot create executables
3383 See \`config.log' for more details" "$LINENO" 5; }
3384 else
3385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3386 $as_echo "yes" >&6; }
3387 fi
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3389 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3391 $as_echo "$ac_file" >&6; }
3392 ac_exeext=$ac_cv_exeext
3393
3394 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3395 ac_clean_files=$ac_clean_files_save
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3397 $as_echo_n "checking for suffix of executables... " >&6; }
3398 if { { ac_try="$ac_link"
3399 case "(($ac_try" in
3400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401   *) ac_try_echo=$ac_try;;
3402 esac
3403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3404 $as_echo "$ac_try_echo"; } >&5
3405   (eval "$ac_link") 2>&5
3406   ac_status=$?
3407   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3408   test $ac_status = 0; }; then :
3409   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3410 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3411 # work properly (i.e., refer to `conftest.exe'), while it won't with
3412 # `rm'.
3413 for ac_file in conftest.exe conftest conftest.*; do
3414   test -f "$ac_file" || continue
3415   case $ac_file in
3416     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3417     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3418           break;;
3419     * ) break;;
3420   esac
3421 done
3422 else
3423   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3425 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3426 See \`config.log' for more details" "$LINENO" 5; }
3427 fi
3428 rm -f conftest conftest$ac_cv_exeext
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3430 $as_echo "$ac_cv_exeext" >&6; }
3431
3432 rm -f conftest.$ac_ext
3433 EXEEXT=$ac_cv_exeext
3434 ac_exeext=$EXEEXT
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h.  */
3437 #include <stdio.h>
3438 int
3439 main ()
3440 {
3441 FILE *f = fopen ("conftest.out", "w");
3442  return ferror (f) || fclose (f) != 0;
3443
3444   ;
3445   return 0;
3446 }
3447 _ACEOF
3448 ac_clean_files="$ac_clean_files conftest.out"
3449 # Check that the compiler produces executables we can run.  If not, either
3450 # the compiler is broken, or we cross compile.
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3452 $as_echo_n "checking whether we are cross compiling... " >&6; }
3453 if test "$cross_compiling" != yes; then
3454   { { ac_try="$ac_link"
3455 case "(($ac_try" in
3456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457   *) ac_try_echo=$ac_try;;
3458 esac
3459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3460 $as_echo "$ac_try_echo"; } >&5
3461   (eval "$ac_link") 2>&5
3462   ac_status=$?
3463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3464   test $ac_status = 0; }
3465   if { ac_try='./conftest$ac_cv_exeext'
3466   { { case "(($ac_try" in
3467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468   *) ac_try_echo=$ac_try;;
3469 esac
3470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3471 $as_echo "$ac_try_echo"; } >&5
3472   (eval "$ac_try") 2>&5
3473   ac_status=$?
3474   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3475   test $ac_status = 0; }; }; then
3476     cross_compiling=no
3477   else
3478     if test "$cross_compiling" = maybe; then
3479         cross_compiling=yes
3480     else
3481         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3483 as_fn_error $? "cannot run C++ compiled programs.
3484 If you meant to cross compile, use \`--host'.
3485 See \`config.log' for more details" "$LINENO" 5; }
3486     fi
3487   fi
3488 fi
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3490 $as_echo "$cross_compiling" >&6; }
3491
3492 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3493 ac_clean_files=$ac_clean_files_save
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3495 $as_echo_n "checking for suffix of object files... " >&6; }
3496 if ${ac_cv_objext+:} false; then :
3497   $as_echo_n "(cached) " >&6
3498 else
3499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h.  */
3501
3502 int
3503 main ()
3504 {
3505
3506   ;
3507   return 0;
3508 }
3509 _ACEOF
3510 rm -f conftest.o conftest.obj
3511 if { { ac_try="$ac_compile"
3512 case "(($ac_try" in
3513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514   *) ac_try_echo=$ac_try;;
3515 esac
3516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3517 $as_echo "$ac_try_echo"; } >&5
3518   (eval "$ac_compile") 2>&5
3519   ac_status=$?
3520   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3521   test $ac_status = 0; }; then :
3522   for ac_file in conftest.o conftest.obj conftest.*; do
3523   test -f "$ac_file" || continue;
3524   case $ac_file in
3525     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3526     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3527        break;;
3528   esac
3529 done
3530 else
3531   $as_echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3533
3534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3536 as_fn_error $? "cannot compute suffix of object files: cannot compile
3537 See \`config.log' for more details" "$LINENO" 5; }
3538 fi
3539 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3540 fi
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3542 $as_echo "$ac_cv_objext" >&6; }
3543 OBJEXT=$ac_cv_objext
3544 ac_objext=$OBJEXT
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3546 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3547 if ${ac_cv_cxx_compiler_gnu+:} 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 #ifndef __GNUC__
3557        choke me
3558 #endif
3559
3560   ;
3561   return 0;
3562 }
3563 _ACEOF
3564 if ac_fn_cxx_try_compile "$LINENO"; then :
3565   ac_compiler_gnu=yes
3566 else
3567   ac_compiler_gnu=no
3568 fi
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3571
3572 fi
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3574 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3575 if test $ac_compiler_gnu = yes; then
3576   GXX=yes
3577 else
3578   GXX=
3579 fi
3580 ac_test_CXXFLAGS=${CXXFLAGS+set}
3581 ac_save_CXXFLAGS=$CXXFLAGS
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3583 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3584 if ${ac_cv_prog_cxx_g+:} false; then :
3585   $as_echo_n "(cached) " >&6
3586 else
3587   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3588    ac_cxx_werror_flag=yes
3589    ac_cv_prog_cxx_g=no
3590    CXXFLAGS="-g"
3591    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h.  */
3593
3594 int
3595 main ()
3596 {
3597
3598   ;
3599   return 0;
3600 }
3601 _ACEOF
3602 if ac_fn_cxx_try_compile "$LINENO"; then :
3603   ac_cv_prog_cxx_g=yes
3604 else
3605   CXXFLAGS=""
3606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h.  */
3608
3609 int
3610 main ()
3611 {
3612
3613   ;
3614   return 0;
3615 }
3616 _ACEOF
3617 if ac_fn_cxx_try_compile "$LINENO"; then :
3618
3619 else
3620   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3621          CXXFLAGS="-g"
3622          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h.  */
3624
3625 int
3626 main ()
3627 {
3628
3629   ;
3630   return 0;
3631 }
3632 _ACEOF
3633 if ac_fn_cxx_try_compile "$LINENO"; then :
3634   ac_cv_prog_cxx_g=yes
3635 fi
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 fi
3638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639 fi
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3642 fi
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3644 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3645 if test "$ac_test_CXXFLAGS" = set; then
3646   CXXFLAGS=$ac_save_CXXFLAGS
3647 elif test $ac_cv_prog_cxx_g = yes; then
3648   if test "$GXX" = yes; then
3649     CXXFLAGS="-g -O2"
3650   else
3651     CXXFLAGS="-g"
3652   fi
3653 else
3654   if test "$GXX" = yes; then
3655     CXXFLAGS="-O2"
3656   else
3657     CXXFLAGS=
3658   fi
3659 fi
3660 ac_ext=c
3661 ac_cpp='$CPP $CPPFLAGS'
3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3665 DEPDIR="${am__leading_dot}deps"
3666
3667 ac_config_commands="$ac_config_commands depfiles"
3668
3669
3670 am_make=${MAKE-make}
3671 cat > confinc << 'END'
3672 am__doit:
3673         @echo this is the am__doit target
3674 .PHONY: am__doit
3675 END
3676 # If we don't find an include directive, just comment out the code.
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3678 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3679 am__include="#"
3680 am__quote=
3681 _am_result=none
3682 # First try GNU make style include.
3683 echo "include confinc" > confmf
3684 # Ignore all kinds of additional output from 'make'.
3685 case `$am_make -s -f confmf 2> /dev/null` in #(
3686 *the\ am__doit\ target*)
3687   am__include=include
3688   am__quote=
3689   _am_result=GNU
3690   ;;
3691 esac
3692 # Now try BSD make style include.
3693 if test "$am__include" = "#"; then
3694    echo '.include "confinc"' > confmf
3695    case `$am_make -s -f confmf 2> /dev/null` in #(
3696    *the\ am__doit\ target*)
3697      am__include=.include
3698      am__quote="\""
3699      _am_result=BSD
3700      ;;
3701    esac
3702 fi
3703
3704
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3706 $as_echo "$_am_result" >&6; }
3707 rm -f confinc confmf
3708
3709 # Check whether --enable-dependency-tracking was given.
3710 if test "${enable_dependency_tracking+set}" = set; then :
3711   enableval=$enable_dependency_tracking;
3712 fi
3713
3714 if test "x$enable_dependency_tracking" != xno; then
3715   am_depcomp="$ac_aux_dir/depcomp"
3716   AMDEPBACKSLASH='\'
3717   am__nodep='_no'
3718 fi
3719  if test "x$enable_dependency_tracking" != xno; then
3720   AMDEP_TRUE=
3721   AMDEP_FALSE='#'
3722 else
3723   AMDEP_TRUE='#'
3724   AMDEP_FALSE=
3725 fi
3726
3727
3728
3729 depcc="$CXX"  am_compiler_list=
3730
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3732 $as_echo_n "checking dependency style of $depcc... " >&6; }
3733 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3734   $as_echo_n "(cached) " >&6
3735 else
3736   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3737   # We make a subdir and do the tests there.  Otherwise we can end up
3738   # making bogus files that we don't know about and never remove.  For
3739   # instance it was reported that on HP-UX the gcc test will end up
3740   # making a dummy file named 'D' -- because '-MD' means "put the output
3741   # in D".
3742   rm -rf conftest.dir
3743   mkdir conftest.dir
3744   # Copy depcomp to subdir because otherwise we won't find it if we're
3745   # using a relative directory.
3746   cp "$am_depcomp" conftest.dir
3747   cd conftest.dir
3748   # We will build objects and dependencies in a subdirectory because
3749   # it helps to detect inapplicable dependency modes.  For instance
3750   # both Tru64's cc and ICC support -MD to output dependencies as a
3751   # side effect of compilation, but ICC will put the dependencies in
3752   # the current directory while Tru64 will put them in the object
3753   # directory.
3754   mkdir sub
3755
3756   am_cv_CXX_dependencies_compiler_type=none
3757   if test "$am_compiler_list" = ""; then
3758      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3759   fi
3760   am__universal=false
3761   case " $depcc " in #(
3762      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3763      esac
3764
3765   for depmode in $am_compiler_list; do
3766     # Setup a source with many dependencies, because some compilers
3767     # like to wrap large dependency lists on column 80 (with \), and
3768     # we should not choose a depcomp mode which is confused by this.
3769     #
3770     # We need to recreate these files for each test, as the compiler may
3771     # overwrite some of them when testing with obscure command lines.
3772     # This happens at least with the AIX C compiler.
3773     : > sub/conftest.c
3774     for i in 1 2 3 4 5 6; do
3775       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3776       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3777       # Solaris 10 /bin/sh.
3778       echo '/* dummy */' > sub/conftst$i.h
3779     done
3780     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3781
3782     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3783     # mode.  It turns out that the SunPro C++ compiler does not properly
3784     # handle '-M -o', and we need to detect this.  Also, some Intel
3785     # versions had trouble with output in subdirs.
3786     am__obj=sub/conftest.${OBJEXT-o}
3787     am__minus_obj="-o $am__obj"
3788     case $depmode in
3789     gcc)
3790       # This depmode causes a compiler race in universal mode.
3791       test "$am__universal" = false || continue
3792       ;;
3793     nosideeffect)
3794       # After this tag, mechanisms are not by side-effect, so they'll
3795       # only be used when explicitly requested.
3796       if test "x$enable_dependency_tracking" = xyes; then
3797         continue
3798       else
3799         break
3800       fi
3801       ;;
3802     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3803       # This compiler won't grok '-c -o', but also, the minuso test has
3804       # not run yet.  These depmodes are late enough in the game, and
3805       # so weak that their functioning should not be impacted.
3806       am__obj=conftest.${OBJEXT-o}
3807       am__minus_obj=
3808       ;;
3809     none) break ;;
3810     esac
3811     if depmode=$depmode \
3812        source=sub/conftest.c object=$am__obj \
3813        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3814        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3815          >/dev/null 2>conftest.err &&
3816        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3817        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3818        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3819        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3820       # icc doesn't choke on unknown options, it will just issue warnings
3821       # or remarks (even with -Werror).  So we grep stderr for any message
3822       # that says an option was ignored or not supported.
3823       # When given -MP, icc 7.0 and 7.1 complain thusly:
3824       #   icc: Command line warning: ignoring option '-M'; no argument required
3825       # The diagnosis changed in icc 8.0:
3826       #   icc: Command line remark: option '-MP' not supported
3827       if (grep 'ignoring option' conftest.err ||
3828           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3829         am_cv_CXX_dependencies_compiler_type=$depmode
3830         break
3831       fi
3832     fi
3833   done
3834
3835   cd ..
3836   rm -rf conftest.dir
3837 else
3838   am_cv_CXX_dependencies_compiler_type=none
3839 fi
3840
3841 fi
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3843 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3844 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3845
3846  if
3847   test "x$enable_dependency_tracking" != xno \
3848   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3849   am__fastdepCXX_TRUE=
3850   am__fastdepCXX_FALSE='#'
3851 else
3852   am__fastdepCXX_TRUE='#'
3853   am__fastdepCXX_FALSE=
3854 fi
3855
3856
3857 # Check whether --enable-static was given.
3858 if test "${enable_static+set}" = set; then :
3859   enableval=$enable_static; p=${PACKAGE-default}
3860     case $enableval in
3861     yes) enable_static=yes ;;
3862     no) enable_static=no ;;
3863     *)
3864      enable_static=no
3865       # Look at the argument we got.  We use all the common list separators.
3866       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3867       for pkg in $enableval; do
3868         IFS="$lt_save_ifs"
3869         if test "X$pkg" = "X$p"; then
3870           enable_static=yes
3871         fi
3872       done
3873       IFS="$lt_save_ifs"
3874       ;;
3875     esac
3876 else
3877   enable_static=no
3878 fi
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888 case `pwd` in
3889   *\ * | *\     *)
3890     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3891 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3892 esac
3893
3894
3895
3896 macro_version='2.4.2'
3897 macro_revision='1.3337'
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911 ltmain="$ac_aux_dir/ltmain.sh"
3912
3913 # Make sure we can run config.sub.
3914 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3915   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3916
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3918 $as_echo_n "checking build system type... " >&6; }
3919 if ${ac_cv_build+:} false; then :
3920   $as_echo_n "(cached) " >&6
3921 else
3922   ac_build_alias=$build_alias
3923 test "x$ac_build_alias" = x &&
3924   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3925 test "x$ac_build_alias" = x &&
3926   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3927 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3928   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3929
3930 fi
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3932 $as_echo "$ac_cv_build" >&6; }
3933 case $ac_cv_build in
3934 *-*-*) ;;
3935 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3936 esac
3937 build=$ac_cv_build
3938 ac_save_IFS=$IFS; IFS='-'
3939 set x $ac_cv_build
3940 shift
3941 build_cpu=$1
3942 build_vendor=$2
3943 shift; shift
3944 # Remember, the first character of IFS is used to create $*,
3945 # except with old shells:
3946 build_os=$*
3947 IFS=$ac_save_IFS
3948 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3949
3950
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3952 $as_echo_n "checking host system type... " >&6; }
3953 if ${ac_cv_host+:} false; then :
3954   $as_echo_n "(cached) " >&6
3955 else
3956   if test "x$host_alias" = x; then
3957   ac_cv_host=$ac_cv_build
3958 else
3959   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3960     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3961 fi
3962
3963 fi
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3965 $as_echo "$ac_cv_host" >&6; }
3966 case $ac_cv_host in
3967 *-*-*) ;;
3968 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3969 esac
3970 host=$ac_cv_host
3971 ac_save_IFS=$IFS; IFS='-'
3972 set x $ac_cv_host
3973 shift
3974 host_cpu=$1
3975 host_vendor=$2
3976 shift; shift
3977 # Remember, the first character of IFS is used to create $*,
3978 # except with old shells:
3979 host_os=$*
3980 IFS=$ac_save_IFS
3981 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3982
3983
3984 # Backslashify metacharacters that are still active within
3985 # double-quoted strings.
3986 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3987
3988 # Same as above, but do not quote variable references.
3989 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3990
3991 # Sed substitution to delay expansion of an escaped shell variable in a
3992 # double_quote_subst'ed string.
3993 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3994
3995 # Sed substitution to delay expansion of an escaped single quote.
3996 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3997
3998 # Sed substitution to avoid accidental globbing in evaled expressions
3999 no_glob_subst='s/\*/\\\*/g'
4000
4001 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4002 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4003 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4004
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4006 $as_echo_n "checking how to print strings... " >&6; }
4007 # Test print first, because it will be a builtin if present.
4008 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4009    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4010   ECHO='print -r --'
4011 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4012   ECHO='printf %s\n'
4013 else
4014   # Use this function as a fallback that always works.
4015   func_fallback_echo ()
4016   {
4017     eval 'cat <<_LTECHO_EOF
4018 $1
4019 _LTECHO_EOF'
4020   }
4021   ECHO='func_fallback_echo'
4022 fi
4023
4024 # func_echo_all arg...
4025 # Invoke $ECHO with all args, space-separated.
4026 func_echo_all ()
4027 {
4028     $ECHO ""
4029 }
4030
4031 case "$ECHO" in
4032   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4033 $as_echo "printf" >&6; } ;;
4034   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4035 $as_echo "print -r" >&6; } ;;
4036   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4037 $as_echo "cat" >&6; } ;;
4038 esac
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053 ac_ext=c
4054 ac_cpp='$CPP $CPPFLAGS'
4055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4058 if test -n "$ac_tool_prefix"; then
4059   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4060 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4062 $as_echo_n "checking for $ac_word... " >&6; }
4063 if ${ac_cv_prog_CC+:} false; then :
4064   $as_echo_n "(cached) " >&6
4065 else
4066   if test -n "$CC"; then
4067   ac_cv_prog_CC="$CC" # Let the user override the test.
4068 else
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4070 for as_dir in $PATH
4071 do
4072   IFS=$as_save_IFS
4073   test -z "$as_dir" && as_dir=.
4074     for ac_exec_ext in '' $ac_executable_extensions; do
4075   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4076     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4078     break 2
4079   fi
4080 done
4081   done
4082 IFS=$as_save_IFS
4083
4084 fi
4085 fi
4086 CC=$ac_cv_prog_CC
4087 if test -n "$CC"; then
4088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4089 $as_echo "$CC" >&6; }
4090 else
4091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4092 $as_echo "no" >&6; }
4093 fi
4094
4095
4096 fi
4097 if test -z "$ac_cv_prog_CC"; then
4098   ac_ct_CC=$CC
4099   # Extract the first word of "gcc", so it can be a program name with args.
4100 set dummy gcc; ac_word=$2
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4102 $as_echo_n "checking for $ac_word... " >&6; }
4103 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4104   $as_echo_n "(cached) " >&6
4105 else
4106   if test -n "$ac_ct_CC"; then
4107   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4108 else
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4110 for as_dir in $PATH
4111 do
4112   IFS=$as_save_IFS
4113   test -z "$as_dir" && as_dir=.
4114     for ac_exec_ext in '' $ac_executable_extensions; do
4115   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116     ac_cv_prog_ac_ct_CC="gcc"
4117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4118     break 2
4119   fi
4120 done
4121   done
4122 IFS=$as_save_IFS
4123
4124 fi
4125 fi
4126 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4127 if test -n "$ac_ct_CC"; then
4128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4129 $as_echo "$ac_ct_CC" >&6; }
4130 else
4131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132 $as_echo "no" >&6; }
4133 fi
4134
4135   if test "x$ac_ct_CC" = x; then
4136     CC=""
4137   else
4138     case $cross_compiling:$ac_tool_warned in
4139 yes:)
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4142 ac_tool_warned=yes ;;
4143 esac
4144     CC=$ac_ct_CC
4145   fi
4146 else
4147   CC="$ac_cv_prog_CC"
4148 fi
4149
4150 if test -z "$CC"; then
4151           if test -n "$ac_tool_prefix"; then
4152     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4153 set dummy ${ac_tool_prefix}cc; ac_word=$2
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155 $as_echo_n "checking for $ac_word... " >&6; }
4156 if ${ac_cv_prog_CC+:} false; then :
4157   $as_echo_n "(cached) " >&6
4158 else
4159   if test -n "$CC"; then
4160   ac_cv_prog_CC="$CC" # Let the user override the test.
4161 else
4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 for as_dir in $PATH
4164 do
4165   IFS=$as_save_IFS
4166   test -z "$as_dir" && as_dir=.
4167     for ac_exec_ext in '' $ac_executable_extensions; do
4168   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4169     ac_cv_prog_CC="${ac_tool_prefix}cc"
4170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4171     break 2
4172   fi
4173 done
4174   done
4175 IFS=$as_save_IFS
4176
4177 fi
4178 fi
4179 CC=$ac_cv_prog_CC
4180 if test -n "$CC"; then
4181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4182 $as_echo "$CC" >&6; }
4183 else
4184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4185 $as_echo "no" >&6; }
4186 fi
4187
4188
4189   fi
4190 fi
4191 if test -z "$CC"; then
4192   # Extract the first word of "cc", so it can be a program name with args.
4193 set dummy cc; ac_word=$2
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4195 $as_echo_n "checking for $ac_word... " >&6; }
4196 if ${ac_cv_prog_CC+:} false; then :
4197   $as_echo_n "(cached) " >&6
4198 else
4199   if test -n "$CC"; then
4200   ac_cv_prog_CC="$CC" # Let the user override the test.
4201 else
4202   ac_prog_rejected=no
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4204 for as_dir in $PATH
4205 do
4206   IFS=$as_save_IFS
4207   test -z "$as_dir" && as_dir=.
4208     for ac_exec_ext in '' $ac_executable_extensions; do
4209   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4210     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4211        ac_prog_rejected=yes
4212        continue
4213      fi
4214     ac_cv_prog_CC="cc"
4215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216     break 2
4217   fi
4218 done
4219   done
4220 IFS=$as_save_IFS
4221
4222 if test $ac_prog_rejected = yes; then
4223   # We found a bogon in the path, so make sure we never use it.
4224   set dummy $ac_cv_prog_CC
4225   shift
4226   if test $# != 0; then
4227     # We chose a different compiler from the bogus one.
4228     # However, it has the same basename, so the bogon will be chosen
4229     # first if we set CC to just the basename; use the full file name.
4230     shift
4231     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4232   fi
4233 fi
4234 fi
4235 fi
4236 CC=$ac_cv_prog_CC
4237 if test -n "$CC"; then
4238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4239 $as_echo "$CC" >&6; }
4240 else
4241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4242 $as_echo "no" >&6; }
4243 fi
4244
4245
4246 fi
4247 if test -z "$CC"; then
4248   if test -n "$ac_tool_prefix"; then
4249   for ac_prog in cl.exe
4250   do
4251     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4252 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4254 $as_echo_n "checking for $ac_word... " >&6; }
4255 if ${ac_cv_prog_CC+:} false; then :
4256   $as_echo_n "(cached) " >&6
4257 else
4258   if test -n "$CC"; then
4259   ac_cv_prog_CC="$CC" # Let the user override the test.
4260 else
4261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4262 for as_dir in $PATH
4263 do
4264   IFS=$as_save_IFS
4265   test -z "$as_dir" && as_dir=.
4266     for ac_exec_ext in '' $ac_executable_extensions; do
4267   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4268     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4269     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4270     break 2
4271   fi
4272 done
4273   done
4274 IFS=$as_save_IFS
4275
4276 fi
4277 fi
4278 CC=$ac_cv_prog_CC
4279 if test -n "$CC"; then
4280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4281 $as_echo "$CC" >&6; }
4282 else
4283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4284 $as_echo "no" >&6; }
4285 fi
4286
4287
4288     test -n "$CC" && break
4289   done
4290 fi
4291 if test -z "$CC"; then
4292   ac_ct_CC=$CC
4293   for ac_prog in cl.exe
4294 do
4295   # Extract the first word of "$ac_prog", so it can be a program name with args.
4296 set dummy $ac_prog; ac_word=$2
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4298 $as_echo_n "checking for $ac_word... " >&6; }
4299 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4300   $as_echo_n "(cached) " >&6
4301 else
4302   if test -n "$ac_ct_CC"; then
4303   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4304 else
4305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4306 for as_dir in $PATH
4307 do
4308   IFS=$as_save_IFS
4309   test -z "$as_dir" && as_dir=.
4310     for ac_exec_ext in '' $ac_executable_extensions; do
4311   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4312     ac_cv_prog_ac_ct_CC="$ac_prog"
4313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4314     break 2
4315   fi
4316 done
4317   done
4318 IFS=$as_save_IFS
4319
4320 fi
4321 fi
4322 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4323 if test -n "$ac_ct_CC"; then
4324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4325 $as_echo "$ac_ct_CC" >&6; }
4326 else
4327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4328 $as_echo "no" >&6; }
4329 fi
4330
4331
4332   test -n "$ac_ct_CC" && break
4333 done
4334
4335   if test "x$ac_ct_CC" = x; then
4336     CC=""
4337   else
4338     case $cross_compiling:$ac_tool_warned in
4339 yes:)
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4342 ac_tool_warned=yes ;;
4343 esac
4344     CC=$ac_ct_CC
4345   fi
4346 fi
4347
4348 fi
4349
4350
4351 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4353 as_fn_error $? "no acceptable C compiler found in \$PATH
4354 See \`config.log' for more details" "$LINENO" 5; }
4355
4356 # Provide some information about the compiler.
4357 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4358 set X $ac_compile
4359 ac_compiler=$2
4360 for ac_option in --version -v -V -qversion; do
4361   { { ac_try="$ac_compiler $ac_option >&5"
4362 case "(($ac_try" in
4363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364   *) ac_try_echo=$ac_try;;
4365 esac
4366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4367 $as_echo "$ac_try_echo"; } >&5
4368   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4369   ac_status=$?
4370   if test -s conftest.err; then
4371     sed '10a\
4372 ... rest of stderr output deleted ...
4373          10q' conftest.err >conftest.er1
4374     cat conftest.er1 >&5
4375   fi
4376   rm -f conftest.er1 conftest.err
4377   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4378   test $ac_status = 0; }
4379 done
4380
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4382 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4383 if ${ac_cv_c_compiler_gnu+:} false; then :
4384   $as_echo_n "(cached) " >&6
4385 else
4386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h.  */
4388
4389 int
4390 main ()
4391 {
4392 #ifndef __GNUC__
4393        choke me
4394 #endif
4395
4396   ;
4397   return 0;
4398 }
4399 _ACEOF
4400 if ac_fn_c_try_compile "$LINENO"; then :
4401   ac_compiler_gnu=yes
4402 else
4403   ac_compiler_gnu=no
4404 fi
4405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4406 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4407
4408 fi
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4410 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4411 if test $ac_compiler_gnu = yes; then
4412   GCC=yes
4413 else
4414   GCC=
4415 fi
4416 ac_test_CFLAGS=${CFLAGS+set}
4417 ac_save_CFLAGS=$CFLAGS
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4419 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4420 if ${ac_cv_prog_cc_g+:} false; then :
4421   $as_echo_n "(cached) " >&6
4422 else
4423   ac_save_c_werror_flag=$ac_c_werror_flag
4424    ac_c_werror_flag=yes
4425    ac_cv_prog_cc_g=no
4426    CFLAGS="-g"
4427    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h.  */
4429
4430 int
4431 main ()
4432 {
4433
4434   ;
4435   return 0;
4436 }
4437 _ACEOF
4438 if ac_fn_c_try_compile "$LINENO"; then :
4439   ac_cv_prog_cc_g=yes
4440 else
4441   CFLAGS=""
4442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h.  */
4444
4445 int
4446 main ()
4447 {
4448
4449   ;
4450   return 0;
4451 }
4452 _ACEOF
4453 if ac_fn_c_try_compile "$LINENO"; then :
4454
4455 else
4456   ac_c_werror_flag=$ac_save_c_werror_flag
4457          CFLAGS="-g"
4458          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h.  */
4460
4461 int
4462 main ()
4463 {
4464
4465   ;
4466   return 0;
4467 }
4468 _ACEOF
4469 if ac_fn_c_try_compile "$LINENO"; then :
4470   ac_cv_prog_cc_g=yes
4471 fi
4472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4473 fi
4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4475 fi
4476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4477    ac_c_werror_flag=$ac_save_c_werror_flag
4478 fi
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4480 $as_echo "$ac_cv_prog_cc_g" >&6; }
4481 if test "$ac_test_CFLAGS" = set; then
4482   CFLAGS=$ac_save_CFLAGS
4483 elif test $ac_cv_prog_cc_g = yes; then
4484   if test "$GCC" = yes; then
4485     CFLAGS="-g -O2"
4486   else
4487     CFLAGS="-g"
4488   fi
4489 else
4490   if test "$GCC" = yes; then
4491     CFLAGS="-O2"
4492   else
4493     CFLAGS=
4494   fi
4495 fi
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4497 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4498 if ${ac_cv_prog_cc_c89+:} false; then :
4499   $as_echo_n "(cached) " >&6
4500 else
4501   ac_cv_prog_cc_c89=no
4502 ac_save_CC=$CC
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h.  */
4505 #include <stdarg.h>
4506 #include <stdio.h>
4507 struct stat;
4508 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4509 struct buf { int x; };
4510 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4511 static char *e (p, i)
4512      char **p;
4513      int i;
4514 {
4515   return p[i];
4516 }
4517 static char *f (char * (*g) (char **, int), char **p, ...)
4518 {
4519   char *s;
4520   va_list v;
4521   va_start (v,p);
4522   s = g (p, va_arg (v,int));
4523   va_end (v);
4524   return s;
4525 }
4526
4527 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4528    function prototypes and stuff, but not '\xHH' hex character constants.
4529    These don't provoke an error unfortunately, instead are silently treated
4530    as 'x'.  The following induces an error, until -std is added to get
4531    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4532    array size at least.  It's necessary to write '\x00'==0 to get something
4533    that's true only with -std.  */
4534 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4535
4536 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4537    inside strings and character constants.  */
4538 #define FOO(x) 'x'
4539 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4540
4541 int test (int i, double x);
4542 struct s1 {int (*f) (int a);};
4543 struct s2 {int (*f) (double a);};
4544 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4545 int argc;
4546 char **argv;
4547 int
4548 main ()
4549 {
4550 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4551   ;
4552   return 0;
4553 }
4554 _ACEOF
4555 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4556         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4557 do
4558   CC="$ac_save_CC $ac_arg"
4559   if ac_fn_c_try_compile "$LINENO"; then :
4560   ac_cv_prog_cc_c89=$ac_arg
4561 fi
4562 rm -f core conftest.err conftest.$ac_objext
4563   test "x$ac_cv_prog_cc_c89" != "xno" && break
4564 done
4565 rm -f conftest.$ac_ext
4566 CC=$ac_save_CC
4567
4568 fi
4569 # AC_CACHE_VAL
4570 case "x$ac_cv_prog_cc_c89" in
4571   x)
4572     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4573 $as_echo "none needed" >&6; } ;;
4574   xno)
4575     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4576 $as_echo "unsupported" >&6; } ;;
4577   *)
4578     CC="$CC $ac_cv_prog_cc_c89"
4579     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4580 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4581 esac
4582 if test "x$ac_cv_prog_cc_c89" != xno; then :
4583
4584 fi
4585
4586 ac_ext=c
4587 ac_cpp='$CPP $CPPFLAGS'
4588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4591
4592 ac_ext=c
4593 ac_cpp='$CPP $CPPFLAGS'
4594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4598 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4599 if ${am_cv_prog_cc_c_o+:} false; then :
4600   $as_echo_n "(cached) " >&6
4601 else
4602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h.  */
4604
4605 int
4606 main ()
4607 {
4608
4609   ;
4610   return 0;
4611 }
4612 _ACEOF
4613   # Make sure it works both with $CC and with simple cc.
4614   # Following AC_PROG_CC_C_O, we do the test twice because some
4615   # compilers refuse to overwrite an existing .o file with -o,
4616   # though they will create one.
4617   am_cv_prog_cc_c_o=yes
4618   for am_i in 1 2; do
4619     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4620    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4621    ac_status=$?
4622    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623    (exit $ac_status); } \
4624          && test -f conftest2.$ac_objext; then
4625       : OK
4626     else
4627       am_cv_prog_cc_c_o=no
4628       break
4629     fi
4630   done
4631   rm -f core conftest*
4632   unset am_i
4633 fi
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4635 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4636 if test "$am_cv_prog_cc_c_o" != yes; then
4637    # Losing compiler, so override with the script.
4638    # FIXME: It is wrong to rewrite CC.
4639    # But if we don't then we get into trouble of one sort or another.
4640    # A longer-term fix would be to have automake use am__CC in this case,
4641    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4642    CC="$am_aux_dir/compile $CC"
4643 fi
4644 ac_ext=c
4645 ac_cpp='$CPP $CPPFLAGS'
4646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4649
4650
4651 depcc="$CC"   am_compiler_list=
4652
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4654 $as_echo_n "checking dependency style of $depcc... " >&6; }
4655 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4656   $as_echo_n "(cached) " >&6
4657 else
4658   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4659   # We make a subdir and do the tests there.  Otherwise we can end up
4660   # making bogus files that we don't know about and never remove.  For
4661   # instance it was reported that on HP-UX the gcc test will end up
4662   # making a dummy file named 'D' -- because '-MD' means "put the output
4663   # in D".
4664   rm -rf conftest.dir
4665   mkdir conftest.dir
4666   # Copy depcomp to subdir because otherwise we won't find it if we're
4667   # using a relative directory.
4668   cp "$am_depcomp" conftest.dir
4669   cd conftest.dir
4670   # We will build objects and dependencies in a subdirectory because
4671   # it helps to detect inapplicable dependency modes.  For instance
4672   # both Tru64's cc and ICC support -MD to output dependencies as a
4673   # side effect of compilation, but ICC will put the dependencies in
4674   # the current directory while Tru64 will put them in the object
4675   # directory.
4676   mkdir sub
4677
4678   am_cv_CC_dependencies_compiler_type=none
4679   if test "$am_compiler_list" = ""; then
4680      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4681   fi
4682   am__universal=false
4683   case " $depcc " in #(
4684      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4685      esac
4686
4687   for depmode in $am_compiler_list; do
4688     # Setup a source with many dependencies, because some compilers
4689     # like to wrap large dependency lists on column 80 (with \), and
4690     # we should not choose a depcomp mode which is confused by this.
4691     #
4692     # We need to recreate these files for each test, as the compiler may
4693     # overwrite some of them when testing with obscure command lines.
4694     # This happens at least with the AIX C compiler.
4695     : > sub/conftest.c
4696     for i in 1 2 3 4 5 6; do
4697       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4698       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4699       # Solaris 10 /bin/sh.
4700       echo '/* dummy */' > sub/conftst$i.h
4701     done
4702     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4703
4704     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4705     # mode.  It turns out that the SunPro C++ compiler does not properly
4706     # handle '-M -o', and we need to detect this.  Also, some Intel
4707     # versions had trouble with output in subdirs.
4708     am__obj=sub/conftest.${OBJEXT-o}
4709     am__minus_obj="-o $am__obj"
4710     case $depmode in
4711     gcc)
4712       # This depmode causes a compiler race in universal mode.
4713       test "$am__universal" = false || continue
4714       ;;
4715     nosideeffect)
4716       # After this tag, mechanisms are not by side-effect, so they'll
4717       # only be used when explicitly requested.
4718       if test "x$enable_dependency_tracking" = xyes; then
4719         continue
4720       else
4721         break
4722       fi
4723       ;;
4724     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4725       # This compiler won't grok '-c -o', but also, the minuso test has
4726       # not run yet.  These depmodes are late enough in the game, and
4727       # so weak that their functioning should not be impacted.
4728       am__obj=conftest.${OBJEXT-o}
4729       am__minus_obj=
4730       ;;
4731     none) break ;;
4732     esac
4733     if depmode=$depmode \
4734        source=sub/conftest.c object=$am__obj \
4735        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4736        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4737          >/dev/null 2>conftest.err &&
4738        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4739        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4740        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4741        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4742       # icc doesn't choke on unknown options, it will just issue warnings
4743       # or remarks (even with -Werror).  So we grep stderr for any message
4744       # that says an option was ignored or not supported.
4745       # When given -MP, icc 7.0 and 7.1 complain thusly:
4746       #   icc: Command line warning: ignoring option '-M'; no argument required
4747       # The diagnosis changed in icc 8.0:
4748       #   icc: Command line remark: option '-MP' not supported
4749       if (grep 'ignoring option' conftest.err ||
4750           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4751         am_cv_CC_dependencies_compiler_type=$depmode
4752         break
4753       fi
4754     fi
4755   done
4756
4757   cd ..
4758   rm -rf conftest.dir
4759 else
4760   am_cv_CC_dependencies_compiler_type=none
4761 fi
4762
4763 fi
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4765 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4766 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4767
4768  if
4769   test "x$enable_dependency_tracking" != xno \
4770   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4771   am__fastdepCC_TRUE=
4772   am__fastdepCC_FALSE='#'
4773 else
4774   am__fastdepCC_TRUE='#'
4775   am__fastdepCC_FALSE=
4776 fi
4777
4778
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4780 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4781 if ${ac_cv_path_SED+:} false; then :
4782   $as_echo_n "(cached) " >&6
4783 else
4784             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4785      for ac_i in 1 2 3 4 5 6 7; do
4786        ac_script="$ac_script$as_nl$ac_script"
4787      done
4788      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4789      { ac_script=; unset ac_script;}
4790      if test -z "$SED"; then
4791   ac_path_SED_found=false
4792   # Loop through the user's path and test for each of PROGNAME-LIST
4793   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4794 for as_dir in $PATH
4795 do
4796   IFS=$as_save_IFS
4797   test -z "$as_dir" && as_dir=.
4798     for ac_prog in sed gsed; do
4799     for ac_exec_ext in '' $ac_executable_extensions; do
4800       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4801       as_fn_executable_p "$ac_path_SED" || continue
4802 # Check for GNU ac_path_SED and select it if it is found.
4803   # Check for GNU $ac_path_SED
4804 case `"$ac_path_SED" --version 2>&1` in
4805 *GNU*)
4806   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4807 *)
4808   ac_count=0
4809   $as_echo_n 0123456789 >"conftest.in"
4810   while :
4811   do
4812     cat "conftest.in" "conftest.in" >"conftest.tmp"
4813     mv "conftest.tmp" "conftest.in"
4814     cp "conftest.in" "conftest.nl"
4815     $as_echo '' >> "conftest.nl"
4816     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4817     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4818     as_fn_arith $ac_count + 1 && ac_count=$as_val
4819     if test $ac_count -gt ${ac_path_SED_max-0}; then
4820       # Best one so far, save it but keep looking for a better one
4821       ac_cv_path_SED="$ac_path_SED"
4822       ac_path_SED_max=$ac_count
4823     fi
4824     # 10*(2^10) chars as input seems more than enough
4825     test $ac_count -gt 10 && break
4826   done
4827   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4828 esac
4829
4830       $ac_path_SED_found && break 3
4831     done
4832   done
4833   done
4834 IFS=$as_save_IFS
4835   if test -z "$ac_cv_path_SED"; then
4836     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4837   fi
4838 else
4839   ac_cv_path_SED=$SED
4840 fi
4841
4842 fi
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4844 $as_echo "$ac_cv_path_SED" >&6; }
4845  SED="$ac_cv_path_SED"
4846   rm -f conftest.sed
4847
4848 test -z "$SED" && SED=sed
4849 Xsed="$SED -e 1s/^X//"
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4862 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4863 if ${ac_cv_path_GREP+:} false; then :
4864   $as_echo_n "(cached) " >&6
4865 else
4866   if test -z "$GREP"; then
4867   ac_path_GREP_found=false
4868   # Loop through the user's path and test for each of PROGNAME-LIST
4869   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4871 do
4872   IFS=$as_save_IFS
4873   test -z "$as_dir" && as_dir=.
4874     for ac_prog in grep ggrep; do
4875     for ac_exec_ext in '' $ac_executable_extensions; do
4876       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4877       as_fn_executable_p "$ac_path_GREP" || continue
4878 # Check for GNU ac_path_GREP and select it if it is found.
4879   # Check for GNU $ac_path_GREP
4880 case `"$ac_path_GREP" --version 2>&1` in
4881 *GNU*)
4882   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4883 *)
4884   ac_count=0
4885   $as_echo_n 0123456789 >"conftest.in"
4886   while :
4887   do
4888     cat "conftest.in" "conftest.in" >"conftest.tmp"
4889     mv "conftest.tmp" "conftest.in"
4890     cp "conftest.in" "conftest.nl"
4891     $as_echo 'GREP' >> "conftest.nl"
4892     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4893     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4894     as_fn_arith $ac_count + 1 && ac_count=$as_val
4895     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4896       # Best one so far, save it but keep looking for a better one
4897       ac_cv_path_GREP="$ac_path_GREP"
4898       ac_path_GREP_max=$ac_count
4899     fi
4900     # 10*(2^10) chars as input seems more than enough
4901     test $ac_count -gt 10 && break
4902   done
4903   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4904 esac
4905
4906       $ac_path_GREP_found && break 3
4907     done
4908   done
4909   done
4910 IFS=$as_save_IFS
4911   if test -z "$ac_cv_path_GREP"; then
4912     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4913   fi
4914 else
4915   ac_cv_path_GREP=$GREP
4916 fi
4917
4918 fi
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4920 $as_echo "$ac_cv_path_GREP" >&6; }
4921  GREP="$ac_cv_path_GREP"
4922
4923
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4925 $as_echo_n "checking for egrep... " >&6; }
4926 if ${ac_cv_path_EGREP+:} false; then :
4927   $as_echo_n "(cached) " >&6
4928 else
4929   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4930    then ac_cv_path_EGREP="$GREP -E"
4931    else
4932      if test -z "$EGREP"; then
4933   ac_path_EGREP_found=false
4934   # Loop through the user's path and test for each of PROGNAME-LIST
4935   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4937 do
4938   IFS=$as_save_IFS
4939   test -z "$as_dir" && as_dir=.
4940     for ac_prog in egrep; do
4941     for ac_exec_ext in '' $ac_executable_extensions; do
4942       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4943       as_fn_executable_p "$ac_path_EGREP" || continue
4944 # Check for GNU ac_path_EGREP and select it if it is found.
4945   # Check for GNU $ac_path_EGREP
4946 case `"$ac_path_EGREP" --version 2>&1` in
4947 *GNU*)
4948   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4949 *)
4950   ac_count=0
4951   $as_echo_n 0123456789 >"conftest.in"
4952   while :
4953   do
4954     cat "conftest.in" "conftest.in" >"conftest.tmp"
4955     mv "conftest.tmp" "conftest.in"
4956     cp "conftest.in" "conftest.nl"
4957     $as_echo 'EGREP' >> "conftest.nl"
4958     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4959     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4960     as_fn_arith $ac_count + 1 && ac_count=$as_val
4961     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4962       # Best one so far, save it but keep looking for a better one
4963       ac_cv_path_EGREP="$ac_path_EGREP"
4964       ac_path_EGREP_max=$ac_count
4965     fi
4966     # 10*(2^10) chars as input seems more than enough
4967     test $ac_count -gt 10 && break
4968   done
4969   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4970 esac
4971
4972       $ac_path_EGREP_found && break 3
4973     done
4974   done
4975   done
4976 IFS=$as_save_IFS
4977   if test -z "$ac_cv_path_EGREP"; then
4978     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4979   fi
4980 else
4981   ac_cv_path_EGREP=$EGREP
4982 fi
4983
4984    fi
4985 fi
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4987 $as_echo "$ac_cv_path_EGREP" >&6; }
4988  EGREP="$ac_cv_path_EGREP"
4989
4990
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4992 $as_echo_n "checking for fgrep... " >&6; }
4993 if ${ac_cv_path_FGREP+:} false; then :
4994   $as_echo_n "(cached) " >&6
4995 else
4996   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4997    then ac_cv_path_FGREP="$GREP -F"
4998    else
4999      if test -z "$FGREP"; then
5000   ac_path_FGREP_found=false
5001   # Loop through the user's path and test for each of PROGNAME-LIST
5002   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5004 do
5005   IFS=$as_save_IFS
5006   test -z "$as_dir" && as_dir=.
5007     for ac_prog in fgrep; do
5008     for ac_exec_ext in '' $ac_executable_extensions; do
5009       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5010       as_fn_executable_p "$ac_path_FGREP" || continue
5011 # Check for GNU ac_path_FGREP and select it if it is found.
5012   # Check for GNU $ac_path_FGREP
5013 case `"$ac_path_FGREP" --version 2>&1` in
5014 *GNU*)
5015   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5016 *)
5017   ac_count=0
5018   $as_echo_n 0123456789 >"conftest.in"
5019   while :
5020   do
5021     cat "conftest.in" "conftest.in" >"conftest.tmp"
5022     mv "conftest.tmp" "conftest.in"
5023     cp "conftest.in" "conftest.nl"
5024     $as_echo 'FGREP' >> "conftest.nl"
5025     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5026     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5027     as_fn_arith $ac_count + 1 && ac_count=$as_val
5028     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5029       # Best one so far, save it but keep looking for a better one
5030       ac_cv_path_FGREP="$ac_path_FGREP"
5031       ac_path_FGREP_max=$ac_count
5032     fi
5033     # 10*(2^10) chars as input seems more than enough
5034     test $ac_count -gt 10 && break
5035   done
5036   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5037 esac
5038
5039       $ac_path_FGREP_found && break 3
5040     done
5041   done
5042   done
5043 IFS=$as_save_IFS
5044   if test -z "$ac_cv_path_FGREP"; then
5045     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5046   fi
5047 else
5048   ac_cv_path_FGREP=$FGREP
5049 fi
5050
5051    fi
5052 fi
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5054 $as_echo "$ac_cv_path_FGREP" >&6; }
5055  FGREP="$ac_cv_path_FGREP"
5056
5057
5058 test -z "$GREP" && GREP=grep
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078 # Check whether --with-gnu-ld was given.
5079 if test "${with_gnu_ld+set}" = set; then :
5080   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5081 else
5082   with_gnu_ld=no
5083 fi
5084
5085 ac_prog=ld
5086 if test "$GCC" = yes; then
5087   # Check if gcc -print-prog-name=ld gives a path.
5088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5089 $as_echo_n "checking for ld used by $CC... " >&6; }
5090   case $host in
5091   *-*-mingw*)
5092     # gcc leaves a trailing carriage return which upsets mingw
5093     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5094   *)
5095     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5096   esac
5097   case $ac_prog in
5098     # Accept absolute paths.
5099     [\\/]* | ?:[\\/]*)
5100       re_direlt='/[^/][^/]*/\.\./'
5101       # Canonicalize the pathname of ld
5102       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5103       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5104         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5105       done
5106       test -z "$LD" && LD="$ac_prog"
5107       ;;
5108   "")
5109     # If it fails, then pretend we aren't using GCC.
5110     ac_prog=ld
5111     ;;
5112   *)
5113     # If it is relative, then search for the first ld in PATH.
5114     with_gnu_ld=unknown
5115     ;;
5116   esac
5117 elif test "$with_gnu_ld" = yes; then
5118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5119 $as_echo_n "checking for GNU ld... " >&6; }
5120 else
5121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5122 $as_echo_n "checking for non-GNU ld... " >&6; }
5123 fi
5124 if ${lt_cv_path_LD+:} false; then :
5125   $as_echo_n "(cached) " >&6
5126 else
5127   if test -z "$LD"; then
5128   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5129   for ac_dir in $PATH; do
5130     IFS="$lt_save_ifs"
5131     test -z "$ac_dir" && ac_dir=.
5132     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5133       lt_cv_path_LD="$ac_dir/$ac_prog"
5134       # Check to see if the program is GNU ld.  I'd rather use --version,
5135       # but apparently some variants of GNU ld only accept -v.
5136       # Break only if it was the GNU/non-GNU ld that we prefer.
5137       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5138       *GNU* | *'with BFD'*)
5139         test "$with_gnu_ld" != no && break
5140         ;;
5141       *)
5142         test "$with_gnu_ld" != yes && break
5143         ;;
5144       esac
5145     fi
5146   done
5147   IFS="$lt_save_ifs"
5148 else
5149   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5150 fi
5151 fi
5152
5153 LD="$lt_cv_path_LD"
5154 if test -n "$LD"; then
5155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5156 $as_echo "$LD" >&6; }
5157 else
5158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5160 fi
5161 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5163 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5164 if ${lt_cv_prog_gnu_ld+:} false; then :
5165   $as_echo_n "(cached) " >&6
5166 else
5167   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5168 case `$LD -v 2>&1 </dev/null` in
5169 *GNU* | *'with BFD'*)
5170   lt_cv_prog_gnu_ld=yes
5171   ;;
5172 *)
5173   lt_cv_prog_gnu_ld=no
5174   ;;
5175 esac
5176 fi
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5178 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5179 with_gnu_ld=$lt_cv_prog_gnu_ld
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5190 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5191 if ${lt_cv_path_NM+:} false; then :
5192   $as_echo_n "(cached) " >&6
5193 else
5194   if test -n "$NM"; then
5195   # Let the user override the test.
5196   lt_cv_path_NM="$NM"
5197 else
5198   lt_nm_to_check="${ac_tool_prefix}nm"
5199   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5200     lt_nm_to_check="$lt_nm_to_check nm"
5201   fi
5202   for lt_tmp_nm in $lt_nm_to_check; do
5203     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5204     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5205       IFS="$lt_save_ifs"
5206       test -z "$ac_dir" && ac_dir=.
5207       tmp_nm="$ac_dir/$lt_tmp_nm"
5208       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5209         # Check to see if the nm accepts a BSD-compat flag.
5210         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5211         #   nm: unknown option "B" ignored
5212         # Tru64's nm complains that /dev/null is an invalid object file
5213         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5214         */dev/null* | *'Invalid file or object type'*)
5215           lt_cv_path_NM="$tmp_nm -B"
5216           break
5217           ;;
5218         *)
5219           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5220           */dev/null*)
5221             lt_cv_path_NM="$tmp_nm -p"
5222             break
5223             ;;
5224           *)
5225             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5226             continue # so that we can try to find one that supports BSD flags
5227             ;;
5228           esac
5229           ;;
5230         esac
5231       fi
5232     done
5233     IFS="$lt_save_ifs"
5234   done
5235   : ${lt_cv_path_NM=no}
5236 fi
5237 fi
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5239 $as_echo "$lt_cv_path_NM" >&6; }
5240 if test "$lt_cv_path_NM" != "no"; then
5241   NM="$lt_cv_path_NM"
5242 else
5243   # Didn't find any BSD compatible name lister, look for dumpbin.
5244   if test -n "$DUMPBIN"; then :
5245     # Let the user override the test.
5246   else
5247     if test -n "$ac_tool_prefix"; then
5248   for ac_prog in dumpbin "link -dump"
5249   do
5250     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5251 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253 $as_echo_n "checking for $ac_word... " >&6; }
5254 if ${ac_cv_prog_DUMPBIN+:} false; then :
5255   $as_echo_n "(cached) " >&6
5256 else
5257   if test -n "$DUMPBIN"; then
5258   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5259 else
5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5261 for as_dir in $PATH
5262 do
5263   IFS=$as_save_IFS
5264   test -z "$as_dir" && as_dir=.
5265     for ac_exec_ext in '' $ac_executable_extensions; do
5266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5267     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269     break 2
5270   fi
5271 done
5272   done
5273 IFS=$as_save_IFS
5274
5275 fi
5276 fi
5277 DUMPBIN=$ac_cv_prog_DUMPBIN
5278 if test -n "$DUMPBIN"; then
5279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5280 $as_echo "$DUMPBIN" >&6; }
5281 else
5282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5284 fi
5285
5286
5287     test -n "$DUMPBIN" && break
5288   done
5289 fi
5290 if test -z "$DUMPBIN"; then
5291   ac_ct_DUMPBIN=$DUMPBIN
5292   for ac_prog in dumpbin "link -dump"
5293 do
5294   # Extract the first word of "$ac_prog", so it can be a program name with args.
5295 set dummy $ac_prog; ac_word=$2
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 $as_echo_n "checking for $ac_word... " >&6; }
5298 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5299   $as_echo_n "(cached) " >&6
5300 else
5301   if test -n "$ac_ct_DUMPBIN"; then
5302   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5303 else
5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 for as_dir in $PATH
5306 do
5307   IFS=$as_save_IFS
5308   test -z "$as_dir" && as_dir=.
5309     for ac_exec_ext in '' $ac_executable_extensions; do
5310   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5311     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313     break 2
5314   fi
5315 done
5316   done
5317 IFS=$as_save_IFS
5318
5319 fi
5320 fi
5321 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5322 if test -n "$ac_ct_DUMPBIN"; then
5323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5324 $as_echo "$ac_ct_DUMPBIN" >&6; }
5325 else
5326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5328 fi
5329
5330
5331   test -n "$ac_ct_DUMPBIN" && break
5332 done
5333
5334   if test "x$ac_ct_DUMPBIN" = x; then
5335     DUMPBIN=":"
5336   else
5337     case $cross_compiling:$ac_tool_warned in
5338 yes:)
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5341 ac_tool_warned=yes ;;
5342 esac
5343     DUMPBIN=$ac_ct_DUMPBIN
5344   fi
5345 fi
5346
5347     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5348     *COFF*)
5349       DUMPBIN="$DUMPBIN -symbols"
5350       ;;
5351     *)
5352       DUMPBIN=:
5353       ;;
5354     esac
5355   fi
5356
5357   if test "$DUMPBIN" != ":"; then
5358     NM="$DUMPBIN"
5359   fi
5360 fi
5361 test -z "$NM" && NM=nm
5362
5363
5364
5365
5366
5367
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5369 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5370 if ${lt_cv_nm_interface+:} false; then :
5371   $as_echo_n "(cached) " >&6
5372 else
5373   lt_cv_nm_interface="BSD nm"
5374   echo "int some_variable = 0;" > conftest.$ac_ext
5375   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5376   (eval "$ac_compile" 2>conftest.err)
5377   cat conftest.err >&5
5378   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5379   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5380   cat conftest.err >&5
5381   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5382   cat conftest.out >&5
5383   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5384     lt_cv_nm_interface="MS dumpbin"
5385   fi
5386   rm -f conftest*
5387 fi
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5389 $as_echo "$lt_cv_nm_interface" >&6; }
5390
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5392 $as_echo_n "checking whether ln -s works... " >&6; }
5393 LN_S=$as_ln_s
5394 if test "$LN_S" = "ln -s"; then
5395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5396 $as_echo "yes" >&6; }
5397 else
5398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5399 $as_echo "no, using $LN_S" >&6; }
5400 fi
5401
5402 # find the maximum length of command line arguments
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5404 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5405 if ${lt_cv_sys_max_cmd_len+:} false; then :
5406   $as_echo_n "(cached) " >&6
5407 else
5408     i=0
5409   teststring="ABCD"
5410
5411   case $build_os in
5412   msdosdjgpp*)
5413     # On DJGPP, this test can blow up pretty badly due to problems in libc
5414     # (any single argument exceeding 2000 bytes causes a buffer overrun
5415     # during glob expansion).  Even if it were fixed, the result of this
5416     # check would be larger than it should be.
5417     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5418     ;;
5419
5420   gnu*)
5421     # Under GNU Hurd, this test is not required because there is
5422     # no limit to the length of command line arguments.
5423     # Libtool will interpret -1 as no limit whatsoever
5424     lt_cv_sys_max_cmd_len=-1;
5425     ;;
5426
5427   cygwin* | mingw* | cegcc*)
5428     # On Win9x/ME, this test blows up -- it succeeds, but takes
5429     # about 5 minutes as the teststring grows exponentially.
5430     # Worse, since 9x/ME are not pre-emptively multitasking,
5431     # you end up with a "frozen" computer, even though with patience
5432     # the test eventually succeeds (with a max line length of 256k).
5433     # Instead, let's just punt: use the minimum linelength reported by
5434     # all of the supported platforms: 8192 (on NT/2K/XP).
5435     lt_cv_sys_max_cmd_len=8192;
5436     ;;
5437
5438   mint*)
5439     # On MiNT this can take a long time and run out of memory.
5440     lt_cv_sys_max_cmd_len=8192;
5441     ;;
5442
5443   amigaos*)
5444     # On AmigaOS with pdksh, this test takes hours, literally.
5445     # So we just punt and use a minimum line length of 8192.
5446     lt_cv_sys_max_cmd_len=8192;
5447     ;;
5448
5449   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5450     # This has been around since 386BSD, at least.  Likely further.
5451     if test -x /sbin/sysctl; then
5452       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5453     elif test -x /usr/sbin/sysctl; then
5454       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5455     else
5456       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5457     fi
5458     # And add a safety zone
5459     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5460     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5461     ;;
5462
5463   interix*)
5464     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5465     lt_cv_sys_max_cmd_len=196608
5466     ;;
5467
5468   os2*)
5469     # The test takes a long time on OS/2.
5470     lt_cv_sys_max_cmd_len=8192
5471     ;;
5472
5473   osf*)
5474     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5475     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5476     # nice to cause kernel panics so lets avoid the loop below.
5477     # First set a reasonable default.
5478     lt_cv_sys_max_cmd_len=16384
5479     #
5480     if test -x /sbin/sysconfig; then
5481       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5482         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5483       esac
5484     fi
5485     ;;
5486   sco3.2v5*)
5487     lt_cv_sys_max_cmd_len=102400
5488     ;;
5489   sysv5* | sco5v6* | sysv4.2uw2*)
5490     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5491     if test -n "$kargmax"; then
5492       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5493     else
5494       lt_cv_sys_max_cmd_len=32768
5495     fi
5496     ;;
5497   *)
5498     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5499     if test -n "$lt_cv_sys_max_cmd_len" && \
5500         test undefined != "$lt_cv_sys_max_cmd_len"; then
5501       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5502       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5503     else
5504       # Make teststring a little bigger before we do anything with it.
5505       # a 1K string should be a reasonable start.
5506       for i in 1 2 3 4 5 6 7 8 ; do
5507         teststring=$teststring$teststring
5508       done
5509       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5510       # If test is not a shell built-in, we'll probably end up computing a
5511       # maximum length that is only half of the actual maximum length, but
5512       # we can't tell.
5513       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5514                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5515               test $i != 17 # 1/2 MB should be enough
5516       do
5517         i=`expr $i + 1`
5518         teststring=$teststring$teststring
5519       done
5520       # Only check the string length outside the loop.
5521       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5522       teststring=
5523       # Add a significant safety factor because C++ compilers can tack on
5524       # massive amounts of additional arguments before passing them to the
5525       # linker.  It appears as though 1/2 is a usable value.
5526       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5527     fi
5528     ;;
5529   esac
5530
5531 fi
5532
5533 if test -n $lt_cv_sys_max_cmd_len ; then
5534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5535 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5536 else
5537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5538 $as_echo "none" >&6; }
5539 fi
5540 max_cmd_len=$lt_cv_sys_max_cmd_len
5541
5542
5543
5544
5545
5546
5547 : ${CP="cp -f"}
5548 : ${MV="mv -f"}
5549 : ${RM="rm -f"}
5550
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5552 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5553 # Try some XSI features
5554 xsi_shell=no
5555 ( _lt_dummy="a/b/c"
5556   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5557       = c,a/b,b/c, \
5558     && eval 'test $(( 1 + 1 )) -eq 2 \
5559     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5560   && xsi_shell=yes
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5562 $as_echo "$xsi_shell" >&6; }
5563
5564
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5566 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5567 lt_shell_append=no
5568 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5569     >/dev/null 2>&1 \
5570   && lt_shell_append=yes
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5572 $as_echo "$lt_shell_append" >&6; }
5573
5574
5575 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5576   lt_unset=unset
5577 else
5578   lt_unset=false
5579 fi
5580
5581
5582
5583
5584
5585 # test EBCDIC or ASCII
5586 case `echo X|tr X '\101'` in
5587  A) # ASCII based system
5588     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5589   lt_SP2NL='tr \040 \012'
5590   lt_NL2SP='tr \015\012 \040\040'
5591   ;;
5592  *) # EBCDIC based system
5593   lt_SP2NL='tr \100 \n'
5594   lt_NL2SP='tr \r\n \100\100'
5595   ;;
5596 esac
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5607 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5608 if ${lt_cv_to_host_file_cmd+:} false; then :
5609   $as_echo_n "(cached) " >&6
5610 else
5611   case $host in
5612   *-*-mingw* )
5613     case $build in
5614       *-*-mingw* ) # actually msys
5615         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5616         ;;
5617       *-*-cygwin* )
5618         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5619         ;;
5620       * ) # otherwise, assume *nix
5621         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5622         ;;
5623     esac
5624     ;;
5625   *-*-cygwin* )
5626     case $build in
5627       *-*-mingw* ) # actually msys
5628         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5629         ;;
5630       *-*-cygwin* )
5631         lt_cv_to_host_file_cmd=func_convert_file_noop
5632         ;;
5633       * ) # otherwise, assume *nix
5634         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5635         ;;
5636     esac
5637     ;;
5638   * ) # unhandled hosts (and "normal" native builds)
5639     lt_cv_to_host_file_cmd=func_convert_file_noop
5640     ;;
5641 esac
5642
5643 fi
5644
5645 to_host_file_cmd=$lt_cv_to_host_file_cmd
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5647 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5648
5649
5650
5651
5652
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5654 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5655 if ${lt_cv_to_tool_file_cmd+:} false; then :
5656   $as_echo_n "(cached) " >&6
5657 else
5658   #assume ordinary cross tools, or native build.
5659 lt_cv_to_tool_file_cmd=func_convert_file_noop
5660 case $host in
5661   *-*-mingw* )
5662     case $build in
5663       *-*-mingw* ) # actually msys
5664         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5665         ;;
5666     esac
5667     ;;
5668 esac
5669
5670 fi
5671
5672 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5674 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5675
5676
5677
5678
5679
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5681 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5682 if ${lt_cv_ld_reload_flag+:} false; then :
5683   $as_echo_n "(cached) " >&6
5684 else
5685   lt_cv_ld_reload_flag='-r'
5686 fi
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5688 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5689 reload_flag=$lt_cv_ld_reload_flag
5690 case $reload_flag in
5691 "" | " "*) ;;
5692 *) reload_flag=" $reload_flag" ;;
5693 esac
5694 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5695 case $host_os in
5696   cygwin* | mingw* | pw32* | cegcc*)
5697     if test "$GCC" != yes; then
5698       reload_cmds=false
5699     fi
5700     ;;
5701   darwin*)
5702     if test "$GCC" = yes; then
5703       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5704     else
5705       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5706     fi
5707     ;;
5708 esac
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718 if test -n "$ac_tool_prefix"; then
5719   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5720 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if ${ac_cv_prog_OBJDUMP+:} false; then :
5724   $as_echo_n "(cached) " >&6
5725 else
5726   if test -n "$OBJDUMP"; then
5727   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5728 else
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 for as_dir in $PATH
5731 do
5732   IFS=$as_save_IFS
5733   test -z "$as_dir" && as_dir=.
5734     for ac_exec_ext in '' $ac_executable_extensions; do
5735   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5736     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5738     break 2
5739   fi
5740 done
5741   done
5742 IFS=$as_save_IFS
5743
5744 fi
5745 fi
5746 OBJDUMP=$ac_cv_prog_OBJDUMP
5747 if test -n "$OBJDUMP"; then
5748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5749 $as_echo "$OBJDUMP" >&6; }
5750 else
5751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5753 fi
5754
5755
5756 fi
5757 if test -z "$ac_cv_prog_OBJDUMP"; then
5758   ac_ct_OBJDUMP=$OBJDUMP
5759   # Extract the first word of "objdump", so it can be a program name with args.
5760 set dummy objdump; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5764   $as_echo_n "(cached) " >&6
5765 else
5766   if test -n "$ac_ct_OBJDUMP"; then
5767   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5768 else
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH
5771 do
5772   IFS=$as_save_IFS
5773   test -z "$as_dir" && as_dir=.
5774     for ac_exec_ext in '' $ac_executable_extensions; do
5775   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5776     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778     break 2
5779   fi
5780 done
5781   done
5782 IFS=$as_save_IFS
5783
5784 fi
5785 fi
5786 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5787 if test -n "$ac_ct_OBJDUMP"; then
5788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5789 $as_echo "$ac_ct_OBJDUMP" >&6; }
5790 else
5791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5793 fi
5794
5795   if test "x$ac_ct_OBJDUMP" = x; then
5796     OBJDUMP="false"
5797   else
5798     case $cross_compiling:$ac_tool_warned in
5799 yes:)
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5802 ac_tool_warned=yes ;;
5803 esac
5804     OBJDUMP=$ac_ct_OBJDUMP
5805   fi
5806 else
5807   OBJDUMP="$ac_cv_prog_OBJDUMP"
5808 fi
5809
5810 test -z "$OBJDUMP" && OBJDUMP=objdump
5811
5812
5813
5814
5815
5816
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5818 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5819 if ${lt_cv_deplibs_check_method+:} false; then :
5820   $as_echo_n "(cached) " >&6
5821 else
5822   lt_cv_file_magic_cmd='$MAGIC_CMD'
5823 lt_cv_file_magic_test_file=
5824 lt_cv_deplibs_check_method='unknown'
5825 # Need to set the preceding variable on all platforms that support
5826 # interlibrary dependencies.
5827 # 'none' -- dependencies not supported.
5828 # `unknown' -- same as none, but documents that we really don't know.
5829 # 'pass_all' -- all dependencies passed with no checks.
5830 # 'test_compile' -- check by making test program.
5831 # 'file_magic [[regex]]' -- check by looking for files in library path
5832 # which responds to the $file_magic_cmd with a given extended regex.
5833 # If you have `file' or equivalent on your system and you're not sure
5834 # whether `pass_all' will *always* work, you probably want this one.
5835
5836 case $host_os in
5837 aix[4-9]*)
5838   lt_cv_deplibs_check_method=pass_all
5839   ;;
5840
5841 beos*)
5842   lt_cv_deplibs_check_method=pass_all
5843   ;;
5844
5845 bsdi[45]*)
5846   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5847   lt_cv_file_magic_cmd='/usr/bin/file -L'
5848   lt_cv_file_magic_test_file=/shlib/libc.so
5849   ;;
5850
5851 cygwin*)
5852   # func_win32_libid is a shell function defined in ltmain.sh
5853   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5854   lt_cv_file_magic_cmd='func_win32_libid'
5855   ;;
5856
5857 mingw* | pw32*)
5858   # Base MSYS/MinGW do not provide the 'file' command needed by
5859   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5860   # unless we find 'file', for example because we are cross-compiling.
5861   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5862   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5863     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5864     lt_cv_file_magic_cmd='func_win32_libid'
5865   else
5866     # Keep this pattern in sync with the one in func_win32_libid.
5867     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5868     lt_cv_file_magic_cmd='$OBJDUMP -f'
5869   fi
5870   ;;
5871
5872 cegcc*)
5873   # use the weaker test based on 'objdump'. See mingw*.
5874   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5875   lt_cv_file_magic_cmd='$OBJDUMP -f'
5876   ;;
5877
5878 darwin* | rhapsody*)
5879   lt_cv_deplibs_check_method=pass_all
5880   ;;
5881
5882 freebsd* | dragonfly*)
5883   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5884     case $host_cpu in
5885     i*86 )
5886       # Not sure whether the presence of OpenBSD here was a mistake.
5887       # Let's accept both of them until this is cleared up.
5888       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5889       lt_cv_file_magic_cmd=/usr/bin/file
5890       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5891       ;;
5892     esac
5893   else
5894     lt_cv_deplibs_check_method=pass_all
5895   fi
5896   ;;
5897
5898 haiku*)
5899   lt_cv_deplibs_check_method=pass_all
5900   ;;
5901
5902 hpux10.20* | hpux11*)
5903   lt_cv_file_magic_cmd=/usr/bin/file
5904   case $host_cpu in
5905   ia64*)
5906     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5907     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5908     ;;
5909   hppa*64*)
5910     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]'
5911     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5912     ;;
5913   *)
5914     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5915     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5916     ;;
5917   esac
5918   ;;
5919
5920 interix[3-9]*)
5921   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5922   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5923   ;;
5924
5925 irix5* | irix6* | nonstopux*)
5926   case $LD in
5927   *-32|*"-32 ") libmagic=32-bit;;
5928   *-n32|*"-n32 ") libmagic=N32;;
5929   *-64|*"-64 ") libmagic=64-bit;;
5930   *) libmagic=never-match;;
5931   esac
5932   lt_cv_deplibs_check_method=pass_all
5933   ;;
5934
5935 # This must be glibc/ELF.
5936 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5937   lt_cv_deplibs_check_method=pass_all
5938   ;;
5939
5940 netbsd* | netbsdelf*-gnu)
5941   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5942     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5943   else
5944     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5945   fi
5946   ;;
5947
5948 newos6*)
5949   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5950   lt_cv_file_magic_cmd=/usr/bin/file
5951   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5952   ;;
5953
5954 *nto* | *qnx*)
5955   lt_cv_deplibs_check_method=pass_all
5956   ;;
5957
5958 openbsd*)
5959   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5960     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5961   else
5962     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5963   fi
5964   ;;
5965
5966 osf3* | osf4* | osf5*)
5967   lt_cv_deplibs_check_method=pass_all
5968   ;;
5969
5970 rdos*)
5971   lt_cv_deplibs_check_method=pass_all
5972   ;;
5973
5974 solaris*)
5975   lt_cv_deplibs_check_method=pass_all
5976   ;;
5977
5978 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5979   lt_cv_deplibs_check_method=pass_all
5980   ;;
5981
5982 sysv4 | sysv4.3*)
5983   case $host_vendor in
5984   motorola)
5985     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]'
5986     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5987     ;;
5988   ncr)
5989     lt_cv_deplibs_check_method=pass_all
5990     ;;
5991   sequent)
5992     lt_cv_file_magic_cmd='/bin/file'
5993     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5994     ;;
5995   sni)
5996     lt_cv_file_magic_cmd='/bin/file'
5997     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5998     lt_cv_file_magic_test_file=/lib/libc.so
5999     ;;
6000   siemens)
6001     lt_cv_deplibs_check_method=pass_all
6002     ;;
6003   pc)
6004     lt_cv_deplibs_check_method=pass_all
6005     ;;
6006   esac
6007   ;;
6008
6009 tpf*)
6010   lt_cv_deplibs_check_method=pass_all
6011   ;;
6012 esac
6013
6014 fi
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6016 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6017
6018 file_magic_glob=
6019 want_nocaseglob=no
6020 if test "$build" = "$host"; then
6021   case $host_os in
6022   mingw* | pw32*)
6023     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6024       want_nocaseglob=yes
6025     else
6026       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6027     fi
6028     ;;
6029   esac
6030 fi
6031
6032 file_magic_cmd=$lt_cv_file_magic_cmd
6033 deplibs_check_method=$lt_cv_deplibs_check_method
6034 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057 if test -n "$ac_tool_prefix"; then
6058   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6059 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_DLLTOOL+:} false; then :
6063   $as_echo_n "(cached) " >&6
6064 else
6065   if test -n "$DLLTOOL"; then
6066   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6070 do
6071   IFS=$as_save_IFS
6072   test -z "$as_dir" && as_dir=.
6073     for ac_exec_ext in '' $ac_executable_extensions; do
6074   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077     break 2
6078   fi
6079 done
6080   done
6081 IFS=$as_save_IFS
6082
6083 fi
6084 fi
6085 DLLTOOL=$ac_cv_prog_DLLTOOL
6086 if test -n "$DLLTOOL"; then
6087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6088 $as_echo "$DLLTOOL" >&6; }
6089 else
6090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6092 fi
6093
6094
6095 fi
6096 if test -z "$ac_cv_prog_DLLTOOL"; then
6097   ac_ct_DLLTOOL=$DLLTOOL
6098   # Extract the first word of "dlltool", so it can be a program name with args.
6099 set dummy dlltool; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6103   $as_echo_n "(cached) " >&6
6104 else
6105   if test -n "$ac_ct_DLLTOOL"; then
6106   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6110 do
6111   IFS=$as_save_IFS
6112   test -z "$as_dir" && as_dir=.
6113     for ac_exec_ext in '' $ac_executable_extensions; do
6114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117     break 2
6118   fi
6119 done
6120   done
6121 IFS=$as_save_IFS
6122
6123 fi
6124 fi
6125 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6126 if test -n "$ac_ct_DLLTOOL"; then
6127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6128 $as_echo "$ac_ct_DLLTOOL" >&6; }
6129 else
6130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6132 fi
6133
6134   if test "x$ac_ct_DLLTOOL" = x; then
6135     DLLTOOL="false"
6136   else
6137     case $cross_compiling:$ac_tool_warned in
6138 yes:)
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6141 ac_tool_warned=yes ;;
6142 esac
6143     DLLTOOL=$ac_ct_DLLTOOL
6144   fi
6145 else
6146   DLLTOOL="$ac_cv_prog_DLLTOOL"
6147 fi
6148
6149 test -z "$DLLTOOL" && DLLTOOL=dlltool
6150
6151
6152
6153
6154
6155
6156
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6158 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6159 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6160   $as_echo_n "(cached) " >&6
6161 else
6162   lt_cv_sharedlib_from_linklib_cmd='unknown'
6163
6164 case $host_os in
6165 cygwin* | mingw* | pw32* | cegcc*)
6166   # two different shell functions defined in ltmain.sh
6167   # decide which to use based on capabilities of $DLLTOOL
6168   case `$DLLTOOL --help 2>&1` in
6169   *--identify-strict*)
6170     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6171     ;;
6172   *)
6173     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6174     ;;
6175   esac
6176   ;;
6177 *)
6178   # fallback: assume linklib IS sharedlib
6179   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6180   ;;
6181 esac
6182
6183 fi
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6185 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6186 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6187 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6188
6189
6190
6191
6192
6193
6194
6195
6196 if test -n "$ac_tool_prefix"; then
6197   for ac_prog in ar
6198   do
6199     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6200 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202 $as_echo_n "checking for $ac_word... " >&6; }
6203 if ${ac_cv_prog_AR+:} false; then :
6204   $as_echo_n "(cached) " >&6
6205 else
6206   if test -n "$AR"; then
6207   ac_cv_prog_AR="$AR" # Let the user override the test.
6208 else
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 for as_dir in $PATH
6211 do
6212   IFS=$as_save_IFS
6213   test -z "$as_dir" && as_dir=.
6214     for ac_exec_ext in '' $ac_executable_extensions; do
6215   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6216     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6218     break 2
6219   fi
6220 done
6221   done
6222 IFS=$as_save_IFS
6223
6224 fi
6225 fi
6226 AR=$ac_cv_prog_AR
6227 if test -n "$AR"; then
6228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6229 $as_echo "$AR" >&6; }
6230 else
6231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6233 fi
6234
6235
6236     test -n "$AR" && break
6237   done
6238 fi
6239 if test -z "$AR"; then
6240   ac_ct_AR=$AR
6241   for ac_prog in ar
6242 do
6243   # Extract the first word of "$ac_prog", so it can be a program name with args.
6244 set dummy $ac_prog; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246 $as_echo_n "checking for $ac_word... " >&6; }
6247 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6248   $as_echo_n "(cached) " >&6
6249 else
6250   if test -n "$ac_ct_AR"; then
6251   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6252 else
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254 for as_dir in $PATH
6255 do
6256   IFS=$as_save_IFS
6257   test -z "$as_dir" && as_dir=.
6258     for ac_exec_ext in '' $ac_executable_extensions; do
6259   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260     ac_cv_prog_ac_ct_AR="$ac_prog"
6261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262     break 2
6263   fi
6264 done
6265   done
6266 IFS=$as_save_IFS
6267
6268 fi
6269 fi
6270 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6271 if test -n "$ac_ct_AR"; then
6272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6273 $as_echo "$ac_ct_AR" >&6; }
6274 else
6275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276 $as_echo "no" >&6; }
6277 fi
6278
6279
6280   test -n "$ac_ct_AR" && break
6281 done
6282
6283   if test "x$ac_ct_AR" = x; then
6284     AR="false"
6285   else
6286     case $cross_compiling:$ac_tool_warned in
6287 yes:)
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6290 ac_tool_warned=yes ;;
6291 esac
6292     AR=$ac_ct_AR
6293   fi
6294 fi
6295
6296 : ${AR=ar}
6297 : ${AR_FLAGS=cru}
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6310 $as_echo_n "checking for archiver @FILE support... " >&6; }
6311 if ${lt_cv_ar_at_file+:} false; then :
6312   $as_echo_n "(cached) " >&6
6313 else
6314   lt_cv_ar_at_file=no
6315    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h.  */
6317
6318 int
6319 main ()
6320 {
6321
6322   ;
6323   return 0;
6324 }
6325 _ACEOF
6326 if ac_fn_c_try_compile "$LINENO"; then :
6327   echo conftest.$ac_objext > conftest.lst
6328       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6329       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6330   (eval $lt_ar_try) 2>&5
6331   ac_status=$?
6332   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6333   test $ac_status = 0; }
6334       if test "$ac_status" -eq 0; then
6335         # Ensure the archiver fails upon bogus file names.
6336         rm -f conftest.$ac_objext libconftest.a
6337         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6338   (eval $lt_ar_try) 2>&5
6339   ac_status=$?
6340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6341   test $ac_status = 0; }
6342         if test "$ac_status" -ne 0; then
6343           lt_cv_ar_at_file=@
6344         fi
6345       fi
6346       rm -f conftest.* libconftest.a
6347
6348 fi
6349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6350
6351 fi
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6353 $as_echo "$lt_cv_ar_at_file" >&6; }
6354
6355 if test "x$lt_cv_ar_at_file" = xno; then
6356   archiver_list_spec=
6357 else
6358   archiver_list_spec=$lt_cv_ar_at_file
6359 fi
6360
6361
6362
6363
6364
6365
6366
6367 if test -n "$ac_tool_prefix"; then
6368   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6369 set dummy ${ac_tool_prefix}strip; ac_word=$2
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6371 $as_echo_n "checking for $ac_word... " >&6; }
6372 if ${ac_cv_prog_STRIP+:} false; then :
6373   $as_echo_n "(cached) " >&6
6374 else
6375   if test -n "$STRIP"; then
6376   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6377 else
6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379 for as_dir in $PATH
6380 do
6381   IFS=$as_save_IFS
6382   test -z "$as_dir" && as_dir=.
6383     for ac_exec_ext in '' $ac_executable_extensions; do
6384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6385     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6387     break 2
6388   fi
6389 done
6390   done
6391 IFS=$as_save_IFS
6392
6393 fi
6394 fi
6395 STRIP=$ac_cv_prog_STRIP
6396 if test -n "$STRIP"; then
6397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6398 $as_echo "$STRIP" >&6; }
6399 else
6400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6401 $as_echo "no" >&6; }
6402 fi
6403
6404
6405 fi
6406 if test -z "$ac_cv_prog_STRIP"; then
6407   ac_ct_STRIP=$STRIP
6408   # Extract the first word of "strip", so it can be a program name with args.
6409 set dummy strip; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6413   $as_echo_n "(cached) " >&6
6414 else
6415   if test -n "$ac_ct_STRIP"; then
6416   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6420 do
6421   IFS=$as_save_IFS
6422   test -z "$as_dir" && as_dir=.
6423     for ac_exec_ext in '' $ac_executable_extensions; do
6424   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6425     ac_cv_prog_ac_ct_STRIP="strip"
6426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427     break 2
6428   fi
6429 done
6430   done
6431 IFS=$as_save_IFS
6432
6433 fi
6434 fi
6435 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6436 if test -n "$ac_ct_STRIP"; then
6437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6438 $as_echo "$ac_ct_STRIP" >&6; }
6439 else
6440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6442 fi
6443
6444   if test "x$ac_ct_STRIP" = x; then
6445     STRIP=":"
6446   else
6447     case $cross_compiling:$ac_tool_warned in
6448 yes:)
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6451 ac_tool_warned=yes ;;
6452 esac
6453     STRIP=$ac_ct_STRIP
6454   fi
6455 else
6456   STRIP="$ac_cv_prog_STRIP"
6457 fi
6458
6459 test -z "$STRIP" && STRIP=:
6460
6461
6462
6463
6464
6465
6466 if test -n "$ac_tool_prefix"; then
6467   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_RANLIB+:} false; then :
6472   $as_echo_n "(cached) " >&6
6473 else
6474   if test -n "$RANLIB"; then
6475   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6479 do
6480   IFS=$as_save_IFS
6481   test -z "$as_dir" && as_dir=.
6482     for ac_exec_ext in '' $ac_executable_extensions; do
6483   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486     break 2
6487   fi
6488 done
6489   done
6490 IFS=$as_save_IFS
6491
6492 fi
6493 fi
6494 RANLIB=$ac_cv_prog_RANLIB
6495 if test -n "$RANLIB"; then
6496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6497 $as_echo "$RANLIB" >&6; }
6498 else
6499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6501 fi
6502
6503
6504 fi
6505 if test -z "$ac_cv_prog_RANLIB"; then
6506   ac_ct_RANLIB=$RANLIB
6507   # Extract the first word of "ranlib", so it can be a program name with args.
6508 set dummy ranlib; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6512   $as_echo_n "(cached) " >&6
6513 else
6514   if test -n "$ac_ct_RANLIB"; then
6515   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6516 else
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518 for as_dir in $PATH
6519 do
6520   IFS=$as_save_IFS
6521   test -z "$as_dir" && as_dir=.
6522     for ac_exec_ext in '' $ac_executable_extensions; do
6523   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6524     ac_cv_prog_ac_ct_RANLIB="ranlib"
6525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526     break 2
6527   fi
6528 done
6529   done
6530 IFS=$as_save_IFS
6531
6532 fi
6533 fi
6534 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6535 if test -n "$ac_ct_RANLIB"; then
6536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6537 $as_echo "$ac_ct_RANLIB" >&6; }
6538 else
6539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6541 fi
6542
6543   if test "x$ac_ct_RANLIB" = x; then
6544     RANLIB=":"
6545   else
6546     case $cross_compiling:$ac_tool_warned in
6547 yes:)
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6550 ac_tool_warned=yes ;;
6551 esac
6552     RANLIB=$ac_ct_RANLIB
6553   fi
6554 else
6555   RANLIB="$ac_cv_prog_RANLIB"
6556 fi
6557
6558 test -z "$RANLIB" && RANLIB=:
6559
6560
6561
6562
6563
6564
6565 # Determine commands to create old-style static archives.
6566 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6567 old_postinstall_cmds='chmod 644 $oldlib'
6568 old_postuninstall_cmds=
6569
6570 if test -n "$RANLIB"; then
6571   case $host_os in
6572   openbsd*)
6573     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6574     ;;
6575   *)
6576     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6577     ;;
6578   esac
6579   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6580 fi
6581
6582 case $host_os in
6583   darwin*)
6584     lock_old_archive_extraction=yes ;;
6585   *)
6586     lock_old_archive_extraction=no ;;
6587 esac
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627 # If no C compiler was specified, use CC.
6628 LTCC=${LTCC-"$CC"}
6629
6630 # If no C compiler flags were specified, use CFLAGS.
6631 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6632
6633 # Allow CC to be a program name with arguments.
6634 compiler=$CC
6635
6636
6637 # Check for command to grab the raw symbol name followed by C symbol from nm.
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6639 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6640 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6641   $as_echo_n "(cached) " >&6
6642 else
6643
6644 # These are sane defaults that work on at least a few old systems.
6645 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6646
6647 # Character class describing NM global symbol codes.
6648 symcode='[BCDEGRST]'
6649
6650 # Regexp to match symbols that can be accessed directly from C.
6651 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6652
6653 # Define system-specific variables.
6654 case $host_os in
6655 aix*)
6656   symcode='[BCDT]'
6657   ;;
6658 cygwin* | mingw* | pw32* | cegcc*)
6659   symcode='[ABCDGISTW]'
6660   ;;
6661 hpux*)
6662   if test "$host_cpu" = ia64; then
6663     symcode='[ABCDEGRST]'
6664   fi
6665   ;;
6666 irix* | nonstopux*)
6667   symcode='[BCDEGRST]'
6668   ;;
6669 osf*)
6670   symcode='[BCDEGQRST]'
6671   ;;
6672 solaris*)
6673   symcode='[BDRT]'
6674   ;;
6675 sco3.2v5*)
6676   symcode='[DT]'
6677   ;;
6678 sysv4.2uw2*)
6679   symcode='[DT]'
6680   ;;
6681 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6682   symcode='[ABDT]'
6683   ;;
6684 sysv4)
6685   symcode='[DFNSTU]'
6686   ;;
6687 esac
6688
6689 # If we're using GNU nm, then use its standard symbol codes.
6690 case `$NM -V 2>&1` in
6691 *GNU* | *'with BFD'*)
6692   symcode='[ABCDGIRSTW]' ;;
6693 esac
6694
6695 # Transform an extracted symbol line into a proper C declaration.
6696 # Some systems (esp. on ia64) link data and code symbols differently,
6697 # so use this general approach.
6698 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6699
6700 # Transform an extracted symbol line into symbol name and symbol address
6701 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6702 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6703
6704 # Handle CRLF in mingw tool chain
6705 opt_cr=
6706 case $build_os in
6707 mingw*)
6708   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6709   ;;
6710 esac
6711
6712 # Try without a prefix underscore, then with it.
6713 for ac_symprfx in "" "_"; do
6714
6715   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6716   symxfrm="\\1 $ac_symprfx\\2 \\2"
6717
6718   # Write the raw and C identifiers.
6719   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6720     # Fake it for dumpbin and say T for any non-static function
6721     # and D for any global variable.
6722     # Also find C++ and __fastcall symbols from MSVC++,
6723     # which start with @ or ?.
6724     lt_cv_sys_global_symbol_pipe="$AWK '"\
6725 "     {last_section=section; section=\$ 3};"\
6726 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6727 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6728 "     \$ 0!~/External *\|/{next};"\
6729 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6730 "     {if(hide[section]) next};"\
6731 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6732 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6733 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6734 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6735 "     ' prfx=^$ac_symprfx"
6736   else
6737     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6738   fi
6739   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6740
6741   # Check to see that the pipe works correctly.
6742   pipe_works=no
6743
6744   rm -f conftest*
6745   cat > conftest.$ac_ext <<_LT_EOF
6746 #ifdef __cplusplus
6747 extern "C" {
6748 #endif
6749 char nm_test_var;
6750 void nm_test_func(void);
6751 void nm_test_func(void){}
6752 #ifdef __cplusplus
6753 }
6754 #endif
6755 int main(){nm_test_var='a';nm_test_func();return(0);}
6756 _LT_EOF
6757
6758   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6759   (eval $ac_compile) 2>&5
6760   ac_status=$?
6761   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6762   test $ac_status = 0; }; then
6763     # Now try to grab the symbols.
6764     nlist=conftest.nm
6765     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6766   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6767   ac_status=$?
6768   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6769   test $ac_status = 0; } && test -s "$nlist"; then
6770       # Try sorting and uniquifying the output.
6771       if sort "$nlist" | uniq > "$nlist"T; then
6772         mv -f "$nlist"T "$nlist"
6773       else
6774         rm -f "$nlist"T
6775       fi
6776
6777       # Make sure that we snagged all the symbols we need.
6778       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6779         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6780           cat <<_LT_EOF > conftest.$ac_ext
6781 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6782 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6783 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6784    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6785 # define LT_DLSYM_CONST
6786 #elif defined(__osf__)
6787 /* This system does not cope well with relocations in const data.  */
6788 # define LT_DLSYM_CONST
6789 #else
6790 # define LT_DLSYM_CONST const
6791 #endif
6792
6793 #ifdef __cplusplus
6794 extern "C" {
6795 #endif
6796
6797 _LT_EOF
6798           # Now generate the symbol file.
6799           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6800
6801           cat <<_LT_EOF >> conftest.$ac_ext
6802
6803 /* The mapping between symbol names and symbols.  */
6804 LT_DLSYM_CONST struct {
6805   const char *name;
6806   void       *address;
6807 }
6808 lt__PROGRAM__LTX_preloaded_symbols[] =
6809 {
6810   { "@PROGRAM@", (void *) 0 },
6811 _LT_EOF
6812           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6813           cat <<\_LT_EOF >> conftest.$ac_ext
6814   {0, (void *) 0}
6815 };
6816
6817 /* This works around a problem in FreeBSD linker */
6818 #ifdef FREEBSD_WORKAROUND
6819 static const void *lt_preloaded_setup() {
6820   return lt__PROGRAM__LTX_preloaded_symbols;
6821 }
6822 #endif
6823
6824 #ifdef __cplusplus
6825 }
6826 #endif
6827 _LT_EOF
6828           # Now try linking the two files.
6829           mv conftest.$ac_objext conftstm.$ac_objext
6830           lt_globsym_save_LIBS=$LIBS
6831           lt_globsym_save_CFLAGS=$CFLAGS
6832           LIBS="conftstm.$ac_objext"
6833           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6834           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6835   (eval $ac_link) 2>&5
6836   ac_status=$?
6837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6838   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6839             pipe_works=yes
6840           fi
6841           LIBS=$lt_globsym_save_LIBS
6842           CFLAGS=$lt_globsym_save_CFLAGS
6843         else
6844           echo "cannot find nm_test_func in $nlist" >&5
6845         fi
6846       else
6847         echo "cannot find nm_test_var in $nlist" >&5
6848       fi
6849     else
6850       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6851     fi
6852   else
6853     echo "$progname: failed program was:" >&5
6854     cat conftest.$ac_ext >&5
6855   fi
6856   rm -rf conftest* conftst*
6857
6858   # Do not use the global_symbol_pipe unless it works.
6859   if test "$pipe_works" = yes; then
6860     break
6861   else
6862     lt_cv_sys_global_symbol_pipe=
6863   fi
6864 done
6865
6866 fi
6867
6868 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6869   lt_cv_sys_global_symbol_to_cdecl=
6870 fi
6871 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6873 $as_echo "failed" >&6; }
6874 else
6875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6876 $as_echo "ok" >&6; }
6877 fi
6878
6879 # Response file support.
6880 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6881   nm_file_list_spec='@'
6882 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6883   nm_file_list_spec='@'
6884 fi
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6913 $as_echo_n "checking for sysroot... " >&6; }
6914
6915 # Check whether --with-sysroot was given.
6916 if test "${with_sysroot+set}" = set; then :
6917   withval=$with_sysroot;
6918 else
6919   with_sysroot=no
6920 fi
6921
6922
6923 lt_sysroot=
6924 case ${with_sysroot} in #(
6925  yes)
6926    if test "$GCC" = yes; then
6927      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6928    fi
6929    ;; #(
6930  /*)
6931    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6932    ;; #(
6933  no|'')
6934    ;; #(
6935  *)
6936    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6937 $as_echo "${with_sysroot}" >&6; }
6938    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6939    ;;
6940 esac
6941
6942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6943 $as_echo "${lt_sysroot:-no}" >&6; }
6944
6945
6946
6947
6948
6949 # Check whether --enable-libtool-lock was given.
6950 if test "${enable_libtool_lock+set}" = set; then :
6951   enableval=$enable_libtool_lock;
6952 fi
6953
6954 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6955
6956 # Some flags need to be propagated to the compiler or linker for good
6957 # libtool support.
6958 case $host in
6959 ia64-*-hpux*)
6960   # Find out which ABI we are using.
6961   echo 'int i;' > conftest.$ac_ext
6962   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6963   (eval $ac_compile) 2>&5
6964   ac_status=$?
6965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6966   test $ac_status = 0; }; then
6967     case `/usr/bin/file conftest.$ac_objext` in
6968       *ELF-32*)
6969         HPUX_IA64_MODE="32"
6970         ;;
6971       *ELF-64*)
6972         HPUX_IA64_MODE="64"
6973         ;;
6974     esac
6975   fi
6976   rm -rf conftest*
6977   ;;
6978 *-*-irix6*)
6979   # Find out which ABI we are using.
6980   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6981   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6982   (eval $ac_compile) 2>&5
6983   ac_status=$?
6984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6985   test $ac_status = 0; }; then
6986     if test "$lt_cv_prog_gnu_ld" = yes; then
6987       case `/usr/bin/file conftest.$ac_objext` in
6988         *32-bit*)
6989           LD="${LD-ld} -melf32bsmip"
6990           ;;
6991         *N32*)
6992           LD="${LD-ld} -melf32bmipn32"
6993           ;;
6994         *64-bit*)
6995           LD="${LD-ld} -melf64bmip"
6996         ;;
6997       esac
6998     else
6999       case `/usr/bin/file conftest.$ac_objext` in
7000         *32-bit*)
7001           LD="${LD-ld} -32"
7002           ;;
7003         *N32*)
7004           LD="${LD-ld} -n32"
7005           ;;
7006         *64-bit*)
7007           LD="${LD-ld} -64"
7008           ;;
7009       esac
7010     fi
7011   fi
7012   rm -rf conftest*
7013   ;;
7014
7015 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7016 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7017   # Find out which ABI we are using.
7018   echo 'int i;' > conftest.$ac_ext
7019   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7020   (eval $ac_compile) 2>&5
7021   ac_status=$?
7022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7023   test $ac_status = 0; }; then
7024     case `/usr/bin/file conftest.o` in
7025       *32-bit*)
7026         case $host in
7027           x86_64-*kfreebsd*-gnu)
7028             LD="${LD-ld} -m elf_i386_fbsd"
7029             ;;
7030           x86_64-*linux*)
7031             case `/usr/bin/file conftest.o` in
7032               *x86-64*)
7033                 LD="${LD-ld} -m elf32_x86_64"
7034                 ;;
7035               *)
7036                 LD="${LD-ld} -m elf_i386"
7037                 ;;
7038             esac
7039             ;;
7040           powerpc64le-*)
7041             LD="${LD-ld} -m elf32lppclinux"
7042             ;;
7043           powerpc64-*)
7044             LD="${LD-ld} -m elf32ppclinux"
7045             ;;
7046           s390x-*linux*)
7047             LD="${LD-ld} -m elf_s390"
7048             ;;
7049           sparc64-*linux*)
7050             LD="${LD-ld} -m elf32_sparc"
7051             ;;
7052         esac
7053         ;;
7054       *64-bit*)
7055         case $host in
7056           x86_64-*kfreebsd*-gnu)
7057             LD="${LD-ld} -m elf_x86_64_fbsd"
7058             ;;
7059           x86_64-*linux*)
7060             LD="${LD-ld} -m elf_x86_64"
7061             ;;
7062           powerpcle-*)
7063             LD="${LD-ld} -m elf64lppc"
7064             ;;
7065           powerpc-*)
7066             LD="${LD-ld} -m elf64ppc"
7067             ;;
7068           s390*-*linux*|s390*-*tpf*)
7069             LD="${LD-ld} -m elf64_s390"
7070             ;;
7071           sparc*-*linux*)
7072             LD="${LD-ld} -m elf64_sparc"
7073             ;;
7074         esac
7075         ;;
7076     esac
7077   fi
7078   rm -rf conftest*
7079   ;;
7080
7081 *-*-sco3.2v5*)
7082   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7083   SAVE_CFLAGS="$CFLAGS"
7084   CFLAGS="$CFLAGS -belf"
7085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7086 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7087 if ${lt_cv_cc_needs_belf+:} false; then :
7088   $as_echo_n "(cached) " >&6
7089 else
7090   ac_ext=c
7091 ac_cpp='$CPP $CPPFLAGS'
7092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7095
7096      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7097 /* end confdefs.h.  */
7098
7099 int
7100 main ()
7101 {
7102
7103   ;
7104   return 0;
7105 }
7106 _ACEOF
7107 if ac_fn_c_try_link "$LINENO"; then :
7108   lt_cv_cc_needs_belf=yes
7109 else
7110   lt_cv_cc_needs_belf=no
7111 fi
7112 rm -f core conftest.err conftest.$ac_objext \
7113     conftest$ac_exeext conftest.$ac_ext
7114      ac_ext=c
7115 ac_cpp='$CPP $CPPFLAGS'
7116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7119
7120 fi
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7122 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7123   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7124     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7125     CFLAGS="$SAVE_CFLAGS"
7126   fi
7127   ;;
7128 *-*solaris*)
7129   # Find out which ABI we are using.
7130   echo 'int i;' > conftest.$ac_ext
7131   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7132   (eval $ac_compile) 2>&5
7133   ac_status=$?
7134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7135   test $ac_status = 0; }; then
7136     case `/usr/bin/file conftest.o` in
7137     *64-bit*)
7138       case $lt_cv_prog_gnu_ld in
7139       yes*)
7140         case $host in
7141         i?86-*-solaris*)
7142           LD="${LD-ld} -m elf_x86_64"
7143           ;;
7144         sparc*-*-solaris*)
7145           LD="${LD-ld} -m elf64_sparc"
7146           ;;
7147         esac
7148         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7149         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7150           LD="${LD-ld}_sol2"
7151         fi
7152         ;;
7153       *)
7154         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7155           LD="${LD-ld} -64"
7156         fi
7157         ;;
7158       esac
7159       ;;
7160     esac
7161   fi
7162   rm -rf conftest*
7163   ;;
7164 esac
7165
7166 need_locks="$enable_libtool_lock"
7167
7168 if test -n "$ac_tool_prefix"; then
7169   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7170 set dummy ${ac_tool_prefix}mt; ac_word=$2
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 $as_echo_n "checking for $ac_word... " >&6; }
7173 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7174   $as_echo_n "(cached) " >&6
7175 else
7176   if test -n "$MANIFEST_TOOL"; then
7177   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7178 else
7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 for as_dir in $PATH
7181 do
7182   IFS=$as_save_IFS
7183   test -z "$as_dir" && as_dir=.
7184     for ac_exec_ext in '' $ac_executable_extensions; do
7185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7186     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188     break 2
7189   fi
7190 done
7191   done
7192 IFS=$as_save_IFS
7193
7194 fi
7195 fi
7196 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7197 if test -n "$MANIFEST_TOOL"; then
7198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7199 $as_echo "$MANIFEST_TOOL" >&6; }
7200 else
7201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7203 fi
7204
7205
7206 fi
7207 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7208   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7209   # Extract the first word of "mt", so it can be a program name with args.
7210 set dummy mt; ac_word=$2
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 $as_echo_n "checking for $ac_word... " >&6; }
7213 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7214   $as_echo_n "(cached) " >&6
7215 else
7216   if test -n "$ac_ct_MANIFEST_TOOL"; then
7217   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7218 else
7219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220 for as_dir in $PATH
7221 do
7222   IFS=$as_save_IFS
7223   test -z "$as_dir" && as_dir=.
7224     for ac_exec_ext in '' $ac_executable_extensions; do
7225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7226     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7228     break 2
7229   fi
7230 done
7231   done
7232 IFS=$as_save_IFS
7233
7234 fi
7235 fi
7236 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7237 if test -n "$ac_ct_MANIFEST_TOOL"; then
7238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7239 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7240 else
7241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242 $as_echo "no" >&6; }
7243 fi
7244
7245   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7246     MANIFEST_TOOL=":"
7247   else
7248     case $cross_compiling:$ac_tool_warned in
7249 yes:)
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7252 ac_tool_warned=yes ;;
7253 esac
7254     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7255   fi
7256 else
7257   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7258 fi
7259
7260 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7262 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7263 if ${lt_cv_path_mainfest_tool+:} false; then :
7264   $as_echo_n "(cached) " >&6
7265 else
7266   lt_cv_path_mainfest_tool=no
7267   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7268   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7269   cat conftest.err >&5
7270   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7271     lt_cv_path_mainfest_tool=yes
7272   fi
7273   rm -f conftest*
7274 fi
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7276 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7277 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7278   MANIFEST_TOOL=:
7279 fi
7280
7281
7282
7283
7284
7285
7286   case $host_os in
7287     rhapsody* | darwin*)
7288     if test -n "$ac_tool_prefix"; then
7289   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7290 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292 $as_echo_n "checking for $ac_word... " >&6; }
7293 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7294   $as_echo_n "(cached) " >&6
7295 else
7296   if test -n "$DSYMUTIL"; then
7297   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7298 else
7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300 for as_dir in $PATH
7301 do
7302   IFS=$as_save_IFS
7303   test -z "$as_dir" && as_dir=.
7304     for ac_exec_ext in '' $ac_executable_extensions; do
7305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7306     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7308     break 2
7309   fi
7310 done
7311   done
7312 IFS=$as_save_IFS
7313
7314 fi
7315 fi
7316 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7317 if test -n "$DSYMUTIL"; then
7318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7319 $as_echo "$DSYMUTIL" >&6; }
7320 else
7321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7322 $as_echo "no" >&6; }
7323 fi
7324
7325
7326 fi
7327 if test -z "$ac_cv_prog_DSYMUTIL"; then
7328   ac_ct_DSYMUTIL=$DSYMUTIL
7329   # Extract the first word of "dsymutil", so it can be a program name with args.
7330 set dummy dsymutil; ac_word=$2
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7332 $as_echo_n "checking for $ac_word... " >&6; }
7333 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7334   $as_echo_n "(cached) " >&6
7335 else
7336   if test -n "$ac_ct_DSYMUTIL"; then
7337   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7338 else
7339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340 for as_dir in $PATH
7341 do
7342   IFS=$as_save_IFS
7343   test -z "$as_dir" && as_dir=.
7344     for ac_exec_ext in '' $ac_executable_extensions; do
7345   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7346     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348     break 2
7349   fi
7350 done
7351   done
7352 IFS=$as_save_IFS
7353
7354 fi
7355 fi
7356 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7357 if test -n "$ac_ct_DSYMUTIL"; then
7358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7359 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7360 else
7361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7362 $as_echo "no" >&6; }
7363 fi
7364
7365   if test "x$ac_ct_DSYMUTIL" = x; then
7366     DSYMUTIL=":"
7367   else
7368     case $cross_compiling:$ac_tool_warned in
7369 yes:)
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7372 ac_tool_warned=yes ;;
7373 esac
7374     DSYMUTIL=$ac_ct_DSYMUTIL
7375   fi
7376 else
7377   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7378 fi
7379
7380     if test -n "$ac_tool_prefix"; then
7381   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7382 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7384 $as_echo_n "checking for $ac_word... " >&6; }
7385 if ${ac_cv_prog_NMEDIT+:} false; then :
7386   $as_echo_n "(cached) " >&6
7387 else
7388   if test -n "$NMEDIT"; then
7389   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7390 else
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392 for as_dir in $PATH
7393 do
7394   IFS=$as_save_IFS
7395   test -z "$as_dir" && as_dir=.
7396     for ac_exec_ext in '' $ac_executable_extensions; do
7397   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7398     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7399     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400     break 2
7401   fi
7402 done
7403   done
7404 IFS=$as_save_IFS
7405
7406 fi
7407 fi
7408 NMEDIT=$ac_cv_prog_NMEDIT
7409 if test -n "$NMEDIT"; then
7410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7411 $as_echo "$NMEDIT" >&6; }
7412 else
7413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 $as_echo "no" >&6; }
7415 fi
7416
7417
7418 fi
7419 if test -z "$ac_cv_prog_NMEDIT"; then
7420   ac_ct_NMEDIT=$NMEDIT
7421   # Extract the first word of "nmedit", so it can be a program name with args.
7422 set dummy nmedit; ac_word=$2
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424 $as_echo_n "checking for $ac_word... " >&6; }
7425 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7426   $as_echo_n "(cached) " >&6
7427 else
7428   if test -n "$ac_ct_NMEDIT"; then
7429   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7430 else
7431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7432 for as_dir in $PATH
7433 do
7434   IFS=$as_save_IFS
7435   test -z "$as_dir" && as_dir=.
7436     for ac_exec_ext in '' $ac_executable_extensions; do
7437   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7438     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440     break 2
7441   fi
7442 done
7443   done
7444 IFS=$as_save_IFS
7445
7446 fi
7447 fi
7448 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7449 if test -n "$ac_ct_NMEDIT"; then
7450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7451 $as_echo "$ac_ct_NMEDIT" >&6; }
7452 else
7453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 $as_echo "no" >&6; }
7455 fi
7456
7457   if test "x$ac_ct_NMEDIT" = x; then
7458     NMEDIT=":"
7459   else
7460     case $cross_compiling:$ac_tool_warned in
7461 yes:)
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7464 ac_tool_warned=yes ;;
7465 esac
7466     NMEDIT=$ac_ct_NMEDIT
7467   fi
7468 else
7469   NMEDIT="$ac_cv_prog_NMEDIT"
7470 fi
7471
7472     if test -n "$ac_tool_prefix"; then
7473   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7474 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if ${ac_cv_prog_LIPO+:} false; then :
7478   $as_echo_n "(cached) " >&6
7479 else
7480   if test -n "$LIPO"; then
7481   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7482 else
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7484 for as_dir in $PATH
7485 do
7486   IFS=$as_save_IFS
7487   test -z "$as_dir" && as_dir=.
7488     for ac_exec_ext in '' $ac_executable_extensions; do
7489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7490     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492     break 2
7493   fi
7494 done
7495   done
7496 IFS=$as_save_IFS
7497
7498 fi
7499 fi
7500 LIPO=$ac_cv_prog_LIPO
7501 if test -n "$LIPO"; then
7502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7503 $as_echo "$LIPO" >&6; }
7504 else
7505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7507 fi
7508
7509
7510 fi
7511 if test -z "$ac_cv_prog_LIPO"; then
7512   ac_ct_LIPO=$LIPO
7513   # Extract the first word of "lipo", so it can be a program name with args.
7514 set dummy lipo; ac_word=$2
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7516 $as_echo_n "checking for $ac_word... " >&6; }
7517 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7518   $as_echo_n "(cached) " >&6
7519 else
7520   if test -n "$ac_ct_LIPO"; then
7521   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7522 else
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524 for as_dir in $PATH
7525 do
7526   IFS=$as_save_IFS
7527   test -z "$as_dir" && as_dir=.
7528     for ac_exec_ext in '' $ac_executable_extensions; do
7529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7530     ac_cv_prog_ac_ct_LIPO="lipo"
7531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532     break 2
7533   fi
7534 done
7535   done
7536 IFS=$as_save_IFS
7537
7538 fi
7539 fi
7540 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7541 if test -n "$ac_ct_LIPO"; then
7542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7543 $as_echo "$ac_ct_LIPO" >&6; }
7544 else
7545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546 $as_echo "no" >&6; }
7547 fi
7548
7549   if test "x$ac_ct_LIPO" = x; then
7550     LIPO=":"
7551   else
7552     case $cross_compiling:$ac_tool_warned in
7553 yes:)
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7556 ac_tool_warned=yes ;;
7557 esac
7558     LIPO=$ac_ct_LIPO
7559   fi
7560 else
7561   LIPO="$ac_cv_prog_LIPO"
7562 fi
7563
7564     if test -n "$ac_tool_prefix"; then
7565   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7566 set dummy ${ac_tool_prefix}otool; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_OTOOL+:} false; then :
7570   $as_echo_n "(cached) " >&6
7571 else
7572   if test -n "$OTOOL"; then
7573   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7574 else
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7576 for as_dir in $PATH
7577 do
7578   IFS=$as_save_IFS
7579   test -z "$as_dir" && as_dir=.
7580     for ac_exec_ext in '' $ac_executable_extensions; do
7581   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584     break 2
7585   fi
7586 done
7587   done
7588 IFS=$as_save_IFS
7589
7590 fi
7591 fi
7592 OTOOL=$ac_cv_prog_OTOOL
7593 if test -n "$OTOOL"; then
7594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7595 $as_echo "$OTOOL" >&6; }
7596 else
7597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7599 fi
7600
7601
7602 fi
7603 if test -z "$ac_cv_prog_OTOOL"; then
7604   ac_ct_OTOOL=$OTOOL
7605   # Extract the first word of "otool", so it can be a program name with args.
7606 set dummy otool; ac_word=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608 $as_echo_n "checking for $ac_word... " >&6; }
7609 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7610   $as_echo_n "(cached) " >&6
7611 else
7612   if test -n "$ac_ct_OTOOL"; then
7613   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7614 else
7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616 for as_dir in $PATH
7617 do
7618   IFS=$as_save_IFS
7619   test -z "$as_dir" && as_dir=.
7620     for ac_exec_ext in '' $ac_executable_extensions; do
7621   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622     ac_cv_prog_ac_ct_OTOOL="otool"
7623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624     break 2
7625   fi
7626 done
7627   done
7628 IFS=$as_save_IFS
7629
7630 fi
7631 fi
7632 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7633 if test -n "$ac_ct_OTOOL"; then
7634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7635 $as_echo "$ac_ct_OTOOL" >&6; }
7636 else
7637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7639 fi
7640
7641   if test "x$ac_ct_OTOOL" = x; then
7642     OTOOL=":"
7643   else
7644     case $cross_compiling:$ac_tool_warned in
7645 yes:)
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7648 ac_tool_warned=yes ;;
7649 esac
7650     OTOOL=$ac_ct_OTOOL
7651   fi
7652 else
7653   OTOOL="$ac_cv_prog_OTOOL"
7654 fi
7655
7656     if test -n "$ac_tool_prefix"; then
7657   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7658 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7660 $as_echo_n "checking for $ac_word... " >&6; }
7661 if ${ac_cv_prog_OTOOL64+:} false; then :
7662   $as_echo_n "(cached) " >&6
7663 else
7664   if test -n "$OTOOL64"; then
7665   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7666 else
7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7668 for as_dir in $PATH
7669 do
7670   IFS=$as_save_IFS
7671   test -z "$as_dir" && as_dir=.
7672     for ac_exec_ext in '' $ac_executable_extensions; do
7673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7674     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7676     break 2
7677   fi
7678 done
7679   done
7680 IFS=$as_save_IFS
7681
7682 fi
7683 fi
7684 OTOOL64=$ac_cv_prog_OTOOL64
7685 if test -n "$OTOOL64"; then
7686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7687 $as_echo "$OTOOL64" >&6; }
7688 else
7689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7690 $as_echo "no" >&6; }
7691 fi
7692
7693
7694 fi
7695 if test -z "$ac_cv_prog_OTOOL64"; then
7696   ac_ct_OTOOL64=$OTOOL64
7697   # Extract the first word of "otool64", so it can be a program name with args.
7698 set dummy otool64; ac_word=$2
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7700 $as_echo_n "checking for $ac_word... " >&6; }
7701 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7702   $as_echo_n "(cached) " >&6
7703 else
7704   if test -n "$ac_ct_OTOOL64"; then
7705   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7706 else
7707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7708 for as_dir in $PATH
7709 do
7710   IFS=$as_save_IFS
7711   test -z "$as_dir" && as_dir=.
7712     for ac_exec_ext in '' $ac_executable_extensions; do
7713   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7714     ac_cv_prog_ac_ct_OTOOL64="otool64"
7715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716     break 2
7717   fi
7718 done
7719   done
7720 IFS=$as_save_IFS
7721
7722 fi
7723 fi
7724 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7725 if test -n "$ac_ct_OTOOL64"; then
7726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7727 $as_echo "$ac_ct_OTOOL64" >&6; }
7728 else
7729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7730 $as_echo "no" >&6; }
7731 fi
7732
7733   if test "x$ac_ct_OTOOL64" = x; then
7734     OTOOL64=":"
7735   else
7736     case $cross_compiling:$ac_tool_warned in
7737 yes:)
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7740 ac_tool_warned=yes ;;
7741 esac
7742     OTOOL64=$ac_ct_OTOOL64
7743   fi
7744 else
7745   OTOOL64="$ac_cv_prog_OTOOL64"
7746 fi
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7775 $as_echo_n "checking for -single_module linker flag... " >&6; }
7776 if ${lt_cv_apple_cc_single_mod+:} false; then :
7777   $as_echo_n "(cached) " >&6
7778 else
7779   lt_cv_apple_cc_single_mod=no
7780       if test -z "${LT_MULTI_MODULE}"; then
7781         # By default we will add the -single_module flag. You can override
7782         # by either setting the environment variable LT_MULTI_MODULE
7783         # non-empty at configure time, or by adding -multi_module to the
7784         # link flags.
7785         rm -rf libconftest.dylib*
7786         echo "int foo(void){return 1;}" > conftest.c
7787         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7788 -dynamiclib -Wl,-single_module conftest.c" >&5
7789         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7790           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7791         _lt_result=$?
7792         # If there is a non-empty error log, and "single_module"
7793         # appears in it, assume the flag caused a linker warning
7794         if test -s conftest.err && $GREP single_module conftest.err; then
7795           cat conftest.err >&5
7796         # Otherwise, if the output was created with a 0 exit code from
7797         # the compiler, it worked.
7798         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7799           lt_cv_apple_cc_single_mod=yes
7800         else
7801           cat conftest.err >&5
7802         fi
7803         rm -rf libconftest.dylib*
7804         rm -f conftest.*
7805       fi
7806 fi
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7808 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7809
7810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7811 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7812 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7813   $as_echo_n "(cached) " >&6
7814 else
7815   lt_cv_ld_exported_symbols_list=no
7816       save_LDFLAGS=$LDFLAGS
7817       echo "_main" > conftest.sym
7818       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7820 /* end confdefs.h.  */
7821
7822 int
7823 main ()
7824 {
7825
7826   ;
7827   return 0;
7828 }
7829 _ACEOF
7830 if ac_fn_c_try_link "$LINENO"; then :
7831   lt_cv_ld_exported_symbols_list=yes
7832 else
7833   lt_cv_ld_exported_symbols_list=no
7834 fi
7835 rm -f core conftest.err conftest.$ac_objext \
7836     conftest$ac_exeext conftest.$ac_ext
7837         LDFLAGS="$save_LDFLAGS"
7838
7839 fi
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7841 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7842
7843     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7844 $as_echo_n "checking for -force_load linker flag... " >&6; }
7845 if ${lt_cv_ld_force_load+:} false; then :
7846   $as_echo_n "(cached) " >&6
7847 else
7848   lt_cv_ld_force_load=no
7849       cat > conftest.c << _LT_EOF
7850 int forced_loaded() { return 2;}
7851 _LT_EOF
7852       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7853       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7854       echo "$AR cru libconftest.a conftest.o" >&5
7855       $AR cru libconftest.a conftest.o 2>&5
7856       echo "$RANLIB libconftest.a" >&5
7857       $RANLIB libconftest.a 2>&5
7858       cat > conftest.c << _LT_EOF
7859 int main() { return 0;}
7860 _LT_EOF
7861       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7862       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7863       _lt_result=$?
7864       if test -s conftest.err && $GREP force_load conftest.err; then
7865         cat conftest.err >&5
7866       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7867         lt_cv_ld_force_load=yes
7868       else
7869         cat conftest.err >&5
7870       fi
7871         rm -f conftest.err libconftest.a conftest conftest.c
7872         rm -rf conftest.dSYM
7873
7874 fi
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7876 $as_echo "$lt_cv_ld_force_load" >&6; }
7877     case $host_os in
7878     rhapsody* | darwin1.[012])
7879       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7880     darwin1.*)
7881       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7882     darwin*) # darwin 5.x on
7883       # if running on 10.5 or later, the deployment target defaults
7884       # to the OS version, if on x86, and 10.4, the deployment
7885       # target defaults to 10.4. Don't you love it?
7886       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7887         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7888           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7889         10.[012]*)
7890           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7891         10.*)
7892           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7893       esac
7894     ;;
7895   esac
7896     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7897       _lt_dar_single_mod='$single_module'
7898     fi
7899     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7900       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7901     else
7902       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7903     fi
7904     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7905       _lt_dsymutil='~$DSYMUTIL $lib || :'
7906     else
7907       _lt_dsymutil=
7908     fi
7909     ;;
7910   esac
7911
7912 ac_ext=c
7913 ac_cpp='$CPP $CPPFLAGS'
7914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7918 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7919 # On Suns, sometimes $CPP names a directory.
7920 if test -n "$CPP" && test -d "$CPP"; then
7921   CPP=
7922 fi
7923 if test -z "$CPP"; then
7924   if ${ac_cv_prog_CPP+:} false; then :
7925   $as_echo_n "(cached) " >&6
7926 else
7927       # Double quotes because CPP needs to be expanded
7928     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7929     do
7930       ac_preproc_ok=false
7931 for ac_c_preproc_warn_flag in '' yes
7932 do
7933   # Use a header file that comes with gcc, so configuring glibc
7934   # with a fresh cross-compiler works.
7935   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7936   # <limits.h> exists even on freestanding compilers.
7937   # On the NeXT, cc -E runs the code through the compiler's parser,
7938   # not just through cpp. "Syntax error" is here to catch this case.
7939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h.  */
7941 #ifdef __STDC__
7942 # include <limits.h>
7943 #else
7944 # include <assert.h>
7945 #endif
7946                      Syntax error
7947 _ACEOF
7948 if ac_fn_c_try_cpp "$LINENO"; then :
7949
7950 else
7951   # Broken: fails on valid input.
7952 continue
7953 fi
7954 rm -f conftest.err conftest.i conftest.$ac_ext
7955
7956   # OK, works on sane cases.  Now check whether nonexistent headers
7957   # can be detected and how.
7958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h.  */
7960 #include <ac_nonexistent.h>
7961 _ACEOF
7962 if ac_fn_c_try_cpp "$LINENO"; then :
7963   # Broken: success on invalid input.
7964 continue
7965 else
7966   # Passes both tests.
7967 ac_preproc_ok=:
7968 break
7969 fi
7970 rm -f conftest.err conftest.i conftest.$ac_ext
7971
7972 done
7973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7974 rm -f conftest.i conftest.err conftest.$ac_ext
7975 if $ac_preproc_ok; then :
7976   break
7977 fi
7978
7979     done
7980     ac_cv_prog_CPP=$CPP
7981
7982 fi
7983   CPP=$ac_cv_prog_CPP
7984 else
7985   ac_cv_prog_CPP=$CPP
7986 fi
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7988 $as_echo "$CPP" >&6; }
7989 ac_preproc_ok=false
7990 for ac_c_preproc_warn_flag in '' yes
7991 do
7992   # Use a header file that comes with gcc, so configuring glibc
7993   # with a fresh cross-compiler works.
7994   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7995   # <limits.h> exists even on freestanding compilers.
7996   # On the NeXT, cc -E runs the code through the compiler's parser,
7997   # not just through cpp. "Syntax error" is here to catch this case.
7998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h.  */
8000 #ifdef __STDC__
8001 # include <limits.h>
8002 #else
8003 # include <assert.h>
8004 #endif
8005                      Syntax error
8006 _ACEOF
8007 if ac_fn_c_try_cpp "$LINENO"; then :
8008
8009 else
8010   # Broken: fails on valid input.
8011 continue
8012 fi
8013 rm -f conftest.err conftest.i conftest.$ac_ext
8014
8015   # OK, works on sane cases.  Now check whether nonexistent headers
8016   # can be detected and how.
8017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8018 /* end confdefs.h.  */
8019 #include <ac_nonexistent.h>
8020 _ACEOF
8021 if ac_fn_c_try_cpp "$LINENO"; then :
8022   # Broken: success on invalid input.
8023 continue
8024 else
8025   # Passes both tests.
8026 ac_preproc_ok=:
8027 break
8028 fi
8029 rm -f conftest.err conftest.i conftest.$ac_ext
8030
8031 done
8032 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8033 rm -f conftest.i conftest.err conftest.$ac_ext
8034 if $ac_preproc_ok; then :
8035
8036 else
8037   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8039 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8040 See \`config.log' for more details" "$LINENO" 5; }
8041 fi
8042
8043 ac_ext=c
8044 ac_cpp='$CPP $CPPFLAGS'
8045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8048
8049
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8051 $as_echo_n "checking for ANSI C header files... " >&6; }
8052 if ${ac_cv_header_stdc+:} false; then :
8053   $as_echo_n "(cached) " >&6
8054 else
8055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h.  */
8057 #include <stdlib.h>
8058 #include <stdarg.h>
8059 #include <string.h>
8060 #include <float.h>
8061
8062 int
8063 main ()
8064 {
8065
8066   ;
8067   return 0;
8068 }
8069 _ACEOF
8070 if ac_fn_c_try_compile "$LINENO"; then :
8071   ac_cv_header_stdc=yes
8072 else
8073   ac_cv_header_stdc=no
8074 fi
8075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8076
8077 if test $ac_cv_header_stdc = yes; then
8078   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8080 /* end confdefs.h.  */
8081 #include <string.h>
8082
8083 _ACEOF
8084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8085   $EGREP "memchr" >/dev/null 2>&1; then :
8086
8087 else
8088   ac_cv_header_stdc=no
8089 fi
8090 rm -f conftest*
8091
8092 fi
8093
8094 if test $ac_cv_header_stdc = yes; then
8095   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8097 /* end confdefs.h.  */
8098 #include <stdlib.h>
8099
8100 _ACEOF
8101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8102   $EGREP "free" >/dev/null 2>&1; then :
8103
8104 else
8105   ac_cv_header_stdc=no
8106 fi
8107 rm -f conftest*
8108
8109 fi
8110
8111 if test $ac_cv_header_stdc = yes; then
8112   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8113   if test "$cross_compiling" = yes; then :
8114   :
8115 else
8116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8117 /* end confdefs.h.  */
8118 #include <ctype.h>
8119 #include <stdlib.h>
8120 #if ((' ' & 0x0FF) == 0x020)
8121 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8122 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8123 #else
8124 # define ISLOWER(c) \
8125                    (('a' <= (c) && (c) <= 'i') \
8126                      || ('j' <= (c) && (c) <= 'r') \
8127                      || ('s' <= (c) && (c) <= 'z'))
8128 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8129 #endif
8130
8131 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8132 int
8133 main ()
8134 {
8135   int i;
8136   for (i = 0; i < 256; i++)
8137     if (XOR (islower (i), ISLOWER (i))
8138         || toupper (i) != TOUPPER (i))
8139       return 2;
8140   return 0;
8141 }
8142 _ACEOF
8143 if ac_fn_c_try_run "$LINENO"; then :
8144
8145 else
8146   ac_cv_header_stdc=no
8147 fi
8148 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8149   conftest.$ac_objext conftest.beam conftest.$ac_ext
8150 fi
8151
8152 fi
8153 fi
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8155 $as_echo "$ac_cv_header_stdc" >&6; }
8156 if test $ac_cv_header_stdc = yes; then
8157
8158 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8159
8160 fi
8161
8162 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8163 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8164                   inttypes.h stdint.h unistd.h
8165 do :
8166   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8167 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8168 "
8169 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8170   cat >>confdefs.h <<_ACEOF
8171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8172 _ACEOF
8173
8174 fi
8175
8176 done
8177
8178
8179 for ac_header in dlfcn.h
8180 do :
8181   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8182 "
8183 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8184   cat >>confdefs.h <<_ACEOF
8185 #define HAVE_DLFCN_H 1
8186 _ACEOF
8187
8188 fi
8189
8190 done
8191
8192
8193
8194
8195 func_stripname_cnf ()
8196 {
8197   case ${2} in
8198   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8199   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8200   esac
8201 } # func_stripname_cnf
8202
8203
8204
8205
8206
8207 # Set options
8208 enable_win32_dll=yes
8209
8210 case $host in
8211 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8212   if test -n "$ac_tool_prefix"; then
8213   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8214 set dummy ${ac_tool_prefix}as; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if ${ac_cv_prog_AS+:} false; then :
8218   $as_echo_n "(cached) " >&6
8219 else
8220   if test -n "$AS"; then
8221   ac_cv_prog_AS="$AS" # Let the user override the test.
8222 else
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 for as_dir in $PATH
8225 do
8226   IFS=$as_save_IFS
8227   test -z "$as_dir" && as_dir=.
8228     for ac_exec_ext in '' $ac_executable_extensions; do
8229   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8230     ac_cv_prog_AS="${ac_tool_prefix}as"
8231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8232     break 2
8233   fi
8234 done
8235   done
8236 IFS=$as_save_IFS
8237
8238 fi
8239 fi
8240 AS=$ac_cv_prog_AS
8241 if test -n "$AS"; then
8242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8243 $as_echo "$AS" >&6; }
8244 else
8245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8247 fi
8248
8249
8250 fi
8251 if test -z "$ac_cv_prog_AS"; then
8252   ac_ct_AS=$AS
8253   # Extract the first word of "as", so it can be a program name with args.
8254 set dummy as; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8258   $as_echo_n "(cached) " >&6
8259 else
8260   if test -n "$ac_ct_AS"; then
8261   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8262 else
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264 for as_dir in $PATH
8265 do
8266   IFS=$as_save_IFS
8267   test -z "$as_dir" && as_dir=.
8268     for ac_exec_ext in '' $ac_executable_extensions; do
8269   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270     ac_cv_prog_ac_ct_AS="as"
8271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8272     break 2
8273   fi
8274 done
8275   done
8276 IFS=$as_save_IFS
8277
8278 fi
8279 fi
8280 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8281 if test -n "$ac_ct_AS"; then
8282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8283 $as_echo "$ac_ct_AS" >&6; }
8284 else
8285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8287 fi
8288
8289   if test "x$ac_ct_AS" = x; then
8290     AS="false"
8291   else
8292     case $cross_compiling:$ac_tool_warned in
8293 yes:)
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned=yes ;;
8297 esac
8298     AS=$ac_ct_AS
8299   fi
8300 else
8301   AS="$ac_cv_prog_AS"
8302 fi
8303
8304   if test -n "$ac_tool_prefix"; then
8305   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8306 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_prog_DLLTOOL+:} false; then :
8310   $as_echo_n "(cached) " >&6
8311 else
8312   if test -n "$DLLTOOL"; then
8313   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8314 else
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 for as_dir in $PATH
8317 do
8318   IFS=$as_save_IFS
8319   test -z "$as_dir" && as_dir=.
8320     for ac_exec_ext in '' $ac_executable_extensions; do
8321   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8324     break 2
8325   fi
8326 done
8327   done
8328 IFS=$as_save_IFS
8329
8330 fi
8331 fi
8332 DLLTOOL=$ac_cv_prog_DLLTOOL
8333 if test -n "$DLLTOOL"; then
8334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8335 $as_echo "$DLLTOOL" >&6; }
8336 else
8337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8339 fi
8340
8341
8342 fi
8343 if test -z "$ac_cv_prog_DLLTOOL"; then
8344   ac_ct_DLLTOOL=$DLLTOOL
8345   # Extract the first word of "dlltool", so it can be a program name with args.
8346 set dummy dlltool; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8350   $as_echo_n "(cached) " >&6
8351 else
8352   if test -n "$ac_ct_DLLTOOL"; then
8353   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8354 else
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 for as_dir in $PATH
8357 do
8358   IFS=$as_save_IFS
8359   test -z "$as_dir" && as_dir=.
8360     for ac_exec_ext in '' $ac_executable_extensions; do
8361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364     break 2
8365   fi
8366 done
8367   done
8368 IFS=$as_save_IFS
8369
8370 fi
8371 fi
8372 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8373 if test -n "$ac_ct_DLLTOOL"; then
8374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8375 $as_echo "$ac_ct_DLLTOOL" >&6; }
8376 else
8377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8379 fi
8380
8381   if test "x$ac_ct_DLLTOOL" = x; then
8382     DLLTOOL="false"
8383   else
8384     case $cross_compiling:$ac_tool_warned in
8385 yes:)
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned=yes ;;
8389 esac
8390     DLLTOOL=$ac_ct_DLLTOOL
8391   fi
8392 else
8393   DLLTOOL="$ac_cv_prog_DLLTOOL"
8394 fi
8395
8396   if test -n "$ac_tool_prefix"; then
8397   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8398 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8400 $as_echo_n "checking for $ac_word... " >&6; }
8401 if ${ac_cv_prog_OBJDUMP+:} false; then :
8402   $as_echo_n "(cached) " >&6
8403 else
8404   if test -n "$OBJDUMP"; then
8405   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8406 else
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8408 for as_dir in $PATH
8409 do
8410   IFS=$as_save_IFS
8411   test -z "$as_dir" && as_dir=.
8412     for ac_exec_ext in '' $ac_executable_extensions; do
8413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8414     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8416     break 2
8417   fi
8418 done
8419   done
8420 IFS=$as_save_IFS
8421
8422 fi
8423 fi
8424 OBJDUMP=$ac_cv_prog_OBJDUMP
8425 if test -n "$OBJDUMP"; then
8426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8427 $as_echo "$OBJDUMP" >&6; }
8428 else
8429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8431 fi
8432
8433
8434 fi
8435 if test -z "$ac_cv_prog_OBJDUMP"; then
8436   ac_ct_OBJDUMP=$OBJDUMP
8437   # Extract the first word of "objdump", so it can be a program name with args.
8438 set dummy objdump; ac_word=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8442   $as_echo_n "(cached) " >&6
8443 else
8444   if test -n "$ac_ct_OBJDUMP"; then
8445   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8446 else
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8448 for as_dir in $PATH
8449 do
8450   IFS=$as_save_IFS
8451   test -z "$as_dir" && as_dir=.
8452     for ac_exec_ext in '' $ac_executable_extensions; do
8453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8454     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8456     break 2
8457   fi
8458 done
8459   done
8460 IFS=$as_save_IFS
8461
8462 fi
8463 fi
8464 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8465 if test -n "$ac_ct_OBJDUMP"; then
8466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8467 $as_echo "$ac_ct_OBJDUMP" >&6; }
8468 else
8469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8471 fi
8472
8473   if test "x$ac_ct_OBJDUMP" = x; then
8474     OBJDUMP="false"
8475   else
8476     case $cross_compiling:$ac_tool_warned in
8477 yes:)
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8480 ac_tool_warned=yes ;;
8481 esac
8482     OBJDUMP=$ac_ct_OBJDUMP
8483   fi
8484 else
8485   OBJDUMP="$ac_cv_prog_OBJDUMP"
8486 fi
8487
8488   ;;
8489 esac
8490
8491 test -z "$AS" && AS=as
8492
8493
8494
8495
8496
8497 test -z "$DLLTOOL" && DLLTOOL=dlltool
8498
8499
8500
8501
8502
8503 test -z "$OBJDUMP" && OBJDUMP=objdump
8504
8505
8506
8507
8508
8509
8510
8511         enable_dlopen=no
8512
8513
8514
8515             # Check whether --enable-shared was given.
8516 if test "${enable_shared+set}" = set; then :
8517   enableval=$enable_shared; p=${PACKAGE-default}
8518     case $enableval in
8519     yes) enable_shared=yes ;;
8520     no) enable_shared=no ;;
8521     *)
8522       enable_shared=no
8523       # Look at the argument we got.  We use all the common list separators.
8524       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8525       for pkg in $enableval; do
8526         IFS="$lt_save_ifs"
8527         if test "X$pkg" = "X$p"; then
8528           enable_shared=yes
8529         fi
8530       done
8531       IFS="$lt_save_ifs"
8532       ;;
8533     esac
8534 else
8535   enable_shared=yes
8536 fi
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548 # Check whether --with-pic was given.
8549 if test "${with_pic+set}" = set; then :
8550   withval=$with_pic; lt_p=${PACKAGE-default}
8551     case $withval in
8552     yes|no) pic_mode=$withval ;;
8553     *)
8554       pic_mode=default
8555       # Look at the argument we got.  We use all the common list separators.
8556       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8557       for lt_pkg in $withval; do
8558         IFS="$lt_save_ifs"
8559         if test "X$lt_pkg" = "X$lt_p"; then
8560           pic_mode=yes
8561         fi
8562       done
8563       IFS="$lt_save_ifs"
8564       ;;
8565     esac
8566 else
8567   pic_mode=default
8568 fi
8569
8570
8571 test -z "$pic_mode" && pic_mode=default
8572
8573
8574
8575
8576
8577
8578
8579   # Check whether --enable-fast-install was given.
8580 if test "${enable_fast_install+set}" = set; then :
8581   enableval=$enable_fast_install; p=${PACKAGE-default}
8582     case $enableval in
8583     yes) enable_fast_install=yes ;;
8584     no) enable_fast_install=no ;;
8585     *)
8586       enable_fast_install=no
8587       # Look at the argument we got.  We use all the common list separators.
8588       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8589       for pkg in $enableval; do
8590         IFS="$lt_save_ifs"
8591         if test "X$pkg" = "X$p"; then
8592           enable_fast_install=yes
8593         fi
8594       done
8595       IFS="$lt_save_ifs"
8596       ;;
8597     esac
8598 else
8599   enable_fast_install=yes
8600 fi
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612 # This can be used to rebuild libtool when needed
8613 LIBTOOL_DEPS="$ltmain"
8614
8615 # Always use our own libtool.
8616 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647 test -z "$LN_S" && LN_S="ln -s"
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662 if test -n "${ZSH_VERSION+set}" ; then
8663    setopt NO_GLOB_SUBST
8664 fi
8665
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8667 $as_echo_n "checking for objdir... " >&6; }
8668 if ${lt_cv_objdir+:} false; then :
8669   $as_echo_n "(cached) " >&6
8670 else
8671   rm -f .libs 2>/dev/null
8672 mkdir .libs 2>/dev/null
8673 if test -d .libs; then
8674   lt_cv_objdir=.libs
8675 else
8676   # MS-DOS does not allow filenames that begin with a dot.
8677   lt_cv_objdir=_libs
8678 fi
8679 rmdir .libs 2>/dev/null
8680 fi
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8682 $as_echo "$lt_cv_objdir" >&6; }
8683 objdir=$lt_cv_objdir
8684
8685
8686
8687
8688
8689 cat >>confdefs.h <<_ACEOF
8690 #define LT_OBJDIR "$lt_cv_objdir/"
8691 _ACEOF
8692
8693
8694
8695
8696 case $host_os in
8697 aix3*)
8698   # AIX sometimes has problems with the GCC collect2 program.  For some
8699   # reason, if we set the COLLECT_NAMES environment variable, the problems
8700   # vanish in a puff of smoke.
8701   if test "X${COLLECT_NAMES+set}" != Xset; then
8702     COLLECT_NAMES=
8703     export COLLECT_NAMES
8704   fi
8705   ;;
8706 esac
8707
8708 # Global variables:
8709 ofile=libtool
8710 can_build_shared=yes
8711
8712 # All known linkers require a `.a' archive for static linking (except MSVC,
8713 # which needs '.lib').
8714 libext=a
8715
8716 with_gnu_ld="$lt_cv_prog_gnu_ld"
8717
8718 old_CC="$CC"
8719 old_CFLAGS="$CFLAGS"
8720
8721 # Set sane defaults for various variables
8722 test -z "$CC" && CC=cc
8723 test -z "$LTCC" && LTCC=$CC
8724 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8725 test -z "$LD" && LD=ld
8726 test -z "$ac_objext" && ac_objext=o
8727
8728 for cc_temp in $compiler""; do
8729   case $cc_temp in
8730     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8731     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8732     \-*) ;;
8733     *) break;;
8734   esac
8735 done
8736 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8737
8738
8739 # Only perform the check for file, if the check method requires it
8740 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8741 case $deplibs_check_method in
8742 file_magic*)
8743   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8744     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8745 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8746 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8747   $as_echo_n "(cached) " >&6
8748 else
8749   case $MAGIC_CMD in
8750 [\\/*] |  ?:[\\/]*)
8751   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8752   ;;
8753 *)
8754   lt_save_MAGIC_CMD="$MAGIC_CMD"
8755   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8756   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8757   for ac_dir in $ac_dummy; do
8758     IFS="$lt_save_ifs"
8759     test -z "$ac_dir" && ac_dir=.
8760     if test -f $ac_dir/${ac_tool_prefix}file; then
8761       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8762       if test -n "$file_magic_test_file"; then
8763         case $deplibs_check_method in
8764         "file_magic "*)
8765           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8766           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8767           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8768             $EGREP "$file_magic_regex" > /dev/null; then
8769             :
8770           else
8771             cat <<_LT_EOF 1>&2
8772
8773 *** Warning: the command libtool uses to detect shared libraries,
8774 *** $file_magic_cmd, produces output that libtool cannot recognize.
8775 *** The result is that libtool may fail to recognize shared libraries
8776 *** as such.  This will affect the creation of libtool libraries that
8777 *** depend on shared libraries, but programs linked with such libtool
8778 *** libraries will work regardless of this problem.  Nevertheless, you
8779 *** may want to report the problem to your system manager and/or to
8780 *** bug-libtool@gnu.org
8781
8782 _LT_EOF
8783           fi ;;
8784         esac
8785       fi
8786       break
8787     fi
8788   done
8789   IFS="$lt_save_ifs"
8790   MAGIC_CMD="$lt_save_MAGIC_CMD"
8791   ;;
8792 esac
8793 fi
8794
8795 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8796 if test -n "$MAGIC_CMD"; then
8797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8798 $as_echo "$MAGIC_CMD" >&6; }
8799 else
8800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8801 $as_echo "no" >&6; }
8802 fi
8803
8804
8805
8806
8807
8808 if test -z "$lt_cv_path_MAGIC_CMD"; then
8809   if test -n "$ac_tool_prefix"; then
8810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8811 $as_echo_n "checking for file... " >&6; }
8812 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8813   $as_echo_n "(cached) " >&6
8814 else
8815   case $MAGIC_CMD in
8816 [\\/*] |  ?:[\\/]*)
8817   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8818   ;;
8819 *)
8820   lt_save_MAGIC_CMD="$MAGIC_CMD"
8821   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8822   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8823   for ac_dir in $ac_dummy; do
8824     IFS="$lt_save_ifs"
8825     test -z "$ac_dir" && ac_dir=.
8826     if test -f $ac_dir/file; then
8827       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8828       if test -n "$file_magic_test_file"; then
8829         case $deplibs_check_method in
8830         "file_magic "*)
8831           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8832           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8833           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8834             $EGREP "$file_magic_regex" > /dev/null; then
8835             :
8836           else
8837             cat <<_LT_EOF 1>&2
8838
8839 *** Warning: the command libtool uses to detect shared libraries,
8840 *** $file_magic_cmd, produces output that libtool cannot recognize.
8841 *** The result is that libtool may fail to recognize shared libraries
8842 *** as such.  This will affect the creation of libtool libraries that
8843 *** depend on shared libraries, but programs linked with such libtool
8844 *** libraries will work regardless of this problem.  Nevertheless, you
8845 *** may want to report the problem to your system manager and/or to
8846 *** bug-libtool@gnu.org
8847
8848 _LT_EOF
8849           fi ;;
8850         esac
8851       fi
8852       break
8853     fi
8854   done
8855   IFS="$lt_save_ifs"
8856   MAGIC_CMD="$lt_save_MAGIC_CMD"
8857   ;;
8858 esac
8859 fi
8860
8861 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8862 if test -n "$MAGIC_CMD"; then
8863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8864 $as_echo "$MAGIC_CMD" >&6; }
8865 else
8866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8867 $as_echo "no" >&6; }
8868 fi
8869
8870
8871   else
8872     MAGIC_CMD=:
8873   fi
8874 fi
8875
8876   fi
8877   ;;
8878 esac
8879
8880 # Use C for the default configuration in the libtool script
8881
8882 lt_save_CC="$CC"
8883 ac_ext=c
8884 ac_cpp='$CPP $CPPFLAGS'
8885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8888
8889
8890 # Source file extension for C test sources.
8891 ac_ext=c
8892
8893 # Object file extension for compiled C test sources.
8894 objext=o
8895 objext=$objext
8896
8897 # Code to be used in simple compile tests
8898 lt_simple_compile_test_code="int some_variable = 0;"
8899
8900 # Code to be used in simple link tests
8901 lt_simple_link_test_code='int main(){return(0);}'
8902
8903
8904
8905
8906
8907
8908
8909 # If no C compiler was specified, use CC.
8910 LTCC=${LTCC-"$CC"}
8911
8912 # If no C compiler flags were specified, use CFLAGS.
8913 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8914
8915 # Allow CC to be a program name with arguments.
8916 compiler=$CC
8917
8918 # Save the default compiler, since it gets overwritten when the other
8919 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8920 compiler_DEFAULT=$CC
8921
8922 # save warnings/boilerplate of simple test code
8923 ac_outfile=conftest.$ac_objext
8924 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8925 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8926 _lt_compiler_boilerplate=`cat conftest.err`
8927 $RM conftest*
8928
8929 ac_outfile=conftest.$ac_objext
8930 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8931 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8932 _lt_linker_boilerplate=`cat conftest.err`
8933 $RM -r conftest*
8934
8935
8936 ## CAVEAT EMPTOR:
8937 ## There is no encapsulation within the following macros, do not change
8938 ## the running order or otherwise move them around unless you know exactly
8939 ## what you are doing...
8940 if test -n "$compiler"; then
8941
8942 lt_prog_compiler_no_builtin_flag=
8943
8944 if test "$GCC" = yes; then
8945   case $cc_basename in
8946   nvcc*)
8947     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8948   *)
8949     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8950   esac
8951
8952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8953 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8954 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8955   $as_echo_n "(cached) " >&6
8956 else
8957   lt_cv_prog_compiler_rtti_exceptions=no
8958    ac_outfile=conftest.$ac_objext
8959    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8960    lt_compiler_flag="-fno-rtti -fno-exceptions"
8961    # Insert the option either (1) after the last *FLAGS variable, or
8962    # (2) before a word containing "conftest.", or (3) at the end.
8963    # Note that $ac_compile itself does not contain backslashes and begins
8964    # with a dollar sign (not a hyphen), so the echo should work correctly.
8965    # The option is referenced via a variable to avoid confusing sed.
8966    lt_compile=`echo "$ac_compile" | $SED \
8967    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8968    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8969    -e 's:$: $lt_compiler_flag:'`
8970    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8971    (eval "$lt_compile" 2>conftest.err)
8972    ac_status=$?
8973    cat conftest.err >&5
8974    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975    if (exit $ac_status) && test -s "$ac_outfile"; then
8976      # The compiler can only warn and ignore the option if not recognized
8977      # So say no if there are warnings other than the usual output.
8978      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8979      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8980      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8981        lt_cv_prog_compiler_rtti_exceptions=yes
8982      fi
8983    fi
8984    $RM conftest*
8985
8986 fi
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8988 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8989
8990 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8991     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8992 else
8993     :
8994 fi
8995
8996 fi
8997
8998
8999
9000
9001
9002
9003   lt_prog_compiler_wl=
9004 lt_prog_compiler_pic=
9005 lt_prog_compiler_static=
9006
9007
9008   if test "$GCC" = yes; then
9009     lt_prog_compiler_wl='-Wl,'
9010     lt_prog_compiler_static='-static'
9011
9012     case $host_os in
9013       aix*)
9014       # All AIX code is PIC.
9015       if test "$host_cpu" = ia64; then
9016         # AIX 5 now supports IA64 processor
9017         lt_prog_compiler_static='-Bstatic'
9018       fi
9019       ;;
9020
9021     amigaos*)
9022       case $host_cpu in
9023       powerpc)
9024             # see comment about AmigaOS4 .so support
9025             lt_prog_compiler_pic='-fPIC'
9026         ;;
9027       m68k)
9028             # FIXME: we need at least 68020 code to build shared libraries, but
9029             # adding the `-m68020' flag to GCC prevents building anything better,
9030             # like `-m68040'.
9031             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9032         ;;
9033       esac
9034       ;;
9035
9036     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9037       # PIC is the default for these OSes.
9038       ;;
9039
9040     mingw* | cygwin* | pw32* | os2* | cegcc*)
9041       # This hack is so that the source file can tell whether it is being
9042       # built for inclusion in a dll (and should export symbols for example).
9043       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9044       # (--disable-auto-import) libraries
9045       lt_prog_compiler_pic='-DDLL_EXPORT'
9046       ;;
9047
9048     darwin* | rhapsody*)
9049       # PIC is the default on this platform
9050       # Common symbols not allowed in MH_DYLIB files
9051       lt_prog_compiler_pic='-fno-common'
9052       ;;
9053
9054     haiku*)
9055       # PIC is the default for Haiku.
9056       # The "-static" flag exists, but is broken.
9057       lt_prog_compiler_static=
9058       ;;
9059
9060     hpux*)
9061       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9062       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9063       # sets the default TLS model and affects inlining.
9064       case $host_cpu in
9065       hppa*64*)
9066         # +Z the default
9067         ;;
9068       *)
9069         lt_prog_compiler_pic='-fPIC'
9070         ;;
9071       esac
9072       ;;
9073
9074     interix[3-9]*)
9075       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9076       # Instead, we relocate shared libraries at runtime.
9077       ;;
9078
9079     msdosdjgpp*)
9080       # Just because we use GCC doesn't mean we suddenly get shared libraries
9081       # on systems that don't support them.
9082       lt_prog_compiler_can_build_shared=no
9083       enable_shared=no
9084       ;;
9085
9086     *nto* | *qnx*)
9087       # QNX uses GNU C++, but need to define -shared option too, otherwise
9088       # it will coredump.
9089       lt_prog_compiler_pic='-fPIC -shared'
9090       ;;
9091
9092     sysv4*MP*)
9093       if test -d /usr/nec; then
9094         lt_prog_compiler_pic=-Kconform_pic
9095       fi
9096       ;;
9097
9098     *)
9099       lt_prog_compiler_pic='-fPIC'
9100       ;;
9101     esac
9102
9103     case $cc_basename in
9104     nvcc*) # Cuda Compiler Driver 2.2
9105       lt_prog_compiler_wl='-Xlinker '
9106       if test -n "$lt_prog_compiler_pic"; then
9107         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9108       fi
9109       ;;
9110     esac
9111   else
9112     # PORTME Check for flag to pass linker flags through the system compiler.
9113     case $host_os in
9114     aix*)
9115       lt_prog_compiler_wl='-Wl,'
9116       if test "$host_cpu" = ia64; then
9117         # AIX 5 now supports IA64 processor
9118         lt_prog_compiler_static='-Bstatic'
9119       else
9120         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9121       fi
9122       ;;
9123
9124     mingw* | cygwin* | pw32* | os2* | cegcc*)
9125       # This hack is so that the source file can tell whether it is being
9126       # built for inclusion in a dll (and should export symbols for example).
9127       lt_prog_compiler_pic='-DDLL_EXPORT'
9128       ;;
9129
9130     hpux9* | hpux10* | hpux11*)
9131       lt_prog_compiler_wl='-Wl,'
9132       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9133       # not for PA HP-UX.
9134       case $host_cpu in
9135       hppa*64*|ia64*)
9136         # +Z the default
9137         ;;
9138       *)
9139         lt_prog_compiler_pic='+Z'
9140         ;;
9141       esac
9142       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9143       lt_prog_compiler_static='${wl}-a ${wl}archive'
9144       ;;
9145
9146     irix5* | irix6* | nonstopux*)
9147       lt_prog_compiler_wl='-Wl,'
9148       # PIC (with -KPIC) is the default.
9149       lt_prog_compiler_static='-non_shared'
9150       ;;
9151
9152     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9153       case $cc_basename in
9154       # old Intel for x86_64 which still supported -KPIC.
9155       ecc*)
9156         lt_prog_compiler_wl='-Wl,'
9157         lt_prog_compiler_pic='-KPIC'
9158         lt_prog_compiler_static='-static'
9159         ;;
9160       # icc used to be incompatible with GCC.
9161       # ICC 10 doesn't accept -KPIC any more.
9162       icc* | ifort*)
9163         lt_prog_compiler_wl='-Wl,'
9164         lt_prog_compiler_pic='-fPIC'
9165         lt_prog_compiler_static='-static'
9166         ;;
9167       # Lahey Fortran 8.1.
9168       lf95*)
9169         lt_prog_compiler_wl='-Wl,'
9170         lt_prog_compiler_pic='--shared'
9171         lt_prog_compiler_static='--static'
9172         ;;
9173       nagfor*)
9174         # NAG Fortran compiler
9175         lt_prog_compiler_wl='-Wl,-Wl,,'
9176         lt_prog_compiler_pic='-PIC'
9177         lt_prog_compiler_static='-Bstatic'
9178         ;;
9179       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9180         # Portland Group compilers (*not* the Pentium gcc compiler,
9181         # which looks to be a dead project)
9182         lt_prog_compiler_wl='-Wl,'
9183         lt_prog_compiler_pic='-fpic'
9184         lt_prog_compiler_static='-Bstatic'
9185         ;;
9186       ccc*)
9187         lt_prog_compiler_wl='-Wl,'
9188         # All Alpha code is PIC.
9189         lt_prog_compiler_static='-non_shared'
9190         ;;
9191       xl* | bgxl* | bgf* | mpixl*)
9192         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9193         lt_prog_compiler_wl='-Wl,'
9194         lt_prog_compiler_pic='-qpic'
9195         lt_prog_compiler_static='-qstaticlink'
9196         ;;
9197       *)
9198         case `$CC -V 2>&1 | sed 5q` in
9199         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9200           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9201           lt_prog_compiler_pic='-KPIC'
9202           lt_prog_compiler_static='-Bstatic'
9203           lt_prog_compiler_wl=''
9204           ;;
9205         *Sun\ F* | *Sun*Fortran*)
9206           lt_prog_compiler_pic='-KPIC'
9207           lt_prog_compiler_static='-Bstatic'
9208           lt_prog_compiler_wl='-Qoption ld '
9209           ;;
9210         *Sun\ C*)
9211           # Sun C 5.9
9212           lt_prog_compiler_pic='-KPIC'
9213           lt_prog_compiler_static='-Bstatic'
9214           lt_prog_compiler_wl='-Wl,'
9215           ;;
9216         *Intel*\ [CF]*Compiler*)
9217           lt_prog_compiler_wl='-Wl,'
9218           lt_prog_compiler_pic='-fPIC'
9219           lt_prog_compiler_static='-static'
9220           ;;
9221         *Portland\ Group*)
9222           lt_prog_compiler_wl='-Wl,'
9223           lt_prog_compiler_pic='-fpic'
9224           lt_prog_compiler_static='-Bstatic'
9225           ;;
9226         esac
9227         ;;
9228       esac
9229       ;;
9230
9231     newsos6)
9232       lt_prog_compiler_pic='-KPIC'
9233       lt_prog_compiler_static='-Bstatic'
9234       ;;
9235
9236     *nto* | *qnx*)
9237       # QNX uses GNU C++, but need to define -shared option too, otherwise
9238       # it will coredump.
9239       lt_prog_compiler_pic='-fPIC -shared'
9240       ;;
9241
9242     osf3* | osf4* | osf5*)
9243       lt_prog_compiler_wl='-Wl,'
9244       # All OSF/1 code is PIC.
9245       lt_prog_compiler_static='-non_shared'
9246       ;;
9247
9248     rdos*)
9249       lt_prog_compiler_static='-non_shared'
9250       ;;
9251
9252     solaris*)
9253       lt_prog_compiler_pic='-KPIC'
9254       lt_prog_compiler_static='-Bstatic'
9255       case $cc_basename in
9256       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9257         lt_prog_compiler_wl='-Qoption ld ';;
9258       *)
9259         lt_prog_compiler_wl='-Wl,';;
9260       esac
9261       ;;
9262
9263     sunos4*)
9264       lt_prog_compiler_wl='-Qoption ld '
9265       lt_prog_compiler_pic='-PIC'
9266       lt_prog_compiler_static='-Bstatic'
9267       ;;
9268
9269     sysv4 | sysv4.2uw2* | sysv4.3*)
9270       lt_prog_compiler_wl='-Wl,'
9271       lt_prog_compiler_pic='-KPIC'
9272       lt_prog_compiler_static='-Bstatic'
9273       ;;
9274
9275     sysv4*MP*)
9276       if test -d /usr/nec ;then
9277         lt_prog_compiler_pic='-Kconform_pic'
9278         lt_prog_compiler_static='-Bstatic'
9279       fi
9280       ;;
9281
9282     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9283       lt_prog_compiler_wl='-Wl,'
9284       lt_prog_compiler_pic='-KPIC'
9285       lt_prog_compiler_static='-Bstatic'
9286       ;;
9287
9288     unicos*)
9289       lt_prog_compiler_wl='-Wl,'
9290       lt_prog_compiler_can_build_shared=no
9291       ;;
9292
9293     uts4*)
9294       lt_prog_compiler_pic='-pic'
9295       lt_prog_compiler_static='-Bstatic'
9296       ;;
9297
9298     *)
9299       lt_prog_compiler_can_build_shared=no
9300       ;;
9301     esac
9302   fi
9303
9304 case $host_os in
9305   # For platforms which do not support PIC, -DPIC is meaningless:
9306   *djgpp*)
9307     lt_prog_compiler_pic=
9308     ;;
9309   *)
9310     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9311     ;;
9312 esac
9313
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9315 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9316 if ${lt_cv_prog_compiler_pic+:} false; then :
9317   $as_echo_n "(cached) " >&6
9318 else
9319   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9320 fi
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9322 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9323 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9324
9325 #
9326 # Check to make sure the PIC flag actually works.
9327 #
9328 if test -n "$lt_prog_compiler_pic"; then
9329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9330 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9331 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9332   $as_echo_n "(cached) " >&6
9333 else
9334   lt_cv_prog_compiler_pic_works=no
9335    ac_outfile=conftest.$ac_objext
9336    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9337    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9338    # Insert the option either (1) after the last *FLAGS variable, or
9339    # (2) before a word containing "conftest.", or (3) at the end.
9340    # Note that $ac_compile itself does not contain backslashes and begins
9341    # with a dollar sign (not a hyphen), so the echo should work correctly.
9342    # The option is referenced via a variable to avoid confusing sed.
9343    lt_compile=`echo "$ac_compile" | $SED \
9344    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9345    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9346    -e 's:$: $lt_compiler_flag:'`
9347    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9348    (eval "$lt_compile" 2>conftest.err)
9349    ac_status=$?
9350    cat conftest.err >&5
9351    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352    if (exit $ac_status) && test -s "$ac_outfile"; then
9353      # The compiler can only warn and ignore the option if not recognized
9354      # So say no if there are warnings other than the usual output.
9355      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9356      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9357      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9358        lt_cv_prog_compiler_pic_works=yes
9359      fi
9360    fi
9361    $RM conftest*
9362
9363 fi
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9365 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9366
9367 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9368     case $lt_prog_compiler_pic in
9369      "" | " "*) ;;
9370      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9371      esac
9372 else
9373     lt_prog_compiler_pic=
9374      lt_prog_compiler_can_build_shared=no
9375 fi
9376
9377 fi
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389 #
9390 # Check to make sure the static flag actually works.
9391 #
9392 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9394 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9395 if ${lt_cv_prog_compiler_static_works+:} false; then :
9396   $as_echo_n "(cached) " >&6
9397 else
9398   lt_cv_prog_compiler_static_works=no
9399    save_LDFLAGS="$LDFLAGS"
9400    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9401    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9402    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9403      # The linker can only warn and ignore the option if not recognized
9404      # So say no if there are warnings
9405      if test -s conftest.err; then
9406        # Append any errors to the config.log.
9407        cat conftest.err 1>&5
9408        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9409        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9410        if diff conftest.exp conftest.er2 >/dev/null; then
9411          lt_cv_prog_compiler_static_works=yes
9412        fi
9413      else
9414        lt_cv_prog_compiler_static_works=yes
9415      fi
9416    fi
9417    $RM -r conftest*
9418    LDFLAGS="$save_LDFLAGS"
9419
9420 fi
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9422 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9423
9424 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9425     :
9426 else
9427     lt_prog_compiler_static=
9428 fi
9429
9430
9431
9432
9433
9434
9435
9436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9437 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9438 if ${lt_cv_prog_compiler_c_o+:} false; then :
9439   $as_echo_n "(cached) " >&6
9440 else
9441   lt_cv_prog_compiler_c_o=no
9442    $RM -r conftest 2>/dev/null
9443    mkdir conftest
9444    cd conftest
9445    mkdir out
9446    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9447
9448    lt_compiler_flag="-o out/conftest2.$ac_objext"
9449    # Insert the option either (1) after the last *FLAGS variable, or
9450    # (2) before a word containing "conftest.", or (3) at the end.
9451    # Note that $ac_compile itself does not contain backslashes and begins
9452    # with a dollar sign (not a hyphen), so the echo should work correctly.
9453    lt_compile=`echo "$ac_compile" | $SED \
9454    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9455    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9456    -e 's:$: $lt_compiler_flag:'`
9457    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9458    (eval "$lt_compile" 2>out/conftest.err)
9459    ac_status=$?
9460    cat out/conftest.err >&5
9461    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9463    then
9464      # The compiler can only warn and ignore the option if not recognized
9465      # So say no if there are warnings
9466      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9467      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9468      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9469        lt_cv_prog_compiler_c_o=yes
9470      fi
9471    fi
9472    chmod u+w . 2>&5
9473    $RM conftest*
9474    # SGI C++ compiler will create directory out/ii_files/ for
9475    # template instantiation
9476    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9477    $RM out/* && rmdir out
9478    cd ..
9479    $RM -r conftest
9480    $RM conftest*
9481
9482 fi
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9484 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9485
9486
9487
9488
9489
9490
9491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9492 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9493 if ${lt_cv_prog_compiler_c_o+:} false; then :
9494   $as_echo_n "(cached) " >&6
9495 else
9496   lt_cv_prog_compiler_c_o=no
9497    $RM -r conftest 2>/dev/null
9498    mkdir conftest
9499    cd conftest
9500    mkdir out
9501    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9502
9503    lt_compiler_flag="-o out/conftest2.$ac_objext"
9504    # Insert the option either (1) after the last *FLAGS variable, or
9505    # (2) before a word containing "conftest.", or (3) at the end.
9506    # Note that $ac_compile itself does not contain backslashes and begins
9507    # with a dollar sign (not a hyphen), so the echo should work correctly.
9508    lt_compile=`echo "$ac_compile" | $SED \
9509    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9510    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9511    -e 's:$: $lt_compiler_flag:'`
9512    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9513    (eval "$lt_compile" 2>out/conftest.err)
9514    ac_status=$?
9515    cat out/conftest.err >&5
9516    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9518    then
9519      # The compiler can only warn and ignore the option if not recognized
9520      # So say no if there are warnings
9521      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9522      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9523      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9524        lt_cv_prog_compiler_c_o=yes
9525      fi
9526    fi
9527    chmod u+w . 2>&5
9528    $RM conftest*
9529    # SGI C++ compiler will create directory out/ii_files/ for
9530    # template instantiation
9531    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9532    $RM out/* && rmdir out
9533    cd ..
9534    $RM -r conftest
9535    $RM conftest*
9536
9537 fi
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9539 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9540
9541
9542
9543
9544 hard_links="nottested"
9545 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9546   # do not overwrite the value of need_locks provided by the user
9547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9548 $as_echo_n "checking if we can lock with hard links... " >&6; }
9549   hard_links=yes
9550   $RM conftest*
9551   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9552   touch conftest.a
9553   ln conftest.a conftest.b 2>&5 || hard_links=no
9554   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9556 $as_echo "$hard_links" >&6; }
9557   if test "$hard_links" = no; then
9558     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9559 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9560     need_locks=warn
9561   fi
9562 else
9563   need_locks=no
9564 fi
9565
9566
9567
9568
9569
9570
9571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9572 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9573
9574   runpath_var=
9575   allow_undefined_flag=
9576   always_export_symbols=no
9577   archive_cmds=
9578   archive_expsym_cmds=
9579   compiler_needs_object=no
9580   enable_shared_with_static_runtimes=no
9581   export_dynamic_flag_spec=
9582   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9583   hardcode_automatic=no
9584   hardcode_direct=no
9585   hardcode_direct_absolute=no
9586   hardcode_libdir_flag_spec=
9587   hardcode_libdir_separator=
9588   hardcode_minus_L=no
9589   hardcode_shlibpath_var=unsupported
9590   inherit_rpath=no
9591   link_all_deplibs=unknown
9592   module_cmds=
9593   module_expsym_cmds=
9594   old_archive_from_new_cmds=
9595   old_archive_from_expsyms_cmds=
9596   thread_safe_flag_spec=
9597   whole_archive_flag_spec=
9598   # include_expsyms should be a list of space-separated symbols to be *always*
9599   # included in the symbol list
9600   include_expsyms=
9601   # exclude_expsyms can be an extended regexp of symbols to exclude
9602   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9603   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9604   # as well as any symbol that contains `d'.
9605   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9606   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9607   # platforms (ab)use it in PIC code, but their linkers get confused if
9608   # the symbol is explicitly referenced.  Since portable code cannot
9609   # rely on this symbol name, it's probably fine to never include it in
9610   # preloaded symbol tables.
9611   # Exclude shared library initialization/finalization symbols.
9612   extract_expsyms_cmds=
9613
9614   case $host_os in
9615   cygwin* | mingw* | pw32* | cegcc*)
9616     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9617     # When not using gcc, we currently assume that we are using
9618     # Microsoft Visual C++.
9619     if test "$GCC" != yes; then
9620       with_gnu_ld=no
9621     fi
9622     ;;
9623   interix*)
9624     # we just hope/assume this is gcc and not c89 (= MSVC++)
9625     with_gnu_ld=yes
9626     ;;
9627   openbsd*)
9628     with_gnu_ld=no
9629     ;;
9630   linux* | k*bsd*-gnu | gnu*)
9631     link_all_deplibs=no
9632     ;;
9633   esac
9634
9635   ld_shlibs=yes
9636
9637   # On some targets, GNU ld is compatible enough with the native linker
9638   # that we're better off using the native interface for both.
9639   lt_use_gnu_ld_interface=no
9640   if test "$with_gnu_ld" = yes; then
9641     case $host_os in
9642       aix*)
9643         # The AIX port of GNU ld has always aspired to compatibility
9644         # with the native linker.  However, as the warning in the GNU ld
9645         # block says, versions before 2.19.5* couldn't really create working
9646         # shared libraries, regardless of the interface used.
9647         case `$LD -v 2>&1` in
9648           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9649           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9650           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9651           *)
9652             lt_use_gnu_ld_interface=yes
9653             ;;
9654         esac
9655         ;;
9656       *)
9657         lt_use_gnu_ld_interface=yes
9658         ;;
9659     esac
9660   fi
9661
9662   if test "$lt_use_gnu_ld_interface" = yes; then
9663     # If archive_cmds runs LD, not CC, wlarc should be empty
9664     wlarc='${wl}'
9665
9666     # Set some defaults for GNU ld with shared library support. These
9667     # are reset later if shared libraries are not supported. Putting them
9668     # here allows them to be overridden if necessary.
9669     runpath_var=LD_RUN_PATH
9670     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9671     export_dynamic_flag_spec='${wl}--export-dynamic'
9672     # ancient GNU ld didn't support --whole-archive et. al.
9673     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9674       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9675     else
9676       whole_archive_flag_spec=
9677     fi
9678     supports_anon_versioning=no
9679     case `$LD -v 2>&1` in
9680       *GNU\ gold*) supports_anon_versioning=yes ;;
9681       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9682       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9683       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9684       *\ 2.11.*) ;; # other 2.11 versions
9685       *) supports_anon_versioning=yes ;;
9686     esac
9687
9688     # See if GNU ld supports shared libraries.
9689     case $host_os in
9690     aix[3-9]*)
9691       # On AIX/PPC, the GNU linker is very broken
9692       if test "$host_cpu" != ia64; then
9693         ld_shlibs=no
9694         cat <<_LT_EOF 1>&2
9695
9696 *** Warning: the GNU linker, at least up to release 2.19, is reported
9697 *** to be unable to reliably create shared libraries on AIX.
9698 *** Therefore, libtool is disabling shared libraries support.  If you
9699 *** really care for shared libraries, you may want to install binutils
9700 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9701 *** You will then need to restart the configuration process.
9702
9703 _LT_EOF
9704       fi
9705       ;;
9706
9707     amigaos*)
9708       case $host_cpu in
9709       powerpc)
9710             # see comment about AmigaOS4 .so support
9711             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9712             archive_expsym_cmds=''
9713         ;;
9714       m68k)
9715             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)'
9716             hardcode_libdir_flag_spec='-L$libdir'
9717             hardcode_minus_L=yes
9718         ;;
9719       esac
9720       ;;
9721
9722     beos*)
9723       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9724         allow_undefined_flag=unsupported
9725         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9726         # support --undefined.  This deserves some investigation.  FIXME
9727         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9728       else
9729         ld_shlibs=no
9730       fi
9731       ;;
9732
9733     cygwin* | mingw* | pw32* | cegcc*)
9734       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9735       # as there is no search path for DLLs.
9736       hardcode_libdir_flag_spec='-L$libdir'
9737       export_dynamic_flag_spec='${wl}--export-all-symbols'
9738       allow_undefined_flag=unsupported
9739       always_export_symbols=no
9740       enable_shared_with_static_runtimes=yes
9741       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'
9742       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9743
9744       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9745         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9746         # If the export-symbols file already is a .def file (1st line
9747         # is EXPORTS), use it as is; otherwise, prepend...
9748         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9749           cp $export_symbols $output_objdir/$soname.def;
9750         else
9751           echo EXPORTS > $output_objdir/$soname.def;
9752           cat $export_symbols >> $output_objdir/$soname.def;
9753         fi~
9754         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9755       else
9756         ld_shlibs=no
9757       fi
9758       ;;
9759
9760     haiku*)
9761       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9762       link_all_deplibs=yes
9763       ;;
9764
9765     interix[3-9]*)
9766       hardcode_direct=no
9767       hardcode_shlibpath_var=no
9768       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9769       export_dynamic_flag_spec='${wl}-E'
9770       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9771       # Instead, shared libraries are loaded at an image base (0x10000000 by
9772       # default) and relocated if they conflict, which is a slow very memory
9773       # consuming and fragmenting process.  To avoid this, we pick a random,
9774       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9775       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9776       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9777       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'
9778       ;;
9779
9780     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9781       tmp_diet=no
9782       if test "$host_os" = linux-dietlibc; then
9783         case $cc_basename in
9784           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9785         esac
9786       fi
9787       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9788          && test "$tmp_diet" = no
9789       then
9790         tmp_addflag=' $pic_flag'
9791         tmp_sharedflag='-shared'
9792         case $cc_basename,$host_cpu in
9793         pgcc*)                          # Portland Group C compiler
9794           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'
9795           tmp_addflag=' $pic_flag'
9796           ;;
9797         pgf77* | pgf90* | pgf95* | pgfortran*)
9798                                         # Portland Group f77 and f90 compilers
9799           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'
9800           tmp_addflag=' $pic_flag -Mnomain' ;;
9801         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9802           tmp_addflag=' -i_dynamic' ;;
9803         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9804           tmp_addflag=' -i_dynamic -nofor_main' ;;
9805         ifc* | ifort*)                  # Intel Fortran compiler
9806           tmp_addflag=' -nofor_main' ;;
9807         lf95*)                          # Lahey Fortran 8.1
9808           whole_archive_flag_spec=
9809           tmp_sharedflag='--shared' ;;
9810         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9811           tmp_sharedflag='-qmkshrobj'
9812           tmp_addflag= ;;
9813         nvcc*)  # Cuda Compiler Driver 2.2
9814           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'
9815           compiler_needs_object=yes
9816           ;;
9817         esac
9818         case `$CC -V 2>&1 | sed 5q` in
9819         *Sun\ C*)                       # Sun C 5.9
9820           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'
9821           compiler_needs_object=yes
9822           tmp_sharedflag='-G' ;;
9823         *Sun\ F*)                       # Sun Fortran 8.3
9824           tmp_sharedflag='-G' ;;
9825         esac
9826         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9827
9828         if test "x$supports_anon_versioning" = xyes; then
9829           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9830             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9831             echo "local: *; };" >> $output_objdir/$libname.ver~
9832             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9833         fi
9834
9835         case $cc_basename in
9836         xlf* | bgf* | bgxlf* | mpixlf*)
9837           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9838           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9839           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9840           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9841           if test "x$supports_anon_versioning" = xyes; then
9842             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9843               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9844               echo "local: *; };" >> $output_objdir/$libname.ver~
9845               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9846           fi
9847           ;;
9848         esac
9849       else
9850         ld_shlibs=no
9851       fi
9852       ;;
9853
9854     netbsd* | netbsdelf*-gnu)
9855       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9856         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9857         wlarc=
9858       else
9859         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9860         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9861       fi
9862       ;;
9863
9864     solaris*)
9865       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9866         ld_shlibs=no
9867         cat <<_LT_EOF 1>&2
9868
9869 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9870 *** create shared libraries on Solaris systems.  Therefore, libtool
9871 *** is disabling shared libraries support.  We urge you to upgrade GNU
9872 *** binutils to release 2.9.1 or newer.  Another option is to modify
9873 *** your PATH or compiler configuration so that the native linker is
9874 *** used, and then restart.
9875
9876 _LT_EOF
9877       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9878         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9879         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9880       else
9881         ld_shlibs=no
9882       fi
9883       ;;
9884
9885     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9886       case `$LD -v 2>&1` in
9887         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9888         ld_shlibs=no
9889         cat <<_LT_EOF 1>&2
9890
9891 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9892 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9893 *** is disabling shared libraries support.  We urge you to upgrade GNU
9894 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9895 *** your PATH or compiler configuration so that the native linker is
9896 *** used, and then restart.
9897
9898 _LT_EOF
9899         ;;
9900         *)
9901           # For security reasons, it is highly recommended that you always
9902           # use absolute paths for naming shared libraries, and exclude the
9903           # DT_RUNPATH tag from executables and libraries.  But doing so
9904           # requires that you compile everything twice, which is a pain.
9905           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9906             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9907             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9908             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9909           else
9910             ld_shlibs=no
9911           fi
9912         ;;
9913       esac
9914       ;;
9915
9916     sunos4*)
9917       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9918       wlarc=
9919       hardcode_direct=yes
9920       hardcode_shlibpath_var=no
9921       ;;
9922
9923     *)
9924       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9925         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9926         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9927       else
9928         ld_shlibs=no
9929       fi
9930       ;;
9931     esac
9932
9933     if test "$ld_shlibs" = no; then
9934       runpath_var=
9935       hardcode_libdir_flag_spec=
9936       export_dynamic_flag_spec=
9937       whole_archive_flag_spec=
9938     fi
9939   else
9940     # PORTME fill in a description of your system's linker (not GNU ld)
9941     case $host_os in
9942     aix3*)
9943       allow_undefined_flag=unsupported
9944       always_export_symbols=yes
9945       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'
9946       # Note: this linker hardcodes the directories in LIBPATH if there
9947       # are no directories specified by -L.
9948       hardcode_minus_L=yes
9949       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9950         # Neither direct hardcoding nor static linking is supported with a
9951         # broken collect2.
9952         hardcode_direct=unsupported
9953       fi
9954       ;;
9955
9956     aix[4-9]*)
9957       if test "$host_cpu" = ia64; then
9958         # On IA64, the linker does run time linking by default, so we don't
9959         # have to do anything special.
9960         aix_use_runtimelinking=no
9961         exp_sym_flag='-Bexport'
9962         no_entry_flag=""
9963       else
9964         # If we're using GNU nm, then we don't want the "-C" option.
9965         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9966         # Also, AIX nm treats weak defined symbols like other global
9967         # defined symbols, whereas GNU nm marks them as "W".
9968         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9969           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9970         else
9971           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9972         fi
9973         aix_use_runtimelinking=no
9974
9975         # Test if we are trying to use run time linking or normal
9976         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9977         # need to do runtime linking.
9978         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9979           for ld_flag in $LDFLAGS; do
9980           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9981             aix_use_runtimelinking=yes
9982             break
9983           fi
9984           done
9985           ;;
9986         esac
9987
9988         exp_sym_flag='-bexport'
9989         no_entry_flag='-bnoentry'
9990       fi
9991
9992       # When large executables or shared objects are built, AIX ld can
9993       # have problems creating the table of contents.  If linking a library
9994       # or program results in "error TOC overflow" add -mminimal-toc to
9995       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9996       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9997
9998       archive_cmds=''
9999       hardcode_direct=yes
10000       hardcode_direct_absolute=yes
10001       hardcode_libdir_separator=':'
10002       link_all_deplibs=yes
10003       file_list_spec='${wl}-f,'
10004
10005       if test "$GCC" = yes; then
10006         case $host_os in aix4.[012]|aix4.[012].*)
10007         # We only want to do this on AIX 4.2 and lower, the check
10008         # below for broken collect2 doesn't work under 4.3+
10009           collect2name=`${CC} -print-prog-name=collect2`
10010           if test -f "$collect2name" &&
10011            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10012           then
10013           # We have reworked collect2
10014           :
10015           else
10016           # We have old collect2
10017           hardcode_direct=unsupported
10018           # It fails to find uninstalled libraries when the uninstalled
10019           # path is not listed in the libpath.  Setting hardcode_minus_L
10020           # to unsupported forces relinking
10021           hardcode_minus_L=yes
10022           hardcode_libdir_flag_spec='-L$libdir'
10023           hardcode_libdir_separator=
10024           fi
10025           ;;
10026         esac
10027         shared_flag='-shared'
10028         if test "$aix_use_runtimelinking" = yes; then
10029           shared_flag="$shared_flag "'${wl}-G'
10030         fi
10031         link_all_deplibs=no
10032       else
10033         # not using gcc
10034         if test "$host_cpu" = ia64; then
10035         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10036         # chokes on -Wl,-G. The following line is correct:
10037           shared_flag='-G'
10038         else
10039           if test "$aix_use_runtimelinking" = yes; then
10040             shared_flag='${wl}-G'
10041           else
10042             shared_flag='${wl}-bM:SRE'
10043           fi
10044         fi
10045       fi
10046
10047       export_dynamic_flag_spec='${wl}-bexpall'
10048       # It seems that -bexpall does not export symbols beginning with
10049       # underscore (_), so it is better to generate a list of symbols to export.
10050       always_export_symbols=yes
10051       if test "$aix_use_runtimelinking" = yes; then
10052         # Warning - without using the other runtime loading flags (-brtl),
10053         # -berok will link without error, but may produce a broken library.
10054         allow_undefined_flag='-berok'
10055         # Determine the default libpath from the value encoded in an
10056         # empty executable.
10057         if test "${lt_cv_aix_libpath+set}" = set; then
10058   aix_libpath=$lt_cv_aix_libpath
10059 else
10060   if ${lt_cv_aix_libpath_+:} false; then :
10061   $as_echo_n "(cached) " >&6
10062 else
10063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h.  */
10065
10066 int
10067 main ()
10068 {
10069
10070   ;
10071   return 0;
10072 }
10073 _ACEOF
10074 if ac_fn_c_try_link "$LINENO"; then :
10075
10076   lt_aix_libpath_sed='
10077       /Import File Strings/,/^$/ {
10078           /^0/ {
10079               s/^0  *\([^ ]*\) *$/\1/
10080               p
10081           }
10082       }'
10083   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10084   # Check for a 64-bit object if we didn't find anything.
10085   if test -z "$lt_cv_aix_libpath_"; then
10086     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10087   fi
10088 fi
10089 rm -f core conftest.err conftest.$ac_objext \
10090     conftest$ac_exeext conftest.$ac_ext
10091   if test -z "$lt_cv_aix_libpath_"; then
10092     lt_cv_aix_libpath_="/usr/lib:/lib"
10093   fi
10094
10095 fi
10096
10097   aix_libpath=$lt_cv_aix_libpath_
10098 fi
10099
10100         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10101         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10102       else
10103         if test "$host_cpu" = ia64; then
10104           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10105           allow_undefined_flag="-z nodefs"
10106           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"
10107         else
10108          # Determine the default libpath from the value encoded in an
10109          # empty executable.
10110          if test "${lt_cv_aix_libpath+set}" = set; then
10111   aix_libpath=$lt_cv_aix_libpath
10112 else
10113   if ${lt_cv_aix_libpath_+:} false; then :
10114   $as_echo_n "(cached) " >&6
10115 else
10116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h.  */
10118
10119 int
10120 main ()
10121 {
10122
10123   ;
10124   return 0;
10125 }
10126 _ACEOF
10127 if ac_fn_c_try_link "$LINENO"; then :
10128
10129   lt_aix_libpath_sed='
10130       /Import File Strings/,/^$/ {
10131           /^0/ {
10132               s/^0  *\([^ ]*\) *$/\1/
10133               p
10134           }
10135       }'
10136   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10137   # Check for a 64-bit object if we didn't find anything.
10138   if test -z "$lt_cv_aix_libpath_"; then
10139     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10140   fi
10141 fi
10142 rm -f core conftest.err conftest.$ac_objext \
10143     conftest$ac_exeext conftest.$ac_ext
10144   if test -z "$lt_cv_aix_libpath_"; then
10145     lt_cv_aix_libpath_="/usr/lib:/lib"
10146   fi
10147
10148 fi
10149
10150   aix_libpath=$lt_cv_aix_libpath_
10151 fi
10152
10153          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10154           # Warning - without using the other run time loading flags,
10155           # -berok will link without error, but may produce a broken library.
10156           no_undefined_flag=' ${wl}-bernotok'
10157           allow_undefined_flag=' ${wl}-berok'
10158           if test "$with_gnu_ld" = yes; then
10159             # We only use this code for GNU lds that support --whole-archive.
10160             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10161           else
10162             # Exported symbols can be pulled into shared objects from archives
10163             whole_archive_flag_spec='$convenience'
10164           fi
10165           archive_cmds_need_lc=yes
10166           # This is similar to how AIX traditionally builds its shared libraries.
10167           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10168         fi
10169       fi
10170       ;;
10171
10172     amigaos*)
10173       case $host_cpu in
10174       powerpc)
10175             # see comment about AmigaOS4 .so support
10176             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10177             archive_expsym_cmds=''
10178         ;;
10179       m68k)
10180             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)'
10181             hardcode_libdir_flag_spec='-L$libdir'
10182             hardcode_minus_L=yes
10183         ;;
10184       esac
10185       ;;
10186
10187     bsdi[45]*)
10188       export_dynamic_flag_spec=-rdynamic
10189       ;;
10190
10191     cygwin* | mingw* | pw32* | cegcc*)
10192       # When not using gcc, we currently assume that we are using
10193       # Microsoft Visual C++.
10194       # hardcode_libdir_flag_spec is actually meaningless, as there is
10195       # no search path for DLLs.
10196       case $cc_basename in
10197       cl*)
10198         # Native MSVC
10199         hardcode_libdir_flag_spec=' '
10200         allow_undefined_flag=unsupported
10201         always_export_symbols=yes
10202         file_list_spec='@'
10203         # Tell ltmain to make .lib files, not .a files.
10204         libext=lib
10205         # Tell ltmain to make .dll files, not .so files.
10206         shrext_cmds=".dll"
10207         # FIXME: Setting linknames here is a bad hack.
10208         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10209         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10210             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10211           else
10212             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10213           fi~
10214           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10215           linknames='
10216         # The linker will not automatically build a static lib if we build a DLL.
10217         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10218         enable_shared_with_static_runtimes=yes
10219         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10220         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10221         # Don't use ranlib
10222         old_postinstall_cmds='chmod 644 $oldlib'
10223         postlink_cmds='lt_outputfile="@OUTPUT@"~
10224           lt_tool_outputfile="@TOOL_OUTPUT@"~
10225           case $lt_outputfile in
10226             *.exe|*.EXE) ;;
10227             *)
10228               lt_outputfile="$lt_outputfile.exe"
10229               lt_tool_outputfile="$lt_tool_outputfile.exe"
10230               ;;
10231           esac~
10232           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10233             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10234             $RM "$lt_outputfile.manifest";
10235           fi'
10236         ;;
10237       *)
10238         # Assume MSVC wrapper
10239         hardcode_libdir_flag_spec=' '
10240         allow_undefined_flag=unsupported
10241         # Tell ltmain to make .lib files, not .a files.
10242         libext=lib
10243         # Tell ltmain to make .dll files, not .so files.
10244         shrext_cmds=".dll"
10245         # FIXME: Setting linknames here is a bad hack.
10246         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10247         # The linker will automatically build a .lib file if we build a DLL.
10248         old_archive_from_new_cmds='true'
10249         # FIXME: Should let the user specify the lib program.
10250         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10251         enable_shared_with_static_runtimes=yes
10252         ;;
10253       esac
10254       ;;
10255
10256     darwin* | rhapsody*)
10257
10258
10259   archive_cmds_need_lc=no
10260   hardcode_direct=no
10261   hardcode_automatic=yes
10262   hardcode_shlibpath_var=unsupported
10263   if test "$lt_cv_ld_force_load" = "yes"; then
10264     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\"`'
10265
10266   else
10267     whole_archive_flag_spec=''
10268   fi
10269   link_all_deplibs=yes
10270   allow_undefined_flag="$_lt_dar_allow_undefined"
10271   case $cc_basename in
10272      ifort*) _lt_dar_can_shared=yes ;;
10273      *) _lt_dar_can_shared=$GCC ;;
10274   esac
10275   if test "$_lt_dar_can_shared" = "yes"; then
10276     output_verbose_link_cmd=func_echo_all
10277     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10278     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10279     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}"
10280     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}"
10281
10282   else
10283   ld_shlibs=no
10284   fi
10285
10286       ;;
10287
10288     dgux*)
10289       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10290       hardcode_libdir_flag_spec='-L$libdir'
10291       hardcode_shlibpath_var=no
10292       ;;
10293
10294     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10295     # support.  Future versions do this automatically, but an explicit c++rt0.o
10296     # does not break anything, and helps significantly (at the cost of a little
10297     # extra space).
10298     freebsd2.2*)
10299       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10300       hardcode_libdir_flag_spec='-R$libdir'
10301       hardcode_direct=yes
10302       hardcode_shlibpath_var=no
10303       ;;
10304
10305     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10306     freebsd2.*)
10307       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10308       hardcode_direct=yes
10309       hardcode_minus_L=yes
10310       hardcode_shlibpath_var=no
10311       ;;
10312
10313     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10314     freebsd* | dragonfly*)
10315       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10316       hardcode_libdir_flag_spec='-R$libdir'
10317       hardcode_direct=yes
10318       hardcode_shlibpath_var=no
10319       ;;
10320
10321     hpux9*)
10322       if test "$GCC" = yes; then
10323         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10324       else
10325         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10326       fi
10327       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10328       hardcode_libdir_separator=:
10329       hardcode_direct=yes
10330
10331       # hardcode_minus_L: Not really in the search PATH,
10332       # but as the default location of the library.
10333       hardcode_minus_L=yes
10334       export_dynamic_flag_spec='${wl}-E'
10335       ;;
10336
10337     hpux10*)
10338       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10339         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10340       else
10341         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10342       fi
10343       if test "$with_gnu_ld" = no; then
10344         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10345         hardcode_libdir_separator=:
10346         hardcode_direct=yes
10347         hardcode_direct_absolute=yes
10348         export_dynamic_flag_spec='${wl}-E'
10349         # hardcode_minus_L: Not really in the search PATH,
10350         # but as the default location of the library.
10351         hardcode_minus_L=yes
10352       fi
10353       ;;
10354
10355     hpux11*)
10356       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10357         case $host_cpu in
10358         hppa*64*)
10359           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10360           ;;
10361         ia64*)
10362           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10363           ;;
10364         *)
10365           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10366           ;;
10367         esac
10368       else
10369         case $host_cpu in
10370         hppa*64*)
10371           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10372           ;;
10373         ia64*)
10374           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10375           ;;
10376         *)
10377
10378           # Older versions of the 11.00 compiler do not understand -b yet
10379           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10380           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10381 $as_echo_n "checking if $CC understands -b... " >&6; }
10382 if ${lt_cv_prog_compiler__b+:} false; then :
10383   $as_echo_n "(cached) " >&6
10384 else
10385   lt_cv_prog_compiler__b=no
10386    save_LDFLAGS="$LDFLAGS"
10387    LDFLAGS="$LDFLAGS -b"
10388    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10389    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10390      # The linker can only warn and ignore the option if not recognized
10391      # So say no if there are warnings
10392      if test -s conftest.err; then
10393        # Append any errors to the config.log.
10394        cat conftest.err 1>&5
10395        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10396        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10397        if diff conftest.exp conftest.er2 >/dev/null; then
10398          lt_cv_prog_compiler__b=yes
10399        fi
10400      else
10401        lt_cv_prog_compiler__b=yes
10402      fi
10403    fi
10404    $RM -r conftest*
10405    LDFLAGS="$save_LDFLAGS"
10406
10407 fi
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10409 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10410
10411 if test x"$lt_cv_prog_compiler__b" = xyes; then
10412     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10413 else
10414     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10415 fi
10416
10417           ;;
10418         esac
10419       fi
10420       if test "$with_gnu_ld" = no; then
10421         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10422         hardcode_libdir_separator=:
10423
10424         case $host_cpu in
10425         hppa*64*|ia64*)
10426           hardcode_direct=no
10427           hardcode_shlibpath_var=no
10428           ;;
10429         *)
10430           hardcode_direct=yes
10431           hardcode_direct_absolute=yes
10432           export_dynamic_flag_spec='${wl}-E'
10433
10434           # hardcode_minus_L: Not really in the search PATH,
10435           # but as the default location of the library.
10436           hardcode_minus_L=yes
10437           ;;
10438         esac
10439       fi
10440       ;;
10441
10442     irix5* | irix6* | nonstopux*)
10443       if test "$GCC" = yes; then
10444         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'
10445         # Try to use the -exported_symbol ld option, if it does not
10446         # work, assume that -exports_file does not work either and
10447         # implicitly export all symbols.
10448         # This should be the same for all languages, so no per-tag cache variable.
10449         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10450 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10451 if ${lt_cv_irix_exported_symbol+:} false; then :
10452   $as_echo_n "(cached) " >&6
10453 else
10454   save_LDFLAGS="$LDFLAGS"
10455            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10456            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h.  */
10458 int foo (void) { return 0; }
10459 _ACEOF
10460 if ac_fn_c_try_link "$LINENO"; then :
10461   lt_cv_irix_exported_symbol=yes
10462 else
10463   lt_cv_irix_exported_symbol=no
10464 fi
10465 rm -f core conftest.err conftest.$ac_objext \
10466     conftest$ac_exeext conftest.$ac_ext
10467            LDFLAGS="$save_LDFLAGS"
10468 fi
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10470 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10471         if test "$lt_cv_irix_exported_symbol" = yes; then
10472           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'
10473         fi
10474       else
10475         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'
10476         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'
10477       fi
10478       archive_cmds_need_lc='no'
10479       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10480       hardcode_libdir_separator=:
10481       inherit_rpath=yes
10482       link_all_deplibs=yes
10483       ;;
10484
10485     netbsd* | netbsdelf*-gnu)
10486       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10487         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10488       else
10489         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10490       fi
10491       hardcode_libdir_flag_spec='-R$libdir'
10492       hardcode_direct=yes
10493       hardcode_shlibpath_var=no
10494       ;;
10495
10496     newsos6)
10497       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10498       hardcode_direct=yes
10499       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10500       hardcode_libdir_separator=:
10501       hardcode_shlibpath_var=no
10502       ;;
10503
10504     *nto* | *qnx*)
10505       ;;
10506
10507     openbsd*)
10508       if test -f /usr/libexec/ld.so; then
10509         hardcode_direct=yes
10510         hardcode_shlibpath_var=no
10511         hardcode_direct_absolute=yes
10512         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10513           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10514           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10515           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10516           export_dynamic_flag_spec='${wl}-E'
10517         else
10518           case $host_os in
10519            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10520              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10521              hardcode_libdir_flag_spec='-R$libdir'
10522              ;;
10523            *)
10524              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10525              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10526              ;;
10527           esac
10528         fi
10529       else
10530         ld_shlibs=no
10531       fi
10532       ;;
10533
10534     os2*)
10535       hardcode_libdir_flag_spec='-L$libdir'
10536       hardcode_minus_L=yes
10537       allow_undefined_flag=unsupported
10538       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10539       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10540       ;;
10541
10542     osf3*)
10543       if test "$GCC" = yes; then
10544         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10545         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'
10546       else
10547         allow_undefined_flag=' -expect_unresolved \*'
10548         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'
10549       fi
10550       archive_cmds_need_lc='no'
10551       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10552       hardcode_libdir_separator=:
10553       ;;
10554
10555     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10556       if test "$GCC" = yes; then
10557         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10558         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'
10559         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10560       else
10561         allow_undefined_flag=' -expect_unresolved \*'
10562         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'
10563         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~
10564         $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'
10565
10566         # Both c and cxx compiler support -rpath directly
10567         hardcode_libdir_flag_spec='-rpath $libdir'
10568       fi
10569       archive_cmds_need_lc='no'
10570       hardcode_libdir_separator=:
10571       ;;
10572
10573     solaris*)
10574       no_undefined_flag=' -z defs'
10575       if test "$GCC" = yes; then
10576         wlarc='${wl}'
10577         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10578         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10579           $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'
10580       else
10581         case `$CC -V 2>&1` in
10582         *"Compilers 5.0"*)
10583           wlarc=''
10584           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10585           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10586           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10587           ;;
10588         *)
10589           wlarc='${wl}'
10590           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10591           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10592           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10593           ;;
10594         esac
10595       fi
10596       hardcode_libdir_flag_spec='-R$libdir'
10597       hardcode_shlibpath_var=no
10598       case $host_os in
10599       solaris2.[0-5] | solaris2.[0-5].*) ;;
10600       *)
10601         # The compiler driver will combine and reorder linker options,
10602         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10603         # but is careful enough not to reorder.
10604         # Supported since Solaris 2.6 (maybe 2.5.1?)
10605         if test "$GCC" = yes; then
10606           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10607         else
10608           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10609         fi
10610         ;;
10611       esac
10612       link_all_deplibs=yes
10613       ;;
10614
10615     sunos4*)
10616       if test "x$host_vendor" = xsequent; then
10617         # Use $CC to link under sequent, because it throws in some extra .o
10618         # files that make .init and .fini sections work.
10619         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10620       else
10621         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10622       fi
10623       hardcode_libdir_flag_spec='-L$libdir'
10624       hardcode_direct=yes
10625       hardcode_minus_L=yes
10626       hardcode_shlibpath_var=no
10627       ;;
10628
10629     sysv4)
10630       case $host_vendor in
10631         sni)
10632           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10633           hardcode_direct=yes # is this really true???
10634         ;;
10635         siemens)
10636           ## LD is ld it makes a PLAMLIB
10637           ## CC just makes a GrossModule.
10638           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10639           reload_cmds='$CC -r -o $output$reload_objs'
10640           hardcode_direct=no
10641         ;;
10642         motorola)
10643           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10644           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10645         ;;
10646       esac
10647       runpath_var='LD_RUN_PATH'
10648       hardcode_shlibpath_var=no
10649       ;;
10650
10651     sysv4.3*)
10652       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10653       hardcode_shlibpath_var=no
10654       export_dynamic_flag_spec='-Bexport'
10655       ;;
10656
10657     sysv4*MP*)
10658       if test -d /usr/nec; then
10659         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660         hardcode_shlibpath_var=no
10661         runpath_var=LD_RUN_PATH
10662         hardcode_runpath_var=yes
10663         ld_shlibs=yes
10664       fi
10665       ;;
10666
10667     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10668       no_undefined_flag='${wl}-z,text'
10669       archive_cmds_need_lc=no
10670       hardcode_shlibpath_var=no
10671       runpath_var='LD_RUN_PATH'
10672
10673       if test "$GCC" = yes; then
10674         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10675         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10676       else
10677         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10678         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10679       fi
10680       ;;
10681
10682     sysv5* | sco3.2v5* | sco5v6*)
10683       # Note: We can NOT use -z defs as we might desire, because we do not
10684       # link with -lc, and that would cause any symbols used from libc to
10685       # always be unresolved, which means just about no library would
10686       # ever link correctly.  If we're not using GNU ld we use -z text
10687       # though, which does catch some bad symbols but isn't as heavy-handed
10688       # as -z defs.
10689       no_undefined_flag='${wl}-z,text'
10690       allow_undefined_flag='${wl}-z,nodefs'
10691       archive_cmds_need_lc=no
10692       hardcode_shlibpath_var=no
10693       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10694       hardcode_libdir_separator=':'
10695       link_all_deplibs=yes
10696       export_dynamic_flag_spec='${wl}-Bexport'
10697       runpath_var='LD_RUN_PATH'
10698
10699       if test "$GCC" = yes; then
10700         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10701         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10702       else
10703         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10704         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10705       fi
10706       ;;
10707
10708     uts4*)
10709       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10710       hardcode_libdir_flag_spec='-L$libdir'
10711       hardcode_shlibpath_var=no
10712       ;;
10713
10714     *)
10715       ld_shlibs=no
10716       ;;
10717     esac
10718
10719     if test x$host_vendor = xsni; then
10720       case $host in
10721       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10722         export_dynamic_flag_spec='${wl}-Blargedynsym'
10723         ;;
10724       esac
10725     fi
10726   fi
10727
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10729 $as_echo "$ld_shlibs" >&6; }
10730 test "$ld_shlibs" = no && can_build_shared=no
10731
10732 with_gnu_ld=$with_gnu_ld
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748 #
10749 # Do we need to explicitly link libc?
10750 #
10751 case "x$archive_cmds_need_lc" in
10752 x|xyes)
10753   # Assume -lc should be added
10754   archive_cmds_need_lc=yes
10755
10756   if test "$enable_shared" = yes && test "$GCC" = yes; then
10757     case $archive_cmds in
10758     *'~'*)
10759       # FIXME: we may have to deal with multi-command sequences.
10760       ;;
10761     '$CC '*)
10762       # Test whether the compiler implicitly links with -lc since on some
10763       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10764       # to ld, don't add -lc before -lgcc.
10765       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10766 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10767 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10768   $as_echo_n "(cached) " >&6
10769 else
10770   $RM conftest*
10771         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10772
10773         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10774   (eval $ac_compile) 2>&5
10775   ac_status=$?
10776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10777   test $ac_status = 0; } 2>conftest.err; then
10778           soname=conftest
10779           lib=conftest
10780           libobjs=conftest.$ac_objext
10781           deplibs=
10782           wl=$lt_prog_compiler_wl
10783           pic_flag=$lt_prog_compiler_pic
10784           compiler_flags=-v
10785           linker_flags=-v
10786           verstring=
10787           output_objdir=.
10788           libname=conftest
10789           lt_save_allow_undefined_flag=$allow_undefined_flag
10790           allow_undefined_flag=
10791           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10792   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10793   ac_status=$?
10794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10795   test $ac_status = 0; }
10796           then
10797             lt_cv_archive_cmds_need_lc=no
10798           else
10799             lt_cv_archive_cmds_need_lc=yes
10800           fi
10801           allow_undefined_flag=$lt_save_allow_undefined_flag
10802         else
10803           cat conftest.err 1>&5
10804         fi
10805         $RM conftest*
10806
10807 fi
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10809 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10810       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10811       ;;
10812     esac
10813   fi
10814   ;;
10815 esac
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10969 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10970
10971 if test "$GCC" = yes; then
10972   case $host_os in
10973     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10974     *) lt_awk_arg="/^libraries:/" ;;
10975   esac
10976   case $host_os in
10977     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10978     *) lt_sed_strip_eq="s,=/,/,g" ;;
10979   esac
10980   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10981   case $lt_search_path_spec in
10982   *\;*)
10983     # if the path contains ";" then we assume it to be the separator
10984     # otherwise default to the standard path separator (i.e. ":") - it is
10985     # assumed that no part of a normal pathname contains ";" but that should
10986     # okay in the real world where ";" in dirpaths is itself problematic.
10987     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10988     ;;
10989   *)
10990     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10991     ;;
10992   esac
10993   # Ok, now we have the path, separated by spaces, we can step through it
10994   # and add multilib dir if necessary.
10995   lt_tmp_lt_search_path_spec=
10996   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10997   for lt_sys_path in $lt_search_path_spec; do
10998     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10999       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11000     else
11001       test -d "$lt_sys_path" && \
11002         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11003     fi
11004   done
11005   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11006 BEGIN {RS=" "; FS="/|\n";} {
11007   lt_foo="";
11008   lt_count=0;
11009   for (lt_i = NF; lt_i > 0; lt_i--) {
11010     if ($lt_i != "" && $lt_i != ".") {
11011       if ($lt_i == "..") {
11012         lt_count++;
11013       } else {
11014         if (lt_count == 0) {
11015           lt_foo="/" $lt_i lt_foo;
11016         } else {
11017           lt_count--;
11018         }
11019       }
11020     }
11021   }
11022   if (lt_foo != "") { lt_freq[lt_foo]++; }
11023   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11024 }'`
11025   # AWK program above erroneously prepends '/' to C:/dos/paths
11026   # for these hosts.
11027   case $host_os in
11028     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11029       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11030   esac
11031   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11032 else
11033   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11034 fi
11035 library_names_spec=
11036 libname_spec='lib$name'
11037 soname_spec=
11038 shrext_cmds=".so"
11039 postinstall_cmds=
11040 postuninstall_cmds=
11041 finish_cmds=
11042 finish_eval=
11043 shlibpath_var=
11044 shlibpath_overrides_runpath=unknown
11045 version_type=none
11046 dynamic_linker="$host_os ld.so"
11047 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11048 need_lib_prefix=unknown
11049 hardcode_into_libs=no
11050
11051 # when you set need_version to no, make sure it does not cause -set_version
11052 # flags to be left without arguments
11053 need_version=unknown
11054
11055 case $host_os in
11056 aix3*)
11057   version_type=linux # correct to gnu/linux during the next big refactor
11058   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11059   shlibpath_var=LIBPATH
11060
11061   # AIX 3 has no versioning support, so we append a major version to the name.
11062   soname_spec='${libname}${release}${shared_ext}$major'
11063   ;;
11064
11065 aix[4-9]*)
11066   version_type=linux # correct to gnu/linux during the next big refactor
11067   need_lib_prefix=no
11068   need_version=no
11069   hardcode_into_libs=yes
11070   if test "$host_cpu" = ia64; then
11071     # AIX 5 supports IA64
11072     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11073     shlibpath_var=LD_LIBRARY_PATH
11074   else
11075     # With GCC up to 2.95.x, collect2 would create an import file
11076     # for dependence libraries.  The import file would start with
11077     # the line `#! .'.  This would cause the generated library to
11078     # depend on `.', always an invalid library.  This was fixed in
11079     # development snapshots of GCC prior to 3.0.
11080     case $host_os in
11081       aix4 | aix4.[01] | aix4.[01].*)
11082       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11083            echo ' yes '
11084            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11085         :
11086       else
11087         can_build_shared=no
11088       fi
11089       ;;
11090     esac
11091     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11092     # soname into executable. Probably we can add versioning support to
11093     # collect2, so additional links can be useful in future.
11094     if test "$aix_use_runtimelinking" = yes; then
11095       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11096       # instead of lib<name>.a to let people know that these are not
11097       # typical AIX shared libraries.
11098       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11099     else
11100       # We preserve .a as extension for shared libraries through AIX4.2
11101       # and later when we are not doing run time linking.
11102       library_names_spec='${libname}${release}.a $libname.a'
11103       soname_spec='${libname}${release}${shared_ext}$major'
11104     fi
11105     shlibpath_var=LIBPATH
11106   fi
11107   ;;
11108
11109 amigaos*)
11110   case $host_cpu in
11111   powerpc)
11112     # Since July 2007 AmigaOS4 officially supports .so libraries.
11113     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11114     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11115     ;;
11116   m68k)
11117     library_names_spec='$libname.ixlibrary $libname.a'
11118     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11119     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11120     ;;
11121   esac
11122   ;;
11123
11124 beos*)
11125   library_names_spec='${libname}${shared_ext}'
11126   dynamic_linker="$host_os ld.so"
11127   shlibpath_var=LIBRARY_PATH
11128   ;;
11129
11130 bsdi[45]*)
11131   version_type=linux # correct to gnu/linux during the next big refactor
11132   need_version=no
11133   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134   soname_spec='${libname}${release}${shared_ext}$major'
11135   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11136   shlibpath_var=LD_LIBRARY_PATH
11137   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11138   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11139   # the default ld.so.conf also contains /usr/contrib/lib and
11140   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11141   # libtool to hard-code these into programs
11142   ;;
11143
11144 cygwin* | mingw* | pw32* | cegcc*)
11145   version_type=windows
11146   shrext_cmds=".dll"
11147   need_version=no
11148   need_lib_prefix=no
11149
11150   case $GCC,$cc_basename in
11151   yes,*)
11152     # gcc
11153     library_names_spec='$libname.dll.a'
11154     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11155     postinstall_cmds='base_file=`basename \${file}`~
11156       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11157       dldir=$destdir/`dirname \$dlpath`~
11158       test -d \$dldir || mkdir -p \$dldir~
11159       $install_prog $dir/$dlname \$dldir/$dlname~
11160       chmod a+x \$dldir/$dlname~
11161       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11162         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11163       fi'
11164     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11165       dlpath=$dir/\$dldll~
11166        $RM \$dlpath'
11167     shlibpath_overrides_runpath=yes
11168
11169     case $host_os in
11170     cygwin*)
11171       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11172       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11173
11174       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11175       ;;
11176     mingw* | cegcc*)
11177       # MinGW DLLs use traditional 'lib' prefix
11178       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11179       ;;
11180     pw32*)
11181       # pw32 DLLs use 'pw' prefix rather than 'lib'
11182       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11183       ;;
11184     esac
11185     dynamic_linker='Win32 ld.exe'
11186     ;;
11187
11188   *,cl*)
11189     # Native MSVC
11190     libname_spec='$name'
11191     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11192     library_names_spec='${libname}.dll.lib'
11193
11194     case $build_os in
11195     mingw*)
11196       sys_lib_search_path_spec=
11197       lt_save_ifs=$IFS
11198       IFS=';'
11199       for lt_path in $LIB
11200       do
11201         IFS=$lt_save_ifs
11202         # Let DOS variable expansion print the short 8.3 style file name.
11203         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11204         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11205       done
11206       IFS=$lt_save_ifs
11207       # Convert to MSYS style.
11208       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11209       ;;
11210     cygwin*)
11211       # Convert to unix form, then to dos form, then back to unix form
11212       # but this time dos style (no spaces!) so that the unix form looks
11213       # like /cygdrive/c/PROGRA~1:/cygdr...
11214       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11215       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11216       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11217       ;;
11218     *)
11219       sys_lib_search_path_spec="$LIB"
11220       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11221         # It is most probably a Windows format PATH.
11222         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11223       else
11224         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11225       fi
11226       # FIXME: find the short name or the path components, as spaces are
11227       # common. (e.g. "Program Files" -> "PROGRA~1")
11228       ;;
11229     esac
11230
11231     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11232     postinstall_cmds='base_file=`basename \${file}`~
11233       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11234       dldir=$destdir/`dirname \$dlpath`~
11235       test -d \$dldir || mkdir -p \$dldir~
11236       $install_prog $dir/$dlname \$dldir/$dlname'
11237     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11238       dlpath=$dir/\$dldll~
11239        $RM \$dlpath'
11240     shlibpath_overrides_runpath=yes
11241     dynamic_linker='Win32 link.exe'
11242     ;;
11243
11244   *)
11245     # Assume MSVC wrapper
11246     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11247     dynamic_linker='Win32 ld.exe'
11248     ;;
11249   esac
11250   # FIXME: first we should search . and the directory the executable is in
11251   shlibpath_var=PATH
11252   ;;
11253
11254 darwin* | rhapsody*)
11255   dynamic_linker="$host_os dyld"
11256   version_type=darwin
11257   need_lib_prefix=no
11258   need_version=no
11259   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11260   soname_spec='${libname}${release}${major}$shared_ext'
11261   shlibpath_overrides_runpath=yes
11262   shlibpath_var=DYLD_LIBRARY_PATH
11263   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11264
11265   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11266   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11267   ;;
11268
11269 dgux*)
11270   version_type=linux # correct to gnu/linux during the next big refactor
11271   need_lib_prefix=no
11272   need_version=no
11273   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11274   soname_spec='${libname}${release}${shared_ext}$major'
11275   shlibpath_var=LD_LIBRARY_PATH
11276   ;;
11277
11278 freebsd* | dragonfly*)
11279   # DragonFly does not have aout.  When/if they implement a new
11280   # versioning mechanism, adjust this.
11281   if test -x /usr/bin/objformat; then
11282     objformat=`/usr/bin/objformat`
11283   else
11284     case $host_os in
11285     freebsd[23].*) objformat=aout ;;
11286     *) objformat=elf ;;
11287     esac
11288   fi
11289   version_type=freebsd-$objformat
11290   case $version_type in
11291     freebsd-elf*)
11292       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11293       need_version=no
11294       need_lib_prefix=no
11295       ;;
11296     freebsd-*)
11297       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11298       need_version=yes
11299       ;;
11300   esac
11301   shlibpath_var=LD_LIBRARY_PATH
11302   case $host_os in
11303   freebsd2.*)
11304     shlibpath_overrides_runpath=yes
11305     ;;
11306   freebsd3.[01]* | freebsdelf3.[01]*)
11307     shlibpath_overrides_runpath=yes
11308     hardcode_into_libs=yes
11309     ;;
11310   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11311   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11312     shlibpath_overrides_runpath=no
11313     hardcode_into_libs=yes
11314     ;;
11315   *) # from 4.6 on, and DragonFly
11316     shlibpath_overrides_runpath=yes
11317     hardcode_into_libs=yes
11318     ;;
11319   esac
11320   ;;
11321
11322 haiku*)
11323   version_type=linux # correct to gnu/linux during the next big refactor
11324   need_lib_prefix=no
11325   need_version=no
11326   dynamic_linker="$host_os runtime_loader"
11327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11328   soname_spec='${libname}${release}${shared_ext}$major'
11329   shlibpath_var=LIBRARY_PATH
11330   shlibpath_overrides_runpath=yes
11331   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11332   hardcode_into_libs=yes
11333   ;;
11334
11335 hpux9* | hpux10* | hpux11*)
11336   # Give a soname corresponding to the major version so that dld.sl refuses to
11337   # link against other versions.
11338   version_type=sunos
11339   need_lib_prefix=no
11340   need_version=no
11341   case $host_cpu in
11342   ia64*)
11343     shrext_cmds='.so'
11344     hardcode_into_libs=yes
11345     dynamic_linker="$host_os dld.so"
11346     shlibpath_var=LD_LIBRARY_PATH
11347     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11348     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11349     soname_spec='${libname}${release}${shared_ext}$major'
11350     if test "X$HPUX_IA64_MODE" = X32; then
11351       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11352     else
11353       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11354     fi
11355     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11356     ;;
11357   hppa*64*)
11358     shrext_cmds='.sl'
11359     hardcode_into_libs=yes
11360     dynamic_linker="$host_os dld.sl"
11361     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11362     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11363     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11364     soname_spec='${libname}${release}${shared_ext}$major'
11365     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11366     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11367     ;;
11368   *)
11369     shrext_cmds='.sl'
11370     dynamic_linker="$host_os dld.sl"
11371     shlibpath_var=SHLIB_PATH
11372     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11373     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11374     soname_spec='${libname}${release}${shared_ext}$major'
11375     ;;
11376   esac
11377   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11378   postinstall_cmds='chmod 555 $lib'
11379   # or fails outright, so override atomically:
11380   install_override_mode=555
11381   ;;
11382
11383 interix[3-9]*)
11384   version_type=linux # correct to gnu/linux during the next big refactor
11385   need_lib_prefix=no
11386   need_version=no
11387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11388   soname_spec='${libname}${release}${shared_ext}$major'
11389   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11390   shlibpath_var=LD_LIBRARY_PATH
11391   shlibpath_overrides_runpath=no
11392   hardcode_into_libs=yes
11393   ;;
11394
11395 irix5* | irix6* | nonstopux*)
11396   case $host_os in
11397     nonstopux*) version_type=nonstopux ;;
11398     *)
11399         if test "$lt_cv_prog_gnu_ld" = yes; then
11400                 version_type=linux # correct to gnu/linux during the next big refactor
11401         else
11402                 version_type=irix
11403         fi ;;
11404   esac
11405   need_lib_prefix=no
11406   need_version=no
11407   soname_spec='${libname}${release}${shared_ext}$major'
11408   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11409   case $host_os in
11410   irix5* | nonstopux*)
11411     libsuff= shlibsuff=
11412     ;;
11413   *)
11414     case $LD in # libtool.m4 will add one of these switches to LD
11415     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11416       libsuff= shlibsuff= libmagic=32-bit;;
11417     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11418       libsuff=32 shlibsuff=N32 libmagic=N32;;
11419     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11420       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11421     *) libsuff= shlibsuff= libmagic=never-match;;
11422     esac
11423     ;;
11424   esac
11425   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11426   shlibpath_overrides_runpath=no
11427   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11428   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11429   hardcode_into_libs=yes
11430   ;;
11431
11432 # No shared lib support for Linux oldld, aout, or coff.
11433 linux*oldld* | linux*aout* | linux*coff*)
11434   dynamic_linker=no
11435   ;;
11436
11437 # This must be glibc/ELF.
11438 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11439   version_type=linux # correct to gnu/linux during the next big refactor
11440   need_lib_prefix=no
11441   need_version=no
11442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11443   soname_spec='${libname}${release}${shared_ext}$major'
11444   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11445   shlibpath_var=LD_LIBRARY_PATH
11446   shlibpath_overrides_runpath=no
11447
11448   # Some binutils ld are patched to set DT_RUNPATH
11449   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11450   $as_echo_n "(cached) " >&6
11451 else
11452   lt_cv_shlibpath_overrides_runpath=no
11453     save_LDFLAGS=$LDFLAGS
11454     save_libdir=$libdir
11455     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11456          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11457     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h.  */
11459
11460 int
11461 main ()
11462 {
11463
11464   ;
11465   return 0;
11466 }
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11470   lt_cv_shlibpath_overrides_runpath=yes
11471 fi
11472 fi
11473 rm -f core conftest.err conftest.$ac_objext \
11474     conftest$ac_exeext conftest.$ac_ext
11475     LDFLAGS=$save_LDFLAGS
11476     libdir=$save_libdir
11477
11478 fi
11479
11480   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11481
11482   # This implies no fast_install, which is unacceptable.
11483   # Some rework will be needed to allow for fast_install
11484   # before this can be enabled.
11485   hardcode_into_libs=yes
11486
11487   # Append ld.so.conf contents to the search path
11488   if test -f /etc/ld.so.conf; then
11489     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' ' '`
11490     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11491   fi
11492
11493   # We used to test for /lib/ld.so.1 and disable shared libraries on
11494   # powerpc, because MkLinux only supported shared libraries with the
11495   # GNU dynamic linker.  Since this was broken with cross compilers,
11496   # most powerpc-linux boxes support dynamic linking these days and
11497   # people can always --disable-shared, the test was removed, and we
11498   # assume the GNU/Linux dynamic linker is in use.
11499   dynamic_linker='GNU/Linux ld.so'
11500   ;;
11501
11502 netbsdelf*-gnu)
11503   version_type=linux
11504   need_lib_prefix=no
11505   need_version=no
11506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11507   soname_spec='${libname}${release}${shared_ext}$major'
11508   shlibpath_var=LD_LIBRARY_PATH
11509   shlibpath_overrides_runpath=no
11510   hardcode_into_libs=yes
11511   dynamic_linker='NetBSD ld.elf_so'
11512   ;;
11513
11514 netbsd*)
11515   version_type=sunos
11516   need_lib_prefix=no
11517   need_version=no
11518   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11519     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11520     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11521     dynamic_linker='NetBSD (a.out) ld.so'
11522   else
11523     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11524     soname_spec='${libname}${release}${shared_ext}$major'
11525     dynamic_linker='NetBSD ld.elf_so'
11526   fi
11527   shlibpath_var=LD_LIBRARY_PATH
11528   shlibpath_overrides_runpath=yes
11529   hardcode_into_libs=yes
11530   ;;
11531
11532 newsos6)
11533   version_type=linux # correct to gnu/linux during the next big refactor
11534   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535   shlibpath_var=LD_LIBRARY_PATH
11536   shlibpath_overrides_runpath=yes
11537   ;;
11538
11539 *nto* | *qnx*)
11540   version_type=qnx
11541   need_lib_prefix=no
11542   need_version=no
11543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11544   soname_spec='${libname}${release}${shared_ext}$major'
11545   shlibpath_var=LD_LIBRARY_PATH
11546   shlibpath_overrides_runpath=no
11547   hardcode_into_libs=yes
11548   dynamic_linker='ldqnx.so'
11549   ;;
11550
11551 openbsd*)
11552   version_type=sunos
11553   sys_lib_dlsearch_path_spec="/usr/lib"
11554   need_lib_prefix=no
11555   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11556   case $host_os in
11557     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11558     *)                          need_version=no  ;;
11559   esac
11560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11561   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11562   shlibpath_var=LD_LIBRARY_PATH
11563   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11564     case $host_os in
11565       openbsd2.[89] | openbsd2.[89].*)
11566         shlibpath_overrides_runpath=no
11567         ;;
11568       *)
11569         shlibpath_overrides_runpath=yes
11570         ;;
11571       esac
11572   else
11573     shlibpath_overrides_runpath=yes
11574   fi
11575   ;;
11576
11577 os2*)
11578   libname_spec='$name'
11579   shrext_cmds=".dll"
11580   need_lib_prefix=no
11581   library_names_spec='$libname${shared_ext} $libname.a'
11582   dynamic_linker='OS/2 ld.exe'
11583   shlibpath_var=LIBPATH
11584   ;;
11585
11586 osf3* | osf4* | osf5*)
11587   version_type=osf
11588   need_lib_prefix=no
11589   need_version=no
11590   soname_spec='${libname}${release}${shared_ext}$major'
11591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11592   shlibpath_var=LD_LIBRARY_PATH
11593   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11594   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11595   ;;
11596
11597 rdos*)
11598   dynamic_linker=no
11599   ;;
11600
11601 solaris*)
11602   version_type=linux # correct to gnu/linux during the next big refactor
11603   need_lib_prefix=no
11604   need_version=no
11605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11606   soname_spec='${libname}${release}${shared_ext}$major'
11607   shlibpath_var=LD_LIBRARY_PATH
11608   shlibpath_overrides_runpath=yes
11609   hardcode_into_libs=yes
11610   # ldd complains unless libraries are executable
11611   postinstall_cmds='chmod +x $lib'
11612   ;;
11613
11614 sunos4*)
11615   version_type=sunos
11616   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11617   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11618   shlibpath_var=LD_LIBRARY_PATH
11619   shlibpath_overrides_runpath=yes
11620   if test "$with_gnu_ld" = yes; then
11621     need_lib_prefix=no
11622   fi
11623   need_version=yes
11624   ;;
11625
11626 sysv4 | sysv4.3*)
11627   version_type=linux # correct to gnu/linux during the next big refactor
11628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629   soname_spec='${libname}${release}${shared_ext}$major'
11630   shlibpath_var=LD_LIBRARY_PATH
11631   case $host_vendor in
11632     sni)
11633       shlibpath_overrides_runpath=no
11634       need_lib_prefix=no
11635       runpath_var=LD_RUN_PATH
11636       ;;
11637     siemens)
11638       need_lib_prefix=no
11639       ;;
11640     motorola)
11641       need_lib_prefix=no
11642       need_version=no
11643       shlibpath_overrides_runpath=no
11644       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11645       ;;
11646   esac
11647   ;;
11648
11649 sysv4*MP*)
11650   if test -d /usr/nec ;then
11651     version_type=linux # correct to gnu/linux during the next big refactor
11652     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11653     soname_spec='$libname${shared_ext}.$major'
11654     shlibpath_var=LD_LIBRARY_PATH
11655   fi
11656   ;;
11657
11658 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11659   version_type=freebsd-elf
11660   need_lib_prefix=no
11661   need_version=no
11662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11663   soname_spec='${libname}${release}${shared_ext}$major'
11664   shlibpath_var=LD_LIBRARY_PATH
11665   shlibpath_overrides_runpath=yes
11666   hardcode_into_libs=yes
11667   if test "$with_gnu_ld" = yes; then
11668     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11669   else
11670     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11671     case $host_os in
11672       sco3.2v5*)
11673         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11674         ;;
11675     esac
11676   fi
11677   sys_lib_dlsearch_path_spec='/usr/lib'
11678   ;;
11679
11680 tpf*)
11681   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11682   version_type=linux # correct to gnu/linux during the next big refactor
11683   need_lib_prefix=no
11684   need_version=no
11685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11686   shlibpath_var=LD_LIBRARY_PATH
11687   shlibpath_overrides_runpath=no
11688   hardcode_into_libs=yes
11689   ;;
11690
11691 uts4*)
11692   version_type=linux # correct to gnu/linux during the next big refactor
11693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11694   soname_spec='${libname}${release}${shared_ext}$major'
11695   shlibpath_var=LD_LIBRARY_PATH
11696   ;;
11697
11698 *)
11699   dynamic_linker=no
11700   ;;
11701 esac
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11703 $as_echo "$dynamic_linker" >&6; }
11704 test "$dynamic_linker" = no && can_build_shared=no
11705
11706 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11707 if test "$GCC" = yes; then
11708   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11709 fi
11710
11711 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11712   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11713 fi
11714 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11715   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11716 fi
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11810 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11811 hardcode_action=
11812 if test -n "$hardcode_libdir_flag_spec" ||
11813    test -n "$runpath_var" ||
11814    test "X$hardcode_automatic" = "Xyes" ; then
11815
11816   # We can hardcode non-existent directories.
11817   if test "$hardcode_direct" != no &&
11818      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11819      # have to relink, otherwise we might link with an installed library
11820      # when we should be linking with a yet-to-be-installed one
11821      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11822      test "$hardcode_minus_L" != no; then
11823     # Linking always hardcodes the temporary library directory.
11824     hardcode_action=relink
11825   else
11826     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11827     hardcode_action=immediate
11828   fi
11829 else
11830   # We cannot hardcode anything, or else we can only hardcode existing
11831   # directories.
11832   hardcode_action=unsupported
11833 fi
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11835 $as_echo "$hardcode_action" >&6; }
11836
11837 if test "$hardcode_action" = relink ||
11838    test "$inherit_rpath" = yes; then
11839   # Fast installation is not supported
11840   enable_fast_install=no
11841 elif test "$shlibpath_overrides_runpath" = yes ||
11842      test "$enable_shared" = no; then
11843   # Fast installation is not necessary
11844   enable_fast_install=needless
11845 fi
11846
11847
11848
11849
11850
11851
11852   if test "x$enable_dlopen" != xyes; then
11853   enable_dlopen=unknown
11854   enable_dlopen_self=unknown
11855   enable_dlopen_self_static=unknown
11856 else
11857   lt_cv_dlopen=no
11858   lt_cv_dlopen_libs=
11859
11860   case $host_os in
11861   beos*)
11862     lt_cv_dlopen="load_add_on"
11863     lt_cv_dlopen_libs=
11864     lt_cv_dlopen_self=yes
11865     ;;
11866
11867   mingw* | pw32* | cegcc*)
11868     lt_cv_dlopen="LoadLibrary"
11869     lt_cv_dlopen_libs=
11870     ;;
11871
11872   cygwin*)
11873     lt_cv_dlopen="dlopen"
11874     lt_cv_dlopen_libs=
11875     ;;
11876
11877   darwin*)
11878   # if libdl is installed we need to link against it
11879     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11880 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11881 if ${ac_cv_lib_dl_dlopen+:} false; then :
11882   $as_echo_n "(cached) " >&6
11883 else
11884   ac_check_lib_save_LIBS=$LIBS
11885 LIBS="-ldl  $LIBS"
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h.  */
11888
11889 /* Override any GCC internal prototype to avoid an error.
11890    Use char because int might match the return type of a GCC
11891    builtin and then its argument prototype would still apply.  */
11892 #ifdef __cplusplus
11893 extern "C"
11894 #endif
11895 char dlopen ();
11896 int
11897 main ()
11898 {
11899 return dlopen ();
11900   ;
11901   return 0;
11902 }
11903 _ACEOF
11904 if ac_fn_c_try_link "$LINENO"; then :
11905   ac_cv_lib_dl_dlopen=yes
11906 else
11907   ac_cv_lib_dl_dlopen=no
11908 fi
11909 rm -f core conftest.err conftest.$ac_objext \
11910     conftest$ac_exeext conftest.$ac_ext
11911 LIBS=$ac_check_lib_save_LIBS
11912 fi
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11914 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11915 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11916   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11917 else
11918
11919     lt_cv_dlopen="dyld"
11920     lt_cv_dlopen_libs=
11921     lt_cv_dlopen_self=yes
11922
11923 fi
11924
11925     ;;
11926
11927   *)
11928     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11929 if test "x$ac_cv_func_shl_load" = xyes; then :
11930   lt_cv_dlopen="shl_load"
11931 else
11932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11933 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11934 if ${ac_cv_lib_dld_shl_load+:} false; then :
11935   $as_echo_n "(cached) " >&6
11936 else
11937   ac_check_lib_save_LIBS=$LIBS
11938 LIBS="-ldld  $LIBS"
11939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h.  */
11941
11942 /* Override any GCC internal prototype to avoid an error.
11943    Use char because int might match the return type of a GCC
11944    builtin and then its argument prototype would still apply.  */
11945 #ifdef __cplusplus
11946 extern "C"
11947 #endif
11948 char shl_load ();
11949 int
11950 main ()
11951 {
11952 return shl_load ();
11953   ;
11954   return 0;
11955 }
11956 _ACEOF
11957 if ac_fn_c_try_link "$LINENO"; then :
11958   ac_cv_lib_dld_shl_load=yes
11959 else
11960   ac_cv_lib_dld_shl_load=no
11961 fi
11962 rm -f core conftest.err conftest.$ac_objext \
11963     conftest$ac_exeext conftest.$ac_ext
11964 LIBS=$ac_check_lib_save_LIBS
11965 fi
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11967 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11968 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11969   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11970 else
11971   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11972 if test "x$ac_cv_func_dlopen" = xyes; then :
11973   lt_cv_dlopen="dlopen"
11974 else
11975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11976 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11977 if ${ac_cv_lib_dl_dlopen+:} false; then :
11978   $as_echo_n "(cached) " >&6
11979 else
11980   ac_check_lib_save_LIBS=$LIBS
11981 LIBS="-ldl  $LIBS"
11982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h.  */
11984
11985 /* Override any GCC internal prototype to avoid an error.
11986    Use char because int might match the return type of a GCC
11987    builtin and then its argument prototype would still apply.  */
11988 #ifdef __cplusplus
11989 extern "C"
11990 #endif
11991 char dlopen ();
11992 int
11993 main ()
11994 {
11995 return dlopen ();
11996   ;
11997   return 0;
11998 }
11999 _ACEOF
12000 if ac_fn_c_try_link "$LINENO"; then :
12001   ac_cv_lib_dl_dlopen=yes
12002 else
12003   ac_cv_lib_dl_dlopen=no
12004 fi
12005 rm -f core conftest.err conftest.$ac_objext \
12006     conftest$ac_exeext conftest.$ac_ext
12007 LIBS=$ac_check_lib_save_LIBS
12008 fi
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12010 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12011 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12012   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12013 else
12014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12015 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12016 if ${ac_cv_lib_svld_dlopen+:} false; then :
12017   $as_echo_n "(cached) " >&6
12018 else
12019   ac_check_lib_save_LIBS=$LIBS
12020 LIBS="-lsvld  $LIBS"
12021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12022 /* end confdefs.h.  */
12023
12024 /* Override any GCC internal prototype to avoid an error.
12025    Use char because int might match the return type of a GCC
12026    builtin and then its argument prototype would still apply.  */
12027 #ifdef __cplusplus
12028 extern "C"
12029 #endif
12030 char dlopen ();
12031 int
12032 main ()
12033 {
12034 return dlopen ();
12035   ;
12036   return 0;
12037 }
12038 _ACEOF
12039 if ac_fn_c_try_link "$LINENO"; then :
12040   ac_cv_lib_svld_dlopen=yes
12041 else
12042   ac_cv_lib_svld_dlopen=no
12043 fi
12044 rm -f core conftest.err conftest.$ac_objext \
12045     conftest$ac_exeext conftest.$ac_ext
12046 LIBS=$ac_check_lib_save_LIBS
12047 fi
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12049 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12050 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12051   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12052 else
12053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12054 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12055 if ${ac_cv_lib_dld_dld_link+:} false; then :
12056   $as_echo_n "(cached) " >&6
12057 else
12058   ac_check_lib_save_LIBS=$LIBS
12059 LIBS="-ldld  $LIBS"
12060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h.  */
12062
12063 /* Override any GCC internal prototype to avoid an error.
12064    Use char because int might match the return type of a GCC
12065    builtin and then its argument prototype would still apply.  */
12066 #ifdef __cplusplus
12067 extern "C"
12068 #endif
12069 char dld_link ();
12070 int
12071 main ()
12072 {
12073 return dld_link ();
12074   ;
12075   return 0;
12076 }
12077 _ACEOF
12078 if ac_fn_c_try_link "$LINENO"; then :
12079   ac_cv_lib_dld_dld_link=yes
12080 else
12081   ac_cv_lib_dld_dld_link=no
12082 fi
12083 rm -f core conftest.err conftest.$ac_objext \
12084     conftest$ac_exeext conftest.$ac_ext
12085 LIBS=$ac_check_lib_save_LIBS
12086 fi
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12088 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12089 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12090   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12091 fi
12092
12093
12094 fi
12095
12096
12097 fi
12098
12099
12100 fi
12101
12102
12103 fi
12104
12105
12106 fi
12107
12108     ;;
12109   esac
12110
12111   if test "x$lt_cv_dlopen" != xno; then
12112     enable_dlopen=yes
12113   else
12114     enable_dlopen=no
12115   fi
12116
12117   case $lt_cv_dlopen in
12118   dlopen)
12119     save_CPPFLAGS="$CPPFLAGS"
12120     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12121
12122     save_LDFLAGS="$LDFLAGS"
12123     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12124
12125     save_LIBS="$LIBS"
12126     LIBS="$lt_cv_dlopen_libs $LIBS"
12127
12128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12129 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12130 if ${lt_cv_dlopen_self+:} false; then :
12131   $as_echo_n "(cached) " >&6
12132 else
12133           if test "$cross_compiling" = yes; then :
12134   lt_cv_dlopen_self=cross
12135 else
12136   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12137   lt_status=$lt_dlunknown
12138   cat > conftest.$ac_ext <<_LT_EOF
12139 #line $LINENO "configure"
12140 #include "confdefs.h"
12141
12142 #if HAVE_DLFCN_H
12143 #include <dlfcn.h>
12144 #endif
12145
12146 #include <stdio.h>
12147
12148 #ifdef RTLD_GLOBAL
12149 #  define LT_DLGLOBAL           RTLD_GLOBAL
12150 #else
12151 #  ifdef DL_GLOBAL
12152 #    define LT_DLGLOBAL         DL_GLOBAL
12153 #  else
12154 #    define LT_DLGLOBAL         0
12155 #  endif
12156 #endif
12157
12158 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12159    find out it does not work in some platform. */
12160 #ifndef LT_DLLAZY_OR_NOW
12161 #  ifdef RTLD_LAZY
12162 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12163 #  else
12164 #    ifdef DL_LAZY
12165 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12166 #    else
12167 #      ifdef RTLD_NOW
12168 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12169 #      else
12170 #        ifdef DL_NOW
12171 #          define LT_DLLAZY_OR_NOW      DL_NOW
12172 #        else
12173 #          define LT_DLLAZY_OR_NOW      0
12174 #        endif
12175 #      endif
12176 #    endif
12177 #  endif
12178 #endif
12179
12180 /* When -fvisbility=hidden is used, assume the code has been annotated
12181    correspondingly for the symbols needed.  */
12182 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12183 int fnord () __attribute__((visibility("default")));
12184 #endif
12185
12186 int fnord () { return 42; }
12187 int main ()
12188 {
12189   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12190   int status = $lt_dlunknown;
12191
12192   if (self)
12193     {
12194       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12195       else
12196         {
12197           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12198           else puts (dlerror ());
12199         }
12200       /* dlclose (self); */
12201     }
12202   else
12203     puts (dlerror ());
12204
12205   return status;
12206 }
12207 _LT_EOF
12208   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12209   (eval $ac_link) 2>&5
12210   ac_status=$?
12211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12212   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12213     (./conftest; exit; ) >&5 2>/dev/null
12214     lt_status=$?
12215     case x$lt_status in
12216       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12217       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12218       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12219     esac
12220   else :
12221     # compilation failed
12222     lt_cv_dlopen_self=no
12223   fi
12224 fi
12225 rm -fr conftest*
12226
12227
12228 fi
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12230 $as_echo "$lt_cv_dlopen_self" >&6; }
12231
12232     if test "x$lt_cv_dlopen_self" = xyes; then
12233       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12234       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12235 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12236 if ${lt_cv_dlopen_self_static+:} false; then :
12237   $as_echo_n "(cached) " >&6
12238 else
12239           if test "$cross_compiling" = yes; then :
12240   lt_cv_dlopen_self_static=cross
12241 else
12242   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12243   lt_status=$lt_dlunknown
12244   cat > conftest.$ac_ext <<_LT_EOF
12245 #line $LINENO "configure"
12246 #include "confdefs.h"
12247
12248 #if HAVE_DLFCN_H
12249 #include <dlfcn.h>
12250 #endif
12251
12252 #include <stdio.h>
12253
12254 #ifdef RTLD_GLOBAL
12255 #  define LT_DLGLOBAL           RTLD_GLOBAL
12256 #else
12257 #  ifdef DL_GLOBAL
12258 #    define LT_DLGLOBAL         DL_GLOBAL
12259 #  else
12260 #    define LT_DLGLOBAL         0
12261 #  endif
12262 #endif
12263
12264 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12265    find out it does not work in some platform. */
12266 #ifndef LT_DLLAZY_OR_NOW
12267 #  ifdef RTLD_LAZY
12268 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12269 #  else
12270 #    ifdef DL_LAZY
12271 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12272 #    else
12273 #      ifdef RTLD_NOW
12274 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12275 #      else
12276 #        ifdef DL_NOW
12277 #          define LT_DLLAZY_OR_NOW      DL_NOW
12278 #        else
12279 #          define LT_DLLAZY_OR_NOW      0
12280 #        endif
12281 #      endif
12282 #    endif
12283 #  endif
12284 #endif
12285
12286 /* When -fvisbility=hidden is used, assume the code has been annotated
12287    correspondingly for the symbols needed.  */
12288 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12289 int fnord () __attribute__((visibility("default")));
12290 #endif
12291
12292 int fnord () { return 42; }
12293 int main ()
12294 {
12295   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12296   int status = $lt_dlunknown;
12297
12298   if (self)
12299     {
12300       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12301       else
12302         {
12303           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12304           else puts (dlerror ());
12305         }
12306       /* dlclose (self); */
12307     }
12308   else
12309     puts (dlerror ());
12310
12311   return status;
12312 }
12313 _LT_EOF
12314   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12315   (eval $ac_link) 2>&5
12316   ac_status=$?
12317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12318   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12319     (./conftest; exit; ) >&5 2>/dev/null
12320     lt_status=$?
12321     case x$lt_status in
12322       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12323       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12324       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12325     esac
12326   else :
12327     # compilation failed
12328     lt_cv_dlopen_self_static=no
12329   fi
12330 fi
12331 rm -fr conftest*
12332
12333
12334 fi
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12336 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12337     fi
12338
12339     CPPFLAGS="$save_CPPFLAGS"
12340     LDFLAGS="$save_LDFLAGS"
12341     LIBS="$save_LIBS"
12342     ;;
12343   esac
12344
12345   case $lt_cv_dlopen_self in
12346   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12347   *) enable_dlopen_self=unknown ;;
12348   esac
12349
12350   case $lt_cv_dlopen_self_static in
12351   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12352   *) enable_dlopen_self_static=unknown ;;
12353   esac
12354 fi
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372 striplib=
12373 old_striplib=
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12375 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12376 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12377   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12378   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12380 $as_echo "yes" >&6; }
12381 else
12382 # FIXME - insert some real tests, host_os isn't really good enough
12383   case $host_os in
12384   darwin*)
12385     if test -n "$STRIP" ; then
12386       striplib="$STRIP -x"
12387       old_striplib="$STRIP -S"
12388       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12389 $as_echo "yes" >&6; }
12390     else
12391       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12392 $as_echo "no" >&6; }
12393     fi
12394     ;;
12395   *)
12396     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12397 $as_echo "no" >&6; }
12398     ;;
12399   esac
12400 fi
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413   # Report which library types will actually be built
12414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12415 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12417 $as_echo "$can_build_shared" >&6; }
12418
12419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12420 $as_echo_n "checking whether to build shared libraries... " >&6; }
12421   test "$can_build_shared" = "no" && enable_shared=no
12422
12423   # On AIX, shared libraries and static libraries use the same namespace, and
12424   # are all built from PIC.
12425   case $host_os in
12426   aix3*)
12427     test "$enable_shared" = yes && enable_static=no
12428     if test -n "$RANLIB"; then
12429       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12430       postinstall_cmds='$RANLIB $lib'
12431     fi
12432     ;;
12433
12434   aix[4-9]*)
12435     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12436       test "$enable_shared" = yes && enable_static=no
12437     fi
12438     ;;
12439   esac
12440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12441 $as_echo "$enable_shared" >&6; }
12442
12443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12444 $as_echo_n "checking whether to build static libraries... " >&6; }
12445   # Make sure either enable_shared or enable_static is yes.
12446   test "$enable_shared" = yes || enable_static=yes
12447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12448 $as_echo "$enable_static" >&6; }
12449
12450
12451
12452
12453 fi
12454 ac_ext=c
12455 ac_cpp='$CPP $CPPFLAGS'
12456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12459
12460 CC="$lt_save_CC"
12461
12462       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12463     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12464     (test "X$CXX" != "Xg++"))) ; then
12465   ac_ext=cpp
12466 ac_cpp='$CXXCPP $CPPFLAGS'
12467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12471 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12472 if test -z "$CXXCPP"; then
12473   if ${ac_cv_prog_CXXCPP+:} false; then :
12474   $as_echo_n "(cached) " >&6
12475 else
12476       # Double quotes because CXXCPP needs to be expanded
12477     for CXXCPP in "$CXX -E" "/lib/cpp"
12478     do
12479       ac_preproc_ok=false
12480 for ac_cxx_preproc_warn_flag in '' yes
12481 do
12482   # Use a header file that comes with gcc, so configuring glibc
12483   # with a fresh cross-compiler works.
12484   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12485   # <limits.h> exists even on freestanding compilers.
12486   # On the NeXT, cc -E runs the code through the compiler's parser,
12487   # not just through cpp. "Syntax error" is here to catch this case.
12488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h.  */
12490 #ifdef __STDC__
12491 # include <limits.h>
12492 #else
12493 # include <assert.h>
12494 #endif
12495                      Syntax error
12496 _ACEOF
12497 if ac_fn_cxx_try_cpp "$LINENO"; then :
12498
12499 else
12500   # Broken: fails on valid input.
12501 continue
12502 fi
12503 rm -f conftest.err conftest.i conftest.$ac_ext
12504
12505   # OK, works on sane cases.  Now check whether nonexistent headers
12506   # can be detected and how.
12507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h.  */
12509 #include <ac_nonexistent.h>
12510 _ACEOF
12511 if ac_fn_cxx_try_cpp "$LINENO"; then :
12512   # Broken: success on invalid input.
12513 continue
12514 else
12515   # Passes both tests.
12516 ac_preproc_ok=:
12517 break
12518 fi
12519 rm -f conftest.err conftest.i conftest.$ac_ext
12520
12521 done
12522 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12523 rm -f conftest.i conftest.err conftest.$ac_ext
12524 if $ac_preproc_ok; then :
12525   break
12526 fi
12527
12528     done
12529     ac_cv_prog_CXXCPP=$CXXCPP
12530
12531 fi
12532   CXXCPP=$ac_cv_prog_CXXCPP
12533 else
12534   ac_cv_prog_CXXCPP=$CXXCPP
12535 fi
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12537 $as_echo "$CXXCPP" >&6; }
12538 ac_preproc_ok=false
12539 for ac_cxx_preproc_warn_flag in '' yes
12540 do
12541   # Use a header file that comes with gcc, so configuring glibc
12542   # with a fresh cross-compiler works.
12543   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12544   # <limits.h> exists even on freestanding compilers.
12545   # On the NeXT, cc -E runs the code through the compiler's parser,
12546   # not just through cpp. "Syntax error" is here to catch this case.
12547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12548 /* end confdefs.h.  */
12549 #ifdef __STDC__
12550 # include <limits.h>
12551 #else
12552 # include <assert.h>
12553 #endif
12554                      Syntax error
12555 _ACEOF
12556 if ac_fn_cxx_try_cpp "$LINENO"; then :
12557
12558 else
12559   # Broken: fails on valid input.
12560 continue
12561 fi
12562 rm -f conftest.err conftest.i conftest.$ac_ext
12563
12564   # OK, works on sane cases.  Now check whether nonexistent headers
12565   # can be detected and how.
12566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h.  */
12568 #include <ac_nonexistent.h>
12569 _ACEOF
12570 if ac_fn_cxx_try_cpp "$LINENO"; then :
12571   # Broken: success on invalid input.
12572 continue
12573 else
12574   # Passes both tests.
12575 ac_preproc_ok=:
12576 break
12577 fi
12578 rm -f conftest.err conftest.i conftest.$ac_ext
12579
12580 done
12581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12582 rm -f conftest.i conftest.err conftest.$ac_ext
12583 if $ac_preproc_ok; then :
12584
12585 else
12586   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12588 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12589 See \`config.log' for more details" "$LINENO" 5; }
12590 fi
12591
12592 ac_ext=c
12593 ac_cpp='$CPP $CPPFLAGS'
12594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12597
12598 else
12599   _lt_caught_CXX_error=yes
12600 fi
12601
12602 ac_ext=cpp
12603 ac_cpp='$CXXCPP $CPPFLAGS'
12604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12607
12608 archive_cmds_need_lc_CXX=no
12609 allow_undefined_flag_CXX=
12610 always_export_symbols_CXX=no
12611 archive_expsym_cmds_CXX=
12612 compiler_needs_object_CXX=no
12613 export_dynamic_flag_spec_CXX=
12614 hardcode_direct_CXX=no
12615 hardcode_direct_absolute_CXX=no
12616 hardcode_libdir_flag_spec_CXX=
12617 hardcode_libdir_separator_CXX=
12618 hardcode_minus_L_CXX=no
12619 hardcode_shlibpath_var_CXX=unsupported
12620 hardcode_automatic_CXX=no
12621 inherit_rpath_CXX=no
12622 module_cmds_CXX=
12623 module_expsym_cmds_CXX=
12624 link_all_deplibs_CXX=unknown
12625 old_archive_cmds_CXX=$old_archive_cmds
12626 reload_flag_CXX=$reload_flag
12627 reload_cmds_CXX=$reload_cmds
12628 no_undefined_flag_CXX=
12629 whole_archive_flag_spec_CXX=
12630 enable_shared_with_static_runtimes_CXX=no
12631
12632 # Source file extension for C++ test sources.
12633 ac_ext=cpp
12634
12635 # Object file extension for compiled C++ test sources.
12636 objext=o
12637 objext_CXX=$objext
12638
12639 # No sense in running all these tests if we already determined that
12640 # the CXX compiler isn't working.  Some variables (like enable_shared)
12641 # are currently assumed to apply to all compilers on this platform,
12642 # and will be corrupted by setting them based on a non-working compiler.
12643 if test "$_lt_caught_CXX_error" != yes; then
12644   # Code to be used in simple compile tests
12645   lt_simple_compile_test_code="int some_variable = 0;"
12646
12647   # Code to be used in simple link tests
12648   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12649
12650   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12651
12652
12653
12654
12655
12656
12657 # If no C compiler was specified, use CC.
12658 LTCC=${LTCC-"$CC"}
12659
12660 # If no C compiler flags were specified, use CFLAGS.
12661 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12662
12663 # Allow CC to be a program name with arguments.
12664 compiler=$CC
12665
12666
12667   # save warnings/boilerplate of simple test code
12668   ac_outfile=conftest.$ac_objext
12669 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12670 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12671 _lt_compiler_boilerplate=`cat conftest.err`
12672 $RM conftest*
12673
12674   ac_outfile=conftest.$ac_objext
12675 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12676 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12677 _lt_linker_boilerplate=`cat conftest.err`
12678 $RM -r conftest*
12679
12680
12681   # Allow CC to be a program name with arguments.
12682   lt_save_CC=$CC
12683   lt_save_CFLAGS=$CFLAGS
12684   lt_save_LD=$LD
12685   lt_save_GCC=$GCC
12686   GCC=$GXX
12687   lt_save_with_gnu_ld=$with_gnu_ld
12688   lt_save_path_LD=$lt_cv_path_LD
12689   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12690     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12691   else
12692     $as_unset lt_cv_prog_gnu_ld
12693   fi
12694   if test -n "${lt_cv_path_LDCXX+set}"; then
12695     lt_cv_path_LD=$lt_cv_path_LDCXX
12696   else
12697     $as_unset lt_cv_path_LD
12698   fi
12699   test -z "${LDCXX+set}" || LD=$LDCXX
12700   CC=${CXX-"c++"}
12701   CFLAGS=$CXXFLAGS
12702   compiler=$CC
12703   compiler_CXX=$CC
12704   for cc_temp in $compiler""; do
12705   case $cc_temp in
12706     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12707     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12708     \-*) ;;
12709     *) break;;
12710   esac
12711 done
12712 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12713
12714
12715   if test -n "$compiler"; then
12716     # We don't want -fno-exception when compiling C++ code, so set the
12717     # no_builtin_flag separately
12718     if test "$GXX" = yes; then
12719       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12720     else
12721       lt_prog_compiler_no_builtin_flag_CXX=
12722     fi
12723
12724     if test "$GXX" = yes; then
12725       # Set up default GNU C++ configuration
12726
12727
12728
12729 # Check whether --with-gnu-ld was given.
12730 if test "${with_gnu_ld+set}" = set; then :
12731   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12732 else
12733   with_gnu_ld=no
12734 fi
12735
12736 ac_prog=ld
12737 if test "$GCC" = yes; then
12738   # Check if gcc -print-prog-name=ld gives a path.
12739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12740 $as_echo_n "checking for ld used by $CC... " >&6; }
12741   case $host in
12742   *-*-mingw*)
12743     # gcc leaves a trailing carriage return which upsets mingw
12744     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12745   *)
12746     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12747   esac
12748   case $ac_prog in
12749     # Accept absolute paths.
12750     [\\/]* | ?:[\\/]*)
12751       re_direlt='/[^/][^/]*/\.\./'
12752       # Canonicalize the pathname of ld
12753       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12754       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12755         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12756       done
12757       test -z "$LD" && LD="$ac_prog"
12758       ;;
12759   "")
12760     # If it fails, then pretend we aren't using GCC.
12761     ac_prog=ld
12762     ;;
12763   *)
12764     # If it is relative, then search for the first ld in PATH.
12765     with_gnu_ld=unknown
12766     ;;
12767   esac
12768 elif test "$with_gnu_ld" = yes; then
12769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12770 $as_echo_n "checking for GNU ld... " >&6; }
12771 else
12772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12773 $as_echo_n "checking for non-GNU ld... " >&6; }
12774 fi
12775 if ${lt_cv_path_LD+:} false; then :
12776   $as_echo_n "(cached) " >&6
12777 else
12778   if test -z "$LD"; then
12779   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12780   for ac_dir in $PATH; do
12781     IFS="$lt_save_ifs"
12782     test -z "$ac_dir" && ac_dir=.
12783     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12784       lt_cv_path_LD="$ac_dir/$ac_prog"
12785       # Check to see if the program is GNU ld.  I'd rather use --version,
12786       # but apparently some variants of GNU ld only accept -v.
12787       # Break only if it was the GNU/non-GNU ld that we prefer.
12788       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12789       *GNU* | *'with BFD'*)
12790         test "$with_gnu_ld" != no && break
12791         ;;
12792       *)
12793         test "$with_gnu_ld" != yes && break
12794         ;;
12795       esac
12796     fi
12797   done
12798   IFS="$lt_save_ifs"
12799 else
12800   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12801 fi
12802 fi
12803
12804 LD="$lt_cv_path_LD"
12805 if test -n "$LD"; then
12806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12807 $as_echo "$LD" >&6; }
12808 else
12809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12810 $as_echo "no" >&6; }
12811 fi
12812 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12814 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12815 if ${lt_cv_prog_gnu_ld+:} false; then :
12816   $as_echo_n "(cached) " >&6
12817 else
12818   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12819 case `$LD -v 2>&1 </dev/null` in
12820 *GNU* | *'with BFD'*)
12821   lt_cv_prog_gnu_ld=yes
12822   ;;
12823 *)
12824   lt_cv_prog_gnu_ld=no
12825   ;;
12826 esac
12827 fi
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12829 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12830 with_gnu_ld=$lt_cv_prog_gnu_ld
12831
12832
12833
12834
12835
12836
12837
12838       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12839       # archiving commands below assume that GNU ld is being used.
12840       if test "$with_gnu_ld" = yes; then
12841         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842         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'
12843
12844         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12845         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12846
12847         # If archive_cmds runs LD, not CC, wlarc should be empty
12848         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12849         #     investigate it a little bit more. (MM)
12850         wlarc='${wl}'
12851
12852         # ancient GNU ld didn't support --whole-archive et. al.
12853         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12854           $GREP 'no-whole-archive' > /dev/null; then
12855           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12856         else
12857           whole_archive_flag_spec_CXX=
12858         fi
12859       else
12860         with_gnu_ld=no
12861         wlarc=
12862
12863         # A generic and very simple default shared library creation
12864         # command for GNU C++ for the case where it uses the native
12865         # linker, instead of GNU ld.  If possible, this setting should
12866         # overridden to take advantage of the native linker features on
12867         # the platform it is being used on.
12868         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12869       fi
12870
12871       # Commands to make compiler produce verbose output that lists
12872       # what "hidden" libraries, object files and flags are used when
12873       # linking a shared library.
12874       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12875
12876     else
12877       GXX=no
12878       with_gnu_ld=no
12879       wlarc=
12880     fi
12881
12882     # PORTME: fill in a description of your system's C++ link characteristics
12883     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12884 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12885     ld_shlibs_CXX=yes
12886     case $host_os in
12887       aix3*)
12888         # FIXME: insert proper C++ library support
12889         ld_shlibs_CXX=no
12890         ;;
12891       aix[4-9]*)
12892         if test "$host_cpu" = ia64; then
12893           # On IA64, the linker does run time linking by default, so we don't
12894           # have to do anything special.
12895           aix_use_runtimelinking=no
12896           exp_sym_flag='-Bexport'
12897           no_entry_flag=""
12898         else
12899           aix_use_runtimelinking=no
12900
12901           # Test if we are trying to use run time linking or normal
12902           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12903           # need to do runtime linking.
12904           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12905             for ld_flag in $LDFLAGS; do
12906               case $ld_flag in
12907               *-brtl*)
12908                 aix_use_runtimelinking=yes
12909                 break
12910                 ;;
12911               esac
12912             done
12913             ;;
12914           esac
12915
12916           exp_sym_flag='-bexport'
12917           no_entry_flag='-bnoentry'
12918         fi
12919
12920         # When large executables or shared objects are built, AIX ld can
12921         # have problems creating the table of contents.  If linking a library
12922         # or program results in "error TOC overflow" add -mminimal-toc to
12923         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12924         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12925
12926         archive_cmds_CXX=''
12927         hardcode_direct_CXX=yes
12928         hardcode_direct_absolute_CXX=yes
12929         hardcode_libdir_separator_CXX=':'
12930         link_all_deplibs_CXX=yes
12931         file_list_spec_CXX='${wl}-f,'
12932
12933         if test "$GXX" = yes; then
12934           case $host_os in aix4.[012]|aix4.[012].*)
12935           # We only want to do this on AIX 4.2 and lower, the check
12936           # below for broken collect2 doesn't work under 4.3+
12937           collect2name=`${CC} -print-prog-name=collect2`
12938           if test -f "$collect2name" &&
12939              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12940           then
12941             # We have reworked collect2
12942             :
12943           else
12944             # We have old collect2
12945             hardcode_direct_CXX=unsupported
12946             # It fails to find uninstalled libraries when the uninstalled
12947             # path is not listed in the libpath.  Setting hardcode_minus_L
12948             # to unsupported forces relinking
12949             hardcode_minus_L_CXX=yes
12950             hardcode_libdir_flag_spec_CXX='-L$libdir'
12951             hardcode_libdir_separator_CXX=
12952           fi
12953           esac
12954           shared_flag='-shared'
12955           if test "$aix_use_runtimelinking" = yes; then
12956             shared_flag="$shared_flag "'${wl}-G'
12957           fi
12958         else
12959           # not using gcc
12960           if test "$host_cpu" = ia64; then
12961           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12962           # chokes on -Wl,-G. The following line is correct:
12963           shared_flag='-G'
12964           else
12965             if test "$aix_use_runtimelinking" = yes; then
12966               shared_flag='${wl}-G'
12967             else
12968               shared_flag='${wl}-bM:SRE'
12969             fi
12970           fi
12971         fi
12972
12973         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12974         # It seems that -bexpall does not export symbols beginning with
12975         # underscore (_), so it is better to generate a list of symbols to
12976         # export.
12977         always_export_symbols_CXX=yes
12978         if test "$aix_use_runtimelinking" = yes; then
12979           # Warning - without using the other runtime loading flags (-brtl),
12980           # -berok will link without error, but may produce a broken library.
12981           allow_undefined_flag_CXX='-berok'
12982           # Determine the default libpath from the value encoded in an empty
12983           # executable.
12984           if test "${lt_cv_aix_libpath+set}" = set; then
12985   aix_libpath=$lt_cv_aix_libpath
12986 else
12987   if ${lt_cv_aix_libpath__CXX+:} false; then :
12988   $as_echo_n "(cached) " >&6
12989 else
12990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h.  */
12992
12993 int
12994 main ()
12995 {
12996
12997   ;
12998   return 0;
12999 }
13000 _ACEOF
13001 if ac_fn_cxx_try_link "$LINENO"; then :
13002
13003   lt_aix_libpath_sed='
13004       /Import File Strings/,/^$/ {
13005           /^0/ {
13006               s/^0  *\([^ ]*\) *$/\1/
13007               p
13008           }
13009       }'
13010   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13011   # Check for a 64-bit object if we didn't find anything.
13012   if test -z "$lt_cv_aix_libpath__CXX"; then
13013     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13014   fi
13015 fi
13016 rm -f core conftest.err conftest.$ac_objext \
13017     conftest$ac_exeext conftest.$ac_ext
13018   if test -z "$lt_cv_aix_libpath__CXX"; then
13019     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13020   fi
13021
13022 fi
13023
13024   aix_libpath=$lt_cv_aix_libpath__CXX
13025 fi
13026
13027           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13028
13029           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13030         else
13031           if test "$host_cpu" = ia64; then
13032             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13033             allow_undefined_flag_CXX="-z nodefs"
13034             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"
13035           else
13036             # Determine the default libpath from the value encoded in an
13037             # empty executable.
13038             if test "${lt_cv_aix_libpath+set}" = set; then
13039   aix_libpath=$lt_cv_aix_libpath
13040 else
13041   if ${lt_cv_aix_libpath__CXX+:} false; then :
13042   $as_echo_n "(cached) " >&6
13043 else
13044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h.  */
13046
13047 int
13048 main ()
13049 {
13050
13051   ;
13052   return 0;
13053 }
13054 _ACEOF
13055 if ac_fn_cxx_try_link "$LINENO"; then :
13056
13057   lt_aix_libpath_sed='
13058       /Import File Strings/,/^$/ {
13059           /^0/ {
13060               s/^0  *\([^ ]*\) *$/\1/
13061               p
13062           }
13063       }'
13064   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13065   # Check for a 64-bit object if we didn't find anything.
13066   if test -z "$lt_cv_aix_libpath__CXX"; then
13067     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13068   fi
13069 fi
13070 rm -f core conftest.err conftest.$ac_objext \
13071     conftest$ac_exeext conftest.$ac_ext
13072   if test -z "$lt_cv_aix_libpath__CXX"; then
13073     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13074   fi
13075
13076 fi
13077
13078   aix_libpath=$lt_cv_aix_libpath__CXX
13079 fi
13080
13081             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13082             # Warning - without using the other run time loading flags,
13083             # -berok will link without error, but may produce a broken library.
13084             no_undefined_flag_CXX=' ${wl}-bernotok'
13085             allow_undefined_flag_CXX=' ${wl}-berok'
13086             if test "$with_gnu_ld" = yes; then
13087               # We only use this code for GNU lds that support --whole-archive.
13088               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13089             else
13090               # Exported symbols can be pulled into shared objects from archives
13091               whole_archive_flag_spec_CXX='$convenience'
13092             fi
13093             archive_cmds_need_lc_CXX=yes
13094             # This is similar to how AIX traditionally builds its shared
13095             # libraries.
13096             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13097           fi
13098         fi
13099         ;;
13100
13101       beos*)
13102         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13103           allow_undefined_flag_CXX=unsupported
13104           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13105           # support --undefined.  This deserves some investigation.  FIXME
13106           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13107         else
13108           ld_shlibs_CXX=no
13109         fi
13110         ;;
13111
13112       chorus*)
13113         case $cc_basename in
13114           *)
13115           # FIXME: insert proper C++ library support
13116           ld_shlibs_CXX=no
13117           ;;
13118         esac
13119         ;;
13120
13121       cygwin* | mingw* | pw32* | cegcc*)
13122         case $GXX,$cc_basename in
13123         ,cl* | no,cl*)
13124           # Native MSVC
13125           # hardcode_libdir_flag_spec is actually meaningless, as there is
13126           # no search path for DLLs.
13127           hardcode_libdir_flag_spec_CXX=' '
13128           allow_undefined_flag_CXX=unsupported
13129           always_export_symbols_CXX=yes
13130           file_list_spec_CXX='@'
13131           # Tell ltmain to make .lib files, not .a files.
13132           libext=lib
13133           # Tell ltmain to make .dll files, not .so files.
13134           shrext_cmds=".dll"
13135           # FIXME: Setting linknames here is a bad hack.
13136           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13137           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13138               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13139             else
13140               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13141             fi~
13142             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13143             linknames='
13144           # The linker will not automatically build a static lib if we build a DLL.
13145           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13146           enable_shared_with_static_runtimes_CXX=yes
13147           # Don't use ranlib
13148           old_postinstall_cmds_CXX='chmod 644 $oldlib'
13149           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13150             lt_tool_outputfile="@TOOL_OUTPUT@"~
13151             case $lt_outputfile in
13152               *.exe|*.EXE) ;;
13153               *)
13154                 lt_outputfile="$lt_outputfile.exe"
13155                 lt_tool_outputfile="$lt_tool_outputfile.exe"
13156                 ;;
13157             esac~
13158             func_to_tool_file "$lt_outputfile"~
13159             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13160               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13161               $RM "$lt_outputfile.manifest";
13162             fi'
13163           ;;
13164         *)
13165           # g++
13166           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13167           # as there is no search path for DLLs.
13168           hardcode_libdir_flag_spec_CXX='-L$libdir'
13169           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13170           allow_undefined_flag_CXX=unsupported
13171           always_export_symbols_CXX=no
13172           enable_shared_with_static_runtimes_CXX=yes
13173
13174           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13175             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'
13176             # If the export-symbols file already is a .def file (1st line
13177             # is EXPORTS), use it as is; otherwise, prepend...
13178             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13179               cp $export_symbols $output_objdir/$soname.def;
13180             else
13181               echo EXPORTS > $output_objdir/$soname.def;
13182               cat $export_symbols >> $output_objdir/$soname.def;
13183             fi~
13184             $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'
13185           else
13186             ld_shlibs_CXX=no
13187           fi
13188           ;;
13189         esac
13190         ;;
13191       darwin* | rhapsody*)
13192
13193
13194   archive_cmds_need_lc_CXX=no
13195   hardcode_direct_CXX=no
13196   hardcode_automatic_CXX=yes
13197   hardcode_shlibpath_var_CXX=unsupported
13198   if test "$lt_cv_ld_force_load" = "yes"; then
13199     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\"`'
13200
13201   else
13202     whole_archive_flag_spec_CXX=''
13203   fi
13204   link_all_deplibs_CXX=yes
13205   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13206   case $cc_basename in
13207      ifort*) _lt_dar_can_shared=yes ;;
13208      *) _lt_dar_can_shared=$GCC ;;
13209   esac
13210   if test "$_lt_dar_can_shared" = "yes"; then
13211     output_verbose_link_cmd=func_echo_all
13212     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}"
13213     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13214     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}"
13215     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}"
13216        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13217       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}"
13218       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}"
13219     fi
13220
13221   else
13222   ld_shlibs_CXX=no
13223   fi
13224
13225         ;;
13226
13227       dgux*)
13228         case $cc_basename in
13229           ec++*)
13230             # FIXME: insert proper C++ library support
13231             ld_shlibs_CXX=no
13232             ;;
13233           ghcx*)
13234             # Green Hills C++ Compiler
13235             # FIXME: insert proper C++ library support
13236             ld_shlibs_CXX=no
13237             ;;
13238           *)
13239             # FIXME: insert proper C++ library support
13240             ld_shlibs_CXX=no
13241             ;;
13242         esac
13243         ;;
13244
13245       freebsd2.*)
13246         # C++ shared libraries reported to be fairly broken before
13247         # switch to ELF
13248         ld_shlibs_CXX=no
13249         ;;
13250
13251       freebsd-elf*)
13252         archive_cmds_need_lc_CXX=no
13253         ;;
13254
13255       freebsd* | dragonfly*)
13256         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13257         # conventions
13258         ld_shlibs_CXX=yes
13259         ;;
13260
13261       haiku*)
13262         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13263         link_all_deplibs_CXX=yes
13264         ;;
13265
13266       hpux9*)
13267         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13268         hardcode_libdir_separator_CXX=:
13269         export_dynamic_flag_spec_CXX='${wl}-E'
13270         hardcode_direct_CXX=yes
13271         hardcode_minus_L_CXX=yes # Not in the search PATH,
13272                                              # but as the default
13273                                              # location of the library.
13274
13275         case $cc_basename in
13276           CC*)
13277             # FIXME: insert proper C++ library support
13278             ld_shlibs_CXX=no
13279             ;;
13280           aCC*)
13281             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13282             # Commands to make compiler produce verbose output that lists
13283             # what "hidden" libraries, object files and flags are used when
13284             # linking a shared library.
13285             #
13286             # There doesn't appear to be a way to prevent this compiler from
13287             # explicitly linking system object files so we need to strip them
13288             # from the output so that they don't get included in the library
13289             # dependencies.
13290             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"'
13291             ;;
13292           *)
13293             if test "$GXX" = yes; then
13294               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13295             else
13296               # FIXME: insert proper C++ library support
13297               ld_shlibs_CXX=no
13298             fi
13299             ;;
13300         esac
13301         ;;
13302
13303       hpux10*|hpux11*)
13304         if test $with_gnu_ld = no; then
13305           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13306           hardcode_libdir_separator_CXX=:
13307
13308           case $host_cpu in
13309             hppa*64*|ia64*)
13310               ;;
13311             *)
13312               export_dynamic_flag_spec_CXX='${wl}-E'
13313               ;;
13314           esac
13315         fi
13316         case $host_cpu in
13317           hppa*64*|ia64*)
13318             hardcode_direct_CXX=no
13319             hardcode_shlibpath_var_CXX=no
13320             ;;
13321           *)
13322             hardcode_direct_CXX=yes
13323             hardcode_direct_absolute_CXX=yes
13324             hardcode_minus_L_CXX=yes # Not in the search PATH,
13325                                                  # but as the default
13326                                                  # location of the library.
13327             ;;
13328         esac
13329
13330         case $cc_basename in
13331           CC*)
13332             # FIXME: insert proper C++ library support
13333             ld_shlibs_CXX=no
13334             ;;
13335           aCC*)
13336             case $host_cpu in
13337               hppa*64*)
13338                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13339                 ;;
13340               ia64*)
13341                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13342                 ;;
13343               *)
13344                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13345                 ;;
13346             esac
13347             # Commands to make compiler produce verbose output that lists
13348             # what "hidden" libraries, object files and flags are used when
13349             # linking a shared library.
13350             #
13351             # There doesn't appear to be a way to prevent this compiler from
13352             # explicitly linking system object files so we need to strip them
13353             # from the output so that they don't get included in the library
13354             # dependencies.
13355             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"'
13356             ;;
13357           *)
13358             if test "$GXX" = yes; then
13359               if test $with_gnu_ld = no; then
13360                 case $host_cpu in
13361                   hppa*64*)
13362                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13363                     ;;
13364                   ia64*)
13365                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13366                     ;;
13367                   *)
13368                     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'
13369                     ;;
13370                 esac
13371               fi
13372             else
13373               # FIXME: insert proper C++ library support
13374               ld_shlibs_CXX=no
13375             fi
13376             ;;
13377         esac
13378         ;;
13379
13380       interix[3-9]*)
13381         hardcode_direct_CXX=no
13382         hardcode_shlibpath_var_CXX=no
13383         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13384         export_dynamic_flag_spec_CXX='${wl}-E'
13385         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13386         # Instead, shared libraries are loaded at an image base (0x10000000 by
13387         # default) and relocated if they conflict, which is a slow very memory
13388         # consuming and fragmenting process.  To avoid this, we pick a random,
13389         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13390         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13391         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'
13392         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'
13393         ;;
13394       irix5* | irix6*)
13395         case $cc_basename in
13396           CC*)
13397             # SGI C++
13398             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'
13399
13400             # Archives containing C++ object files must be created using
13401             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13402             # necessary to make sure instantiated templates are included
13403             # in the archive.
13404             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13405             ;;
13406           *)
13407             if test "$GXX" = yes; then
13408               if test "$with_gnu_ld" = no; then
13409                 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'
13410               else
13411                 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'
13412               fi
13413             fi
13414             link_all_deplibs_CXX=yes
13415             ;;
13416         esac
13417         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13418         hardcode_libdir_separator_CXX=:
13419         inherit_rpath_CXX=yes
13420         ;;
13421
13422       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13423         case $cc_basename in
13424           KCC*)
13425             # Kuck and Associates, Inc. (KAI) C++ Compiler
13426
13427             # KCC will only create a shared library if the output file
13428             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13429             # to its proper name (with version) after linking.
13430             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'
13431             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'
13432             # Commands to make compiler produce verbose output that lists
13433             # what "hidden" libraries, object files and flags are used when
13434             # linking a shared library.
13435             #
13436             # There doesn't appear to be a way to prevent this compiler from
13437             # explicitly linking system object files so we need to strip them
13438             # from the output so that they don't get included in the library
13439             # dependencies.
13440             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"'
13441
13442             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13443             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13444
13445             # Archives containing C++ object files must be created using
13446             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13447             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13448             ;;
13449           icpc* | ecpc* )
13450             # Intel C++
13451             with_gnu_ld=yes
13452             # version 8.0 and above of icpc choke on multiply defined symbols
13453             # if we add $predep_objects and $postdep_objects, however 7.1 and
13454             # earlier do not add the objects themselves.
13455             case `$CC -V 2>&1` in
13456               *"Version 7."*)
13457                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13458                 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'
13459                 ;;
13460               *)  # Version 8.0 or newer
13461                 tmp_idyn=
13462                 case $host_cpu in
13463                   ia64*) tmp_idyn=' -i_dynamic';;
13464                 esac
13465                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13466                 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'
13467                 ;;
13468             esac
13469             archive_cmds_need_lc_CXX=no
13470             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13471             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13472             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13473             ;;
13474           pgCC* | pgcpp*)
13475             # Portland Group C++ compiler
13476             case `$CC -V` in
13477             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13478               prelink_cmds_CXX='tpldir=Template.dir~
13479                 rm -rf $tpldir~
13480                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13481                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13482               old_archive_cmds_CXX='tpldir=Template.dir~
13483                 rm -rf $tpldir~
13484                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13485                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13486                 $RANLIB $oldlib'
13487               archive_cmds_CXX='tpldir=Template.dir~
13488                 rm -rf $tpldir~
13489                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13490                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13491               archive_expsym_cmds_CXX='tpldir=Template.dir~
13492                 rm -rf $tpldir~
13493                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13494                 $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'
13495               ;;
13496             *) # Version 6 and above use weak symbols
13497               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13498               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'
13499               ;;
13500             esac
13501
13502             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13503             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13504             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'
13505             ;;
13506           cxx*)
13507             # Compaq C++
13508             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13509             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'
13510
13511             runpath_var=LD_RUN_PATH
13512             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13513             hardcode_libdir_separator_CXX=:
13514
13515             # Commands to make compiler produce verbose output that lists
13516             # what "hidden" libraries, object files and flags are used when
13517             # linking a shared library.
13518             #
13519             # There doesn't appear to be a way to prevent this compiler from
13520             # explicitly linking system object files so we need to strip them
13521             # from the output so that they don't get included in the library
13522             # dependencies.
13523             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'
13524             ;;
13525           xl* | mpixl* | bgxl*)
13526             # IBM XL 8.0 on PPC, with GNU ld
13527             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13528             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13529             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13530             if test "x$supports_anon_versioning" = xyes; then
13531               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13532                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13533                 echo "local: *; };" >> $output_objdir/$libname.ver~
13534                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13535             fi
13536             ;;
13537           *)
13538             case `$CC -V 2>&1 | sed 5q` in
13539             *Sun\ C*)
13540               # Sun C++ 5.9
13541               no_undefined_flag_CXX=' -zdefs'
13542               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13543               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'
13544               hardcode_libdir_flag_spec_CXX='-R$libdir'
13545               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'
13546               compiler_needs_object_CXX=yes
13547
13548               # Not sure whether something based on
13549               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13550               # would be better.
13551               output_verbose_link_cmd='func_echo_all'
13552
13553               # Archives containing C++ object files must be created using
13554               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13555               # necessary to make sure instantiated templates are included
13556               # in the archive.
13557               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13558               ;;
13559             esac
13560             ;;
13561         esac
13562         ;;
13563
13564       lynxos*)
13565         # FIXME: insert proper C++ library support
13566         ld_shlibs_CXX=no
13567         ;;
13568
13569       m88k*)
13570         # FIXME: insert proper C++ library support
13571         ld_shlibs_CXX=no
13572         ;;
13573
13574       mvs*)
13575         case $cc_basename in
13576           cxx*)
13577             # FIXME: insert proper C++ library support
13578             ld_shlibs_CXX=no
13579             ;;
13580           *)
13581             # FIXME: insert proper C++ library support
13582             ld_shlibs_CXX=no
13583             ;;
13584         esac
13585         ;;
13586
13587       netbsd*)
13588         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13589           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13590           wlarc=
13591           hardcode_libdir_flag_spec_CXX='-R$libdir'
13592           hardcode_direct_CXX=yes
13593           hardcode_shlibpath_var_CXX=no
13594         fi
13595         # Workaround some broken pre-1.5 toolchains
13596         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13597         ;;
13598
13599       *nto* | *qnx*)
13600         ld_shlibs_CXX=yes
13601         ;;
13602
13603       openbsd2*)
13604         # C++ shared libraries are fairly broken
13605         ld_shlibs_CXX=no
13606         ;;
13607
13608       openbsd*)
13609         if test -f /usr/libexec/ld.so; then
13610           hardcode_direct_CXX=yes
13611           hardcode_shlibpath_var_CXX=no
13612           hardcode_direct_absolute_CXX=yes
13613           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13614           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13615           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13616             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13617             export_dynamic_flag_spec_CXX='${wl}-E'
13618             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13619           fi
13620           output_verbose_link_cmd=func_echo_all
13621         else
13622           ld_shlibs_CXX=no
13623         fi
13624         ;;
13625
13626       osf3* | osf4* | osf5*)
13627         case $cc_basename in
13628           KCC*)
13629             # Kuck and Associates, Inc. (KAI) C++ Compiler
13630
13631             # KCC will only create a shared library if the output file
13632             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13633             # to its proper name (with version) after linking.
13634             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'
13635
13636             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13637             hardcode_libdir_separator_CXX=:
13638
13639             # Archives containing C++ object files must be created using
13640             # the KAI C++ compiler.
13641             case $host in
13642               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13643               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13644             esac
13645             ;;
13646           RCC*)
13647             # Rational C++ 2.4.1
13648             # FIXME: insert proper C++ library support
13649             ld_shlibs_CXX=no
13650             ;;
13651           cxx*)
13652             case $host in
13653               osf3*)
13654                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13655                 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'
13656                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13657                 ;;
13658               *)
13659                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13660                 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'
13661                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13662                   echo "-hidden">> $lib.exp~
13663                   $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~
13664                   $RM $lib.exp'
13665                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13666                 ;;
13667             esac
13668
13669             hardcode_libdir_separator_CXX=:
13670
13671             # Commands to make compiler produce verbose output that lists
13672             # what "hidden" libraries, object files and flags are used when
13673             # linking a shared library.
13674             #
13675             # There doesn't appear to be a way to prevent this compiler from
13676             # explicitly linking system object files so we need to strip them
13677             # from the output so that they don't get included in the library
13678             # dependencies.
13679             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"'
13680             ;;
13681           *)
13682             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13683               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13684               case $host in
13685                 osf3*)
13686                   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'
13687                   ;;
13688                 *)
13689                   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'
13690                   ;;
13691               esac
13692
13693               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13694               hardcode_libdir_separator_CXX=:
13695
13696               # Commands to make compiler produce verbose output that lists
13697               # what "hidden" libraries, object files and flags are used when
13698               # linking a shared library.
13699               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13700
13701             else
13702               # FIXME: insert proper C++ library support
13703               ld_shlibs_CXX=no
13704             fi
13705             ;;
13706         esac
13707         ;;
13708
13709       psos*)
13710         # FIXME: insert proper C++ library support
13711         ld_shlibs_CXX=no
13712         ;;
13713
13714       sunos4*)
13715         case $cc_basename in
13716           CC*)
13717             # Sun C++ 4.x
13718             # FIXME: insert proper C++ library support
13719             ld_shlibs_CXX=no
13720             ;;
13721           lcc*)
13722             # Lucid
13723             # FIXME: insert proper C++ library support
13724             ld_shlibs_CXX=no
13725             ;;
13726           *)
13727             # FIXME: insert proper C++ library support
13728             ld_shlibs_CXX=no
13729             ;;
13730         esac
13731         ;;
13732
13733       solaris*)
13734         case $cc_basename in
13735           CC* | sunCC*)
13736             # Sun C++ 4.2, 5.x and Centerline C++
13737             archive_cmds_need_lc_CXX=yes
13738             no_undefined_flag_CXX=' -zdefs'
13739             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13740             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13741               $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'
13742
13743             hardcode_libdir_flag_spec_CXX='-R$libdir'
13744             hardcode_shlibpath_var_CXX=no
13745             case $host_os in
13746               solaris2.[0-5] | solaris2.[0-5].*) ;;
13747               *)
13748                 # The compiler driver will combine and reorder linker options,
13749                 # but understands `-z linker_flag'.
13750                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13751                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13752                 ;;
13753             esac
13754             link_all_deplibs_CXX=yes
13755
13756             output_verbose_link_cmd='func_echo_all'
13757
13758             # Archives containing C++ object files must be created using
13759             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13760             # necessary to make sure instantiated templates are included
13761             # in the archive.
13762             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13763             ;;
13764           gcx*)
13765             # Green Hills C++ Compiler
13766             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13767
13768             # The C++ compiler must be used to create the archive.
13769             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13770             ;;
13771           *)
13772             # GNU C++ compiler with Solaris linker
13773             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13774               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13775               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13776                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13777                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13778                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13779
13780                 # Commands to make compiler produce verbose output that lists
13781                 # what "hidden" libraries, object files and flags are used when
13782                 # linking a shared library.
13783                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13784               else
13785                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13786                 # platform.
13787                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13788                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13789                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13790
13791                 # Commands to make compiler produce verbose output that lists
13792                 # what "hidden" libraries, object files and flags are used when
13793                 # linking a shared library.
13794                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13795               fi
13796
13797               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13798               case $host_os in
13799                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13800                 *)
13801                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13802                   ;;
13803               esac
13804             fi
13805             ;;
13806         esac
13807         ;;
13808
13809     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13810       no_undefined_flag_CXX='${wl}-z,text'
13811       archive_cmds_need_lc_CXX=no
13812       hardcode_shlibpath_var_CXX=no
13813       runpath_var='LD_RUN_PATH'
13814
13815       case $cc_basename in
13816         CC*)
13817           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13818           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13819           ;;
13820         *)
13821           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13822           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13823           ;;
13824       esac
13825       ;;
13826
13827       sysv5* | sco3.2v5* | sco5v6*)
13828         # Note: We can NOT use -z defs as we might desire, because we do not
13829         # link with -lc, and that would cause any symbols used from libc to
13830         # always be unresolved, which means just about no library would
13831         # ever link correctly.  If we're not using GNU ld we use -z text
13832         # though, which does catch some bad symbols but isn't as heavy-handed
13833         # as -z defs.
13834         no_undefined_flag_CXX='${wl}-z,text'
13835         allow_undefined_flag_CXX='${wl}-z,nodefs'
13836         archive_cmds_need_lc_CXX=no
13837         hardcode_shlibpath_var_CXX=no
13838         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13839         hardcode_libdir_separator_CXX=':'
13840         link_all_deplibs_CXX=yes
13841         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13842         runpath_var='LD_RUN_PATH'
13843
13844         case $cc_basename in
13845           CC*)
13846             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13847             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13848             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13849               '"$old_archive_cmds_CXX"
13850             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13851               '"$reload_cmds_CXX"
13852             ;;
13853           *)
13854             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13855             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13856             ;;
13857         esac
13858       ;;
13859
13860       tandem*)
13861         case $cc_basename in
13862           NCC*)
13863             # NonStop-UX NCC 3.20
13864             # FIXME: insert proper C++ library support
13865             ld_shlibs_CXX=no
13866             ;;
13867           *)
13868             # FIXME: insert proper C++ library support
13869             ld_shlibs_CXX=no
13870             ;;
13871         esac
13872         ;;
13873
13874       vxworks*)
13875         # FIXME: insert proper C++ library support
13876         ld_shlibs_CXX=no
13877         ;;
13878
13879       *)
13880         # FIXME: insert proper C++ library support
13881         ld_shlibs_CXX=no
13882         ;;
13883     esac
13884
13885     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13886 $as_echo "$ld_shlibs_CXX" >&6; }
13887     test "$ld_shlibs_CXX" = no && can_build_shared=no
13888
13889     GCC_CXX="$GXX"
13890     LD_CXX="$LD"
13891
13892     ## CAVEAT EMPTOR:
13893     ## There is no encapsulation within the following macros, do not change
13894     ## the running order or otherwise move them around unless you know exactly
13895     ## what you are doing...
13896     # Dependencies to place before and after the object being linked:
13897 predep_objects_CXX=
13898 postdep_objects_CXX=
13899 predeps_CXX=
13900 postdeps_CXX=
13901 compiler_lib_search_path_CXX=
13902
13903 cat > conftest.$ac_ext <<_LT_EOF
13904 class Foo
13905 {
13906 public:
13907   Foo (void) { a = 0; }
13908 private:
13909   int a;
13910 };
13911 _LT_EOF
13912
13913
13914 _lt_libdeps_save_CFLAGS=$CFLAGS
13915 case "$CC $CFLAGS " in #(
13916 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13917 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13918 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13919 esac
13920
13921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13922   (eval $ac_compile) 2>&5
13923   ac_status=$?
13924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13925   test $ac_status = 0; }; then
13926   # Parse the compiler output and extract the necessary
13927   # objects, libraries and library flags.
13928
13929   # Sentinel used to keep track of whether or not we are before
13930   # the conftest object file.
13931   pre_test_object_deps_done=no
13932
13933   for p in `eval "$output_verbose_link_cmd"`; do
13934     case ${prev}${p} in
13935
13936     -L* | -R* | -l*)
13937        # Some compilers place space between "-{L,R}" and the path.
13938        # Remove the space.
13939        if test $p = "-L" ||
13940           test $p = "-R"; then
13941          prev=$p
13942          continue
13943        fi
13944
13945        # Expand the sysroot to ease extracting the directories later.
13946        if test -z "$prev"; then
13947          case $p in
13948          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13949          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13950          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13951          esac
13952        fi
13953        case $p in
13954        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13955        esac
13956        if test "$pre_test_object_deps_done" = no; then
13957          case ${prev} in
13958          -L | -R)
13959            # Internal compiler library paths should come after those
13960            # provided the user.  The postdeps already come after the
13961            # user supplied libs so there is no need to process them.
13962            if test -z "$compiler_lib_search_path_CXX"; then
13963              compiler_lib_search_path_CXX="${prev}${p}"
13964            else
13965              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13966            fi
13967            ;;
13968          # The "-l" case would never come before the object being
13969          # linked, so don't bother handling this case.
13970          esac
13971        else
13972          if test -z "$postdeps_CXX"; then
13973            postdeps_CXX="${prev}${p}"
13974          else
13975            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13976          fi
13977        fi
13978        prev=
13979        ;;
13980
13981     *.lto.$objext) ;; # Ignore GCC LTO objects
13982     *.$objext)
13983        # This assumes that the test object file only shows up
13984        # once in the compiler output.
13985        if test "$p" = "conftest.$objext"; then
13986          pre_test_object_deps_done=yes
13987          continue
13988        fi
13989
13990        if test "$pre_test_object_deps_done" = no; then
13991          if test -z "$predep_objects_CXX"; then
13992            predep_objects_CXX="$p"
13993          else
13994            predep_objects_CXX="$predep_objects_CXX $p"
13995          fi
13996        else
13997          if test -z "$postdep_objects_CXX"; then
13998            postdep_objects_CXX="$p"
13999          else
14000            postdep_objects_CXX="$postdep_objects_CXX $p"
14001          fi
14002        fi
14003        ;;
14004
14005     *) ;; # Ignore the rest.
14006
14007     esac
14008   done
14009
14010   # Clean up.
14011   rm -f a.out a.exe
14012 else
14013   echo "libtool.m4: error: problem compiling CXX test program"
14014 fi
14015
14016 $RM -f confest.$objext
14017 CFLAGS=$_lt_libdeps_save_CFLAGS
14018
14019 # PORTME: override above test on systems where it is broken
14020 case $host_os in
14021 interix[3-9]*)
14022   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14023   # hack all around it, let's just trust "g++" to DTRT.
14024   predep_objects_CXX=
14025   postdep_objects_CXX=
14026   postdeps_CXX=
14027   ;;
14028
14029 linux*)
14030   case `$CC -V 2>&1 | sed 5q` in
14031   *Sun\ C*)
14032     # Sun C++ 5.9
14033
14034     # The more standards-conforming stlport4 library is
14035     # incompatible with the Cstd library. Avoid specifying
14036     # it if it's in CXXFLAGS. Ignore libCrun as
14037     # -library=stlport4 depends on it.
14038     case " $CXX $CXXFLAGS " in
14039     *" -library=stlport4 "*)
14040       solaris_use_stlport4=yes
14041       ;;
14042     esac
14043
14044     if test "$solaris_use_stlport4" != yes; then
14045       postdeps_CXX='-library=Cstd -library=Crun'
14046     fi
14047     ;;
14048   esac
14049   ;;
14050
14051 solaris*)
14052   case $cc_basename in
14053   CC* | sunCC*)
14054     # The more standards-conforming stlport4 library is
14055     # incompatible with the Cstd library. Avoid specifying
14056     # it if it's in CXXFLAGS. Ignore libCrun as
14057     # -library=stlport4 depends on it.
14058     case " $CXX $CXXFLAGS " in
14059     *" -library=stlport4 "*)
14060       solaris_use_stlport4=yes
14061       ;;
14062     esac
14063
14064     # Adding this requires a known-good setup of shared libraries for
14065     # Sun compiler versions before 5.6, else PIC objects from an old
14066     # archive will be linked into the output, leading to subtle bugs.
14067     if test "$solaris_use_stlport4" != yes; then
14068       postdeps_CXX='-library=Cstd -library=Crun'
14069     fi
14070     ;;
14071   esac
14072   ;;
14073 esac
14074
14075
14076 case " $postdeps_CXX " in
14077 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14078 esac
14079  compiler_lib_search_dirs_CXX=
14080 if test -n "${compiler_lib_search_path_CXX}"; then
14081  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14082 fi
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114     lt_prog_compiler_wl_CXX=
14115 lt_prog_compiler_pic_CXX=
14116 lt_prog_compiler_static_CXX=
14117
14118
14119   # C++ specific cases for pic, static, wl, etc.
14120   if test "$GXX" = yes; then
14121     lt_prog_compiler_wl_CXX='-Wl,'
14122     lt_prog_compiler_static_CXX='-static'
14123
14124     case $host_os in
14125     aix*)
14126       # All AIX code is PIC.
14127       if test "$host_cpu" = ia64; then
14128         # AIX 5 now supports IA64 processor
14129         lt_prog_compiler_static_CXX='-Bstatic'
14130       fi
14131       ;;
14132
14133     amigaos*)
14134       case $host_cpu in
14135       powerpc)
14136             # see comment about AmigaOS4 .so support
14137             lt_prog_compiler_pic_CXX='-fPIC'
14138         ;;
14139       m68k)
14140             # FIXME: we need at least 68020 code to build shared libraries, but
14141             # adding the `-m68020' flag to GCC prevents building anything better,
14142             # like `-m68040'.
14143             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14144         ;;
14145       esac
14146       ;;
14147
14148     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14149       # PIC is the default for these OSes.
14150       ;;
14151     mingw* | cygwin* | os2* | pw32* | cegcc*)
14152       # This hack is so that the source file can tell whether it is being
14153       # built for inclusion in a dll (and should export symbols for example).
14154       # Although the cygwin gcc ignores -fPIC, still need this for old-style
14155       # (--disable-auto-import) libraries
14156       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14157       ;;
14158     darwin* | rhapsody*)
14159       # PIC is the default on this platform
14160       # Common symbols not allowed in MH_DYLIB files
14161       lt_prog_compiler_pic_CXX='-fno-common'
14162       ;;
14163     *djgpp*)
14164       # DJGPP does not support shared libraries at all
14165       lt_prog_compiler_pic_CXX=
14166       ;;
14167     haiku*)
14168       # PIC is the default for Haiku.
14169       # The "-static" flag exists, but is broken.
14170       lt_prog_compiler_static_CXX=
14171       ;;
14172     interix[3-9]*)
14173       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14174       # Instead, we relocate shared libraries at runtime.
14175       ;;
14176     sysv4*MP*)
14177       if test -d /usr/nec; then
14178         lt_prog_compiler_pic_CXX=-Kconform_pic
14179       fi
14180       ;;
14181     hpux*)
14182       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14183       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14184       # sets the default TLS model and affects inlining.
14185       case $host_cpu in
14186       hppa*64*)
14187         ;;
14188       *)
14189         lt_prog_compiler_pic_CXX='-fPIC'
14190         ;;
14191       esac
14192       ;;
14193     *qnx* | *nto*)
14194       # QNX uses GNU C++, but need to define -shared option too, otherwise
14195       # it will coredump.
14196       lt_prog_compiler_pic_CXX='-fPIC -shared'
14197       ;;
14198     *)
14199       lt_prog_compiler_pic_CXX='-fPIC'
14200       ;;
14201     esac
14202   else
14203     case $host_os in
14204       aix[4-9]*)
14205         # All AIX code is PIC.
14206         if test "$host_cpu" = ia64; then
14207           # AIX 5 now supports IA64 processor
14208           lt_prog_compiler_static_CXX='-Bstatic'
14209         else
14210           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14211         fi
14212         ;;
14213       chorus*)
14214         case $cc_basename in
14215         cxch68*)
14216           # Green Hills C++ Compiler
14217           # _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"
14218           ;;
14219         esac
14220         ;;
14221       mingw* | cygwin* | os2* | pw32* | cegcc*)
14222         # This hack is so that the source file can tell whether it is being
14223         # built for inclusion in a dll (and should export symbols for example).
14224         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14225         ;;
14226       dgux*)
14227         case $cc_basename in
14228           ec++*)
14229             lt_prog_compiler_pic_CXX='-KPIC'
14230             ;;
14231           ghcx*)
14232             # Green Hills C++ Compiler
14233             lt_prog_compiler_pic_CXX='-pic'
14234             ;;
14235           *)
14236             ;;
14237         esac
14238         ;;
14239       freebsd* | dragonfly*)
14240         # FreeBSD uses GNU C++
14241         ;;
14242       hpux9* | hpux10* | hpux11*)
14243         case $cc_basename in
14244           CC*)
14245             lt_prog_compiler_wl_CXX='-Wl,'
14246             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14247             if test "$host_cpu" != ia64; then
14248               lt_prog_compiler_pic_CXX='+Z'
14249             fi
14250             ;;
14251           aCC*)
14252             lt_prog_compiler_wl_CXX='-Wl,'
14253             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14254             case $host_cpu in
14255             hppa*64*|ia64*)
14256               # +Z the default
14257               ;;
14258             *)
14259               lt_prog_compiler_pic_CXX='+Z'
14260               ;;
14261             esac
14262             ;;
14263           *)
14264             ;;
14265         esac
14266         ;;
14267       interix*)
14268         # This is c89, which is MS Visual C++ (no shared libs)
14269         # Anyone wants to do a port?
14270         ;;
14271       irix5* | irix6* | nonstopux*)
14272         case $cc_basename in
14273           CC*)
14274             lt_prog_compiler_wl_CXX='-Wl,'
14275             lt_prog_compiler_static_CXX='-non_shared'
14276             # CC pic flag -KPIC is the default.
14277             ;;
14278           *)
14279             ;;
14280         esac
14281         ;;
14282       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14283         case $cc_basename in
14284           KCC*)
14285             # KAI C++ Compiler
14286             lt_prog_compiler_wl_CXX='--backend -Wl,'
14287             lt_prog_compiler_pic_CXX='-fPIC'
14288             ;;
14289           ecpc* )
14290             # old Intel C++ for x86_64 which still supported -KPIC.
14291             lt_prog_compiler_wl_CXX='-Wl,'
14292             lt_prog_compiler_pic_CXX='-KPIC'
14293             lt_prog_compiler_static_CXX='-static'
14294             ;;
14295           icpc* )
14296             # Intel C++, used to be incompatible with GCC.
14297             # ICC 10 doesn't accept -KPIC any more.
14298             lt_prog_compiler_wl_CXX='-Wl,'
14299             lt_prog_compiler_pic_CXX='-fPIC'
14300             lt_prog_compiler_static_CXX='-static'
14301             ;;
14302           pgCC* | pgcpp*)
14303             # Portland Group C++ compiler
14304             lt_prog_compiler_wl_CXX='-Wl,'
14305             lt_prog_compiler_pic_CXX='-fpic'
14306             lt_prog_compiler_static_CXX='-Bstatic'
14307             ;;
14308           cxx*)
14309             # Compaq C++
14310             # Make sure the PIC flag is empty.  It appears that all Alpha
14311             # Linux and Compaq Tru64 Unix objects are PIC.
14312             lt_prog_compiler_pic_CXX=
14313             lt_prog_compiler_static_CXX='-non_shared'
14314             ;;
14315           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14316             # IBM XL 8.0, 9.0 on PPC and BlueGene
14317             lt_prog_compiler_wl_CXX='-Wl,'
14318             lt_prog_compiler_pic_CXX='-qpic'
14319             lt_prog_compiler_static_CXX='-qstaticlink'
14320             ;;
14321           *)
14322             case `$CC -V 2>&1 | sed 5q` in
14323             *Sun\ C*)
14324               # Sun C++ 5.9
14325               lt_prog_compiler_pic_CXX='-KPIC'
14326               lt_prog_compiler_static_CXX='-Bstatic'
14327               lt_prog_compiler_wl_CXX='-Qoption ld '
14328               ;;
14329             esac
14330             ;;
14331         esac
14332         ;;
14333       lynxos*)
14334         ;;
14335       m88k*)
14336         ;;
14337       mvs*)
14338         case $cc_basename in
14339           cxx*)
14340             lt_prog_compiler_pic_CXX='-W c,exportall'
14341             ;;
14342           *)
14343             ;;
14344         esac
14345         ;;
14346       netbsd* | netbsdelf*-gnu)
14347         ;;
14348       *qnx* | *nto*)
14349         # QNX uses GNU C++, but need to define -shared option too, otherwise
14350         # it will coredump.
14351         lt_prog_compiler_pic_CXX='-fPIC -shared'
14352         ;;
14353       osf3* | osf4* | osf5*)
14354         case $cc_basename in
14355           KCC*)
14356             lt_prog_compiler_wl_CXX='--backend -Wl,'
14357             ;;
14358           RCC*)
14359             # Rational C++ 2.4.1
14360             lt_prog_compiler_pic_CXX='-pic'
14361             ;;
14362           cxx*)
14363             # Digital/Compaq C++
14364             lt_prog_compiler_wl_CXX='-Wl,'
14365             # Make sure the PIC flag is empty.  It appears that all Alpha
14366             # Linux and Compaq Tru64 Unix objects are PIC.
14367             lt_prog_compiler_pic_CXX=
14368             lt_prog_compiler_static_CXX='-non_shared'
14369             ;;
14370           *)
14371             ;;
14372         esac
14373         ;;
14374       psos*)
14375         ;;
14376       solaris*)
14377         case $cc_basename in
14378           CC* | sunCC*)
14379             # Sun C++ 4.2, 5.x and Centerline C++
14380             lt_prog_compiler_pic_CXX='-KPIC'
14381             lt_prog_compiler_static_CXX='-Bstatic'
14382             lt_prog_compiler_wl_CXX='-Qoption ld '
14383             ;;
14384           gcx*)
14385             # Green Hills C++ Compiler
14386             lt_prog_compiler_pic_CXX='-PIC'
14387             ;;
14388           *)
14389             ;;
14390         esac
14391         ;;
14392       sunos4*)
14393         case $cc_basename in
14394           CC*)
14395             # Sun C++ 4.x
14396             lt_prog_compiler_pic_CXX='-pic'
14397             lt_prog_compiler_static_CXX='-Bstatic'
14398             ;;
14399           lcc*)
14400             # Lucid
14401             lt_prog_compiler_pic_CXX='-pic'
14402             ;;
14403           *)
14404             ;;
14405         esac
14406         ;;
14407       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14408         case $cc_basename in
14409           CC*)
14410             lt_prog_compiler_wl_CXX='-Wl,'
14411             lt_prog_compiler_pic_CXX='-KPIC'
14412             lt_prog_compiler_static_CXX='-Bstatic'
14413             ;;
14414         esac
14415         ;;
14416       tandem*)
14417         case $cc_basename in
14418           NCC*)
14419             # NonStop-UX NCC 3.20
14420             lt_prog_compiler_pic_CXX='-KPIC'
14421             ;;
14422           *)
14423             ;;
14424         esac
14425         ;;
14426       vxworks*)
14427         ;;
14428       *)
14429         lt_prog_compiler_can_build_shared_CXX=no
14430         ;;
14431     esac
14432   fi
14433
14434 case $host_os in
14435   # For platforms which do not support PIC, -DPIC is meaningless:
14436   *djgpp*)
14437     lt_prog_compiler_pic_CXX=
14438     ;;
14439   *)
14440     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14441     ;;
14442 esac
14443
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14445 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14446 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14447   $as_echo_n "(cached) " >&6
14448 else
14449   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14450 fi
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14452 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14453 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14454
14455 #
14456 # Check to make sure the PIC flag actually works.
14457 #
14458 if test -n "$lt_prog_compiler_pic_CXX"; then
14459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14460 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14461 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14462   $as_echo_n "(cached) " >&6
14463 else
14464   lt_cv_prog_compiler_pic_works_CXX=no
14465    ac_outfile=conftest.$ac_objext
14466    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14467    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14468    # Insert the option either (1) after the last *FLAGS variable, or
14469    # (2) before a word containing "conftest.", or (3) at the end.
14470    # Note that $ac_compile itself does not contain backslashes and begins
14471    # with a dollar sign (not a hyphen), so the echo should work correctly.
14472    # The option is referenced via a variable to avoid confusing sed.
14473    lt_compile=`echo "$ac_compile" | $SED \
14474    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14475    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14476    -e 's:$: $lt_compiler_flag:'`
14477    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14478    (eval "$lt_compile" 2>conftest.err)
14479    ac_status=$?
14480    cat conftest.err >&5
14481    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482    if (exit $ac_status) && test -s "$ac_outfile"; then
14483      # The compiler can only warn and ignore the option if not recognized
14484      # So say no if there are warnings other than the usual output.
14485      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14486      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14487      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14488        lt_cv_prog_compiler_pic_works_CXX=yes
14489      fi
14490    fi
14491    $RM conftest*
14492
14493 fi
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14495 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14496
14497 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14498     case $lt_prog_compiler_pic_CXX in
14499      "" | " "*) ;;
14500      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14501      esac
14502 else
14503     lt_prog_compiler_pic_CXX=
14504      lt_prog_compiler_can_build_shared_CXX=no
14505 fi
14506
14507 fi
14508
14509
14510
14511
14512
14513 #
14514 # Check to make sure the static flag actually works.
14515 #
14516 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14518 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14519 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14520   $as_echo_n "(cached) " >&6
14521 else
14522   lt_cv_prog_compiler_static_works_CXX=no
14523    save_LDFLAGS="$LDFLAGS"
14524    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14525    echo "$lt_simple_link_test_code" > conftest.$ac_ext
14526    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14527      # The linker can only warn and ignore the option if not recognized
14528      # So say no if there are warnings
14529      if test -s conftest.err; then
14530        # Append any errors to the config.log.
14531        cat conftest.err 1>&5
14532        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14533        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14534        if diff conftest.exp conftest.er2 >/dev/null; then
14535          lt_cv_prog_compiler_static_works_CXX=yes
14536        fi
14537      else
14538        lt_cv_prog_compiler_static_works_CXX=yes
14539      fi
14540    fi
14541    $RM -r conftest*
14542    LDFLAGS="$save_LDFLAGS"
14543
14544 fi
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14546 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14547
14548 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14549     :
14550 else
14551     lt_prog_compiler_static_CXX=
14552 fi
14553
14554
14555
14556
14557     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14558 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14559 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14560   $as_echo_n "(cached) " >&6
14561 else
14562   lt_cv_prog_compiler_c_o_CXX=no
14563    $RM -r conftest 2>/dev/null
14564    mkdir conftest
14565    cd conftest
14566    mkdir out
14567    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14568
14569    lt_compiler_flag="-o out/conftest2.$ac_objext"
14570    # Insert the option either (1) after the last *FLAGS variable, or
14571    # (2) before a word containing "conftest.", or (3) at the end.
14572    # Note that $ac_compile itself does not contain backslashes and begins
14573    # with a dollar sign (not a hyphen), so the echo should work correctly.
14574    lt_compile=`echo "$ac_compile" | $SED \
14575    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14576    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14577    -e 's:$: $lt_compiler_flag:'`
14578    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14579    (eval "$lt_compile" 2>out/conftest.err)
14580    ac_status=$?
14581    cat out/conftest.err >&5
14582    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14584    then
14585      # The compiler can only warn and ignore the option if not recognized
14586      # So say no if there are warnings
14587      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14588      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14589      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14590        lt_cv_prog_compiler_c_o_CXX=yes
14591      fi
14592    fi
14593    chmod u+w . 2>&5
14594    $RM conftest*
14595    # SGI C++ compiler will create directory out/ii_files/ for
14596    # template instantiation
14597    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14598    $RM out/* && rmdir out
14599    cd ..
14600    $RM -r conftest
14601    $RM conftest*
14602
14603 fi
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14605 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14606
14607
14608
14609     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14610 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14611 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14612   $as_echo_n "(cached) " >&6
14613 else
14614   lt_cv_prog_compiler_c_o_CXX=no
14615    $RM -r conftest 2>/dev/null
14616    mkdir conftest
14617    cd conftest
14618    mkdir out
14619    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14620
14621    lt_compiler_flag="-o out/conftest2.$ac_objext"
14622    # Insert the option either (1) after the last *FLAGS variable, or
14623    # (2) before a word containing "conftest.", or (3) at the end.
14624    # Note that $ac_compile itself does not contain backslashes and begins
14625    # with a dollar sign (not a hyphen), so the echo should work correctly.
14626    lt_compile=`echo "$ac_compile" | $SED \
14627    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14628    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14629    -e 's:$: $lt_compiler_flag:'`
14630    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14631    (eval "$lt_compile" 2>out/conftest.err)
14632    ac_status=$?
14633    cat out/conftest.err >&5
14634    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14636    then
14637      # The compiler can only warn and ignore the option if not recognized
14638      # So say no if there are warnings
14639      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14640      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14641      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14642        lt_cv_prog_compiler_c_o_CXX=yes
14643      fi
14644    fi
14645    chmod u+w . 2>&5
14646    $RM conftest*
14647    # SGI C++ compiler will create directory out/ii_files/ for
14648    # template instantiation
14649    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14650    $RM out/* && rmdir out
14651    cd ..
14652    $RM -r conftest
14653    $RM conftest*
14654
14655 fi
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14657 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14658
14659
14660
14661
14662 hard_links="nottested"
14663 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14664   # do not overwrite the value of need_locks provided by the user
14665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14666 $as_echo_n "checking if we can lock with hard links... " >&6; }
14667   hard_links=yes
14668   $RM conftest*
14669   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14670   touch conftest.a
14671   ln conftest.a conftest.b 2>&5 || hard_links=no
14672   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14674 $as_echo "$hard_links" >&6; }
14675   if test "$hard_links" = no; then
14676     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14677 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14678     need_locks=warn
14679   fi
14680 else
14681   need_locks=no
14682 fi
14683
14684
14685
14686     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14687 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14688
14689   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14690   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14691   case $host_os in
14692   aix[4-9]*)
14693     # If we're using GNU nm, then we don't want the "-C" option.
14694     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14695     # Also, AIX nm treats weak defined symbols like other global defined
14696     # symbols, whereas GNU nm marks them as "W".
14697     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14698       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14699     else
14700       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14701     fi
14702     ;;
14703   pw32*)
14704     export_symbols_cmds_CXX="$ltdll_cmds"
14705     ;;
14706   cygwin* | mingw* | cegcc*)
14707     case $cc_basename in
14708     cl*)
14709       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14710       ;;
14711     *)
14712       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'
14713       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14714       ;;
14715     esac
14716     ;;
14717   linux* | k*bsd*-gnu | gnu*)
14718     link_all_deplibs_CXX=no
14719     ;;
14720   *)
14721     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14722     ;;
14723   esac
14724
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14726 $as_echo "$ld_shlibs_CXX" >&6; }
14727 test "$ld_shlibs_CXX" = no && can_build_shared=no
14728
14729 with_gnu_ld_CXX=$with_gnu_ld
14730
14731
14732
14733
14734
14735
14736 #
14737 # Do we need to explicitly link libc?
14738 #
14739 case "x$archive_cmds_need_lc_CXX" in
14740 x|xyes)
14741   # Assume -lc should be added
14742   archive_cmds_need_lc_CXX=yes
14743
14744   if test "$enable_shared" = yes && test "$GCC" = yes; then
14745     case $archive_cmds_CXX in
14746     *'~'*)
14747       # FIXME: we may have to deal with multi-command sequences.
14748       ;;
14749     '$CC '*)
14750       # Test whether the compiler implicitly links with -lc since on some
14751       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14752       # to ld, don't add -lc before -lgcc.
14753       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14754 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14755 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14756   $as_echo_n "(cached) " >&6
14757 else
14758   $RM conftest*
14759         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14760
14761         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14762   (eval $ac_compile) 2>&5
14763   ac_status=$?
14764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14765   test $ac_status = 0; } 2>conftest.err; then
14766           soname=conftest
14767           lib=conftest
14768           libobjs=conftest.$ac_objext
14769           deplibs=
14770           wl=$lt_prog_compiler_wl_CXX
14771           pic_flag=$lt_prog_compiler_pic_CXX
14772           compiler_flags=-v
14773           linker_flags=-v
14774           verstring=
14775           output_objdir=.
14776           libname=conftest
14777           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14778           allow_undefined_flag_CXX=
14779           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14780   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14781   ac_status=$?
14782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14783   test $ac_status = 0; }
14784           then
14785             lt_cv_archive_cmds_need_lc_CXX=no
14786           else
14787             lt_cv_archive_cmds_need_lc_CXX=yes
14788           fi
14789           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14790         else
14791           cat conftest.err 1>&5
14792         fi
14793         $RM conftest*
14794
14795 fi
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14797 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14798       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14799       ;;
14800     esac
14801   fi
14802   ;;
14803 esac
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14867 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14868
14869 library_names_spec=
14870 libname_spec='lib$name'
14871 soname_spec=
14872 shrext_cmds=".so"
14873 postinstall_cmds=
14874 postuninstall_cmds=
14875 finish_cmds=
14876 finish_eval=
14877 shlibpath_var=
14878 shlibpath_overrides_runpath=unknown
14879 version_type=none
14880 dynamic_linker="$host_os ld.so"
14881 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14882 need_lib_prefix=unknown
14883 hardcode_into_libs=no
14884
14885 # when you set need_version to no, make sure it does not cause -set_version
14886 # flags to be left without arguments
14887 need_version=unknown
14888
14889 case $host_os in
14890 aix3*)
14891   version_type=linux # correct to gnu/linux during the next big refactor
14892   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14893   shlibpath_var=LIBPATH
14894
14895   # AIX 3 has no versioning support, so we append a major version to the name.
14896   soname_spec='${libname}${release}${shared_ext}$major'
14897   ;;
14898
14899 aix[4-9]*)
14900   version_type=linux # correct to gnu/linux during the next big refactor
14901   need_lib_prefix=no
14902   need_version=no
14903   hardcode_into_libs=yes
14904   if test "$host_cpu" = ia64; then
14905     # AIX 5 supports IA64
14906     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14907     shlibpath_var=LD_LIBRARY_PATH
14908   else
14909     # With GCC up to 2.95.x, collect2 would create an import file
14910     # for dependence libraries.  The import file would start with
14911     # the line `#! .'.  This would cause the generated library to
14912     # depend on `.', always an invalid library.  This was fixed in
14913     # development snapshots of GCC prior to 3.0.
14914     case $host_os in
14915       aix4 | aix4.[01] | aix4.[01].*)
14916       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14917            echo ' yes '
14918            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14919         :
14920       else
14921         can_build_shared=no
14922       fi
14923       ;;
14924     esac
14925     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14926     # soname into executable. Probably we can add versioning support to
14927     # collect2, so additional links can be useful in future.
14928     if test "$aix_use_runtimelinking" = yes; then
14929       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14930       # instead of lib<name>.a to let people know that these are not
14931       # typical AIX shared libraries.
14932       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14933     else
14934       # We preserve .a as extension for shared libraries through AIX4.2
14935       # and later when we are not doing run time linking.
14936       library_names_spec='${libname}${release}.a $libname.a'
14937       soname_spec='${libname}${release}${shared_ext}$major'
14938     fi
14939     shlibpath_var=LIBPATH
14940   fi
14941   ;;
14942
14943 amigaos*)
14944   case $host_cpu in
14945   powerpc)
14946     # Since July 2007 AmigaOS4 officially supports .so libraries.
14947     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14948     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14949     ;;
14950   m68k)
14951     library_names_spec='$libname.ixlibrary $libname.a'
14952     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14953     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14954     ;;
14955   esac
14956   ;;
14957
14958 beos*)
14959   library_names_spec='${libname}${shared_ext}'
14960   dynamic_linker="$host_os ld.so"
14961   shlibpath_var=LIBRARY_PATH
14962   ;;
14963
14964 bsdi[45]*)
14965   version_type=linux # correct to gnu/linux during the next big refactor
14966   need_version=no
14967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14968   soname_spec='${libname}${release}${shared_ext}$major'
14969   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14970   shlibpath_var=LD_LIBRARY_PATH
14971   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14972   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14973   # the default ld.so.conf also contains /usr/contrib/lib and
14974   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14975   # libtool to hard-code these into programs
14976   ;;
14977
14978 cygwin* | mingw* | pw32* | cegcc*)
14979   version_type=windows
14980   shrext_cmds=".dll"
14981   need_version=no
14982   need_lib_prefix=no
14983
14984   case $GCC,$cc_basename in
14985   yes,*)
14986     # gcc
14987     library_names_spec='$libname.dll.a'
14988     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14989     postinstall_cmds='base_file=`basename \${file}`~
14990       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14991       dldir=$destdir/`dirname \$dlpath`~
14992       test -d \$dldir || mkdir -p \$dldir~
14993       $install_prog $dir/$dlname \$dldir/$dlname~
14994       chmod a+x \$dldir/$dlname~
14995       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14996         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14997       fi'
14998     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14999       dlpath=$dir/\$dldll~
15000        $RM \$dlpath'
15001     shlibpath_overrides_runpath=yes
15002
15003     case $host_os in
15004     cygwin*)
15005       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15006       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15007
15008       ;;
15009     mingw* | cegcc*)
15010       # MinGW DLLs use traditional 'lib' prefix
15011       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15012       ;;
15013     pw32*)
15014       # pw32 DLLs use 'pw' prefix rather than 'lib'
15015       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15016       ;;
15017     esac
15018     dynamic_linker='Win32 ld.exe'
15019     ;;
15020
15021   *,cl*)
15022     # Native MSVC
15023     libname_spec='$name'
15024     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15025     library_names_spec='${libname}.dll.lib'
15026
15027     case $build_os in
15028     mingw*)
15029       sys_lib_search_path_spec=
15030       lt_save_ifs=$IFS
15031       IFS=';'
15032       for lt_path in $LIB
15033       do
15034         IFS=$lt_save_ifs
15035         # Let DOS variable expansion print the short 8.3 style file name.
15036         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15037         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15038       done
15039       IFS=$lt_save_ifs
15040       # Convert to MSYS style.
15041       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15042       ;;
15043     cygwin*)
15044       # Convert to unix form, then to dos form, then back to unix form
15045       # but this time dos style (no spaces!) so that the unix form looks
15046       # like /cygdrive/c/PROGRA~1:/cygdr...
15047       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15048       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15049       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15050       ;;
15051     *)
15052       sys_lib_search_path_spec="$LIB"
15053       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15054         # It is most probably a Windows format PATH.
15055         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15056       else
15057         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15058       fi
15059       # FIXME: find the short name or the path components, as spaces are
15060       # common. (e.g. "Program Files" -> "PROGRA~1")
15061       ;;
15062     esac
15063
15064     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15065     postinstall_cmds='base_file=`basename \${file}`~
15066       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15067       dldir=$destdir/`dirname \$dlpath`~
15068       test -d \$dldir || mkdir -p \$dldir~
15069       $install_prog $dir/$dlname \$dldir/$dlname'
15070     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15071       dlpath=$dir/\$dldll~
15072        $RM \$dlpath'
15073     shlibpath_overrides_runpath=yes
15074     dynamic_linker='Win32 link.exe'
15075     ;;
15076
15077   *)
15078     # Assume MSVC wrapper
15079     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15080     dynamic_linker='Win32 ld.exe'
15081     ;;
15082   esac
15083   # FIXME: first we should search . and the directory the executable is in
15084   shlibpath_var=PATH
15085   ;;
15086
15087 darwin* | rhapsody*)
15088   dynamic_linker="$host_os dyld"
15089   version_type=darwin
15090   need_lib_prefix=no
15091   need_version=no
15092   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15093   soname_spec='${libname}${release}${major}$shared_ext'
15094   shlibpath_overrides_runpath=yes
15095   shlibpath_var=DYLD_LIBRARY_PATH
15096   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15097
15098   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15099   ;;
15100
15101 dgux*)
15102   version_type=linux # correct to gnu/linux during the next big refactor
15103   need_lib_prefix=no
15104   need_version=no
15105   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15106   soname_spec='${libname}${release}${shared_ext}$major'
15107   shlibpath_var=LD_LIBRARY_PATH
15108   ;;
15109
15110 freebsd* | dragonfly*)
15111   # DragonFly does not have aout.  When/if they implement a new
15112   # versioning mechanism, adjust this.
15113   if test -x /usr/bin/objformat; then
15114     objformat=`/usr/bin/objformat`
15115   else
15116     case $host_os in
15117     freebsd[23].*) objformat=aout ;;
15118     *) objformat=elf ;;
15119     esac
15120   fi
15121   version_type=freebsd-$objformat
15122   case $version_type in
15123     freebsd-elf*)
15124       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15125       need_version=no
15126       need_lib_prefix=no
15127       ;;
15128     freebsd-*)
15129       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15130       need_version=yes
15131       ;;
15132   esac
15133   shlibpath_var=LD_LIBRARY_PATH
15134   case $host_os in
15135   freebsd2.*)
15136     shlibpath_overrides_runpath=yes
15137     ;;
15138   freebsd3.[01]* | freebsdelf3.[01]*)
15139     shlibpath_overrides_runpath=yes
15140     hardcode_into_libs=yes
15141     ;;
15142   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15143   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15144     shlibpath_overrides_runpath=no
15145     hardcode_into_libs=yes
15146     ;;
15147   *) # from 4.6 on, and DragonFly
15148     shlibpath_overrides_runpath=yes
15149     hardcode_into_libs=yes
15150     ;;
15151   esac
15152   ;;
15153
15154 haiku*)
15155   version_type=linux # correct to gnu/linux during the next big refactor
15156   need_lib_prefix=no
15157   need_version=no
15158   dynamic_linker="$host_os runtime_loader"
15159   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15160   soname_spec='${libname}${release}${shared_ext}$major'
15161   shlibpath_var=LIBRARY_PATH
15162   shlibpath_overrides_runpath=yes
15163   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15164   hardcode_into_libs=yes
15165   ;;
15166
15167 hpux9* | hpux10* | hpux11*)
15168   # Give a soname corresponding to the major version so that dld.sl refuses to
15169   # link against other versions.
15170   version_type=sunos
15171   need_lib_prefix=no
15172   need_version=no
15173   case $host_cpu in
15174   ia64*)
15175     shrext_cmds='.so'
15176     hardcode_into_libs=yes
15177     dynamic_linker="$host_os dld.so"
15178     shlibpath_var=LD_LIBRARY_PATH
15179     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15180     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15181     soname_spec='${libname}${release}${shared_ext}$major'
15182     if test "X$HPUX_IA64_MODE" = X32; then
15183       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15184     else
15185       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15186     fi
15187     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15188     ;;
15189   hppa*64*)
15190     shrext_cmds='.sl'
15191     hardcode_into_libs=yes
15192     dynamic_linker="$host_os dld.sl"
15193     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15194     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15195     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15196     soname_spec='${libname}${release}${shared_ext}$major'
15197     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15198     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15199     ;;
15200   *)
15201     shrext_cmds='.sl'
15202     dynamic_linker="$host_os dld.sl"
15203     shlibpath_var=SHLIB_PATH
15204     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15205     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15206     soname_spec='${libname}${release}${shared_ext}$major'
15207     ;;
15208   esac
15209   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15210   postinstall_cmds='chmod 555 $lib'
15211   # or fails outright, so override atomically:
15212   install_override_mode=555
15213   ;;
15214
15215 interix[3-9]*)
15216   version_type=linux # correct to gnu/linux during the next big refactor
15217   need_lib_prefix=no
15218   need_version=no
15219   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15220   soname_spec='${libname}${release}${shared_ext}$major'
15221   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15222   shlibpath_var=LD_LIBRARY_PATH
15223   shlibpath_overrides_runpath=no
15224   hardcode_into_libs=yes
15225   ;;
15226
15227 irix5* | irix6* | nonstopux*)
15228   case $host_os in
15229     nonstopux*) version_type=nonstopux ;;
15230     *)
15231         if test "$lt_cv_prog_gnu_ld" = yes; then
15232                 version_type=linux # correct to gnu/linux during the next big refactor
15233         else
15234                 version_type=irix
15235         fi ;;
15236   esac
15237   need_lib_prefix=no
15238   need_version=no
15239   soname_spec='${libname}${release}${shared_ext}$major'
15240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15241   case $host_os in
15242   irix5* | nonstopux*)
15243     libsuff= shlibsuff=
15244     ;;
15245   *)
15246     case $LD in # libtool.m4 will add one of these switches to LD
15247     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15248       libsuff= shlibsuff= libmagic=32-bit;;
15249     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15250       libsuff=32 shlibsuff=N32 libmagic=N32;;
15251     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15252       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15253     *) libsuff= shlibsuff= libmagic=never-match;;
15254     esac
15255     ;;
15256   esac
15257   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15258   shlibpath_overrides_runpath=no
15259   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15260   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15261   hardcode_into_libs=yes
15262   ;;
15263
15264 # No shared lib support for Linux oldld, aout, or coff.
15265 linux*oldld* | linux*aout* | linux*coff*)
15266   dynamic_linker=no
15267   ;;
15268
15269 # This must be glibc/ELF.
15270 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15271   version_type=linux # correct to gnu/linux during the next big refactor
15272   need_lib_prefix=no
15273   need_version=no
15274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15275   soname_spec='${libname}${release}${shared_ext}$major'
15276   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15277   shlibpath_var=LD_LIBRARY_PATH
15278   shlibpath_overrides_runpath=no
15279
15280   # Some binutils ld are patched to set DT_RUNPATH
15281   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15282   $as_echo_n "(cached) " >&6
15283 else
15284   lt_cv_shlibpath_overrides_runpath=no
15285     save_LDFLAGS=$LDFLAGS
15286     save_libdir=$libdir
15287     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15288          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15289     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h.  */
15291
15292 int
15293 main ()
15294 {
15295
15296   ;
15297   return 0;
15298 }
15299 _ACEOF
15300 if ac_fn_cxx_try_link "$LINENO"; then :
15301   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15302   lt_cv_shlibpath_overrides_runpath=yes
15303 fi
15304 fi
15305 rm -f core conftest.err conftest.$ac_objext \
15306     conftest$ac_exeext conftest.$ac_ext
15307     LDFLAGS=$save_LDFLAGS
15308     libdir=$save_libdir
15309
15310 fi
15311
15312   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15313
15314   # This implies no fast_install, which is unacceptable.
15315   # Some rework will be needed to allow for fast_install
15316   # before this can be enabled.
15317   hardcode_into_libs=yes
15318
15319   # Append ld.so.conf contents to the search path
15320   if test -f /etc/ld.so.conf; then
15321     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' ' '`
15322     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15323   fi
15324
15325   # We used to test for /lib/ld.so.1 and disable shared libraries on
15326   # powerpc, because MkLinux only supported shared libraries with the
15327   # GNU dynamic linker.  Since this was broken with cross compilers,
15328   # most powerpc-linux boxes support dynamic linking these days and
15329   # people can always --disable-shared, the test was removed, and we
15330   # assume the GNU/Linux dynamic linker is in use.
15331   dynamic_linker='GNU/Linux ld.so'
15332   ;;
15333
15334 netbsdelf*-gnu)
15335   version_type=linux
15336   need_lib_prefix=no
15337   need_version=no
15338   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15339   soname_spec='${libname}${release}${shared_ext}$major'
15340   shlibpath_var=LD_LIBRARY_PATH
15341   shlibpath_overrides_runpath=no
15342   hardcode_into_libs=yes
15343   dynamic_linker='NetBSD ld.elf_so'
15344   ;;
15345
15346 netbsd*)
15347   version_type=sunos
15348   need_lib_prefix=no
15349   need_version=no
15350   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15351     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15352     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15353     dynamic_linker='NetBSD (a.out) ld.so'
15354   else
15355     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15356     soname_spec='${libname}${release}${shared_ext}$major'
15357     dynamic_linker='NetBSD ld.elf_so'
15358   fi
15359   shlibpath_var=LD_LIBRARY_PATH
15360   shlibpath_overrides_runpath=yes
15361   hardcode_into_libs=yes
15362   ;;
15363
15364 newsos6)
15365   version_type=linux # correct to gnu/linux during the next big refactor
15366   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15367   shlibpath_var=LD_LIBRARY_PATH
15368   shlibpath_overrides_runpath=yes
15369   ;;
15370
15371 *nto* | *qnx*)
15372   version_type=qnx
15373   need_lib_prefix=no
15374   need_version=no
15375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15376   soname_spec='${libname}${release}${shared_ext}$major'
15377   shlibpath_var=LD_LIBRARY_PATH
15378   shlibpath_overrides_runpath=no
15379   hardcode_into_libs=yes
15380   dynamic_linker='ldqnx.so'
15381   ;;
15382
15383 openbsd*)
15384   version_type=sunos
15385   sys_lib_dlsearch_path_spec="/usr/lib"
15386   need_lib_prefix=no
15387   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15388   case $host_os in
15389     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15390     *)                          need_version=no  ;;
15391   esac
15392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15393   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15394   shlibpath_var=LD_LIBRARY_PATH
15395   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15396     case $host_os in
15397       openbsd2.[89] | openbsd2.[89].*)
15398         shlibpath_overrides_runpath=no
15399         ;;
15400       *)
15401         shlibpath_overrides_runpath=yes
15402         ;;
15403       esac
15404   else
15405     shlibpath_overrides_runpath=yes
15406   fi
15407   ;;
15408
15409 os2*)
15410   libname_spec='$name'
15411   shrext_cmds=".dll"
15412   need_lib_prefix=no
15413   library_names_spec='$libname${shared_ext} $libname.a'
15414   dynamic_linker='OS/2 ld.exe'
15415   shlibpath_var=LIBPATH
15416   ;;
15417
15418 osf3* | osf4* | osf5*)
15419   version_type=osf
15420   need_lib_prefix=no
15421   need_version=no
15422   soname_spec='${libname}${release}${shared_ext}$major'
15423   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15424   shlibpath_var=LD_LIBRARY_PATH
15425   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15426   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15427   ;;
15428
15429 rdos*)
15430   dynamic_linker=no
15431   ;;
15432
15433 solaris*)
15434   version_type=linux # correct to gnu/linux during the next big refactor
15435   need_lib_prefix=no
15436   need_version=no
15437   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15438   soname_spec='${libname}${release}${shared_ext}$major'
15439   shlibpath_var=LD_LIBRARY_PATH
15440   shlibpath_overrides_runpath=yes
15441   hardcode_into_libs=yes
15442   # ldd complains unless libraries are executable
15443   postinstall_cmds='chmod +x $lib'
15444   ;;
15445
15446 sunos4*)
15447   version_type=sunos
15448   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15449   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15450   shlibpath_var=LD_LIBRARY_PATH
15451   shlibpath_overrides_runpath=yes
15452   if test "$with_gnu_ld" = yes; then
15453     need_lib_prefix=no
15454   fi
15455   need_version=yes
15456   ;;
15457
15458 sysv4 | sysv4.3*)
15459   version_type=linux # correct to gnu/linux during the next big refactor
15460   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15461   soname_spec='${libname}${release}${shared_ext}$major'
15462   shlibpath_var=LD_LIBRARY_PATH
15463   case $host_vendor in
15464     sni)
15465       shlibpath_overrides_runpath=no
15466       need_lib_prefix=no
15467       runpath_var=LD_RUN_PATH
15468       ;;
15469     siemens)
15470       need_lib_prefix=no
15471       ;;
15472     motorola)
15473       need_lib_prefix=no
15474       need_version=no
15475       shlibpath_overrides_runpath=no
15476       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15477       ;;
15478   esac
15479   ;;
15480
15481 sysv4*MP*)
15482   if test -d /usr/nec ;then
15483     version_type=linux # correct to gnu/linux during the next big refactor
15484     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15485     soname_spec='$libname${shared_ext}.$major'
15486     shlibpath_var=LD_LIBRARY_PATH
15487   fi
15488   ;;
15489
15490 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15491   version_type=freebsd-elf
15492   need_lib_prefix=no
15493   need_version=no
15494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15495   soname_spec='${libname}${release}${shared_ext}$major'
15496   shlibpath_var=LD_LIBRARY_PATH
15497   shlibpath_overrides_runpath=yes
15498   hardcode_into_libs=yes
15499   if test "$with_gnu_ld" = yes; then
15500     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15501   else
15502     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15503     case $host_os in
15504       sco3.2v5*)
15505         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15506         ;;
15507     esac
15508   fi
15509   sys_lib_dlsearch_path_spec='/usr/lib'
15510   ;;
15511
15512 tpf*)
15513   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15514   version_type=linux # correct to gnu/linux during the next big refactor
15515   need_lib_prefix=no
15516   need_version=no
15517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15518   shlibpath_var=LD_LIBRARY_PATH
15519   shlibpath_overrides_runpath=no
15520   hardcode_into_libs=yes
15521   ;;
15522
15523 uts4*)
15524   version_type=linux # correct to gnu/linux during the next big refactor
15525   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15526   soname_spec='${libname}${release}${shared_ext}$major'
15527   shlibpath_var=LD_LIBRARY_PATH
15528   ;;
15529
15530 *)
15531   dynamic_linker=no
15532   ;;
15533 esac
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15535 $as_echo "$dynamic_linker" >&6; }
15536 test "$dynamic_linker" = no && can_build_shared=no
15537
15538 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15539 if test "$GCC" = yes; then
15540   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15541 fi
15542
15543 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15544   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15545 fi
15546 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15547   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15548 fi
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15588 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15589 hardcode_action_CXX=
15590 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15591    test -n "$runpath_var_CXX" ||
15592    test "X$hardcode_automatic_CXX" = "Xyes" ; then
15593
15594   # We can hardcode non-existent directories.
15595   if test "$hardcode_direct_CXX" != no &&
15596      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15597      # have to relink, otherwise we might link with an installed library
15598      # when we should be linking with a yet-to-be-installed one
15599      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15600      test "$hardcode_minus_L_CXX" != no; then
15601     # Linking always hardcodes the temporary library directory.
15602     hardcode_action_CXX=relink
15603   else
15604     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15605     hardcode_action_CXX=immediate
15606   fi
15607 else
15608   # We cannot hardcode anything, or else we can only hardcode existing
15609   # directories.
15610   hardcode_action_CXX=unsupported
15611 fi
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15613 $as_echo "$hardcode_action_CXX" >&6; }
15614
15615 if test "$hardcode_action_CXX" = relink ||
15616    test "$inherit_rpath_CXX" = yes; then
15617   # Fast installation is not supported
15618   enable_fast_install=no
15619 elif test "$shlibpath_overrides_runpath" = yes ||
15620      test "$enable_shared" = no; then
15621   # Fast installation is not necessary
15622   enable_fast_install=needless
15623 fi
15624
15625
15626
15627
15628
15629
15630
15631   fi # test -n "$compiler"
15632
15633   CC=$lt_save_CC
15634   CFLAGS=$lt_save_CFLAGS
15635   LDCXX=$LD
15636   LD=$lt_save_LD
15637   GCC=$lt_save_GCC
15638   with_gnu_ld=$lt_save_with_gnu_ld
15639   lt_cv_path_LDCXX=$lt_cv_path_LD
15640   lt_cv_path_LD=$lt_save_path_LD
15641   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15642   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15643 fi # test "$_lt_caught_CXX_error" != yes
15644
15645 ac_ext=c
15646 ac_cpp='$CPP $CPPFLAGS'
15647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665         ac_config_commands="$ac_config_commands libtool"
15666
15667
15668
15669
15670 # Only expand once:
15671
15672
15673
15674
15675 for ac_prog in gm4 m4
15676 do
15677   # Extract the first word of "$ac_prog", so it can be a program name with args.
15678 set dummy $ac_prog; ac_word=$2
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15680 $as_echo_n "checking for $ac_word... " >&6; }
15681 if ${ac_cv_prog_M4+:} false; then :
15682   $as_echo_n "(cached) " >&6
15683 else
15684   if test -n "$M4"; then
15685   ac_cv_prog_M4="$M4" # Let the user override the test.
15686 else
15687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15688 for as_dir in $PATH
15689 do
15690   IFS=$as_save_IFS
15691   test -z "$as_dir" && as_dir=.
15692     for ac_exec_ext in '' $ac_executable_extensions; do
15693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15694     ac_cv_prog_M4="$ac_prog"
15695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15696     break 2
15697   fi
15698 done
15699   done
15700 IFS=$as_save_IFS
15701
15702 fi
15703 fi
15704 M4=$ac_cv_prog_M4
15705 if test -n "$M4"; then
15706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
15707 $as_echo "$M4" >&6; }
15708 else
15709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15710 $as_echo "no" >&6; }
15711 fi
15712
15713
15714   test -n "$M4" && break
15715 done
15716
15717
15718 if test "x$M4" = x; then :
15719   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15721 as_fn_error $? "The GNU M4 macro processor is required for building libsigc++.
15722 See \`config.log' for more details" "$LINENO" 5; }
15723 fi
15724
15725 # Extract the first word of "perl", so it can be a program name with args.
15726 set dummy perl; ac_word=$2
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15728 $as_echo_n "checking for $ac_word... " >&6; }
15729 if ${ac_cv_path_PERL+:} false; then :
15730   $as_echo_n "(cached) " >&6
15731 else
15732   case $PERL in
15733   [\\/]* | ?:[\\/]*)
15734   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
15735   ;;
15736   *)
15737   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15738 for as_dir in $PATH
15739 do
15740   IFS=$as_save_IFS
15741   test -z "$as_dir" && as_dir=.
15742     for ac_exec_ext in '' $ac_executable_extensions; do
15743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15744     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
15745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15746     break 2
15747   fi
15748 done
15749   done
15750 IFS=$as_save_IFS
15751
15752   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
15753   ;;
15754 esac
15755 fi
15756 PERL=$ac_cv_path_PERL
15757 if test -n "$PERL"; then
15758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
15759 $as_echo "$PERL" >&6; }
15760 else
15761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15762 $as_echo "no" >&6; }
15763 fi
15764
15765
15766
15767 # Extract the first word of "dot", so it can be a program name with args.
15768 set dummy dot; ac_word=$2
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15770 $as_echo_n "checking for $ac_word... " >&6; }
15771 if ${ac_cv_path_DOT+:} false; then :
15772   $as_echo_n "(cached) " >&6
15773 else
15774   case $DOT in
15775   [\\/]* | ?:[\\/]*)
15776   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
15777   ;;
15778   *)
15779   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15780 for as_dir in $PATH
15781 do
15782   IFS=$as_save_IFS
15783   test -z "$as_dir" && as_dir=.
15784     for ac_exec_ext in '' $ac_executable_extensions; do
15785   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15786     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
15787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15788     break 2
15789   fi
15790 done
15791   done
15792 IFS=$as_save_IFS
15793
15794   test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
15795   ;;
15796 esac
15797 fi
15798 DOT=$ac_cv_path_DOT
15799 if test -n "$DOT"; then
15800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
15801 $as_echo "$DOT" >&6; }
15802 else
15803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15804 $as_echo "no" >&6; }
15805 fi
15806
15807
15808 # Extract the first word of "doxygen", so it can be a program name with args.
15809 set dummy doxygen; ac_word=$2
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15811 $as_echo_n "checking for $ac_word... " >&6; }
15812 if ${ac_cv_path_DOXYGEN+:} false; then :
15813   $as_echo_n "(cached) " >&6
15814 else
15815   case $DOXYGEN in
15816   [\\/]* | ?:[\\/]*)
15817   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
15818   ;;
15819   *)
15820   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15821 for as_dir in $PATH
15822 do
15823   IFS=$as_save_IFS
15824   test -z "$as_dir" && as_dir=.
15825     for ac_exec_ext in '' $ac_executable_extensions; do
15826   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15827     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15829     break 2
15830   fi
15831 done
15832   done
15833 IFS=$as_save_IFS
15834
15835   test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
15836   ;;
15837 esac
15838 fi
15839 DOXYGEN=$ac_cv_path_DOXYGEN
15840 if test -n "$DOXYGEN"; then
15841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15842 $as_echo "$DOXYGEN" >&6; }
15843 else
15844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15845 $as_echo "no" >&6; }
15846 fi
15847
15848
15849 # Extract the first word of "xsltproc", so it can be a program name with args.
15850 set dummy xsltproc; ac_word=$2
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15852 $as_echo_n "checking for $ac_word... " >&6; }
15853 if ${ac_cv_path_XSLTPROC+:} false; then :
15854   $as_echo_n "(cached) " >&6
15855 else
15856   case $XSLTPROC in
15857   [\\/]* | ?:[\\/]*)
15858   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15859   ;;
15860   *)
15861   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15862 for as_dir in $PATH
15863 do
15864   IFS=$as_save_IFS
15865   test -z "$as_dir" && as_dir=.
15866     for ac_exec_ext in '' $ac_executable_extensions; do
15867   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15868     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15870     break 2
15871   fi
15872 done
15873   done
15874 IFS=$as_save_IFS
15875
15876   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
15877   ;;
15878 esac
15879 fi
15880 XSLTPROC=$ac_cv_path_XSLTPROC
15881 if test -n "$XSLTPROC"; then
15882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15883 $as_echo "$XSLTPROC" >&6; }
15884 else
15885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15886 $as_echo "no" >&6; }
15887 fi
15888
15889
15890 # Check whether --enable-documentation was given.
15891 if test "${enable_documentation+set}" = set; then :
15892   enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
15893 else
15894   ENABLE_DOCUMENTATION=auto
15895 fi
15896
15897 if test "x$ENABLE_DOCUMENTATION" != xno; then :
15898
15899   mm_err=
15900   if test "x$MMDOCTOOLDIR" = x; then :
15901   mm_err='The mm-common-util module is available, but the installation of mm-common on this
15902 machine is missing the shared documentation utilities of the GNOME C++
15903 bindings.  It may be necessary to upgrade to a more recent release of
15904 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
15905 elif test "x$PERL" = xperl; then :
15906   mm_err='Perl is required for installing the documentation.'
15907 elif test "x$USE_MAINTAINER_MODE" != xno; then :
15908
15909     test "x$DOT" != xdot || mm_err=' dot'
15910     test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
15911     test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
15912     test -z "$mm_err" || mm_err='The documentation cannot be generated because
15913 not all of the required tools are available:'$mm_err
15914
15915 fi
15916   if test -z "$mm_err"; then :
15917   ENABLE_DOCUMENTATION=yes
15918 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
15919   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15921 as_fn_error $? "$mm_err
15922 See \`config.log' for more details" "$LINENO" 5; }
15923 else
15924   ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
15925 $as_echo "$as_me: WARNING: $mm_err" >&2;}
15926 fi
15927
15928 fi
15929  if test "x$ENABLE_DOCUMENTATION" = xyes; then
15930   ENABLE_DOCUMENTATION_TRUE=
15931   ENABLE_DOCUMENTATION_FALSE='#'
15932 else
15933   ENABLE_DOCUMENTATION_TRUE='#'
15934   ENABLE_DOCUMENTATION_FALSE=
15935 fi
15936
15937 DOXYGEN_TAGFILES=
15938
15939 DOCINSTALL_FLAGS=
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15950         if test -n "$ac_tool_prefix"; then
15951   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15952 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15954 $as_echo_n "checking for $ac_word... " >&6; }
15955 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15956   $as_echo_n "(cached) " >&6
15957 else
15958   case $PKG_CONFIG in
15959   [\\/]* | ?:[\\/]*)
15960   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15961   ;;
15962   *)
15963   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15964 for as_dir in $PATH
15965 do
15966   IFS=$as_save_IFS
15967   test -z "$as_dir" && as_dir=.
15968     for ac_exec_ext in '' $ac_executable_extensions; do
15969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15970     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15972     break 2
15973   fi
15974 done
15975   done
15976 IFS=$as_save_IFS
15977
15978   ;;
15979 esac
15980 fi
15981 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15982 if test -n "$PKG_CONFIG"; then
15983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15984 $as_echo "$PKG_CONFIG" >&6; }
15985 else
15986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15987 $as_echo "no" >&6; }
15988 fi
15989
15990
15991 fi
15992 if test -z "$ac_cv_path_PKG_CONFIG"; then
15993   ac_pt_PKG_CONFIG=$PKG_CONFIG
15994   # Extract the first word of "pkg-config", so it can be a program name with args.
15995 set dummy pkg-config; ac_word=$2
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15997 $as_echo_n "checking for $ac_word... " >&6; }
15998 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15999   $as_echo_n "(cached) " >&6
16000 else
16001   case $ac_pt_PKG_CONFIG in
16002   [\\/]* | ?:[\\/]*)
16003   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16004   ;;
16005   *)
16006   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16007 for as_dir in $PATH
16008 do
16009   IFS=$as_save_IFS
16010   test -z "$as_dir" && as_dir=.
16011     for ac_exec_ext in '' $ac_executable_extensions; do
16012   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16013     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16015     break 2
16016   fi
16017 done
16018   done
16019 IFS=$as_save_IFS
16020
16021   ;;
16022 esac
16023 fi
16024 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16025 if test -n "$ac_pt_PKG_CONFIG"; then
16026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16027 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16028 else
16029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16030 $as_echo "no" >&6; }
16031 fi
16032
16033   if test "x$ac_pt_PKG_CONFIG" = x; then
16034     PKG_CONFIG=""
16035   else
16036     case $cross_compiling:$ac_tool_warned in
16037 yes:)
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16040 ac_tool_warned=yes ;;
16041 esac
16042     PKG_CONFIG=$ac_pt_PKG_CONFIG
16043   fi
16044 else
16045   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16046 fi
16047
16048 fi
16049 if test -n "$PKG_CONFIG"; then
16050         _pkg_min_version=0.9.0
16051         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16052 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16053         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16054                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16055 $as_echo "yes" >&6; }
16056         else
16057                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16058 $as_echo "no" >&6; }
16059                 PKG_CONFIG=""
16060         fi
16061 fi
16062 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16063     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
16064 $as_echo_n "checking for libstdc documentation... " >&6; }
16065
16066 # Check whether --with-libstdc-doc was given.
16067 if test "${with_libstdc_doc+set}" = set; then :
16068   withval=$with_libstdc_doc;
16069     mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16070     mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16071     mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16072     test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
16073     test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16074 else
16075
16076     mm_htmlrefdir=
16077     mm_tagname="libstdc++.tag"
16078     mm_tagpath=$mm_tagname
16079 fi
16080
16081   # Prepend working direcory if the tag file path starts with ./ or ../
16082   case $mm_tagpath in #(
16083   .[\\/]*|..[\\/]*) :
16084     mm_tagpath=`pwd`/$mm_tagpath ;; #(
16085   *) :
16086      ;;
16087 esac
16088
16089   # If no local directory was specified, get the default from the .pc file
16090   if test "x$mm_htmlrefdir" = x; then :
16091
16092     mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
16093 fi
16094   # If the user specified a Web URL, allow it to override the public location
16095   case $mm_htmlrefdir in #(
16096   http://*|https://*) :
16097     mm_htmlrefpub=$mm_htmlrefdir ;; #(
16098   *) :
16099
16100     mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
16101     test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16102     test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16103    ;;
16104 esac
16105   # The user-supplied tag-file name takes precedence if it includes the path
16106   case $mm_tagpath in #(
16107   *[\\/]*) :
16108      ;; #(
16109   *) :
16110
16111     mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
16112     test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16113    ;;
16114 esac
16115   # Remove trailing slashes and translate to URI
16116   mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16117   mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16118
16119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16120 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16121
16122   if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16123   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
16124 $as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
16125 fi
16126   if test "x$mm_htmlrefdir" = x; then :
16127   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
16128 $as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
16129 else
16130   if test "x$DOCINSTALL_FLAGS" = x; then :
16131   DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16132 else
16133   DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16134 fi
16135 fi
16136
16137   if test "x$mm_htmlrefpub" = x; then :
16138   mm_val=$mm_tagpath
16139 else
16140   mm_val="$mm_tagpath=$mm_htmlrefpub"
16141 fi
16142   if test "x$DOXYGEN_TAGFILES" = x; then :
16143   DOXYGEN_TAGFILES=\"$mm_val\"
16144 else
16145   DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16146 fi
16147 fi
16148
16149 ac_ext=cpp
16150 ac_cpp='$CXXCPP $CPPFLAGS'
16151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16154
16155
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the use of a particular specialization when calling operator() template methods." >&5
16157 $as_echo_n "checking if C++ compiler supports the use of a particular specialization when calling operator() template methods.... " >&6; }
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h.  */
16160
16161   #include <iostream>
16162
16163   class Thing
16164   {
16165     public:
16166     Thing()
16167     {}
16168
16169     template <class T>
16170     void operator()(T a, T b)
16171     {
16172       T c = a + b;
16173       std::cout << c << std::endl;
16174     }
16175   };
16176
16177   template<class T2>
16178   class OtherThing
16179   {
16180   public:
16181     void do_something()
16182     {
16183        Thing thing_;
16184        thing_.template operator()<T2>(1, 2);
16185        //This fails with or without the template keyword, on SUN Forte C++ 5.3, 5.4, and 5.5:
16186     }
16187   };
16188
16189 int
16190 main ()
16191 {
16192
16193   OtherThing<int> thing;
16194   thing.do_something();
16195
16196   ;
16197   return 0;
16198 }
16199 _ACEOF
16200 if ac_fn_cxx_try_compile "$LINENO"; then :
16201
16202   sigcm_cxx_gcc_template_specialization_operator_overload=yes
16203
16204 $as_echo "#define SIGC_GCC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD 1" >>confdefs.h
16205
16206
16207 else
16208
16209   sigcm_cxx_gcc_template_specialization_operator_overload=no
16210
16211 fi
16212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigcm_cxx_gcc_template_specialization_operator_overload" >&5
16214 $as_echo "$sigcm_cxx_gcc_template_specialization_operator_overload" >&6; }
16215
16216
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the use of a particular specialization when calling operator() template methods omitting the template keyword." >&5
16218 $as_echo_n "checking if C++ compiler supports the use of a particular specialization when calling operator() template methods omitting the template keyword.... " >&6; }
16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h.  */
16221
16222   #include <iostream>
16223
16224   class Thing
16225   {
16226     public:
16227     Thing()
16228     {}
16229
16230     template <class T>
16231     void operator()(T a, T b)
16232     {
16233       T c = a + b;
16234       std::cout << c << std::endl;
16235     }
16236   };
16237
16238   template<class T2>
16239   class OtherThing
16240   {
16241   public:
16242     void do_something()
16243     {
16244        Thing thing_;
16245        thing_.operator()<T2>(1, 2);
16246        //This fails with or without the template keyword, on SUN Forte C++ 5.3, 5.4, and 5.5:
16247     }
16248   };
16249
16250 int
16251 main ()
16252 {
16253
16254   OtherThing<int> thing;
16255   thing.do_something();
16256
16257   ;
16258   return 0;
16259 }
16260 _ACEOF
16261 if ac_fn_cxx_try_compile "$LINENO"; then :
16262
16263   sigcm_cxx_msvc_template_specialization_operator_overload=yes
16264
16265 $as_echo "#define SIGC_MSVC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD 1" >>confdefs.h
16266
16267
16268 else
16269
16270   sigcm_cxx_msvc_template_specialization_operator_overload=no
16271
16272 fi
16273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigcm_cxx_msvc_template_specialization_operator_overload" >&5
16275 $as_echo "$sigcm_cxx_msvc_template_specialization_operator_overload" >&6; }
16276
16277
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler allows usage of member function in initialization of static member field." >&5
16279 $as_echo_n "checking if C++ compiler allows usage of member function in initialization of static member field.... " >&6; }
16280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16281 /* end confdefs.h.  */
16282
16283   struct test
16284   {
16285     static char  test_function();
16286
16287     // Doesn't work with e.g. GCC 3.2.  However, if test_function()
16288     // is wrapped in a nested structure, it works just fine.
16289     static const bool  test_value
16290       = (sizeof(test_function()) == sizeof(char));
16291   };
16292
16293 int
16294 main ()
16295 {
16296
16297   ;
16298   return 0;
16299 }
16300 _ACEOF
16301 if ac_fn_cxx_try_compile "$LINENO"; then :
16302
16303   sigcm_cxx_self_reference_in_member_initialization=yes
16304
16305 $as_echo "#define SIGC_SELF_REFERENCE_IN_MEMBER_INITIALIZATION 1" >>confdefs.h
16306
16307
16308 else
16309
16310   sigcm_cxx_self_reference_in_member_initialization=no
16311
16312 fi
16313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigcm_cxx_self_reference_in_member_initialization" >&5
16315 $as_echo "$sigcm_cxx_self_reference_in_member_initialization" >&6; }
16316
16317
16318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ library symbols are declared in namespace std" >&5
16319 $as_echo_n "checking whether C++ library symbols are declared in namespace std... " >&6; }
16320 if ${sigc_cv_cxx_has_namespace_std+:} false; then :
16321   $as_echo_n "(cached) " >&6
16322 else
16323
16324     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16325 /* end confdefs.h.  */
16326
16327       #include <algorithm>
16328       #include <iterator>
16329       #include <iostream>
16330       #include <string>
16331
16332 int
16333 main ()
16334 {
16335
16336       using std::min;
16337       using std::find;
16338       using std::copy;
16339       using std::bidirectional_iterator_tag;
16340       using std::string;
16341       using std::istream;
16342       using std::cout;
16343
16344   ;
16345   return 0;
16346 }
16347 _ACEOF
16348 if ac_fn_cxx_try_compile "$LINENO"; then :
16349   sigc_cv_cxx_has_namespace_std='yes'
16350 else
16351   sigc_cv_cxx_has_namespace_std='no'
16352
16353 fi
16354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16355
16356 fi
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigc_cv_cxx_has_namespace_std" >&5
16358 $as_echo "$sigc_cv_cxx_has_namespace_std" >&6; }
16359
16360   if test "x${sigc_cv_cxx_has_namespace_std}" = 'xyes'; then :
16361
16362 $as_echo "#define SIGC_HAVE_NAMESPACE_STD 1" >>confdefs.h
16363
16364 fi
16365
16366
16367
16368
16369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-standard Sun libCstd reverse_iterator" >&5
16370 $as_echo_n "checking for non-standard Sun libCstd reverse_iterator... " >&6; }
16371 if ${sigc_cv_cxx_has_sun_reverse_iterator+:} false; then :
16372   $as_echo_n "(cached) " >&6
16373 else
16374
16375     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h.  */
16377
16378       #include <iterator>
16379       #ifdef SIGC_HAVE_NAMESPACE_STD
16380       using namespace std;
16381       #endif
16382
16383 int
16384 main ()
16385 {
16386
16387       typedef reverse_iterator<char*,random_access_iterator_tag,char,char&,char*,int> ReverseIter;
16388
16389   ;
16390   return 0;
16391 }
16392 _ACEOF
16393 if ac_fn_cxx_try_compile "$LINENO"; then :
16394   sigc_cv_cxx_has_sun_reverse_iterator='yes'
16395 else
16396   sigc_cv_cxx_has_sun_reverse_iterator='no'
16397
16398 fi
16399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16400
16401 fi
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigc_cv_cxx_has_sun_reverse_iterator" >&5
16403 $as_echo "$sigc_cv_cxx_has_sun_reverse_iterator" >&6; }
16404
16405   if test "x${sigc_cv_cxx_has_sun_reverse_iterator}" = 'xyes'; then :
16406
16407 $as_echo "#define SIGC_HAVE_SUN_REVERSE_ITERATOR 1" >>confdefs.h
16408
16409 fi
16410
16411
16412 if test "x$config_error" = xyes; then :
16413   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16415 as_fn_error $? "One or more of the required C++ compiler features is missing.
16416 See \`config.log' for more details" "$LINENO" 5; }
16417 fi
16418
16419 # Evaluate the --enable-warnings=level option.
16420 # Check whether --enable-warnings was given.
16421 if test "${enable_warnings+set}" = set; then :
16422   enableval=$enable_warnings; mm_enable_warnings=$enableval
16423 else
16424   mm_enable_warnings=min
16425 fi
16426
16427 case $ac_compile in #(
16428   *'$CXXFLAGS '*) :
16429     mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
16430   *'$CFLAGS '*) :
16431     mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
16432   *) :
16433     as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
16434 esac
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
16436 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
16437 mm_tested_flags=
16438 case $mm_enable_warnings in #(
16439   no) :
16440     mm_warning_flags= ;; #(
16441   max) :
16442     mm_warning_flags="-pedantic -Wall -Wextra" ;; #(
16443   fatal) :
16444     mm_warning_flags="-pedantic -Wall -Wextra -Werror" ;; #(
16445   *) :
16446     mm_warning_flags="-Wall" ;;
16447 esac
16448 if test "x$mm_warning_flags" != x; then :
16449
16450   # Keep in mind that the dummy source must be devoid of any
16451   # problems that might cause diagnostics.
16452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h.  */
16454
16455 int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
16456
16457 _ACEOF
16458   for mm_flag in $mm_warning_flags
16459   do
16460     # Test whether the compiler accepts the flag.  Look at standard output,
16461     # since GCC only shows a warning message if an option is not supported.
16462     mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
16463     rm -f "conftest.${OBJEXT-o}"
16464
16465     if test "x$mm_cc_out" = x; then :
16466   if test "x$mm_tested_flags" = x; then :
16467   mm_tested_flags=$mm_flag
16468 else
16469   mm_tested_flags="$mm_tested_flags $mm_flag"
16470 fi
16471 else
16472   cat <<_MMEOF >&5
16473 $mm_cc: $mm_cc_out
16474 _MMEOF
16475
16476 fi
16477   done
16478   rm -f "$mm_conftest"
16479
16480 fi
16481 mm_all_flags=$mm_tested_flags
16482 SIGC_WXXFLAGS=$mm_all_flags
16483
16484 test "x$mm_all_flags" != x || mm_all_flags=none
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
16486 $as_echo "$mm_all_flags" >&6; }
16487
16488 # Offer the ability to omit some API from the library.
16489 # Check whether --enable-deprecated-api was given.
16490 if test "${enable_deprecated_api+set}" = set; then :
16491   enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
16492 else
16493   mm_enable_deprecated_api=yes
16494 fi
16495 if test "x$mm_enable_deprecated_api" = xno; then :
16496   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
16497 Do not use this option for distribution packages." >&5
16498 $as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
16499 Do not use this option for distribution packages." >&2;}
16500 else
16501   { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
16502 $as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
16503 fi
16504  if test "x$mm_enable_deprecated_api" = xno; then
16505   DISABLE_DEPRECATED_API_TRUE=
16506   DISABLE_DEPRECATED_API_FALSE='#'
16507 else
16508   DISABLE_DEPRECATED_API_TRUE='#'
16509   DISABLE_DEPRECATED_API_FALSE=
16510 fi
16511
16512 if test "x$mm_enable_deprecated_api" = xno; then :
16513
16514 $as_echo "#define SIGCXX_DISABLE_DEPRECATED 1" >>confdefs.h
16515
16516
16517 fi
16518
16519 ac_config_files="$ac_config_files Makefile ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in sigc++/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2005/sigc.rc MSVC_Net2008/sigc.rc MSVC_Net2010/sigc.rc"
16520
16521
16522 # Copy the generated configuration headers into the MSVC project directories.
16523 ac_config_commands="$ac_config_commands MSVC_Net2005/sigc++config.h"
16524
16525 ac_config_commands="$ac_config_commands MSVC_Net2008/sigc++config.h"
16526
16527 ac_config_commands="$ac_config_commands MSVC_Net2010/sigc++config.h"
16528
16529 cat >confcache <<\_ACEOF
16530 # This file is a shell script that caches the results of configure
16531 # tests run on this system so they can be shared between configure
16532 # scripts and configure runs, see configure's option --config-cache.
16533 # It is not useful on other systems.  If it contains results you don't
16534 # want to keep, you may remove or edit it.
16535 #
16536 # config.status only pays attention to the cache file if you give it
16537 # the --recheck option to rerun configure.
16538 #
16539 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16540 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16541 # following values.
16542
16543 _ACEOF
16544
16545 # The following way of writing the cache mishandles newlines in values,
16546 # but we know of no workaround that is simple, portable, and efficient.
16547 # So, we kill variables containing newlines.
16548 # Ultrix sh set writes to stderr and can't be redirected directly,
16549 # and sets the high bit in the cache file unless we assign to the vars.
16550 (
16551   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16552     eval ac_val=\$$ac_var
16553     case $ac_val in #(
16554     *${as_nl}*)
16555       case $ac_var in #(
16556       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16557 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16558       esac
16559       case $ac_var in #(
16560       _ | IFS | as_nl) ;; #(
16561       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16562       *) { eval $ac_var=; unset $ac_var;} ;;
16563       esac ;;
16564     esac
16565   done
16566
16567   (set) 2>&1 |
16568     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16569     *${as_nl}ac_space=\ *)
16570       # `set' does not quote correctly, so add quotes: double-quote
16571       # substitution turns \\\\ into \\, and sed turns \\ into \.
16572       sed -n \
16573         "s/'/'\\\\''/g;
16574           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16575       ;; #(
16576     *)
16577       # `set' quotes correctly as required by POSIX, so do not add quotes.
16578       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16579       ;;
16580     esac |
16581     sort
16582 ) |
16583   sed '
16584      /^ac_cv_env_/b end
16585      t clear
16586      :clear
16587      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16588      t end
16589      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16590      :end' >>confcache
16591 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16592   if test -w "$cache_file"; then
16593     if test "x$cache_file" != "x/dev/null"; then
16594       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16595 $as_echo "$as_me: updating cache $cache_file" >&6;}
16596       if test ! -f "$cache_file" || test -h "$cache_file"; then
16597         cat confcache >"$cache_file"
16598       else
16599         case $cache_file in #(
16600         */* | ?:*)
16601           mv -f confcache "$cache_file"$$ &&
16602           mv -f "$cache_file"$$ "$cache_file" ;; #(
16603         *)
16604           mv -f confcache "$cache_file" ;;
16605         esac
16606       fi
16607     fi
16608   else
16609     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16610 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16611   fi
16612 fi
16613 rm -f confcache
16614
16615 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16616 # Let make expand exec_prefix.
16617 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16618
16619 DEFS=-DHAVE_CONFIG_H
16620
16621 ac_libobjs=
16622 ac_ltlibobjs=
16623 U=
16624 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16625   # 1. Remove the extension, and $U if already installed.
16626   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16627   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16628   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16629   #    will be set to the directory where LIBOBJS objects are built.
16630   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16631   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16632 done
16633 LIBOBJS=$ac_libobjs
16634
16635 LTLIBOBJS=$ac_ltlibobjs
16636
16637
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16639 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16640    if test -n "$am_sleep_pid"; then
16641      # Hide warnings about reused PIDs.
16642      wait $am_sleep_pid 2>/dev/null
16643    fi
16644    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16645 $as_echo "done" >&6; }
16646  if test -n "$EXEEXT"; then
16647   am__EXEEXT_TRUE=
16648   am__EXEEXT_FALSE='#'
16649 else
16650   am__EXEEXT_TRUE='#'
16651   am__EXEEXT_FALSE=
16652 fi
16653
16654 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16655   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16657 fi
16658 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
16659   as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
16660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16661 fi
16662 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16663   as_fn_error $? "conditional \"AMDEP\" was never defined.
16664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16665 fi
16666 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16667   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16669 fi
16670 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16671   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16673 fi
16674 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
16675   as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
16676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16677 fi
16678 if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
16679   as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
16680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16681 fi
16682
16683 : "${CONFIG_STATUS=./config.status}"
16684 ac_write_fail=0
16685 ac_clean_files_save=$ac_clean_files
16686 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16688 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16689 as_write_fail=0
16690 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16691 #! $SHELL
16692 # Generated by $as_me.
16693 # Run this file to recreate the current configuration.
16694 # Compiler output produced by configure, useful for debugging
16695 # configure, is in config.log if it exists.
16696
16697 debug=false
16698 ac_cs_recheck=false
16699 ac_cs_silent=false
16700
16701 SHELL=\${CONFIG_SHELL-$SHELL}
16702 export SHELL
16703 _ASEOF
16704 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16705 ## -------------------- ##
16706 ## M4sh Initialization. ##
16707 ## -------------------- ##
16708
16709 # Be more Bourne compatible
16710 DUALCASE=1; export DUALCASE # for MKS sh
16711 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16712   emulate sh
16713   NULLCMD=:
16714   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16715   # is contrary to our usage.  Disable this feature.
16716   alias -g '${1+"$@"}'='"$@"'
16717   setopt NO_GLOB_SUBST
16718 else
16719   case `(set -o) 2>/dev/null` in #(
16720   *posix*) :
16721     set -o posix ;; #(
16722   *) :
16723      ;;
16724 esac
16725 fi
16726
16727
16728 as_nl='
16729 '
16730 export as_nl
16731 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16732 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16733 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16734 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16735 # Prefer a ksh shell builtin over an external printf program on Solaris,
16736 # but without wasting forks for bash or zsh.
16737 if test -z "$BASH_VERSION$ZSH_VERSION" \
16738     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16739   as_echo='print -r --'
16740   as_echo_n='print -rn --'
16741 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16742   as_echo='printf %s\n'
16743   as_echo_n='printf %s'
16744 else
16745   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16746     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16747     as_echo_n='/usr/ucb/echo -n'
16748   else
16749     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16750     as_echo_n_body='eval
16751       arg=$1;
16752       case $arg in #(
16753       *"$as_nl"*)
16754         expr "X$arg" : "X\\(.*\\)$as_nl";
16755         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16756       esac;
16757       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16758     '
16759     export as_echo_n_body
16760     as_echo_n='sh -c $as_echo_n_body as_echo'
16761   fi
16762   export as_echo_body
16763   as_echo='sh -c $as_echo_body as_echo'
16764 fi
16765
16766 # The user is always right.
16767 if test "${PATH_SEPARATOR+set}" != set; then
16768   PATH_SEPARATOR=:
16769   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16770     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16771       PATH_SEPARATOR=';'
16772   }
16773 fi
16774
16775
16776 # IFS
16777 # We need space, tab and new line, in precisely that order.  Quoting is
16778 # there to prevent editors from complaining about space-tab.
16779 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16780 # splitting by setting IFS to empty value.)
16781 IFS=" ""        $as_nl"
16782
16783 # Find who we are.  Look in the path if we contain no directory separator.
16784 as_myself=
16785 case $0 in #((
16786   *[\\/]* ) as_myself=$0 ;;
16787   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16788 for as_dir in $PATH
16789 do
16790   IFS=$as_save_IFS
16791   test -z "$as_dir" && as_dir=.
16792     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16793   done
16794 IFS=$as_save_IFS
16795
16796      ;;
16797 esac
16798 # We did not find ourselves, most probably we were run as `sh COMMAND'
16799 # in which case we are not to be found in the path.
16800 if test "x$as_myself" = x; then
16801   as_myself=$0
16802 fi
16803 if test ! -f "$as_myself"; then
16804   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16805   exit 1
16806 fi
16807
16808 # Unset variables that we do not need and which cause bugs (e.g. in
16809 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16810 # suppresses any "Segmentation fault" message there.  '((' could
16811 # trigger a bug in pdksh 5.2.14.
16812 for as_var in BASH_ENV ENV MAIL MAILPATH
16813 do eval test x\${$as_var+set} = xset \
16814   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16815 done
16816 PS1='$ '
16817 PS2='> '
16818 PS4='+ '
16819
16820 # NLS nuisances.
16821 LC_ALL=C
16822 export LC_ALL
16823 LANGUAGE=C
16824 export LANGUAGE
16825
16826 # CDPATH.
16827 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16828
16829
16830 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16831 # ----------------------------------------
16832 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16833 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16834 # script with STATUS, using 1 if that was 0.
16835 as_fn_error ()
16836 {
16837   as_status=$1; test $as_status -eq 0 && as_status=1
16838   if test "$4"; then
16839     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16840     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16841   fi
16842   $as_echo "$as_me: error: $2" >&2
16843   as_fn_exit $as_status
16844 } # as_fn_error
16845
16846
16847 # as_fn_set_status STATUS
16848 # -----------------------
16849 # Set $? to STATUS, without forking.
16850 as_fn_set_status ()
16851 {
16852   return $1
16853 } # as_fn_set_status
16854
16855 # as_fn_exit STATUS
16856 # -----------------
16857 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16858 as_fn_exit ()
16859 {
16860   set +e
16861   as_fn_set_status $1
16862   exit $1
16863 } # as_fn_exit
16864
16865 # as_fn_unset VAR
16866 # ---------------
16867 # Portably unset VAR.
16868 as_fn_unset ()
16869 {
16870   { eval $1=; unset $1;}
16871 }
16872 as_unset=as_fn_unset
16873 # as_fn_append VAR VALUE
16874 # ----------------------
16875 # Append the text in VALUE to the end of the definition contained in VAR. Take
16876 # advantage of any shell optimizations that allow amortized linear growth over
16877 # repeated appends, instead of the typical quadratic growth present in naive
16878 # implementations.
16879 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16880   eval 'as_fn_append ()
16881   {
16882     eval $1+=\$2
16883   }'
16884 else
16885   as_fn_append ()
16886   {
16887     eval $1=\$$1\$2
16888   }
16889 fi # as_fn_append
16890
16891 # as_fn_arith ARG...
16892 # ------------------
16893 # Perform arithmetic evaluation on the ARGs, and store the result in the
16894 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16895 # must be portable across $(()) and expr.
16896 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16897   eval 'as_fn_arith ()
16898   {
16899     as_val=$(( $* ))
16900   }'
16901 else
16902   as_fn_arith ()
16903   {
16904     as_val=`expr "$@" || test $? -eq 1`
16905   }
16906 fi # as_fn_arith
16907
16908
16909 if expr a : '\(a\)' >/dev/null 2>&1 &&
16910    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16911   as_expr=expr
16912 else
16913   as_expr=false
16914 fi
16915
16916 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16917   as_basename=basename
16918 else
16919   as_basename=false
16920 fi
16921
16922 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16923   as_dirname=dirname
16924 else
16925   as_dirname=false
16926 fi
16927
16928 as_me=`$as_basename -- "$0" ||
16929 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16930          X"$0" : 'X\(//\)$' \| \
16931          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16932 $as_echo X/"$0" |
16933     sed '/^.*\/\([^/][^/]*\)\/*$/{
16934             s//\1/
16935             q
16936           }
16937           /^X\/\(\/\/\)$/{
16938             s//\1/
16939             q
16940           }
16941           /^X\/\(\/\).*/{
16942             s//\1/
16943             q
16944           }
16945           s/.*/./; q'`
16946
16947 # Avoid depending upon Character Ranges.
16948 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16949 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16950 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16951 as_cr_digits='0123456789'
16952 as_cr_alnum=$as_cr_Letters$as_cr_digits
16953
16954 ECHO_C= ECHO_N= ECHO_T=
16955 case `echo -n x` in #(((((
16956 -n*)
16957   case `echo 'xy\c'` in
16958   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16959   xy)  ECHO_C='\c';;
16960   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16961        ECHO_T=' ';;
16962   esac;;
16963 *)
16964   ECHO_N='-n';;
16965 esac
16966
16967 rm -f conf$$ conf$$.exe conf$$.file
16968 if test -d conf$$.dir; then
16969   rm -f conf$$.dir/conf$$.file
16970 else
16971   rm -f conf$$.dir
16972   mkdir conf$$.dir 2>/dev/null
16973 fi
16974 if (echo >conf$$.file) 2>/dev/null; then
16975   if ln -s conf$$.file conf$$ 2>/dev/null; then
16976     as_ln_s='ln -s'
16977     # ... but there are two gotchas:
16978     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16979     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16980     # In both cases, we have to default to `cp -pR'.
16981     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16982       as_ln_s='cp -pR'
16983   elif ln conf$$.file conf$$ 2>/dev/null; then
16984     as_ln_s=ln
16985   else
16986     as_ln_s='cp -pR'
16987   fi
16988 else
16989   as_ln_s='cp -pR'
16990 fi
16991 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16992 rmdir conf$$.dir 2>/dev/null
16993
16994
16995 # as_fn_mkdir_p
16996 # -------------
16997 # Create "$as_dir" as a directory, including parents if necessary.
16998 as_fn_mkdir_p ()
16999 {
17000
17001   case $as_dir in #(
17002   -*) as_dir=./$as_dir;;
17003   esac
17004   test -d "$as_dir" || eval $as_mkdir_p || {
17005     as_dirs=
17006     while :; do
17007       case $as_dir in #(
17008       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17009       *) as_qdir=$as_dir;;
17010       esac
17011       as_dirs="'$as_qdir' $as_dirs"
17012       as_dir=`$as_dirname -- "$as_dir" ||
17013 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17014          X"$as_dir" : 'X\(//\)[^/]' \| \
17015          X"$as_dir" : 'X\(//\)$' \| \
17016          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17017 $as_echo X"$as_dir" |
17018     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17019             s//\1/
17020             q
17021           }
17022           /^X\(\/\/\)[^/].*/{
17023             s//\1/
17024             q
17025           }
17026           /^X\(\/\/\)$/{
17027             s//\1/
17028             q
17029           }
17030           /^X\(\/\).*/{
17031             s//\1/
17032             q
17033           }
17034           s/.*/./; q'`
17035       test -d "$as_dir" && break
17036     done
17037     test -z "$as_dirs" || eval "mkdir $as_dirs"
17038   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17039
17040
17041 } # as_fn_mkdir_p
17042 if mkdir -p . 2>/dev/null; then
17043   as_mkdir_p='mkdir -p "$as_dir"'
17044 else
17045   test -d ./-p && rmdir ./-p
17046   as_mkdir_p=false
17047 fi
17048
17049
17050 # as_fn_executable_p FILE
17051 # -----------------------
17052 # Test if FILE is an executable regular file.
17053 as_fn_executable_p ()
17054 {
17055   test -f "$1" && test -x "$1"
17056 } # as_fn_executable_p
17057 as_test_x='test -x'
17058 as_executable_p=as_fn_executable_p
17059
17060 # Sed expression to map a string onto a valid CPP name.
17061 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17062
17063 # Sed expression to map a string onto a valid variable name.
17064 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17065
17066
17067 exec 6>&1
17068 ## ----------------------------------- ##
17069 ## Main body of $CONFIG_STATUS script. ##
17070 ## ----------------------------------- ##
17071 _ASEOF
17072 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17073
17074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17075 # Save the log message, to keep $0 and so on meaningful, and to
17076 # report actual input values of CONFIG_FILES etc. instead of their
17077 # values after options handling.
17078 ac_log="
17079 This file was extended by libsigc++ $as_me 2.4.1, which was
17080 generated by GNU Autoconf 2.69.  Invocation command line was
17081
17082   CONFIG_FILES    = $CONFIG_FILES
17083   CONFIG_HEADERS  = $CONFIG_HEADERS
17084   CONFIG_LINKS    = $CONFIG_LINKS
17085   CONFIG_COMMANDS = $CONFIG_COMMANDS
17086   $ $0 $@
17087
17088 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17089 "
17090
17091 _ACEOF
17092
17093 case $ac_config_files in *"
17094 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17095 esac
17096
17097 case $ac_config_headers in *"
17098 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17099 esac
17100
17101
17102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17103 # Files that config.status was made for.
17104 config_files="$ac_config_files"
17105 config_headers="$ac_config_headers"
17106 config_commands="$ac_config_commands"
17107
17108 _ACEOF
17109
17110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17111 ac_cs_usage="\
17112 \`$as_me' instantiates files and other configuration actions
17113 from templates according to the current configuration.  Unless the files
17114 and actions are specified as TAGs, all are instantiated by default.
17115
17116 Usage: $0 [OPTION]... [TAG]...
17117
17118   -h, --help       print this help, then exit
17119   -V, --version    print version number and configuration settings, then exit
17120       --config     print configuration, then exit
17121   -q, --quiet, --silent
17122                    do not print progress messages
17123   -d, --debug      don't remove temporary files
17124       --recheck    update $as_me by reconfiguring in the same conditions
17125       --file=FILE[:TEMPLATE]
17126                    instantiate the configuration file FILE
17127       --header=FILE[:TEMPLATE]
17128                    instantiate the configuration header FILE
17129
17130 Configuration files:
17131 $config_files
17132
17133 Configuration headers:
17134 $config_headers
17135
17136 Configuration commands:
17137 $config_commands
17138
17139 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
17140 libsigc++ home page: <http://libsigc.sourceforge.net/>."
17141
17142 _ACEOF
17143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17144 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17145 ac_cs_version="\\
17146 libsigc++ config.status 2.4.1
17147 configured by $0, generated by GNU Autoconf 2.69,
17148   with options \\"\$ac_cs_config\\"
17149
17150 Copyright (C) 2012 Free Software Foundation, Inc.
17151 This config.status script is free software; the Free Software Foundation
17152 gives unlimited permission to copy, distribute and modify it."
17153
17154 ac_pwd='$ac_pwd'
17155 srcdir='$srcdir'
17156 INSTALL='$INSTALL'
17157 MKDIR_P='$MKDIR_P'
17158 AWK='$AWK'
17159 test -n "\$AWK" || AWK=awk
17160 _ACEOF
17161
17162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17163 # The default lists apply if the user does not specify any file.
17164 ac_need_defaults=:
17165 while test $# != 0
17166 do
17167   case $1 in
17168   --*=?*)
17169     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17170     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17171     ac_shift=:
17172     ;;
17173   --*=)
17174     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17175     ac_optarg=
17176     ac_shift=:
17177     ;;
17178   *)
17179     ac_option=$1
17180     ac_optarg=$2
17181     ac_shift=shift
17182     ;;
17183   esac
17184
17185   case $ac_option in
17186   # Handling of the options.
17187   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17188     ac_cs_recheck=: ;;
17189   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17190     $as_echo "$ac_cs_version"; exit ;;
17191   --config | --confi | --conf | --con | --co | --c )
17192     $as_echo "$ac_cs_config"; exit ;;
17193   --debug | --debu | --deb | --de | --d | -d )
17194     debug=: ;;
17195   --file | --fil | --fi | --f )
17196     $ac_shift
17197     case $ac_optarg in
17198     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17199     '') as_fn_error $? "missing file argument" ;;
17200     esac
17201     as_fn_append CONFIG_FILES " '$ac_optarg'"
17202     ac_need_defaults=false;;
17203   --header | --heade | --head | --hea )
17204     $ac_shift
17205     case $ac_optarg in
17206     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17207     esac
17208     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17209     ac_need_defaults=false;;
17210   --he | --h)
17211     # Conflict between --help and --header
17212     as_fn_error $? "ambiguous option: \`$1'
17213 Try \`$0 --help' for more information.";;
17214   --help | --hel | -h )
17215     $as_echo "$ac_cs_usage"; exit ;;
17216   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17217   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17218     ac_cs_silent=: ;;
17219
17220   # This is an error.
17221   -*) as_fn_error $? "unrecognized option: \`$1'
17222 Try \`$0 --help' for more information." ;;
17223
17224   *) as_fn_append ac_config_targets " $1"
17225      ac_need_defaults=false ;;
17226
17227   esac
17228   shift
17229 done
17230
17231 ac_configure_extra_args=
17232
17233 if $ac_cs_silent; then
17234   exec 6>/dev/null
17235   ac_configure_extra_args="$ac_configure_extra_args --silent"
17236 fi
17237
17238 _ACEOF
17239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17240 if \$ac_cs_recheck; then
17241   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17242   shift
17243   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17244   CONFIG_SHELL='$SHELL'
17245   export CONFIG_SHELL
17246   exec "\$@"
17247 fi
17248
17249 _ACEOF
17250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17251 exec 5>>config.log
17252 {
17253   echo
17254   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17255 ## Running $as_me. ##
17256 _ASBOX
17257   $as_echo "$ac_log"
17258 } >&5
17259
17260 _ACEOF
17261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17262 #
17263 # INIT-COMMANDS
17264 #
17265 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17266
17267
17268 # The HP-UX ksh and POSIX shell print the target directory to stdout
17269 # if CDPATH is set.
17270 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17271
17272 sed_quote_subst='$sed_quote_subst'
17273 double_quote_subst='$double_quote_subst'
17274 delay_variable_subst='$delay_variable_subst'
17275 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17276 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17277 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17278 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17279 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17280 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17281 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17282 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17283 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17284 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17285 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17286 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17287 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17288 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17289 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17290 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17291 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17292 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17293 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17294 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17295 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17296 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17297 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17298 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17299 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17300 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17301 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17302 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17303 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17304 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17305 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17306 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17307 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17308 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17309 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17310 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17311 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17312 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17313 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17314 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17315 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17316 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17317 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17318 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17319 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17320 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17321 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17322 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17323 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17324 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17325 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17326 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17327 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17328 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17329 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17330 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17331 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17332 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"`'
17333 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17334 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17335 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17336 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17337 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17338 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17339 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17340 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17341 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17342 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17343 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17344 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17345 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17346 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17347 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17348 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17349 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17350 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17351 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17352 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17353 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17354 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17355 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17356 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17357 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17358 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17359 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17360 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17361 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17362 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17363 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17364 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17365 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17366 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17367 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17368 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17369 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17370 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17371 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17372 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17373 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17374 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17375 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17376 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17377 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17378 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17379 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17380 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17381 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17382 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17383 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17384 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17385 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17386 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17387 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17388 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17389 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17390 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17391 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17392 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17393 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17394 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17395 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17396 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17397 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17398 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17399 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17400 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17401 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17402 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17403 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17404 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17405 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17406 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17407 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17408 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17409 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17410 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17411 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17412 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17413 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17414 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17415 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17416 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17417 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17418 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17419 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17420 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17421 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17422 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17423 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17424 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17425 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17426 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17427 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17428 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17429 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17430 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17431 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17432 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17433 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17434 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17435 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17436 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17437 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17438 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17439 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17440 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17441 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17442 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17443 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17444 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17445 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17446 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17447 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17448 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17449 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17450 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17451 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17452 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17453 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17454 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17455 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17456 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17457 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17458 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17459 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17460
17461 LTCC='$LTCC'
17462 LTCFLAGS='$LTCFLAGS'
17463 compiler='$compiler_DEFAULT'
17464
17465 # A function that is used when there is no print builtin or printf.
17466 func_fallback_echo ()
17467 {
17468   eval 'cat <<_LTECHO_EOF
17469 \$1
17470 _LTECHO_EOF'
17471 }
17472
17473 # Quote evaled strings.
17474 for var in AS \
17475 DLLTOOL \
17476 OBJDUMP \
17477 SHELL \
17478 ECHO \
17479 PATH_SEPARATOR \
17480 SED \
17481 GREP \
17482 EGREP \
17483 FGREP \
17484 LD \
17485 NM \
17486 LN_S \
17487 lt_SP2NL \
17488 lt_NL2SP \
17489 reload_flag \
17490 deplibs_check_method \
17491 file_magic_cmd \
17492 file_magic_glob \
17493 want_nocaseglob \
17494 sharedlib_from_linklib_cmd \
17495 AR \
17496 AR_FLAGS \
17497 archiver_list_spec \
17498 STRIP \
17499 RANLIB \
17500 CC \
17501 CFLAGS \
17502 compiler \
17503 lt_cv_sys_global_symbol_pipe \
17504 lt_cv_sys_global_symbol_to_cdecl \
17505 lt_cv_sys_global_symbol_to_c_name_address \
17506 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17507 nm_file_list_spec \
17508 lt_prog_compiler_no_builtin_flag \
17509 lt_prog_compiler_pic \
17510 lt_prog_compiler_wl \
17511 lt_prog_compiler_static \
17512 lt_cv_prog_compiler_c_o \
17513 need_locks \
17514 MANIFEST_TOOL \
17515 DSYMUTIL \
17516 NMEDIT \
17517 LIPO \
17518 OTOOL \
17519 OTOOL64 \
17520 shrext_cmds \
17521 export_dynamic_flag_spec \
17522 whole_archive_flag_spec \
17523 compiler_needs_object \
17524 with_gnu_ld \
17525 allow_undefined_flag \
17526 no_undefined_flag \
17527 hardcode_libdir_flag_spec \
17528 hardcode_libdir_separator \
17529 exclude_expsyms \
17530 include_expsyms \
17531 file_list_spec \
17532 variables_saved_for_relink \
17533 libname_spec \
17534 library_names_spec \
17535 soname_spec \
17536 install_override_mode \
17537 finish_eval \
17538 old_striplib \
17539 striplib \
17540 compiler_lib_search_dirs \
17541 predep_objects \
17542 postdep_objects \
17543 predeps \
17544 postdeps \
17545 compiler_lib_search_path \
17546 LD_CXX \
17547 reload_flag_CXX \
17548 compiler_CXX \
17549 lt_prog_compiler_no_builtin_flag_CXX \
17550 lt_prog_compiler_pic_CXX \
17551 lt_prog_compiler_wl_CXX \
17552 lt_prog_compiler_static_CXX \
17553 lt_cv_prog_compiler_c_o_CXX \
17554 export_dynamic_flag_spec_CXX \
17555 whole_archive_flag_spec_CXX \
17556 compiler_needs_object_CXX \
17557 with_gnu_ld_CXX \
17558 allow_undefined_flag_CXX \
17559 no_undefined_flag_CXX \
17560 hardcode_libdir_flag_spec_CXX \
17561 hardcode_libdir_separator_CXX \
17562 exclude_expsyms_CXX \
17563 include_expsyms_CXX \
17564 file_list_spec_CXX \
17565 compiler_lib_search_dirs_CXX \
17566 predep_objects_CXX \
17567 postdep_objects_CXX \
17568 predeps_CXX \
17569 postdeps_CXX \
17570 compiler_lib_search_path_CXX; do
17571     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17572     *[\\\\\\\`\\"\\\$]*)
17573       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17574       ;;
17575     *)
17576       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17577       ;;
17578     esac
17579 done
17580
17581 # Double-quote double-evaled strings.
17582 for var in reload_cmds \
17583 old_postinstall_cmds \
17584 old_postuninstall_cmds \
17585 old_archive_cmds \
17586 extract_expsyms_cmds \
17587 old_archive_from_new_cmds \
17588 old_archive_from_expsyms_cmds \
17589 archive_cmds \
17590 archive_expsym_cmds \
17591 module_cmds \
17592 module_expsym_cmds \
17593 export_symbols_cmds \
17594 prelink_cmds \
17595 postlink_cmds \
17596 postinstall_cmds \
17597 postuninstall_cmds \
17598 finish_cmds \
17599 sys_lib_search_path_spec \
17600 sys_lib_dlsearch_path_spec \
17601 reload_cmds_CXX \
17602 old_archive_cmds_CXX \
17603 old_archive_from_new_cmds_CXX \
17604 old_archive_from_expsyms_cmds_CXX \
17605 archive_cmds_CXX \
17606 archive_expsym_cmds_CXX \
17607 module_cmds_CXX \
17608 module_expsym_cmds_CXX \
17609 export_symbols_cmds_CXX \
17610 prelink_cmds_CXX \
17611 postlink_cmds_CXX; do
17612     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17613     *[\\\\\\\`\\"\\\$]*)
17614       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17615       ;;
17616     *)
17617       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17618       ;;
17619     esac
17620 done
17621
17622 ac_aux_dir='$ac_aux_dir'
17623 xsi_shell='$xsi_shell'
17624 lt_shell_append='$lt_shell_append'
17625
17626 # See if we are running on zsh, and set the options which allow our
17627 # commands through without removal of \ escapes INIT.
17628 if test -n "\${ZSH_VERSION+set}" ; then
17629    setopt NO_GLOB_SUBST
17630 fi
17631
17632
17633     PACKAGE='$PACKAGE'
17634     VERSION='$VERSION'
17635     TIMESTAMP='$TIMESTAMP'
17636     RM='$RM'
17637     ofile='$ofile'
17638
17639
17640
17641
17642
17643
17644 _ACEOF
17645
17646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17647
17648 # Handling of arguments.
17649 for ac_config_target in $ac_config_targets
17650 do
17651   case $ac_config_target in
17652     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17653     "sigc++config.h") CONFIG_HEADERS="$CONFIG_HEADERS sigc++config.h" ;;
17654     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17655     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17656     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17657     "${SIGCXX_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in" ;;
17658     "${SIGCXX_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in" ;;
17659     "sigc++/Makefile") CONFIG_FILES="$CONFIG_FILES sigc++/Makefile" ;;
17660     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17661     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17662     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17663     "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
17664     "MSVC_Net2005/sigc.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/sigc.rc" ;;
17665     "MSVC_Net2008/sigc.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2008/sigc.rc" ;;
17666     "MSVC_Net2010/sigc.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2010/sigc.rc" ;;
17667     "MSVC_Net2005/sigc++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2005/sigc++config.h" ;;
17668     "MSVC_Net2008/sigc++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2008/sigc++config.h" ;;
17669     "MSVC_Net2010/sigc++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2010/sigc++config.h" ;;
17670
17671   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17672   esac
17673 done
17674
17675
17676 # If the user did not use the arguments to specify the items to instantiate,
17677 # then the envvar interface is used.  Set only those that are not.
17678 # We use the long form for the default assignment because of an extremely
17679 # bizarre bug on SunOS 4.1.3.
17680 if $ac_need_defaults; then
17681   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17682   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17683   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17684 fi
17685
17686 # Have a temporary directory for convenience.  Make it in the build tree
17687 # simply because there is no reason against having it here, and in addition,
17688 # creating and moving files from /tmp can sometimes cause problems.
17689 # Hook for its removal unless debugging.
17690 # Note that there is a small window in which the directory will not be cleaned:
17691 # after its creation but before its name has been assigned to `$tmp'.
17692 $debug ||
17693 {
17694   tmp= ac_tmp=
17695   trap 'exit_status=$?
17696   : "${ac_tmp:=$tmp}"
17697   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17698 ' 0
17699   trap 'as_fn_exit 1' 1 2 13 15
17700 }
17701 # Create a (secure) tmp directory for tmp files.
17702
17703 {
17704   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17705   test -d "$tmp"
17706 }  ||
17707 {
17708   tmp=./conf$$-$RANDOM
17709   (umask 077 && mkdir "$tmp")
17710 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17711 ac_tmp=$tmp
17712
17713 # Set up the scripts for CONFIG_FILES section.
17714 # No need to generate them if there are no CONFIG_FILES.
17715 # This happens for instance with `./config.status config.h'.
17716 if test -n "$CONFIG_FILES"; then
17717
17718
17719 ac_cr=`echo X | tr X '\015'`
17720 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17721 # But we know of no other shell where ac_cr would be empty at this
17722 # point, so we can use a bashism as a fallback.
17723 if test "x$ac_cr" = x; then
17724   eval ac_cr=\$\'\\r\'
17725 fi
17726 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17727 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17728   ac_cs_awk_cr='\\r'
17729 else
17730   ac_cs_awk_cr=$ac_cr
17731 fi
17732
17733 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17734 _ACEOF
17735
17736
17737 {
17738   echo "cat >conf$$subs.awk <<_ACEOF" &&
17739   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17740   echo "_ACEOF"
17741 } >conf$$subs.sh ||
17742   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17743 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17744 ac_delim='%!_!# '
17745 for ac_last_try in false false false false false :; do
17746   . ./conf$$subs.sh ||
17747     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17748
17749   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17750   if test $ac_delim_n = $ac_delim_num; then
17751     break
17752   elif $ac_last_try; then
17753     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17754   else
17755     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17756   fi
17757 done
17758 rm -f conf$$subs.sh
17759
17760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17761 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17762 _ACEOF
17763 sed -n '
17764 h
17765 s/^/S["/; s/!.*/"]=/
17766 p
17767 g
17768 s/^[^!]*!//
17769 :repl
17770 t repl
17771 s/'"$ac_delim"'$//
17772 t delim
17773 :nl
17774 h
17775 s/\(.\{148\}\)..*/\1/
17776 t more1
17777 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17778 p
17779 n
17780 b repl
17781 :more1
17782 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17783 p
17784 g
17785 s/.\{148\}//
17786 t nl
17787 :delim
17788 h
17789 s/\(.\{148\}\)..*/\1/
17790 t more2
17791 s/["\\]/\\&/g; s/^/"/; s/$/"/
17792 p
17793 b
17794 :more2
17795 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17796 p
17797 g
17798 s/.\{148\}//
17799 t delim
17800 ' <conf$$subs.awk | sed '
17801 /^[^""]/{
17802   N
17803   s/\n//
17804 }
17805 ' >>$CONFIG_STATUS || ac_write_fail=1
17806 rm -f conf$$subs.awk
17807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17808 _ACAWK
17809 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17810   for (key in S) S_is_set[key] = 1
17811   FS = "\a"
17812
17813 }
17814 {
17815   line = $ 0
17816   nfields = split(line, field, "@")
17817   substed = 0
17818   len = length(field[1])
17819   for (i = 2; i < nfields; i++) {
17820     key = field[i]
17821     keylen = length(key)
17822     if (S_is_set[key]) {
17823       value = S[key]
17824       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17825       len += length(value) + length(field[++i])
17826       substed = 1
17827     } else
17828       len += 1 + keylen
17829   }
17830
17831   print line
17832 }
17833
17834 _ACAWK
17835 _ACEOF
17836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17837 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17838   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17839 else
17840   cat
17841 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17842   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17843 _ACEOF
17844
17845 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17846 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17847 # trailing colons and then remove the whole line if VPATH becomes empty
17848 # (actually we leave an empty line to preserve line numbers).
17849 if test "x$srcdir" = x.; then
17850   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17851 h
17852 s///
17853 s/^/:/
17854 s/[      ]*$/:/
17855 s/:\$(srcdir):/:/g
17856 s/:\${srcdir}:/:/g
17857 s/:@srcdir@:/:/g
17858 s/^:*//
17859 s/:*$//
17860 x
17861 s/\(=[   ]*\).*/\1/
17862 G
17863 s/\n//
17864 s/^[^=]*=[       ]*$//
17865 }'
17866 fi
17867
17868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17869 fi # test -n "$CONFIG_FILES"
17870
17871 # Set up the scripts for CONFIG_HEADERS section.
17872 # No need to generate them if there are no CONFIG_HEADERS.
17873 # This happens for instance with `./config.status Makefile'.
17874 if test -n "$CONFIG_HEADERS"; then
17875 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17876 BEGIN {
17877 _ACEOF
17878
17879 # Transform confdefs.h into an awk script `defines.awk', embedded as
17880 # here-document in config.status, that substitutes the proper values into
17881 # config.h.in to produce config.h.
17882
17883 # Create a delimiter string that does not exist in confdefs.h, to ease
17884 # handling of long lines.
17885 ac_delim='%!_!# '
17886 for ac_last_try in false false :; do
17887   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17888   if test -z "$ac_tt"; then
17889     break
17890   elif $ac_last_try; then
17891     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17892   else
17893     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17894   fi
17895 done
17896
17897 # For the awk script, D is an array of macro values keyed by name,
17898 # likewise P contains macro parameters if any.  Preserve backslash
17899 # newline sequences.
17900
17901 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17902 sed -n '
17903 s/.\{148\}/&'"$ac_delim"'/g
17904 t rset
17905 :rset
17906 s/^[     ]*#[    ]*define[       ][      ]*/ /
17907 t def
17908 d
17909 :def
17910 s/\\$//
17911 t bsnl
17912 s/["\\]/\\&/g
17913 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17914 D["\1"]=" \3"/p
17915 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17916 d
17917 :bsnl
17918 s/["\\]/\\&/g
17919 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17920 D["\1"]=" \3\\\\\\n"\\/p
17921 t cont
17922 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17923 t cont
17924 d
17925 :cont
17926 n
17927 s/.\{148\}/&'"$ac_delim"'/g
17928 t clear
17929 :clear
17930 s/\\$//
17931 t bsnlc
17932 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17933 d
17934 :bsnlc
17935 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17936 b cont
17937 ' <confdefs.h | sed '
17938 s/'"$ac_delim"'/"\\\
17939 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17940
17941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17942   for (key in D) D_is_set[key] = 1
17943   FS = "\a"
17944 }
17945 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17946   line = \$ 0
17947   split(line, arg, " ")
17948   if (arg[1] == "#") {
17949     defundef = arg[2]
17950     mac1 = arg[3]
17951   } else {
17952     defundef = substr(arg[1], 2)
17953     mac1 = arg[2]
17954   }
17955   split(mac1, mac2, "(") #)
17956   macro = mac2[1]
17957   prefix = substr(line, 1, index(line, defundef) - 1)
17958   if (D_is_set[macro]) {
17959     # Preserve the white space surrounding the "#".
17960     print prefix "define", macro P[macro] D[macro]
17961     next
17962   } else {
17963     # Replace #undef with comments.  This is necessary, for example,
17964     # in the case of _POSIX_SOURCE, which is predefined and required
17965     # on some systems where configure will not decide to define it.
17966     if (defundef == "undef") {
17967       print "/*", prefix defundef, macro, "*/"
17968       next
17969     }
17970   }
17971 }
17972 { print }
17973 _ACAWK
17974 _ACEOF
17975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17976   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17977 fi # test -n "$CONFIG_HEADERS"
17978
17979
17980 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17981 shift
17982 for ac_tag
17983 do
17984   case $ac_tag in
17985   :[FHLC]) ac_mode=$ac_tag; continue;;
17986   esac
17987   case $ac_mode$ac_tag in
17988   :[FHL]*:*);;
17989   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17990   :[FH]-) ac_tag=-:-;;
17991   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17992   esac
17993   ac_save_IFS=$IFS
17994   IFS=:
17995   set x $ac_tag
17996   IFS=$ac_save_IFS
17997   shift
17998   ac_file=$1
17999   shift
18000
18001   case $ac_mode in
18002   :L) ac_source=$1;;
18003   :[FH])
18004     ac_file_inputs=
18005     for ac_f
18006     do
18007       case $ac_f in
18008       -) ac_f="$ac_tmp/stdin";;
18009       *) # Look for the file first in the build tree, then in the source tree
18010          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18011          # because $ac_f cannot contain `:'.
18012          test -f "$ac_f" ||
18013            case $ac_f in
18014            [\\/$]*) false;;
18015            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18016            esac ||
18017            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18018       esac
18019       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18020       as_fn_append ac_file_inputs " '$ac_f'"
18021     done
18022
18023     # Let's still pretend it is `configure' which instantiates (i.e., don't
18024     # use $as_me), people would be surprised to read:
18025     #    /* config.h.  Generated by config.status.  */
18026     configure_input='Generated from '`
18027           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18028         `' by configure.'
18029     if test x"$ac_file" != x-; then
18030       configure_input="$ac_file.  $configure_input"
18031       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18032 $as_echo "$as_me: creating $ac_file" >&6;}
18033     fi
18034     # Neutralize special characters interpreted by sed in replacement strings.
18035     case $configure_input in #(
18036     *\&* | *\|* | *\\* )
18037        ac_sed_conf_input=`$as_echo "$configure_input" |
18038        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18039     *) ac_sed_conf_input=$configure_input;;
18040     esac
18041
18042     case $ac_tag in
18043     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18044       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18045     esac
18046     ;;
18047   esac
18048
18049   ac_dir=`$as_dirname -- "$ac_file" ||
18050 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18051          X"$ac_file" : 'X\(//\)[^/]' \| \
18052          X"$ac_file" : 'X\(//\)$' \| \
18053          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18054 $as_echo X"$ac_file" |
18055     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18056             s//\1/
18057             q
18058           }
18059           /^X\(\/\/\)[^/].*/{
18060             s//\1/
18061             q
18062           }
18063           /^X\(\/\/\)$/{
18064             s//\1/
18065             q
18066           }
18067           /^X\(\/\).*/{
18068             s//\1/
18069             q
18070           }
18071           s/.*/./; q'`
18072   as_dir="$ac_dir"; as_fn_mkdir_p
18073   ac_builddir=.
18074
18075 case "$ac_dir" in
18076 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18077 *)
18078   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18079   # A ".." for each directory in $ac_dir_suffix.
18080   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18081   case $ac_top_builddir_sub in
18082   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18083   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18084   esac ;;
18085 esac
18086 ac_abs_top_builddir=$ac_pwd
18087 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18088 # for backward compatibility:
18089 ac_top_builddir=$ac_top_build_prefix
18090
18091 case $srcdir in
18092   .)  # We are building in place.
18093     ac_srcdir=.
18094     ac_top_srcdir=$ac_top_builddir_sub
18095     ac_abs_top_srcdir=$ac_pwd ;;
18096   [\\/]* | ?:[\\/]* )  # Absolute name.
18097     ac_srcdir=$srcdir$ac_dir_suffix;
18098     ac_top_srcdir=$srcdir
18099     ac_abs_top_srcdir=$srcdir ;;
18100   *) # Relative name.
18101     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18102     ac_top_srcdir=$ac_top_build_prefix$srcdir
18103     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18104 esac
18105 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18106
18107
18108   case $ac_mode in
18109   :F)
18110   #
18111   # CONFIG_FILE
18112   #
18113
18114   case $INSTALL in
18115   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18116   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18117   esac
18118   ac_MKDIR_P=$MKDIR_P
18119   case $MKDIR_P in
18120   [\\/$]* | ?:[\\/]* ) ;;
18121   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18122   esac
18123 _ACEOF
18124
18125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18126 # If the template does not know about datarootdir, expand it.
18127 # FIXME: This hack should be removed a few years after 2.60.
18128 ac_datarootdir_hack=; ac_datarootdir_seen=
18129 ac_sed_dataroot='
18130 /datarootdir/ {
18131   p
18132   q
18133 }
18134 /@datadir@/p
18135 /@docdir@/p
18136 /@infodir@/p
18137 /@localedir@/p
18138 /@mandir@/p'
18139 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18140 *datarootdir*) ac_datarootdir_seen=yes;;
18141 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18142   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18143 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18144 _ACEOF
18145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18146   ac_datarootdir_hack='
18147   s&@datadir@&$datadir&g
18148   s&@docdir@&$docdir&g
18149   s&@infodir@&$infodir&g
18150   s&@localedir@&$localedir&g
18151   s&@mandir@&$mandir&g
18152   s&\\\${datarootdir}&$datarootdir&g' ;;
18153 esac
18154 _ACEOF
18155
18156 # Neutralize VPATH when `$srcdir' = `.'.
18157 # Shell code in configure.ac might set extrasub.
18158 # FIXME: do we really want to maintain this feature?
18159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18160 ac_sed_extra="$ac_vpsub
18161 $extrasub
18162 _ACEOF
18163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18164 :t
18165 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18166 s|@configure_input@|$ac_sed_conf_input|;t t
18167 s&@top_builddir@&$ac_top_builddir_sub&;t t
18168 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18169 s&@srcdir@&$ac_srcdir&;t t
18170 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18171 s&@top_srcdir@&$ac_top_srcdir&;t t
18172 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18173 s&@builddir@&$ac_builddir&;t t
18174 s&@abs_builddir@&$ac_abs_builddir&;t t
18175 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18176 s&@INSTALL@&$ac_INSTALL&;t t
18177 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18178 $ac_datarootdir_hack
18179 "
18180 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18181   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18182
18183 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18184   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18185   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18186       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18187   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18188 which seems to be undefined.  Please make sure it is defined" >&5
18189 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18190 which seems to be undefined.  Please make sure it is defined" >&2;}
18191
18192   rm -f "$ac_tmp/stdin"
18193   case $ac_file in
18194   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18195   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18196   esac \
18197   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18198  ;;
18199   :H)
18200   #
18201   # CONFIG_HEADER
18202   #
18203   if test x"$ac_file" != x-; then
18204     {
18205       $as_echo "/* $configure_input  */" \
18206       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18207     } >"$ac_tmp/config.h" \
18208       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18209     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18210       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18211 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18212     else
18213       rm -f "$ac_file"
18214       mv "$ac_tmp/config.h" "$ac_file" \
18215         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18216     fi
18217   else
18218     $as_echo "/* $configure_input  */" \
18219       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18220       || as_fn_error $? "could not create -" "$LINENO" 5
18221   fi
18222 # Compute "$ac_file"'s index in $config_headers.
18223 _am_arg="$ac_file"
18224 _am_stamp_count=1
18225 for _am_header in $config_headers :; do
18226   case $_am_header in
18227     $_am_arg | $_am_arg:* )
18228       break ;;
18229     * )
18230       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18231   esac
18232 done
18233 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18234 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18235          X"$_am_arg" : 'X\(//\)[^/]' \| \
18236          X"$_am_arg" : 'X\(//\)$' \| \
18237          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18238 $as_echo X"$_am_arg" |
18239     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18240             s//\1/
18241             q
18242           }
18243           /^X\(\/\/\)[^/].*/{
18244             s//\1/
18245             q
18246           }
18247           /^X\(\/\/\)$/{
18248             s//\1/
18249             q
18250           }
18251           /^X\(\/\).*/{
18252             s//\1/
18253             q
18254           }
18255           s/.*/./; q'`/stamp-h$_am_stamp_count
18256  ;;
18257
18258   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18259 $as_echo "$as_me: executing $ac_file commands" >&6;}
18260  ;;
18261   esac
18262
18263
18264   case $ac_file$ac_mode in
18265     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18266   # Older Autoconf quotes --file arguments for eval, but not when files
18267   # are listed without --file.  Let's play safe and only enable the eval
18268   # if we detect the quoting.
18269   case $CONFIG_FILES in
18270   *\'*) eval set x "$CONFIG_FILES" ;;
18271   *)   set x $CONFIG_FILES ;;
18272   esac
18273   shift
18274   for mf
18275   do
18276     # Strip MF so we end up with the name of the file.
18277     mf=`echo "$mf" | sed -e 's/:.*$//'`
18278     # Check whether this is an Automake generated Makefile or not.
18279     # We used to match only the files named 'Makefile.in', but
18280     # some people rename them; so instead we look at the file content.
18281     # Grep'ing the first line is not enough: some people post-process
18282     # each Makefile.in and add a new line on top of each file to say so.
18283     # Grep'ing the whole file is not good either: AIX grep has a line
18284     # limit of 2048, but all sed's we know have understand at least 4000.
18285     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18286       dirpart=`$as_dirname -- "$mf" ||
18287 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18288          X"$mf" : 'X\(//\)[^/]' \| \
18289          X"$mf" : 'X\(//\)$' \| \
18290          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18291 $as_echo X"$mf" |
18292     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18293             s//\1/
18294             q
18295           }
18296           /^X\(\/\/\)[^/].*/{
18297             s//\1/
18298             q
18299           }
18300           /^X\(\/\/\)$/{
18301             s//\1/
18302             q
18303           }
18304           /^X\(\/\).*/{
18305             s//\1/
18306             q
18307           }
18308           s/.*/./; q'`
18309     else
18310       continue
18311     fi
18312     # Extract the definition of DEPDIR, am__include, and am__quote
18313     # from the Makefile without running 'make'.
18314     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18315     test -z "$DEPDIR" && continue
18316     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18317     test -z "$am__include" && continue
18318     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18319     # Find all dependency output files, they are included files with
18320     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18321     # simplest approach to changing $(DEPDIR) to its actual value in the
18322     # expansion.
18323     for file in `sed -n "
18324       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18325          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18326       # Make sure the directory exists.
18327       test -f "$dirpart/$file" && continue
18328       fdir=`$as_dirname -- "$file" ||
18329 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18330          X"$file" : 'X\(//\)[^/]' \| \
18331          X"$file" : 'X\(//\)$' \| \
18332          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18333 $as_echo X"$file" |
18334     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18335             s//\1/
18336             q
18337           }
18338           /^X\(\/\/\)[^/].*/{
18339             s//\1/
18340             q
18341           }
18342           /^X\(\/\/\)$/{
18343             s//\1/
18344             q
18345           }
18346           /^X\(\/\).*/{
18347             s//\1/
18348             q
18349           }
18350           s/.*/./; q'`
18351       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18352       # echo "creating $dirpart/$file"
18353       echo '# dummy' > "$dirpart/$file"
18354     done
18355   done
18356 }
18357  ;;
18358     "libtool":C)
18359
18360     # See if we are running on zsh, and set the options which allow our
18361     # commands through without removal of \ escapes.
18362     if test -n "${ZSH_VERSION+set}" ; then
18363       setopt NO_GLOB_SUBST
18364     fi
18365
18366     cfgfile="${ofile}T"
18367     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18368     $RM "$cfgfile"
18369
18370     cat <<_LT_EOF >> "$cfgfile"
18371 #! $SHELL
18372
18373 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18374 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18375 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18376 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18377 #
18378 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18379 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18380 #                 Foundation, Inc.
18381 #   Written by Gordon Matzigkeit, 1996
18382 #
18383 #   This file is part of GNU Libtool.
18384 #
18385 # GNU Libtool is free software; you can redistribute it and/or
18386 # modify it under the terms of the GNU General Public License as
18387 # published by the Free Software Foundation; either version 2 of
18388 # the License, or (at your option) any later version.
18389 #
18390 # As a special exception to the GNU General Public License,
18391 # if you distribute this file as part of a program or library that
18392 # is built using GNU Libtool, you may include this file under the
18393 # same distribution terms that you use for the rest of that program.
18394 #
18395 # GNU Libtool is distributed in the hope that it will be useful,
18396 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18397 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18398 # GNU General Public License for more details.
18399 #
18400 # You should have received a copy of the GNU General Public License
18401 # along with GNU Libtool; see the file COPYING.  If not, a copy
18402 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18403 # obtained by writing to the Free Software Foundation, Inc.,
18404 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18405
18406
18407 # The names of the tagged configurations supported by this script.
18408 available_tags="CXX "
18409
18410 # ### BEGIN LIBTOOL CONFIG
18411
18412 # Whether or not to build static libraries.
18413 build_old_libs=$enable_static
18414
18415 # Which release of libtool.m4 was used?
18416 macro_version=$macro_version
18417 macro_revision=$macro_revision
18418
18419 # Assembler program.
18420 AS=$lt_AS
18421
18422 # DLL creation program.
18423 DLLTOOL=$lt_DLLTOOL
18424
18425 # Object dumper program.
18426 OBJDUMP=$lt_OBJDUMP
18427
18428 # Whether or not to build shared libraries.
18429 build_libtool_libs=$enable_shared
18430
18431 # What type of objects to build.
18432 pic_mode=$pic_mode
18433
18434 # Whether or not to optimize for fast installation.
18435 fast_install=$enable_fast_install
18436
18437 # Shell to use when invoking shell scripts.
18438 SHELL=$lt_SHELL
18439
18440 # An echo program that protects backslashes.
18441 ECHO=$lt_ECHO
18442
18443 # The PATH separator for the build system.
18444 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18445
18446 # The host system.
18447 host_alias=$host_alias
18448 host=$host
18449 host_os=$host_os
18450
18451 # The build system.
18452 build_alias=$build_alias
18453 build=$build
18454 build_os=$build_os
18455
18456 # A sed program that does not truncate output.
18457 SED=$lt_SED
18458
18459 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18460 Xsed="\$SED -e 1s/^X//"
18461
18462 # A grep program that handles long lines.
18463 GREP=$lt_GREP
18464
18465 # An ERE matcher.
18466 EGREP=$lt_EGREP
18467
18468 # A literal string matcher.
18469 FGREP=$lt_FGREP
18470
18471 # A BSD- or MS-compatible name lister.
18472 NM=$lt_NM
18473
18474 # Whether we need soft or hard links.
18475 LN_S=$lt_LN_S
18476
18477 # What is the maximum length of a command?
18478 max_cmd_len=$max_cmd_len
18479
18480 # Object file suffix (normally "o").
18481 objext=$ac_objext
18482
18483 # Executable file suffix (normally "").
18484 exeext=$exeext
18485
18486 # whether the shell understands "unset".
18487 lt_unset=$lt_unset
18488
18489 # turn spaces into newlines.
18490 SP2NL=$lt_lt_SP2NL
18491
18492 # turn newlines into spaces.
18493 NL2SP=$lt_lt_NL2SP
18494
18495 # convert \$build file names to \$host format.
18496 to_host_file_cmd=$lt_cv_to_host_file_cmd
18497
18498 # convert \$build files to toolchain format.
18499 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18500
18501 # Method to check whether dependent libraries are shared objects.
18502 deplibs_check_method=$lt_deplibs_check_method
18503
18504 # Command to use when deplibs_check_method = "file_magic".
18505 file_magic_cmd=$lt_file_magic_cmd
18506
18507 # How to find potential files when deplibs_check_method = "file_magic".
18508 file_magic_glob=$lt_file_magic_glob
18509
18510 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18511 want_nocaseglob=$lt_want_nocaseglob
18512
18513 # Command to associate shared and link libraries.
18514 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18515
18516 # The archiver.
18517 AR=$lt_AR
18518
18519 # Flags to create an archive.
18520 AR_FLAGS=$lt_AR_FLAGS
18521
18522 # How to feed a file listing to the archiver.
18523 archiver_list_spec=$lt_archiver_list_spec
18524
18525 # A symbol stripping program.
18526 STRIP=$lt_STRIP
18527
18528 # Commands used to install an old-style archive.
18529 RANLIB=$lt_RANLIB
18530 old_postinstall_cmds=$lt_old_postinstall_cmds
18531 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18532
18533 # Whether to use a lock for old archive extraction.
18534 lock_old_archive_extraction=$lock_old_archive_extraction
18535
18536 # A C compiler.
18537 LTCC=$lt_CC
18538
18539 # LTCC compiler flags.
18540 LTCFLAGS=$lt_CFLAGS
18541
18542 # Take the output of nm and produce a listing of raw symbols and C names.
18543 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18544
18545 # Transform the output of nm in a proper C declaration.
18546 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18547
18548 # Transform the output of nm in a C name address pair.
18549 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18550
18551 # Transform the output of nm in a C name address pair when lib prefix is needed.
18552 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18553
18554 # Specify filename containing input files for \$NM.
18555 nm_file_list_spec=$lt_nm_file_list_spec
18556
18557 # The root where to search for dependent libraries,and in which our libraries should be installed.
18558 lt_sysroot=$lt_sysroot
18559
18560 # The name of the directory that contains temporary libtool files.
18561 objdir=$objdir
18562
18563 # Used to examine libraries when file_magic_cmd begins with "file".
18564 MAGIC_CMD=$MAGIC_CMD
18565
18566 # Must we lock files when doing compilation?
18567 need_locks=$lt_need_locks
18568
18569 # Manifest tool.
18570 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18571
18572 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18573 DSYMUTIL=$lt_DSYMUTIL
18574
18575 # Tool to change global to local symbols on Mac OS X.
18576 NMEDIT=$lt_NMEDIT
18577
18578 # Tool to manipulate fat objects and archives on Mac OS X.
18579 LIPO=$lt_LIPO
18580
18581 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18582 OTOOL=$lt_OTOOL
18583
18584 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18585 OTOOL64=$lt_OTOOL64
18586
18587 # Old archive suffix (normally "a").
18588 libext=$libext
18589
18590 # Shared library suffix (normally ".so").
18591 shrext_cmds=$lt_shrext_cmds
18592
18593 # The commands to extract the exported symbol list from a shared archive.
18594 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18595
18596 # Variables whose values should be saved in libtool wrapper scripts and
18597 # restored at link time.
18598 variables_saved_for_relink=$lt_variables_saved_for_relink
18599
18600 # Do we need the "lib" prefix for modules?
18601 need_lib_prefix=$need_lib_prefix
18602
18603 # Do we need a version for libraries?
18604 need_version=$need_version
18605
18606 # Library versioning type.
18607 version_type=$version_type
18608
18609 # Shared library runtime path variable.
18610 runpath_var=$runpath_var
18611
18612 # Shared library path variable.
18613 shlibpath_var=$shlibpath_var
18614
18615 # Is shlibpath searched before the hard-coded library search path?
18616 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18617
18618 # Format of library name prefix.
18619 libname_spec=$lt_libname_spec
18620
18621 # List of archive names.  First name is the real one, the rest are links.
18622 # The last name is the one that the linker finds with -lNAME
18623 library_names_spec=$lt_library_names_spec
18624
18625 # The coded name of the library, if different from the real name.
18626 soname_spec=$lt_soname_spec
18627
18628 # Permission mode override for installation of shared libraries.
18629 install_override_mode=$lt_install_override_mode
18630
18631 # Command to use after installation of a shared archive.
18632 postinstall_cmds=$lt_postinstall_cmds
18633
18634 # Command to use after uninstallation of a shared archive.
18635 postuninstall_cmds=$lt_postuninstall_cmds
18636
18637 # Commands used to finish a libtool library installation in a directory.
18638 finish_cmds=$lt_finish_cmds
18639
18640 # As "finish_cmds", except a single script fragment to be evaled but
18641 # not shown.
18642 finish_eval=$lt_finish_eval
18643
18644 # Whether we should hardcode library paths into libraries.
18645 hardcode_into_libs=$hardcode_into_libs
18646
18647 # Compile-time system search path for libraries.
18648 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18649
18650 # Run-time system search path for libraries.
18651 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18652
18653 # Whether dlopen is supported.
18654 dlopen_support=$enable_dlopen
18655
18656 # Whether dlopen of programs is supported.
18657 dlopen_self=$enable_dlopen_self
18658
18659 # Whether dlopen of statically linked programs is supported.
18660 dlopen_self_static=$enable_dlopen_self_static
18661
18662 # Commands to strip libraries.
18663 old_striplib=$lt_old_striplib
18664 striplib=$lt_striplib
18665
18666
18667 # The linker used to build libraries.
18668 LD=$lt_LD
18669
18670 # How to create reloadable object files.
18671 reload_flag=$lt_reload_flag
18672 reload_cmds=$lt_reload_cmds
18673
18674 # Commands used to build an old-style archive.
18675 old_archive_cmds=$lt_old_archive_cmds
18676
18677 # A language specific compiler.
18678 CC=$lt_compiler
18679
18680 # Is the compiler the GNU compiler?
18681 with_gcc=$GCC
18682
18683 # Compiler flag to turn off builtin functions.
18684 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18685
18686 # Additional compiler flags for building library objects.
18687 pic_flag=$lt_lt_prog_compiler_pic
18688
18689 # How to pass a linker flag through the compiler.
18690 wl=$lt_lt_prog_compiler_wl
18691
18692 # Compiler flag to prevent dynamic linking.
18693 link_static_flag=$lt_lt_prog_compiler_static
18694
18695 # Does compiler simultaneously support -c and -o options?
18696 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18697
18698 # Whether or not to add -lc for building shared libraries.
18699 build_libtool_need_lc=$archive_cmds_need_lc
18700
18701 # Whether or not to disallow shared libs when runtime libs are static.
18702 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18703
18704 # Compiler flag to allow reflexive dlopens.
18705 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18706
18707 # Compiler flag to generate shared objects directly from archives.
18708 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18709
18710 # Whether the compiler copes with passing no objects directly.
18711 compiler_needs_object=$lt_compiler_needs_object
18712
18713 # Create an old-style archive from a shared archive.
18714 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18715
18716 # Create a temporary old-style archive to link instead of a shared archive.
18717 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18718
18719 # Commands used to build a shared archive.
18720 archive_cmds=$lt_archive_cmds
18721 archive_expsym_cmds=$lt_archive_expsym_cmds
18722
18723 # Commands used to build a loadable module if different from building
18724 # a shared archive.
18725 module_cmds=$lt_module_cmds
18726 module_expsym_cmds=$lt_module_expsym_cmds
18727
18728 # Whether we are building with GNU ld or not.
18729 with_gnu_ld=$lt_with_gnu_ld
18730
18731 # Flag that allows shared libraries with undefined symbols to be built.
18732 allow_undefined_flag=$lt_allow_undefined_flag
18733
18734 # Flag that enforces no undefined symbols.
18735 no_undefined_flag=$lt_no_undefined_flag
18736
18737 # Flag to hardcode \$libdir into a binary during linking.
18738 # This must work even if \$libdir does not exist
18739 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18740
18741 # Whether we need a single "-rpath" flag with a separated argument.
18742 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18743
18744 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18745 # DIR into the resulting binary.
18746 hardcode_direct=$hardcode_direct
18747
18748 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18749 # DIR into the resulting binary and the resulting library dependency is
18750 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18751 # library is relocated.
18752 hardcode_direct_absolute=$hardcode_direct_absolute
18753
18754 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18755 # into the resulting binary.
18756 hardcode_minus_L=$hardcode_minus_L
18757
18758 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18759 # into the resulting binary.
18760 hardcode_shlibpath_var=$hardcode_shlibpath_var
18761
18762 # Set to "yes" if building a shared library automatically hardcodes DIR
18763 # into the library and all subsequent libraries and executables linked
18764 # against it.
18765 hardcode_automatic=$hardcode_automatic
18766
18767 # Set to yes if linker adds runtime paths of dependent libraries
18768 # to runtime path list.
18769 inherit_rpath=$inherit_rpath
18770
18771 # Whether libtool must link a program against all its dependency libraries.
18772 link_all_deplibs=$link_all_deplibs
18773
18774 # Set to "yes" if exported symbols are required.
18775 always_export_symbols=$always_export_symbols
18776
18777 # The commands to list exported symbols.
18778 export_symbols_cmds=$lt_export_symbols_cmds
18779
18780 # Symbols that should not be listed in the preloaded symbols.
18781 exclude_expsyms=$lt_exclude_expsyms
18782
18783 # Symbols that must always be exported.
18784 include_expsyms=$lt_include_expsyms
18785
18786 # Commands necessary for linking programs (against libraries) with templates.
18787 prelink_cmds=$lt_prelink_cmds
18788
18789 # Commands necessary for finishing linking programs.
18790 postlink_cmds=$lt_postlink_cmds
18791
18792 # Specify filename containing input files.
18793 file_list_spec=$lt_file_list_spec
18794
18795 # How to hardcode a shared library path into an executable.
18796 hardcode_action=$hardcode_action
18797
18798 # The directories searched by this compiler when creating a shared library.
18799 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18800
18801 # Dependencies to place before and after the objects being linked to
18802 # create a shared library.
18803 predep_objects=$lt_predep_objects
18804 postdep_objects=$lt_postdep_objects
18805 predeps=$lt_predeps
18806 postdeps=$lt_postdeps
18807
18808 # The library search path used internally by the compiler when linking
18809 # a shared library.
18810 compiler_lib_search_path=$lt_compiler_lib_search_path
18811
18812 # ### END LIBTOOL CONFIG
18813
18814 _LT_EOF
18815
18816   case $host_os in
18817   aix3*)
18818     cat <<\_LT_EOF >> "$cfgfile"
18819 # AIX sometimes has problems with the GCC collect2 program.  For some
18820 # reason, if we set the COLLECT_NAMES environment variable, the problems
18821 # vanish in a puff of smoke.
18822 if test "X${COLLECT_NAMES+set}" != Xset; then
18823   COLLECT_NAMES=
18824   export COLLECT_NAMES
18825 fi
18826 _LT_EOF
18827     ;;
18828   esac
18829
18830
18831 ltmain="$ac_aux_dir/ltmain.sh"
18832
18833
18834   # We use sed instead of cat because bash on DJGPP gets confused if
18835   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18836   # text mode, it properly converts lines to CR/LF.  This bash problem
18837   # is reportedly fixed, but why not run on old versions too?
18838   sed '$q' "$ltmain" >> "$cfgfile" \
18839      || (rm -f "$cfgfile"; exit 1)
18840
18841   if test x"$xsi_shell" = xyes; then
18842   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18843 func_dirname ()\
18844 {\
18845 \    case ${1} in\
18846 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18847 \      *  ) func_dirname_result="${3}" ;;\
18848 \    esac\
18849 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18850   && mv -f "$cfgfile.tmp" "$cfgfile" \
18851     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18852 test 0 -eq $? || _lt_function_replace_fail=:
18853
18854
18855   sed -e '/^func_basename ()$/,/^} # func_basename /c\
18856 func_basename ()\
18857 {\
18858 \    func_basename_result="${1##*/}"\
18859 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18860   && mv -f "$cfgfile.tmp" "$cfgfile" \
18861     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18862 test 0 -eq $? || _lt_function_replace_fail=:
18863
18864
18865   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18866 func_dirname_and_basename ()\
18867 {\
18868 \    case ${1} in\
18869 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18870 \      *  ) func_dirname_result="${3}" ;;\
18871 \    esac\
18872 \    func_basename_result="${1##*/}"\
18873 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18874   && mv -f "$cfgfile.tmp" "$cfgfile" \
18875     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18876 test 0 -eq $? || _lt_function_replace_fail=:
18877
18878
18879   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18880 func_stripname ()\
18881 {\
18882 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18883 \    # positional parameters, so assign one to ordinary parameter first.\
18884 \    func_stripname_result=${3}\
18885 \    func_stripname_result=${func_stripname_result#"${1}"}\
18886 \    func_stripname_result=${func_stripname_result%"${2}"}\
18887 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18888   && mv -f "$cfgfile.tmp" "$cfgfile" \
18889     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18890 test 0 -eq $? || _lt_function_replace_fail=:
18891
18892
18893   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18894 func_split_long_opt ()\
18895 {\
18896 \    func_split_long_opt_name=${1%%=*}\
18897 \    func_split_long_opt_arg=${1#*=}\
18898 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18899   && mv -f "$cfgfile.tmp" "$cfgfile" \
18900     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18901 test 0 -eq $? || _lt_function_replace_fail=:
18902
18903
18904   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18905 func_split_short_opt ()\
18906 {\
18907 \    func_split_short_opt_arg=${1#??}\
18908 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18909 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18910   && mv -f "$cfgfile.tmp" "$cfgfile" \
18911     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18912 test 0 -eq $? || _lt_function_replace_fail=:
18913
18914
18915   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18916 func_lo2o ()\
18917 {\
18918 \    case ${1} in\
18919 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18920 \      *)    func_lo2o_result=${1} ;;\
18921 \    esac\
18922 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18923   && mv -f "$cfgfile.tmp" "$cfgfile" \
18924     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18925 test 0 -eq $? || _lt_function_replace_fail=:
18926
18927
18928   sed -e '/^func_xform ()$/,/^} # func_xform /c\
18929 func_xform ()\
18930 {\
18931     func_xform_result=${1%.*}.lo\
18932 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18933   && mv -f "$cfgfile.tmp" "$cfgfile" \
18934     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18935 test 0 -eq $? || _lt_function_replace_fail=:
18936
18937
18938   sed -e '/^func_arith ()$/,/^} # func_arith /c\
18939 func_arith ()\
18940 {\
18941     func_arith_result=$(( $* ))\
18942 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18943   && mv -f "$cfgfile.tmp" "$cfgfile" \
18944     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18945 test 0 -eq $? || _lt_function_replace_fail=:
18946
18947
18948   sed -e '/^func_len ()$/,/^} # func_len /c\
18949 func_len ()\
18950 {\
18951     func_len_result=${#1}\
18952 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18953   && mv -f "$cfgfile.tmp" "$cfgfile" \
18954     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18955 test 0 -eq $? || _lt_function_replace_fail=:
18956
18957 fi
18958
18959 if test x"$lt_shell_append" = xyes; then
18960   sed -e '/^func_append ()$/,/^} # func_append /c\
18961 func_append ()\
18962 {\
18963     eval "${1}+=\\${2}"\
18964 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18965   && mv -f "$cfgfile.tmp" "$cfgfile" \
18966     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18967 test 0 -eq $? || _lt_function_replace_fail=:
18968
18969
18970   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18971 func_append_quoted ()\
18972 {\
18973 \    func_quote_for_eval "${2}"\
18974 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18975 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18976   && mv -f "$cfgfile.tmp" "$cfgfile" \
18977     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18978 test 0 -eq $? || _lt_function_replace_fail=:
18979
18980
18981   # Save a `func_append' function call where possible by direct use of '+='
18982   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18983     && mv -f "$cfgfile.tmp" "$cfgfile" \
18984       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18985   test 0 -eq $? || _lt_function_replace_fail=:
18986 else
18987   # Save a `func_append' function call even when '+=' is not available
18988   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18989     && mv -f "$cfgfile.tmp" "$cfgfile" \
18990       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18991   test 0 -eq $? || _lt_function_replace_fail=:
18992 fi
18993
18994 if test x"$_lt_function_replace_fail" = x":"; then
18995   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18996 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18997 fi
18998
18999
19000    mv -f "$cfgfile" "$ofile" ||
19001     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19002   chmod +x "$ofile"
19003
19004
19005     cat <<_LT_EOF >> "$ofile"
19006
19007 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19008
19009 # The linker used to build libraries.
19010 LD=$lt_LD_CXX
19011
19012 # How to create reloadable object files.
19013 reload_flag=$lt_reload_flag_CXX
19014 reload_cmds=$lt_reload_cmds_CXX
19015
19016 # Commands used to build an old-style archive.
19017 old_archive_cmds=$lt_old_archive_cmds_CXX
19018
19019 # A language specific compiler.
19020 CC=$lt_compiler_CXX
19021
19022 # Is the compiler the GNU compiler?
19023 with_gcc=$GCC_CXX
19024
19025 # Compiler flag to turn off builtin functions.
19026 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19027
19028 # Additional compiler flags for building library objects.
19029 pic_flag=$lt_lt_prog_compiler_pic_CXX
19030
19031 # How to pass a linker flag through the compiler.
19032 wl=$lt_lt_prog_compiler_wl_CXX
19033
19034 # Compiler flag to prevent dynamic linking.
19035 link_static_flag=$lt_lt_prog_compiler_static_CXX
19036
19037 # Does compiler simultaneously support -c and -o options?
19038 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19039
19040 # Whether or not to add -lc for building shared libraries.
19041 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19042
19043 # Whether or not to disallow shared libs when runtime libs are static.
19044 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19045
19046 # Compiler flag to allow reflexive dlopens.
19047 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19048
19049 # Compiler flag to generate shared objects directly from archives.
19050 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19051
19052 # Whether the compiler copes with passing no objects directly.
19053 compiler_needs_object=$lt_compiler_needs_object_CXX
19054
19055 # Create an old-style archive from a shared archive.
19056 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19057
19058 # Create a temporary old-style archive to link instead of a shared archive.
19059 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19060
19061 # Commands used to build a shared archive.
19062 archive_cmds=$lt_archive_cmds_CXX
19063 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19064
19065 # Commands used to build a loadable module if different from building
19066 # a shared archive.
19067 module_cmds=$lt_module_cmds_CXX
19068 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19069
19070 # Whether we are building with GNU ld or not.
19071 with_gnu_ld=$lt_with_gnu_ld_CXX
19072
19073 # Flag that allows shared libraries with undefined symbols to be built.
19074 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19075
19076 # Flag that enforces no undefined symbols.
19077 no_undefined_flag=$lt_no_undefined_flag_CXX
19078
19079 # Flag to hardcode \$libdir into a binary during linking.
19080 # This must work even if \$libdir does not exist
19081 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19082
19083 # Whether we need a single "-rpath" flag with a separated argument.
19084 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19085
19086 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19087 # DIR into the resulting binary.
19088 hardcode_direct=$hardcode_direct_CXX
19089
19090 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19091 # DIR into the resulting binary and the resulting library dependency is
19092 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19093 # library is relocated.
19094 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19095
19096 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19097 # into the resulting binary.
19098 hardcode_minus_L=$hardcode_minus_L_CXX
19099
19100 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19101 # into the resulting binary.
19102 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19103
19104 # Set to "yes" if building a shared library automatically hardcodes DIR
19105 # into the library and all subsequent libraries and executables linked
19106 # against it.
19107 hardcode_automatic=$hardcode_automatic_CXX
19108
19109 # Set to yes if linker adds runtime paths of dependent libraries
19110 # to runtime path list.
19111 inherit_rpath=$inherit_rpath_CXX
19112
19113 # Whether libtool must link a program against all its dependency libraries.
19114 link_all_deplibs=$link_all_deplibs_CXX
19115
19116 # Set to "yes" if exported symbols are required.
19117 always_export_symbols=$always_export_symbols_CXX
19118
19119 # The commands to list exported symbols.
19120 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19121
19122 # Symbols that should not be listed in the preloaded symbols.
19123 exclude_expsyms=$lt_exclude_expsyms_CXX
19124
19125 # Symbols that must always be exported.
19126 include_expsyms=$lt_include_expsyms_CXX
19127
19128 # Commands necessary for linking programs (against libraries) with templates.
19129 prelink_cmds=$lt_prelink_cmds_CXX
19130
19131 # Commands necessary for finishing linking programs.
19132 postlink_cmds=$lt_postlink_cmds_CXX
19133
19134 # Specify filename containing input files.
19135 file_list_spec=$lt_file_list_spec_CXX
19136
19137 # How to hardcode a shared library path into an executable.
19138 hardcode_action=$hardcode_action_CXX
19139
19140 # The directories searched by this compiler when creating a shared library.
19141 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19142
19143 # Dependencies to place before and after the objects being linked to
19144 # create a shared library.
19145 predep_objects=$lt_predep_objects_CXX
19146 postdep_objects=$lt_postdep_objects_CXX
19147 predeps=$lt_predeps_CXX
19148 postdeps=$lt_postdeps_CXX
19149
19150 # The library search path used internally by the compiler when linking
19151 # a shared library.
19152 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19153
19154 # ### END LIBTOOL TAG CONFIG: CXX
19155 _LT_EOF
19156
19157  ;;
19158     "MSVC_Net2005/sigc++config.h":C) cp -f sigc++config.h MSVC_Net2005/sigc++config.h ;;
19159     "MSVC_Net2008/sigc++config.h":C) cp -f sigc++config.h MSVC_Net2008/sigc++config.h ;;
19160     "MSVC_Net2010/sigc++config.h":C) cp -f sigc++config.h MSVC_Net2010/sigc++config.h ;;
19161
19162   esac
19163 done # for ac_tag
19164
19165
19166 as_fn_exit 0
19167 _ACEOF
19168 ac_clean_files=$ac_clean_files_save
19169
19170 test $ac_write_fail = 0 ||
19171   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19172
19173
19174 # configure is writing to config.log, and then calls config.status.
19175 # config.status does its own redirection, appending to config.log.
19176 # Unfortunately, on DOS this fails, as config.log is still kept open
19177 # by configure, so config.status won't be able to write to it; its
19178 # output is simply discarded.  So we exec the FD to /dev/null,
19179 # effectively closing config.log, so it can be properly (re)opened and
19180 # appended to by config.status.  When coming back to configure, we
19181 # need to make the FD available again.
19182 if test "$no_create" != yes; then
19183   ac_cs_success=:
19184   ac_config_status_args=
19185   test "$silent" = yes &&
19186     ac_config_status_args="$ac_config_status_args --quiet"
19187   exec 5>/dev/null
19188   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19189   exec 5>>config.log
19190   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19191   # would make configure fail if this is the last instruction.
19192   $ac_cs_success || as_fn_exit 1
19193 fi
19194 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19195   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19196 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19197 fi
19198