Imported Upstream version 2.99.2
[platform/upstream/libsigc++.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libsigc++ 2.99.2.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='libsigc++'
593 PACKAGE_TARNAME='libsigc++'
594 PACKAGE_VERSION='2.99.2'
595 PACKAGE_STRING='libsigc++ 2.99.2'
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 HAVE_CXX14
694 am__fastdepCXX_FALSE
695 am__fastdepCXX_TRUE
696 CXXDEPMODE
697 am__nodep
698 AMDEPBACKSLASH
699 AMDEP_FALSE
700 AMDEP_TRUE
701 am__quote
702 am__include
703 DEPDIR
704 OBJEXT
705 EXEEXT
706 ac_ct_CXX
707 CPPFLAGS
708 LDFLAGS
709 CXXFLAGS
710 CXX
711 MMDOCTOOLDIR
712 DIST_DOCTOOLS_FALSE
713 DIST_DOCTOOLS_TRUE
714 SIGCXX_MICRO_VERSION
715 SIGCXX_MINOR_VERSION
716 SIGCXX_MAJOR_VERSION
717 SIGCXX_API_VERSION
718 SIGCXX_VERSION
719 SIGCXX_MODULE_NAME
720 ACLOCAL_FLAGS
721 MAINT
722 MAINTAINER_MODE_FALSE
723 MAINTAINER_MODE_TRUE
724 AM_BACKSLASH
725 AM_DEFAULT_VERBOSITY
726 AM_DEFAULT_V
727 AM_V
728 am__untar
729 am__tar
730 AMTAR
731 am__leading_dot
732 SET_MAKE
733 AWK
734 mkdir_p
735 MKDIR_P
736 INSTALL_STRIP_PROGRAM
737 STRIP
738 install_sh
739 MAKEINFO
740 AUTOHEADER
741 AUTOMAKE
742 AUTOCONF
743 ACLOCAL
744 VERSION
745 PACKAGE
746 CYGPATH_W
747 am__isrc
748 INSTALL_DATA
749 INSTALL_SCRIPT
750 INSTALL_PROGRAM
751 target_alias
752 host_alias
753 build_alias
754 LIBS
755 ECHO_T
756 ECHO_N
757 ECHO_C
758 DEFS
759 mandir
760 localedir
761 libdir
762 psdir
763 pdfdir
764 dvidir
765 htmldir
766 infodir
767 docdir
768 oldincludedir
769 includedir
770 localstatedir
771 sharedstatedir
772 sysconfdir
773 datadir
774 datarootdir
775 libexecdir
776 sbindir
777 bindir
778 program_transform_name
779 prefix
780 exec_prefix
781 PACKAGE_URL
782 PACKAGE_BUGREPORT
783 PACKAGE_STRING
784 PACKAGE_VERSION
785 PACKAGE_TARNAME
786 PACKAGE_NAME
787 PATH_SEPARATOR
788 SHELL'
789 ac_subst_files=''
790 ac_user_opts='
791 enable_option_checking
792 enable_silent_rules
793 enable_maintainer_mode
794 enable_dependency_tracking
795 enable_static
796 enable_shared
797 with_pic
798 enable_fast_install
799 with_gnu_ld
800 with_sysroot
801 enable_libtool_lock
802 enable_documentation
803 with_libstdc_doc
804 enable_warnings
805 enable_deprecated_api
806 '
807       ac_precious_vars='build_alias
808 host_alias
809 target_alias
810 ACLOCAL_FLAGS
811 CXX
812 CXXFLAGS
813 LDFLAGS
814 LIBS
815 CPPFLAGS
816 CCC
817 CC
818 CFLAGS
819 CPP
820 CXXCPP
821 M4
822 PERL
823 DOT
824 DOXYGEN
825 XSLTPROC
826 PKG_CONFIG
827 PKG_CONFIG_PATH
828 PKG_CONFIG_LIBDIR'
829
830
831 # Initialize some variables set by options.
832 ac_init_help=
833 ac_init_version=false
834 ac_unrecognized_opts=
835 ac_unrecognized_sep=
836 # The variables have the same names as the options, with
837 # dashes changed to underlines.
838 cache_file=/dev/null
839 exec_prefix=NONE
840 no_create=
841 no_recursion=
842 prefix=NONE
843 program_prefix=NONE
844 program_suffix=NONE
845 program_transform_name=s,x,x,
846 silent=
847 site=
848 srcdir=
849 verbose=
850 x_includes=NONE
851 x_libraries=NONE
852
853 # Installation directory options.
854 # These are left unexpanded so users can "make install exec_prefix=/foo"
855 # and all the variables that are supposed to be based on exec_prefix
856 # by default will actually change.
857 # Use braces instead of parens because sh, perl, etc. also accept them.
858 # (The list follows the same order as the GNU Coding Standards.)
859 bindir='${exec_prefix}/bin'
860 sbindir='${exec_prefix}/sbin'
861 libexecdir='${exec_prefix}/libexec'
862 datarootdir='${prefix}/share'
863 datadir='${datarootdir}'
864 sysconfdir='${prefix}/etc'
865 sharedstatedir='${prefix}/com'
866 localstatedir='${prefix}/var'
867 includedir='${prefix}/include'
868 oldincludedir='/usr/include'
869 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
870 infodir='${datarootdir}/info'
871 htmldir='${docdir}'
872 dvidir='${docdir}'
873 pdfdir='${docdir}'
874 psdir='${docdir}'
875 libdir='${exec_prefix}/lib'
876 localedir='${datarootdir}/locale'
877 mandir='${datarootdir}/man'
878
879 ac_prev=
880 ac_dashdash=
881 for ac_option
882 do
883   # If the previous option needs an argument, assign it.
884   if test -n "$ac_prev"; then
885     eval $ac_prev=\$ac_option
886     ac_prev=
887     continue
888   fi
889
890   case $ac_option in
891   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892   *=)   ac_optarg= ;;
893   *)    ac_optarg=yes ;;
894   esac
895
896   # Accept the important Cygnus configure options, so we can diagnose typos.
897
898   case $ac_dashdash$ac_option in
899   --)
900     ac_dashdash=yes ;;
901
902   -bindir | --bindir | --bindi | --bind | --bin | --bi)
903     ac_prev=bindir ;;
904   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
905     bindir=$ac_optarg ;;
906
907   -build | --build | --buil | --bui | --bu)
908     ac_prev=build_alias ;;
909   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
910     build_alias=$ac_optarg ;;
911
912   -cache-file | --cache-file | --cache-fil | --cache-fi \
913   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
914     ac_prev=cache_file ;;
915   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
916   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
917     cache_file=$ac_optarg ;;
918
919   --config-cache | -C)
920     cache_file=config.cache ;;
921
922   -datadir | --datadir | --datadi | --datad)
923     ac_prev=datadir ;;
924   -datadir=* | --datadir=* | --datadi=* | --datad=*)
925     datadir=$ac_optarg ;;
926
927   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
928   | --dataroo | --dataro | --datar)
929     ac_prev=datarootdir ;;
930   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
931   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
932     datarootdir=$ac_optarg ;;
933
934   -disable-* | --disable-*)
935     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936     # Reject names that are not valid shell variable names.
937     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938       as_fn_error $? "invalid feature name: $ac_useropt"
939     ac_useropt_orig=$ac_useropt
940     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941     case $ac_user_opts in
942       *"
943 "enable_$ac_useropt"
944 "*) ;;
945       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
946          ac_unrecognized_sep=', ';;
947     esac
948     eval enable_$ac_useropt=no ;;
949
950   -docdir | --docdir | --docdi | --doc | --do)
951     ac_prev=docdir ;;
952   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
953     docdir=$ac_optarg ;;
954
955   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
956     ac_prev=dvidir ;;
957   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
958     dvidir=$ac_optarg ;;
959
960   -enable-* | --enable-*)
961     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962     # Reject names that are not valid shell variable names.
963     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964       as_fn_error $? "invalid feature name: $ac_useropt"
965     ac_useropt_orig=$ac_useropt
966     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967     case $ac_user_opts in
968       *"
969 "enable_$ac_useropt"
970 "*) ;;
971       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
972          ac_unrecognized_sep=', ';;
973     esac
974     eval enable_$ac_useropt=\$ac_optarg ;;
975
976   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
977   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
978   | --exec | --exe | --ex)
979     ac_prev=exec_prefix ;;
980   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
981   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
982   | --exec=* | --exe=* | --ex=*)
983     exec_prefix=$ac_optarg ;;
984
985   -gas | --gas | --ga | --g)
986     # Obsolete; use --with-gas.
987     with_gas=yes ;;
988
989   -help | --help | --hel | --he | -h)
990     ac_init_help=long ;;
991   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
992     ac_init_help=recursive ;;
993   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
994     ac_init_help=short ;;
995
996   -host | --host | --hos | --ho)
997     ac_prev=host_alias ;;
998   -host=* | --host=* | --hos=* | --ho=*)
999     host_alias=$ac_optarg ;;
1000
1001   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1002     ac_prev=htmldir ;;
1003   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1004   | --ht=*)
1005     htmldir=$ac_optarg ;;
1006
1007   -includedir | --includedir | --includedi | --included | --include \
1008   | --includ | --inclu | --incl | --inc)
1009     ac_prev=includedir ;;
1010   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1011   | --includ=* | --inclu=* | --incl=* | --inc=*)
1012     includedir=$ac_optarg ;;
1013
1014   -infodir | --infodir | --infodi | --infod | --info | --inf)
1015     ac_prev=infodir ;;
1016   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1017     infodir=$ac_optarg ;;
1018
1019   -libdir | --libdir | --libdi | --libd)
1020     ac_prev=libdir ;;
1021   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1022     libdir=$ac_optarg ;;
1023
1024   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1025   | --libexe | --libex | --libe)
1026     ac_prev=libexecdir ;;
1027   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1028   | --libexe=* | --libex=* | --libe=*)
1029     libexecdir=$ac_optarg ;;
1030
1031   -localedir | --localedir | --localedi | --localed | --locale)
1032     ac_prev=localedir ;;
1033   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1034     localedir=$ac_optarg ;;
1035
1036   -localstatedir | --localstatedir | --localstatedi | --localstated \
1037   | --localstate | --localstat | --localsta | --localst | --locals)
1038     ac_prev=localstatedir ;;
1039   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1040   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1041     localstatedir=$ac_optarg ;;
1042
1043   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1044     ac_prev=mandir ;;
1045   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1046     mandir=$ac_optarg ;;
1047
1048   -nfp | --nfp | --nf)
1049     # Obsolete; use --without-fp.
1050     with_fp=no ;;
1051
1052   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1053   | --no-cr | --no-c | -n)
1054     no_create=yes ;;
1055
1056   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1057   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1058     no_recursion=yes ;;
1059
1060   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1061   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1062   | --oldin | --oldi | --old | --ol | --o)
1063     ac_prev=oldincludedir ;;
1064   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1065   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1066   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1067     oldincludedir=$ac_optarg ;;
1068
1069   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1070     ac_prev=prefix ;;
1071   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1072     prefix=$ac_optarg ;;
1073
1074   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1075   | --program-pre | --program-pr | --program-p)
1076     ac_prev=program_prefix ;;
1077   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1078   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1079     program_prefix=$ac_optarg ;;
1080
1081   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1082   | --program-suf | --program-su | --program-s)
1083     ac_prev=program_suffix ;;
1084   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1085   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1086     program_suffix=$ac_optarg ;;
1087
1088   -program-transform-name | --program-transform-name \
1089   | --program-transform-nam | --program-transform-na \
1090   | --program-transform-n | --program-transform- \
1091   | --program-transform | --program-transfor \
1092   | --program-transfo | --program-transf \
1093   | --program-trans | --program-tran \
1094   | --progr-tra | --program-tr | --program-t)
1095     ac_prev=program_transform_name ;;
1096   -program-transform-name=* | --program-transform-name=* \
1097   | --program-transform-nam=* | --program-transform-na=* \
1098   | --program-transform-n=* | --program-transform-=* \
1099   | --program-transform=* | --program-transfor=* \
1100   | --program-transfo=* | --program-transf=* \
1101   | --program-trans=* | --program-tran=* \
1102   | --progr-tra=* | --program-tr=* | --program-t=*)
1103     program_transform_name=$ac_optarg ;;
1104
1105   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1106     ac_prev=pdfdir ;;
1107   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1108     pdfdir=$ac_optarg ;;
1109
1110   -psdir | --psdir | --psdi | --psd | --ps)
1111     ac_prev=psdir ;;
1112   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1113     psdir=$ac_optarg ;;
1114
1115   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1116   | -silent | --silent | --silen | --sile | --sil)
1117     silent=yes ;;
1118
1119   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1120     ac_prev=sbindir ;;
1121   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1122   | --sbi=* | --sb=*)
1123     sbindir=$ac_optarg ;;
1124
1125   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1126   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1127   | --sharedst | --shareds | --shared | --share | --shar \
1128   | --sha | --sh)
1129     ac_prev=sharedstatedir ;;
1130   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1131   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1132   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1133   | --sha=* | --sh=*)
1134     sharedstatedir=$ac_optarg ;;
1135
1136   -site | --site | --sit)
1137     ac_prev=site ;;
1138   -site=* | --site=* | --sit=*)
1139     site=$ac_optarg ;;
1140
1141   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1142     ac_prev=srcdir ;;
1143   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1144     srcdir=$ac_optarg ;;
1145
1146   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1147   | --syscon | --sysco | --sysc | --sys | --sy)
1148     ac_prev=sysconfdir ;;
1149   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1150   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1151     sysconfdir=$ac_optarg ;;
1152
1153   -target | --target | --targe | --targ | --tar | --ta | --t)
1154     ac_prev=target_alias ;;
1155   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1156     target_alias=$ac_optarg ;;
1157
1158   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1159     verbose=yes ;;
1160
1161   -version | --version | --versio | --versi | --vers | -V)
1162     ac_init_version=: ;;
1163
1164   -with-* | --with-*)
1165     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166     # Reject names that are not valid shell variable names.
1167     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168       as_fn_error $? "invalid package name: $ac_useropt"
1169     ac_useropt_orig=$ac_useropt
1170     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171     case $ac_user_opts in
1172       *"
1173 "with_$ac_useropt"
1174 "*) ;;
1175       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1176          ac_unrecognized_sep=', ';;
1177     esac
1178     eval with_$ac_useropt=\$ac_optarg ;;
1179
1180   -without-* | --without-*)
1181     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182     # Reject names that are not valid shell variable names.
1183     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184       as_fn_error $? "invalid package name: $ac_useropt"
1185     ac_useropt_orig=$ac_useropt
1186     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187     case $ac_user_opts in
1188       *"
1189 "with_$ac_useropt"
1190 "*) ;;
1191       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1192          ac_unrecognized_sep=', ';;
1193     esac
1194     eval with_$ac_useropt=no ;;
1195
1196   --x)
1197     # Obsolete; use --with-x.
1198     with_x=yes ;;
1199
1200   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1201   | --x-incl | --x-inc | --x-in | --x-i)
1202     ac_prev=x_includes ;;
1203   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1204   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1205     x_includes=$ac_optarg ;;
1206
1207   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1208   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1209     ac_prev=x_libraries ;;
1210   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1211   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212     x_libraries=$ac_optarg ;;
1213
1214   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1215 Try \`$0 --help' for more information"
1216     ;;
1217
1218   *=*)
1219     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1220     # Reject names that are not valid shell variable names.
1221     case $ac_envvar in #(
1222       '' | [0-9]* | *[!_$as_cr_alnum]* )
1223       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1224     esac
1225     eval $ac_envvar=\$ac_optarg
1226     export $ac_envvar ;;
1227
1228   *)
1229     # FIXME: should be removed in autoconf 3.0.
1230     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1234     ;;
1235
1236   esac
1237 done
1238
1239 if test -n "$ac_prev"; then
1240   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241   as_fn_error $? "missing argument to $ac_option"
1242 fi
1243
1244 if test -n "$ac_unrecognized_opts"; then
1245   case $enable_option_checking in
1246     no) ;;
1247     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1248     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249   esac
1250 fi
1251
1252 # Check all directory arguments for consistency.
1253 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1254                 datadir sysconfdir sharedstatedir localstatedir includedir \
1255                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1256                 libdir localedir mandir
1257 do
1258   eval ac_val=\$$ac_var
1259   # Remove trailing slashes.
1260   case $ac_val in
1261     */ )
1262       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1263       eval $ac_var=\$ac_val;;
1264   esac
1265   # Be sure to have absolute directory names.
1266   case $ac_val in
1267     [\\/$]* | ?:[\\/]* )  continue;;
1268     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269   esac
1270   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1271 done
1272
1273 # There might be people who depend on the old broken behavior: `$host'
1274 # used to hold the argument of --host etc.
1275 # FIXME: To remove some day.
1276 build=$build_alias
1277 host=$host_alias
1278 target=$target_alias
1279
1280 # FIXME: To remove some day.
1281 if test "x$host_alias" != x; then
1282   if test "x$build_alias" = x; then
1283     cross_compiling=maybe
1284   elif test "x$build_alias" != "x$host_alias"; then
1285     cross_compiling=yes
1286   fi
1287 fi
1288
1289 ac_tool_prefix=
1290 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1291
1292 test "$silent" = yes && exec 6>/dev/null
1293
1294
1295 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296 ac_ls_di=`ls -di .` &&
1297 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298   as_fn_error $? "working directory cannot be determined"
1299 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300   as_fn_error $? "pwd does not report name of working directory"
1301
1302
1303 # Find the source files, if location was not specified.
1304 if test -z "$srcdir"; then
1305   ac_srcdir_defaulted=yes
1306   # Try the directory containing this script, then the parent directory.
1307   ac_confdir=`$as_dirname -- "$as_myself" ||
1308 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1309          X"$as_myself" : 'X\(//\)[^/]' \| \
1310          X"$as_myself" : 'X\(//\)$' \| \
1311          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1312 $as_echo X"$as_myself" |
1313     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1314             s//\1/
1315             q
1316           }
1317           /^X\(\/\/\)[^/].*/{
1318             s//\1/
1319             q
1320           }
1321           /^X\(\/\/\)$/{
1322             s//\1/
1323             q
1324           }
1325           /^X\(\/\).*/{
1326             s//\1/
1327             q
1328           }
1329           s/.*/./; q'`
1330   srcdir=$ac_confdir
1331   if test ! -r "$srcdir/$ac_unique_file"; then
1332     srcdir=..
1333   fi
1334 else
1335   ac_srcdir_defaulted=no
1336 fi
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1338   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340 fi
1341 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342 ac_abs_confdir=`(
1343         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344         pwd)`
1345 # When building in place, set srcdir=.
1346 if test "$ac_abs_confdir" = "$ac_pwd"; then
1347   srcdir=.
1348 fi
1349 # Remove unnecessary trailing slashes from srcdir.
1350 # Double slashes in file names in object file debugging info
1351 # mess up M-x gdb in Emacs.
1352 case $srcdir in
1353 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1354 esac
1355 for ac_var in $ac_precious_vars; do
1356   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1357   eval ac_env_${ac_var}_value=\$${ac_var}
1358   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1359   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1360 done
1361
1362 #
1363 # Report the --help message.
1364 #
1365 if test "$ac_init_help" = "long"; then
1366   # Omit some internal or obsolete options to make the list less imposing.
1367   # This message is too long to be a string in the A/UX 3.1 sh.
1368   cat <<_ACEOF
1369 \`configure' configures libsigc++ 2.99.2 to adapt to many kinds of systems.
1370
1371 Usage: $0 [OPTION]... [VAR=VALUE]...
1372
1373 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1374 VAR=VALUE.  See below for descriptions of some of the useful variables.
1375
1376 Defaults for the options are specified in brackets.
1377
1378 Configuration:
1379   -h, --help              display this help and exit
1380       --help=short        display options specific to this package
1381       --help=recursive    display the short help of all the included packages
1382   -V, --version           display version information and exit
1383   -q, --quiet, --silent   do not print \`checking ...' messages
1384       --cache-file=FILE   cache test results in FILE [disabled]
1385   -C, --config-cache      alias for \`--cache-file=config.cache'
1386   -n, --no-create         do not create output files
1387       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1388
1389 Installation directories:
1390   --prefix=PREFIX         install architecture-independent files in PREFIX
1391                           [$ac_default_prefix]
1392   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1393                           [PREFIX]
1394
1395 By default, \`make install' will install all the files in
1396 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1397 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1398 for instance \`--prefix=\$HOME'.
1399
1400 For better control, use the options below.
1401
1402 Fine tuning of the installation directories:
1403   --bindir=DIR            user executables [EPREFIX/bin]
1404   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1405   --libexecdir=DIR        program executables [EPREFIX/libexec]
1406   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1407   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1408   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1409   --libdir=DIR            object code libraries [EPREFIX/lib]
1410   --includedir=DIR        C header files [PREFIX/include]
1411   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1412   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1413   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1414   --infodir=DIR           info documentation [DATAROOTDIR/info]
1415   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1416   --mandir=DIR            man documentation [DATAROOTDIR/man]
1417   --docdir=DIR            documentation root [DATAROOTDIR/doc/libsigc++]
1418   --htmldir=DIR           html documentation [DOCDIR]
1419   --dvidir=DIR            dvi documentation [DOCDIR]
1420   --pdfdir=DIR            pdf documentation [DOCDIR]
1421   --psdir=DIR             ps documentation [DOCDIR]
1422 _ACEOF
1423
1424   cat <<\_ACEOF
1425
1426 Program names:
1427   --program-prefix=PREFIX            prepend PREFIX to installed program names
1428   --program-suffix=SUFFIX            append SUFFIX to installed program names
1429   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1430
1431 System types:
1432   --build=BUILD     configure for building on BUILD [guessed]
1433   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1434 _ACEOF
1435 fi
1436
1437 if test -n "$ac_init_help"; then
1438   case $ac_init_help in
1439      short | recursive ) echo "Configuration of libsigc++ 2.99.2:";;
1440    esac
1441   cat <<\_ACEOF
1442
1443 Optional Features:
1444   --disable-option-checking  ignore unrecognized --enable/--with options
1445   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1446   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1447   --enable-silent-rules   less verbose build output (undo: "make V=1")
1448   --disable-silent-rules  verbose build output (undo: "make V=0")
1449   --enable-maintainer-mode
1450                           enable make rules and dependencies not useful (and
1451                           sometimes confusing) to the casual installer
1452   --enable-dependency-tracking
1453                           do not reject slow dependency extractors
1454   --disable-dependency-tracking
1455                           speeds up one-time build
1456   --enable-static[=PKGS]  build static libraries [default=no]
1457   --enable-shared[=PKGS]  build shared libraries [default=yes]
1458   --enable-fast-install[=PKGS]
1459                           optimize for fast installation [default=yes]
1460   --disable-libtool-lock  avoid locking (might break parallel builds)
1461   --disable-documentation do not build or install the documentation
1462   --enable-warnings[=min|max|fatal|no]
1463                           set compiler pedantry level [default=min]
1464   --disable-deprecated-api
1465                           omit deprecated API from the library
1466
1467 Optional Packages:
1468   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1469   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1470   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1471                           both]
1472   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1473   --with-sysroot=DIR Search for dependent libraries within DIR
1474                         (or the compiler's sysroot if not specified).
1475   --with-libstdc-doc=[TAGFILE@]HTMLREFDIR
1476                           Link to external libstdc documentation [auto]
1477
1478 Some influential environment variables:
1479   ACLOCAL_FLAGS
1480               aclocal flags, e.g. -I <macro dir>
1481   CXX         C++ compiler command
1482   CXXFLAGS    C++ compiler flags
1483   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1484               nonstandard directory <lib dir>
1485   LIBS        libraries to pass to the linker, e.g. -l<library>
1486   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1487               you have headers in a nonstandard directory <include dir>
1488   CC          C compiler command
1489   CFLAGS      C compiler flags
1490   CPP         C preprocessor
1491   CXXCPP      C++ preprocessor
1492   M4          M4 macro processor command
1493   PERL        path to Perl interpreter
1494   DOT         path to dot utility
1495   DOXYGEN     path to Doxygen utility
1496   XSLTPROC    path to xsltproc utility
1497   PKG_CONFIG  path to pkg-config utility
1498   PKG_CONFIG_PATH
1499               directories to add to pkg-config's search path
1500   PKG_CONFIG_LIBDIR
1501               path overriding pkg-config's built-in search path
1502
1503 Use these variables to override the choices made by `configure' or to help
1504 it to find libraries and programs with nonstandard names/locations.
1505
1506 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
1507 libsigc++ home page: <http://libsigc.sourceforge.net/>.
1508 _ACEOF
1509 ac_status=$?
1510 fi
1511
1512 if test "$ac_init_help" = "recursive"; then
1513   # If there are subdirs, report their specific --help.
1514   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1515     test -d "$ac_dir" ||
1516       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1517       continue
1518     ac_builddir=.
1519
1520 case "$ac_dir" in
1521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 *)
1523   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1524   # A ".." for each directory in $ac_dir_suffix.
1525   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1526   case $ac_top_builddir_sub in
1527   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1529   esac ;;
1530 esac
1531 ac_abs_top_builddir=$ac_pwd
1532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1533 # for backward compatibility:
1534 ac_top_builddir=$ac_top_build_prefix
1535
1536 case $srcdir in
1537   .)  # We are building in place.
1538     ac_srcdir=.
1539     ac_top_srcdir=$ac_top_builddir_sub
1540     ac_abs_top_srcdir=$ac_pwd ;;
1541   [\\/]* | ?:[\\/]* )  # Absolute name.
1542     ac_srcdir=$srcdir$ac_dir_suffix;
1543     ac_top_srcdir=$srcdir
1544     ac_abs_top_srcdir=$srcdir ;;
1545   *) # Relative name.
1546     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1547     ac_top_srcdir=$ac_top_build_prefix$srcdir
1548     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1549 esac
1550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1551
1552     cd "$ac_dir" || { ac_status=$?; continue; }
1553     # Check for guested configure.
1554     if test -f "$ac_srcdir/configure.gnu"; then
1555       echo &&
1556       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1557     elif test -f "$ac_srcdir/configure"; then
1558       echo &&
1559       $SHELL "$ac_srcdir/configure" --help=recursive
1560     else
1561       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562     fi || ac_status=$?
1563     cd "$ac_pwd" || { ac_status=$?; break; }
1564   done
1565 fi
1566
1567 test -n "$ac_init_help" && exit $ac_status
1568 if $ac_init_version; then
1569   cat <<\_ACEOF
1570 libsigc++ configure 2.99.2
1571 generated by GNU Autoconf 2.69
1572
1573 Copyright (C) 2012 Free Software Foundation, Inc.
1574 This configure script is free software; the Free Software Foundation
1575 gives unlimited permission to copy, distribute and modify it.
1576 _ACEOF
1577   exit
1578 fi
1579
1580 ## ------------------------ ##
1581 ## Autoconf initialization. ##
1582 ## ------------------------ ##
1583
1584 # ac_fn_cxx_try_compile LINENO
1585 # ----------------------------
1586 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1587 ac_fn_cxx_try_compile ()
1588 {
1589   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590   rm -f conftest.$ac_objext
1591   if { { ac_try="$ac_compile"
1592 case "(($ac_try" in
1593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594   *) ac_try_echo=$ac_try;;
1595 esac
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598   (eval "$ac_compile") 2>conftest.err
1599   ac_status=$?
1600   if test -s conftest.err; then
1601     grep -v '^ *+' conftest.err >conftest.er1
1602     cat conftest.er1 >&5
1603     mv -f conftest.er1 conftest.err
1604   fi
1605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606   test $ac_status = 0; } && {
1607          test -z "$ac_cxx_werror_flag" ||
1608          test ! -s conftest.err
1609        } && test -s conftest.$ac_objext; then :
1610   ac_retval=0
1611 else
1612   $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.$ac_ext >&5
1614
1615         ac_retval=1
1616 fi
1617   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618   as_fn_set_status $ac_retval
1619
1620 } # ac_fn_cxx_try_compile
1621
1622 # ac_fn_c_try_compile LINENO
1623 # --------------------------
1624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1625 ac_fn_c_try_compile ()
1626 {
1627   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628   rm -f conftest.$ac_objext
1629   if { { ac_try="$ac_compile"
1630 case "(($ac_try" in
1631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632   *) ac_try_echo=$ac_try;;
1633 esac
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636   (eval "$ac_compile") 2>conftest.err
1637   ac_status=$?
1638   if test -s conftest.err; then
1639     grep -v '^ *+' conftest.err >conftest.er1
1640     cat conftest.er1 >&5
1641     mv -f conftest.er1 conftest.err
1642   fi
1643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644   test $ac_status = 0; } && {
1645          test -z "$ac_c_werror_flag" ||
1646          test ! -s conftest.err
1647        } && test -s conftest.$ac_objext; then :
1648   ac_retval=0
1649 else
1650   $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1652
1653         ac_retval=1
1654 fi
1655   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656   as_fn_set_status $ac_retval
1657
1658 } # ac_fn_c_try_compile
1659
1660 # ac_fn_c_try_link LINENO
1661 # -----------------------
1662 # Try to link conftest.$ac_ext, and return whether this succeeded.
1663 ac_fn_c_try_link ()
1664 {
1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666   rm -f conftest.$ac_objext conftest$ac_exeext
1667   if { { ac_try="$ac_link"
1668 case "(($ac_try" in
1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670   *) ac_try_echo=$ac_try;;
1671 esac
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674   (eval "$ac_link") 2>conftest.err
1675   ac_status=$?
1676   if test -s conftest.err; then
1677     grep -v '^ *+' conftest.err >conftest.er1
1678     cat conftest.er1 >&5
1679     mv -f conftest.er1 conftest.err
1680   fi
1681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682   test $ac_status = 0; } && {
1683          test -z "$ac_c_werror_flag" ||
1684          test ! -s conftest.err
1685        } && test -s conftest$ac_exeext && {
1686          test "$cross_compiling" = yes ||
1687          test -x conftest$ac_exeext
1688        }; then :
1689   ac_retval=0
1690 else
1691   $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1693
1694         ac_retval=1
1695 fi
1696   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1697   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1698   # interfere with the next link command; also delete a directory that is
1699   # left behind by Apple's compiler.  We do this before executing the actions.
1700   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702   as_fn_set_status $ac_retval
1703
1704 } # ac_fn_c_try_link
1705
1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1707 # -------------------------------------------------------
1708 # Tests whether HEADER exists and can be compiled using the include files in
1709 # INCLUDES, setting the cache variable VAR accordingly.
1710 ac_fn_c_check_header_compile ()
1711 {
1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if eval \${$3+:} false; then :
1716   $as_echo_n "(cached) " >&6
1717 else
1718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h.  */
1720 $4
1721 #include <$2>
1722 _ACEOF
1723 if ac_fn_c_try_compile "$LINENO"; then :
1724   eval "$3=yes"
1725 else
1726   eval "$3=no"
1727 fi
1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1729 fi
1730 eval ac_res=\$$3
1731                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1732 $as_echo "$ac_res" >&6; }
1733   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734
1735 } # ac_fn_c_check_header_compile
1736
1737 # ac_fn_c_try_cpp LINENO
1738 # ----------------------
1739 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1740 ac_fn_c_try_cpp ()
1741 {
1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743   if { { ac_try="$ac_cpp conftest.$ac_ext"
1744 case "(($ac_try" in
1745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746   *) ac_try_echo=$ac_try;;
1747 esac
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1751   ac_status=$?
1752   if test -s conftest.err; then
1753     grep -v '^ *+' conftest.err >conftest.er1
1754     cat conftest.er1 >&5
1755     mv -f conftest.er1 conftest.err
1756   fi
1757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758   test $ac_status = 0; } > conftest.i && {
1759          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1760          test ! -s conftest.err
1761        }; then :
1762   ac_retval=0
1763 else
1764   $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1766
1767     ac_retval=1
1768 fi
1769   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770   as_fn_set_status $ac_retval
1771
1772 } # ac_fn_c_try_cpp
1773
1774 # ac_fn_c_try_run LINENO
1775 # ----------------------
1776 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1777 # that executables *can* be run.
1778 ac_fn_c_try_run ()
1779 {
1780   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781   if { { ac_try="$ac_link"
1782 case "(($ac_try" in
1783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1784   *) ac_try_echo=$ac_try;;
1785 esac
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788   (eval "$ac_link") 2>&5
1789   ac_status=$?
1790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1792   { { case "(($ac_try" in
1793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794   *) ac_try_echo=$ac_try;;
1795 esac
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798   (eval "$ac_try") 2>&5
1799   ac_status=$?
1800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801   test $ac_status = 0; }; }; then :
1802   ac_retval=0
1803 else
1804   $as_echo "$as_me: program exited with status $ac_status" >&5
1805        $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.$ac_ext >&5
1807
1808        ac_retval=$ac_status
1809 fi
1810   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1811   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812   as_fn_set_status $ac_retval
1813
1814 } # ac_fn_c_try_run
1815
1816 # ac_fn_c_check_func LINENO FUNC VAR
1817 # ----------------------------------
1818 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1819 ac_fn_c_check_func ()
1820 {
1821   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if eval \${$3+:} false; then :
1825   $as_echo_n "(cached) " >&6
1826 else
1827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h.  */
1829 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1831 #define $2 innocuous_$2
1832
1833 /* System header to define __stub macros and hopefully few prototypes,
1834     which can conflict with char $2 (); below.
1835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1836     <limits.h> exists even on freestanding compilers.  */
1837
1838 #ifdef __STDC__
1839 # include <limits.h>
1840 #else
1841 # include <assert.h>
1842 #endif
1843
1844 #undef $2
1845
1846 /* Override any GCC internal prototype to avoid an error.
1847    Use char because int might match the return type of a GCC
1848    builtin and then its argument prototype would still apply.  */
1849 #ifdef __cplusplus
1850 extern "C"
1851 #endif
1852 char $2 ();
1853 /* The GNU C library defines this for functions which it implements
1854     to always fail with ENOSYS.  Some functions are actually named
1855     something starting with __ and the normal name is an alias.  */
1856 #if defined __stub_$2 || defined __stub___$2
1857 choke me
1858 #endif
1859
1860 int
1861 main ()
1862 {
1863 return $2 ();
1864   ;
1865   return 0;
1866 }
1867 _ACEOF
1868 if ac_fn_c_try_link "$LINENO"; then :
1869   eval "$3=yes"
1870 else
1871   eval "$3=no"
1872 fi
1873 rm -f core conftest.err conftest.$ac_objext \
1874     conftest$ac_exeext conftest.$ac_ext
1875 fi
1876 eval ac_res=\$$3
1877                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1879   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1880
1881 } # ac_fn_c_check_func
1882
1883 # ac_fn_cxx_try_cpp LINENO
1884 # ------------------------
1885 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1886 ac_fn_cxx_try_cpp ()
1887 {
1888   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889   if { { ac_try="$ac_cpp conftest.$ac_ext"
1890 case "(($ac_try" in
1891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892   *) ac_try_echo=$ac_try;;
1893 esac
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1897   ac_status=$?
1898   if test -s conftest.err; then
1899     grep -v '^ *+' conftest.err >conftest.er1
1900     cat conftest.er1 >&5
1901     mv -f conftest.er1 conftest.err
1902   fi
1903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904   test $ac_status = 0; } > conftest.i && {
1905          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1906          test ! -s conftest.err
1907        }; then :
1908   ac_retval=0
1909 else
1910   $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.$ac_ext >&5
1912
1913     ac_retval=1
1914 fi
1915   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916   as_fn_set_status $ac_retval
1917
1918 } # ac_fn_cxx_try_cpp
1919
1920 # ac_fn_cxx_try_link LINENO
1921 # -------------------------
1922 # Try to link conftest.$ac_ext, and return whether this succeeded.
1923 ac_fn_cxx_try_link ()
1924 {
1925   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926   rm -f conftest.$ac_objext conftest$ac_exeext
1927   if { { ac_try="$ac_link"
1928 case "(($ac_try" in
1929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1930   *) ac_try_echo=$ac_try;;
1931 esac
1932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1933 $as_echo "$ac_try_echo"; } >&5
1934   (eval "$ac_link") 2>conftest.err
1935   ac_status=$?
1936   if test -s conftest.err; then
1937     grep -v '^ *+' conftest.err >conftest.er1
1938     cat conftest.er1 >&5
1939     mv -f conftest.er1 conftest.err
1940   fi
1941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942   test $ac_status = 0; } && {
1943          test -z "$ac_cxx_werror_flag" ||
1944          test ! -s conftest.err
1945        } && test -s conftest$ac_exeext && {
1946          test "$cross_compiling" = yes ||
1947          test -x conftest$ac_exeext
1948        }; then :
1949   ac_retval=0
1950 else
1951   $as_echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.$ac_ext >&5
1953
1954         ac_retval=1
1955 fi
1956   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1957   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1958   # interfere with the next link command; also delete a directory that is
1959   # left behind by Apple's compiler.  We do this before executing the actions.
1960   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1961   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962   as_fn_set_status $ac_retval
1963
1964 } # ac_fn_cxx_try_link
1965 cat >config.log <<_ACEOF
1966 This file contains any messages produced by compilers while
1967 running configure, to aid debugging if configure makes a mistake.
1968
1969 It was created by libsigc++ $as_me 2.99.2, which was
1970 generated by GNU Autoconf 2.69.  Invocation command line was
1971
1972   $ $0 $@
1973
1974 _ACEOF
1975 exec 5>>config.log
1976 {
1977 cat <<_ASUNAME
1978 ## --------- ##
1979 ## Platform. ##
1980 ## --------- ##
1981
1982 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1983 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1984 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1985 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1986 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1987
1988 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1989 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1990
1991 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1992 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1993 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1994 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1995 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1996 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1997 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1998
1999 _ASUNAME
2000
2001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002 for as_dir in $PATH
2003 do
2004   IFS=$as_save_IFS
2005   test -z "$as_dir" && as_dir=.
2006     $as_echo "PATH: $as_dir"
2007   done
2008 IFS=$as_save_IFS
2009
2010 } >&5
2011
2012 cat >&5 <<_ACEOF
2013
2014
2015 ## ----------- ##
2016 ## Core tests. ##
2017 ## ----------- ##
2018
2019 _ACEOF
2020
2021
2022 # Keep a trace of the command line.
2023 # Strip out --no-create and --no-recursion so they do not pile up.
2024 # Strip out --silent because we don't want to record it for future runs.
2025 # Also quote any args containing shell meta-characters.
2026 # Make two passes to allow for proper duplicate-argument suppression.
2027 ac_configure_args=
2028 ac_configure_args0=
2029 ac_configure_args1=
2030 ac_must_keep_next=false
2031 for ac_pass in 1 2
2032 do
2033   for ac_arg
2034   do
2035     case $ac_arg in
2036     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2037     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2038     | -silent | --silent | --silen | --sile | --sil)
2039       continue ;;
2040     *\'*)
2041       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2042     esac
2043     case $ac_pass in
2044     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2045     2)
2046       as_fn_append ac_configure_args1 " '$ac_arg'"
2047       if test $ac_must_keep_next = true; then
2048         ac_must_keep_next=false # Got value, back to normal.
2049       else
2050         case $ac_arg in
2051           *=* | --config-cache | -C | -disable-* | --disable-* \
2052           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2053           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2054           | -with-* | --with-* | -without-* | --without-* | --x)
2055             case "$ac_configure_args0 " in
2056               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2057             esac
2058             ;;
2059           -* ) ac_must_keep_next=true ;;
2060         esac
2061       fi
2062       as_fn_append ac_configure_args " '$ac_arg'"
2063       ;;
2064     esac
2065   done
2066 done
2067 { ac_configure_args0=; unset ac_configure_args0;}
2068 { ac_configure_args1=; unset ac_configure_args1;}
2069
2070 # When interrupted or exit'd, cleanup temporary files, and complete
2071 # config.log.  We remove comments because anyway the quotes in there
2072 # would cause problems or look ugly.
2073 # WARNING: Use '\'' to represent an apostrophe within the trap.
2074 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2075 trap 'exit_status=$?
2076   # Save into config.log some information that might help in debugging.
2077   {
2078     echo
2079
2080     $as_echo "## ---------------- ##
2081 ## Cache variables. ##
2082 ## ---------------- ##"
2083     echo
2084     # The following way of writing the cache mishandles newlines in values,
2085 (
2086   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2087     eval ac_val=\$$ac_var
2088     case $ac_val in #(
2089     *${as_nl}*)
2090       case $ac_var in #(
2091       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2092 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2093       esac
2094       case $ac_var in #(
2095       _ | IFS | as_nl) ;; #(
2096       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2097       *) { eval $ac_var=; unset $ac_var;} ;;
2098       esac ;;
2099     esac
2100   done
2101   (set) 2>&1 |
2102     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2103     *${as_nl}ac_space=\ *)
2104       sed -n \
2105         "s/'\''/'\''\\\\'\'''\''/g;
2106           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2107       ;; #(
2108     *)
2109       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2110       ;;
2111     esac |
2112     sort
2113 )
2114     echo
2115
2116     $as_echo "## ----------------- ##
2117 ## Output variables. ##
2118 ## ----------------- ##"
2119     echo
2120     for ac_var in $ac_subst_vars
2121     do
2122       eval ac_val=\$$ac_var
2123       case $ac_val in
2124       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2125       esac
2126       $as_echo "$ac_var='\''$ac_val'\''"
2127     done | sort
2128     echo
2129
2130     if test -n "$ac_subst_files"; then
2131       $as_echo "## ------------------- ##
2132 ## File substitutions. ##
2133 ## ------------------- ##"
2134       echo
2135       for ac_var in $ac_subst_files
2136       do
2137         eval ac_val=\$$ac_var
2138         case $ac_val in
2139         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2140         esac
2141         $as_echo "$ac_var='\''$ac_val'\''"
2142       done | sort
2143       echo
2144     fi
2145
2146     if test -s confdefs.h; then
2147       $as_echo "## ----------- ##
2148 ## confdefs.h. ##
2149 ## ----------- ##"
2150       echo
2151       cat confdefs.h
2152       echo
2153     fi
2154     test "$ac_signal" != 0 &&
2155       $as_echo "$as_me: caught signal $ac_signal"
2156     $as_echo "$as_me: exit $exit_status"
2157   } >&5
2158   rm -f core *.core core.conftest.* &&
2159     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2160     exit $exit_status
2161 ' 0
2162 for ac_signal in 1 2 13 15; do
2163   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2164 done
2165 ac_signal=0
2166
2167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2168 rm -f -r conftest* confdefs.h
2169
2170 $as_echo "/* confdefs.h */" > confdefs.h
2171
2172 # Predefined preprocessor variables.
2173
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_NAME "$PACKAGE_NAME"
2176 _ACEOF
2177
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2180 _ACEOF
2181
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2184 _ACEOF
2185
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_STRING "$PACKAGE_STRING"
2188 _ACEOF
2189
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2192 _ACEOF
2193
2194 cat >>confdefs.h <<_ACEOF
2195 #define PACKAGE_URL "$PACKAGE_URL"
2196 _ACEOF
2197
2198
2199 # Let the site file select an alternate cache file if it wants to.
2200 # Prefer an explicitly selected file to automatically selected ones.
2201 ac_site_file1=NONE
2202 ac_site_file2=NONE
2203 if test -n "$CONFIG_SITE"; then
2204   # We do not want a PATH search for config.site.
2205   case $CONFIG_SITE in #((
2206     -*)  ac_site_file1=./$CONFIG_SITE;;
2207     */*) ac_site_file1=$CONFIG_SITE;;
2208     *)   ac_site_file1=./$CONFIG_SITE;;
2209   esac
2210 elif test "x$prefix" != xNONE; then
2211   ac_site_file1=$prefix/share/config.site
2212   ac_site_file2=$prefix/etc/config.site
2213 else
2214   ac_site_file1=$ac_default_prefix/share/config.site
2215   ac_site_file2=$ac_default_prefix/etc/config.site
2216 fi
2217 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2218 do
2219   test "x$ac_site_file" = xNONE && continue
2220   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2221     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2222 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2223     sed 's/^/| /' "$ac_site_file" >&5
2224     . "$ac_site_file" \
2225       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2227 as_fn_error $? "failed to load site script $ac_site_file
2228 See \`config.log' for more details" "$LINENO" 5; }
2229   fi
2230 done
2231
2232 if test -r "$cache_file"; then
2233   # Some versions of bash will fail to source /dev/null (special files
2234   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2235   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2236     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2237 $as_echo "$as_me: loading cache $cache_file" >&6;}
2238     case $cache_file in
2239       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2240       *)                      . "./$cache_file";;
2241     esac
2242   fi
2243 else
2244   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2245 $as_echo "$as_me: creating cache $cache_file" >&6;}
2246   >$cache_file
2247 fi
2248
2249 # Check that the precious variables saved in the cache have kept the same
2250 # value.
2251 ac_cache_corrupted=false
2252 for ac_var in $ac_precious_vars; do
2253   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2254   eval ac_new_set=\$ac_env_${ac_var}_set
2255   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2256   eval ac_new_val=\$ac_env_${ac_var}_value
2257   case $ac_old_set,$ac_new_set in
2258     set,)
2259       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2260 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2261       ac_cache_corrupted=: ;;
2262     ,set)
2263       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2264 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2265       ac_cache_corrupted=: ;;
2266     ,);;
2267     *)
2268       if test "x$ac_old_val" != "x$ac_new_val"; then
2269         # differences in whitespace do not lead to failure.
2270         ac_old_val_w=`echo x $ac_old_val`
2271         ac_new_val_w=`echo x $ac_new_val`
2272         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2273           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2274 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2275           ac_cache_corrupted=:
2276         else
2277           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2278 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2279           eval $ac_var=\$ac_old_val
2280         fi
2281         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2282 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2283         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2284 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2285       fi;;
2286   esac
2287   # Pass precious variables to config.status.
2288   if test "$ac_new_set" = set; then
2289     case $ac_new_val in
2290     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2291     *) ac_arg=$ac_var=$ac_new_val ;;
2292     esac
2293     case " $ac_configure_args " in
2294       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2295       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2296     esac
2297   fi
2298 done
2299 if $ac_cache_corrupted; then
2300   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2302   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2303 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2304   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2305 fi
2306 ## -------------------- ##
2307 ## Main body of script. ##
2308 ## -------------------- ##
2309
2310 ac_ext=c
2311 ac_cpp='$CPP $CPPFLAGS'
2312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2315
2316
2317
2318
2319
2320 ac_aux_dir=
2321 for ac_dir in build "$srcdir"/build; do
2322   if test -f "$ac_dir/install-sh"; then
2323     ac_aux_dir=$ac_dir
2324     ac_install_sh="$ac_aux_dir/install-sh -c"
2325     break
2326   elif test -f "$ac_dir/install.sh"; then
2327     ac_aux_dir=$ac_dir
2328     ac_install_sh="$ac_aux_dir/install.sh -c"
2329     break
2330   elif test -f "$ac_dir/shtool"; then
2331     ac_aux_dir=$ac_dir
2332     ac_install_sh="$ac_aux_dir/shtool install -c"
2333     break
2334   fi
2335 done
2336 if test -z "$ac_aux_dir"; then
2337   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2338 fi
2339
2340 # These three variables are undocumented and unsupported,
2341 # and are intended to be withdrawn in a future Autoconf release.
2342 # They can cause serious problems if a builder's source tree is in a directory
2343 # whose full name contains unusual characters.
2344 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2345 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2346 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2347
2348
2349
2350 ac_config_headers="$ac_config_headers config.h sigc++config.h"
2351
2352
2353 am__api_version='1.15'
2354
2355 # Find a good install program.  We prefer a C program (faster),
2356 # so one script is as good as another.  But avoid the broken or
2357 # incompatible versions:
2358 # SysV /etc/install, /usr/sbin/install
2359 # SunOS /usr/etc/install
2360 # IRIX /sbin/install
2361 # AIX /bin/install
2362 # AmigaOS /C/install, which installs bootblocks on floppy discs
2363 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2364 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2365 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2366 # OS/2's system install, which has a completely different semantic
2367 # ./install, which can be erroneously created by make from ./install.sh.
2368 # Reject install programs that cannot install multiple files.
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2370 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2371 if test -z "$INSTALL"; then
2372 if ${ac_cv_path_install+:} false; then :
2373   $as_echo_n "(cached) " >&6
2374 else
2375   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376 for as_dir in $PATH
2377 do
2378   IFS=$as_save_IFS
2379   test -z "$as_dir" && as_dir=.
2380     # Account for people who put trailing slashes in PATH elements.
2381 case $as_dir/ in #((
2382   ./ | .// | /[cC]/* | \
2383   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2384   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2385   /usr/ucb/* ) ;;
2386   *)
2387     # OSF1 and SCO ODT 3.0 have their own names for install.
2388     # Don't use installbsd from OSF since it installs stuff as root
2389     # by default.
2390     for ac_prog in ginstall scoinst install; do
2391       for ac_exec_ext in '' $ac_executable_extensions; do
2392         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2393           if test $ac_prog = install &&
2394             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2395             # AIX install.  It has an incompatible calling convention.
2396             :
2397           elif test $ac_prog = install &&
2398             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2399             # program-specific install script used by HP pwplus--don't use.
2400             :
2401           else
2402             rm -rf conftest.one conftest.two conftest.dir
2403             echo one > conftest.one
2404             echo two > conftest.two
2405             mkdir conftest.dir
2406             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2407               test -s conftest.one && test -s conftest.two &&
2408               test -s conftest.dir/conftest.one &&
2409               test -s conftest.dir/conftest.two
2410             then
2411               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2412               break 3
2413             fi
2414           fi
2415         fi
2416       done
2417     done
2418     ;;
2419 esac
2420
2421   done
2422 IFS=$as_save_IFS
2423
2424 rm -rf conftest.one conftest.two conftest.dir
2425
2426 fi
2427   if test "${ac_cv_path_install+set}" = set; then
2428     INSTALL=$ac_cv_path_install
2429   else
2430     # As a last resort, use the slow shell script.  Don't cache a
2431     # value for INSTALL within a source directory, because that will
2432     # break other packages using the cache if that directory is
2433     # removed, or if the value is a relative name.
2434     INSTALL=$ac_install_sh
2435   fi
2436 fi
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2438 $as_echo "$INSTALL" >&6; }
2439
2440 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2441 # It thinks the first close brace ends the variable substitution.
2442 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2443
2444 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2445
2446 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2447
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2449 $as_echo_n "checking whether build environment is sane... " >&6; }
2450 # Reject unsafe characters in $srcdir or the absolute working directory
2451 # name.  Accept space and tab only in the latter.
2452 am_lf='
2453 '
2454 case `pwd` in
2455   *[\\\"\#\$\&\'\`$am_lf]*)
2456     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2457 esac
2458 case $srcdir in
2459   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2460     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2461 esac
2462
2463 # Do 'set' in a subshell so we don't clobber the current shell's
2464 # arguments.  Must try -L first in case configure is actually a
2465 # symlink; some systems play weird games with the mod time of symlinks
2466 # (eg FreeBSD returns the mod time of the symlink's containing
2467 # directory).
2468 if (
2469    am_has_slept=no
2470    for am_try in 1 2; do
2471      echo "timestamp, slept: $am_has_slept" > conftest.file
2472      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2473      if test "$*" = "X"; then
2474         # -L didn't work.
2475         set X `ls -t "$srcdir/configure" conftest.file`
2476      fi
2477      if test "$*" != "X $srcdir/configure conftest.file" \
2478         && test "$*" != "X conftest.file $srcdir/configure"; then
2479
2480         # If neither matched, then we have a broken ls.  This can happen
2481         # if, for instance, CONFIG_SHELL is bash and it inherits a
2482         # broken ls alias from the environment.  This has actually
2483         # happened.  Such a system could not be considered "sane".
2484         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2485   alias in your environment" "$LINENO" 5
2486      fi
2487      if test "$2" = conftest.file || test $am_try -eq 2; then
2488        break
2489      fi
2490      # Just in case.
2491      sleep 1
2492      am_has_slept=yes
2493    done
2494    test "$2" = conftest.file
2495    )
2496 then
2497    # Ok.
2498    :
2499 else
2500    as_fn_error $? "newly created file is older than distributed files!
2501 Check your system clock" "$LINENO" 5
2502 fi
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2504 $as_echo "yes" >&6; }
2505 # If we didn't sleep, we still need to ensure time stamps of config.status and
2506 # generated files are strictly newer.
2507 am_sleep_pid=
2508 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2509   ( sleep 1 ) &
2510   am_sleep_pid=$!
2511 fi
2512
2513 rm -f conftest.file
2514
2515 test "$program_prefix" != NONE &&
2516   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2517 # Use a double $ so make ignores it.
2518 test "$program_suffix" != NONE &&
2519   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2520 # Double any \ or $.
2521 # By default was `s,x,x', remove it if useless.
2522 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2523 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2524
2525 # Expand $ac_aux_dir to an absolute path.
2526 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2527
2528 if test x"${MISSING+set}" != xset; then
2529   case $am_aux_dir in
2530   *\ * | *\     *)
2531     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2532   *)
2533     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2534   esac
2535 fi
2536 # Use eval to expand $SHELL
2537 if eval "$MISSING --is-lightweight"; then
2538   am_missing_run="$MISSING "
2539 else
2540   am_missing_run=
2541   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2542 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2543 fi
2544
2545 if test x"${install_sh+set}" != xset; then
2546   case $am_aux_dir in
2547   *\ * | *\     *)
2548     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2549   *)
2550     install_sh="\${SHELL} $am_aux_dir/install-sh"
2551   esac
2552 fi
2553
2554 # Installed binaries are usually stripped using 'strip' when the user
2555 # run "make install-strip".  However 'strip' might not be the right
2556 # tool to use in cross-compilation environments, therefore Automake
2557 # will honor the 'STRIP' environment variable to overrule this program.
2558 if test "$cross_compiling" != no; then
2559   if test -n "$ac_tool_prefix"; then
2560   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2561 set dummy ${ac_tool_prefix}strip; ac_word=$2
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2563 $as_echo_n "checking for $ac_word... " >&6; }
2564 if ${ac_cv_prog_STRIP+:} false; then :
2565   $as_echo_n "(cached) " >&6
2566 else
2567   if test -n "$STRIP"; then
2568   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2569 else
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 for as_dir in $PATH
2572 do
2573   IFS=$as_save_IFS
2574   test -z "$as_dir" && as_dir=.
2575     for ac_exec_ext in '' $ac_executable_extensions; do
2576   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2577     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2579     break 2
2580   fi
2581 done
2582   done
2583 IFS=$as_save_IFS
2584
2585 fi
2586 fi
2587 STRIP=$ac_cv_prog_STRIP
2588 if test -n "$STRIP"; then
2589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2590 $as_echo "$STRIP" >&6; }
2591 else
2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2594 fi
2595
2596
2597 fi
2598 if test -z "$ac_cv_prog_STRIP"; then
2599   ac_ct_STRIP=$STRIP
2600   # Extract the first word of "strip", so it can be a program name with args.
2601 set dummy strip; ac_word=$2
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2603 $as_echo_n "checking for $ac_word... " >&6; }
2604 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2605   $as_echo_n "(cached) " >&6
2606 else
2607   if test -n "$ac_ct_STRIP"; then
2608   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2609 else
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 for as_dir in $PATH
2612 do
2613   IFS=$as_save_IFS
2614   test -z "$as_dir" && as_dir=.
2615     for ac_exec_ext in '' $ac_executable_extensions; do
2616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2617     ac_cv_prog_ac_ct_STRIP="strip"
2618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2619     break 2
2620   fi
2621 done
2622   done
2623 IFS=$as_save_IFS
2624
2625 fi
2626 fi
2627 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2628 if test -n "$ac_ct_STRIP"; then
2629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2630 $as_echo "$ac_ct_STRIP" >&6; }
2631 else
2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633 $as_echo "no" >&6; }
2634 fi
2635
2636   if test "x$ac_ct_STRIP" = x; then
2637     STRIP=":"
2638   else
2639     case $cross_compiling:$ac_tool_warned in
2640 yes:)
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2643 ac_tool_warned=yes ;;
2644 esac
2645     STRIP=$ac_ct_STRIP
2646   fi
2647 else
2648   STRIP="$ac_cv_prog_STRIP"
2649 fi
2650
2651 fi
2652 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2653
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2655 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2656 if test -z "$MKDIR_P"; then
2657   if ${ac_cv_path_mkdir+:} false; then :
2658   $as_echo_n "(cached) " >&6
2659 else
2660   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2662 do
2663   IFS=$as_save_IFS
2664   test -z "$as_dir" && as_dir=.
2665     for ac_prog in mkdir gmkdir; do
2666          for ac_exec_ext in '' $ac_executable_extensions; do
2667            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2668            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2669              'mkdir (GNU coreutils) '* | \
2670              'mkdir (coreutils) '* | \
2671              'mkdir (fileutils) '4.1*)
2672                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2673                break 3;;
2674            esac
2675          done
2676        done
2677   done
2678 IFS=$as_save_IFS
2679
2680 fi
2681
2682   test -d ./--version && rmdir ./--version
2683   if test "${ac_cv_path_mkdir+set}" = set; then
2684     MKDIR_P="$ac_cv_path_mkdir -p"
2685   else
2686     # As a last resort, use the slow shell script.  Don't cache a
2687     # value for MKDIR_P within a source directory, because that will
2688     # break other packages using the cache if that directory is
2689     # removed, or if the value is a relative name.
2690     MKDIR_P="$ac_install_sh -d"
2691   fi
2692 fi
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2694 $as_echo "$MKDIR_P" >&6; }
2695
2696 for ac_prog in gawk mawk nawk awk
2697 do
2698   # Extract the first word of "$ac_prog", so it can be a program name with args.
2699 set dummy $ac_prog; ac_word=$2
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701 $as_echo_n "checking for $ac_word... " >&6; }
2702 if ${ac_cv_prog_AWK+:} false; then :
2703   $as_echo_n "(cached) " >&6
2704 else
2705   if test -n "$AWK"; then
2706   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2707 else
2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709 for as_dir in $PATH
2710 do
2711   IFS=$as_save_IFS
2712   test -z "$as_dir" && as_dir=.
2713     for ac_exec_ext in '' $ac_executable_extensions; do
2714   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2715     ac_cv_prog_AWK="$ac_prog"
2716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717     break 2
2718   fi
2719 done
2720   done
2721 IFS=$as_save_IFS
2722
2723 fi
2724 fi
2725 AWK=$ac_cv_prog_AWK
2726 if test -n "$AWK"; then
2727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2728 $as_echo "$AWK" >&6; }
2729 else
2730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731 $as_echo "no" >&6; }
2732 fi
2733
2734
2735   test -n "$AWK" && break
2736 done
2737
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2739 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2740 set x ${MAKE-make}
2741 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2742 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2743   $as_echo_n "(cached) " >&6
2744 else
2745   cat >conftest.make <<\_ACEOF
2746 SHELL = /bin/sh
2747 all:
2748         @echo '@@@%%%=$(MAKE)=@@@%%%'
2749 _ACEOF
2750 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2751 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2752   *@@@%%%=?*=@@@%%%*)
2753     eval ac_cv_prog_make_${ac_make}_set=yes;;
2754   *)
2755     eval ac_cv_prog_make_${ac_make}_set=no;;
2756 esac
2757 rm -f conftest.make
2758 fi
2759 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2761 $as_echo "yes" >&6; }
2762   SET_MAKE=
2763 else
2764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2766   SET_MAKE="MAKE=${MAKE-make}"
2767 fi
2768
2769 rm -rf .tst 2>/dev/null
2770 mkdir .tst 2>/dev/null
2771 if test -d .tst; then
2772   am__leading_dot=.
2773 else
2774   am__leading_dot=_
2775 fi
2776 rmdir .tst 2>/dev/null
2777
2778 # Check whether --enable-silent-rules was given.
2779 if test "${enable_silent_rules+set}" = set; then :
2780   enableval=$enable_silent_rules;
2781 fi
2782
2783 case $enable_silent_rules in # (((
2784   yes) AM_DEFAULT_VERBOSITY=0;;
2785    no) AM_DEFAULT_VERBOSITY=1;;
2786     *) AM_DEFAULT_VERBOSITY=1;;
2787 esac
2788 am_make=${MAKE-make}
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2790 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2791 if ${am_cv_make_support_nested_variables+:} false; then :
2792   $as_echo_n "(cached) " >&6
2793 else
2794   if $as_echo 'TRUE=$(BAR$(V))
2795 BAR0=false
2796 BAR1=true
2797 V=1
2798 am__doit:
2799         @$(TRUE)
2800 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2801   am_cv_make_support_nested_variables=yes
2802 else
2803   am_cv_make_support_nested_variables=no
2804 fi
2805 fi
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2807 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2808 if test $am_cv_make_support_nested_variables = yes; then
2809     AM_V='$(V)'
2810   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2811 else
2812   AM_V=$AM_DEFAULT_VERBOSITY
2813   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2814 fi
2815 AM_BACKSLASH='\'
2816
2817 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2818   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2819   # is not polluted with repeated "-I."
2820   am__isrc=' -I$(srcdir)'
2821   # test to see if srcdir already configured
2822   if test -f $srcdir/config.status; then
2823     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2824   fi
2825 fi
2826
2827 # test whether we have cygpath
2828 if test -z "$CYGPATH_W"; then
2829   if (cygpath --version) >/dev/null 2>/dev/null; then
2830     CYGPATH_W='cygpath -w'
2831   else
2832     CYGPATH_W=echo
2833   fi
2834 fi
2835
2836
2837 # Define the identity of the package.
2838  PACKAGE='libsigc++'
2839  VERSION='2.99.2'
2840
2841
2842 # Some tools Automake needs.
2843
2844 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2845
2846
2847 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2848
2849
2850 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2851
2852
2853 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2854
2855
2856 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2857
2858 # For better backward compatibility.  To be removed once Automake 1.9.x
2859 # dies out for good.  For more background, see:
2860 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2861 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2862 mkdir_p='$(MKDIR_P)'
2863
2864 # We need awk for the "check" target (and possibly the TAP driver).  The
2865 # system "awk" is bad on some platforms.
2866 # Always define AMTAR for backward compatibility.  Yes, it's still used
2867 # in the wild :-(  We should find a proper way to deprecate it ...
2868 AMTAR='$${TAR-tar}'
2869
2870
2871 # We'll loop over all known methods to create a tar archive until one works.
2872 _am_tools='gnutar plaintar pax cpio none'
2873
2874 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
2875       # There is notably a 21 bits limit for the UID and the GID.  In fact,
2876       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2877       # and bug#13588).
2878       am_max_uid=2097151 # 2^21 - 1
2879       am_max_gid=$am_max_uid
2880       # The $UID and $GID variables are not portable, so we need to resort
2881       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
2882       # below are definitely unexpected, so allow the users to see them
2883       # (that is, avoid stderr redirection).
2884       am_uid=`id -u || echo unknown`
2885       am_gid=`id -g || echo unknown`
2886       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2887 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2888       if test $am_uid -le $am_max_uid; then
2889          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2890 $as_echo "yes" >&6; }
2891       else
2892          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2893 $as_echo "no" >&6; }
2894          _am_tools=none
2895       fi
2896       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2897 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2898       if test $am_gid -le $am_max_gid; then
2899          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2900 $as_echo "yes" >&6; }
2901       else
2902         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 $as_echo "no" >&6; }
2904         _am_tools=none
2905       fi
2906
2907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2908 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2909
2910   # Go ahead even if we have the value already cached.  We do so because we
2911   # need to set the values for the 'am__tar' and 'am__untar' variables.
2912   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2913
2914   for _am_tool in $_am_tools; do
2915     case $_am_tool in
2916     gnutar)
2917       for _am_tar in tar gnutar gtar; do
2918         { echo "$as_me:$LINENO: $_am_tar --version" >&5
2919    ($_am_tar --version) >&5 2>&5
2920    ac_status=$?
2921    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922    (exit $ac_status); } && break
2923       done
2924       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2925       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2926       am__untar="$_am_tar -xf -"
2927       ;;
2928     plaintar)
2929       # Must skip GNU tar: if it does not support --format= it doesn't create
2930       # ustar tarball either.
2931       (tar --version) >/dev/null 2>&1 && continue
2932       am__tar='tar chf - "$$tardir"'
2933       am__tar_='tar chf - "$tardir"'
2934       am__untar='tar xf -'
2935       ;;
2936     pax)
2937       am__tar='pax -L -x ustar -w "$$tardir"'
2938       am__tar_='pax -L -x ustar -w "$tardir"'
2939       am__untar='pax -r'
2940       ;;
2941     cpio)
2942       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2943       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2944       am__untar='cpio -i -H ustar -d'
2945       ;;
2946     none)
2947       am__tar=false
2948       am__tar_=false
2949       am__untar=false
2950       ;;
2951     esac
2952
2953     # If the value was cached, stop now.  We just wanted to have am__tar
2954     # and am__untar set.
2955     test -n "${am_cv_prog_tar_ustar}" && break
2956
2957     # tar/untar a dummy directory, and stop if the command works.
2958     rm -rf conftest.dir
2959     mkdir conftest.dir
2960     echo GrepMe > conftest.dir/file
2961     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2962    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2963    ac_status=$?
2964    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965    (exit $ac_status); }
2966     rm -rf conftest.dir
2967     if test -s conftest.tar; then
2968       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2969    ($am__untar <conftest.tar) >&5 2>&5
2970    ac_status=$?
2971    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972    (exit $ac_status); }
2973       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2974    (cat conftest.dir/file) >&5 2>&5
2975    ac_status=$?
2976    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977    (exit $ac_status); }
2978       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2979     fi
2980   done
2981   rm -rf conftest.dir
2982
2983   if ${am_cv_prog_tar_ustar+:} false; then :
2984   $as_echo_n "(cached) " >&6
2985 else
2986   am_cv_prog_tar_ustar=$_am_tool
2987 fi
2988
2989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2990 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2991
2992
2993
2994
2995
2996
2997 # POSIX will say in a future version that running "rm -f" with no argument
2998 # is OK; and we want to be able to make that assumption in our Makefile
2999 # recipes.  So use an aggressive probe to check that the usage we want is
3000 # actually supported "in the wild" to an acceptable degree.
3001 # See automake bug#10828.
3002 # To make any issue more visible, cause the running configure to be aborted
3003 # by default if the 'rm' program in use doesn't match our expectations; the
3004 # user can still override this though.
3005 if rm -f && rm -fr && rm -rf; then : OK; else
3006   cat >&2 <<'END'
3007 Oops!
3008
3009 Your 'rm' program seems unable to run without file operands specified
3010 on the command line, even when the '-f' option is present.  This is contrary
3011 to the behaviour of most rm programs out there, and not conforming with
3012 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3013
3014 Please tell bug-automake@gnu.org about your system, including the value
3015 of your $PATH and any error possibly output before this message.  This
3016 can help us improve future automake versions.
3017
3018 END
3019   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3020     echo 'Configuration will proceed anyway, since you have set the' >&2
3021     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3022     echo >&2
3023   else
3024     cat >&2 <<'END'
3025 Aborting the configuration process, to ensure you take notice of the issue.
3026
3027 You can download and install GNU coreutils to get an 'rm' implementation
3028 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3029
3030 If you want to complete the configuration process using your problematic
3031 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3032 to "yes", and re-run configure.
3033
3034 END
3035     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3036   fi
3037 fi
3038
3039 # Check whether --enable-silent-rules was given.
3040 if test "${enable_silent_rules+set}" = set; then :
3041   enableval=$enable_silent_rules;
3042 fi
3043
3044 case $enable_silent_rules in # (((
3045   yes) AM_DEFAULT_VERBOSITY=0;;
3046    no) AM_DEFAULT_VERBOSITY=1;;
3047     *) AM_DEFAULT_VERBOSITY=1;;
3048 esac
3049 am_make=${MAKE-make}
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3051 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3052 if ${am_cv_make_support_nested_variables+:} false; then :
3053   $as_echo_n "(cached) " >&6
3054 else
3055   if $as_echo 'TRUE=$(BAR$(V))
3056 BAR0=false
3057 BAR1=true
3058 V=1
3059 am__doit:
3060         @$(TRUE)
3061 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3062   am_cv_make_support_nested_variables=yes
3063 else
3064   am_cv_make_support_nested_variables=no
3065 fi
3066 fi
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3068 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3069 if test $am_cv_make_support_nested_variables = yes; then
3070     AM_V='$(V)'
3071   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3072 else
3073   AM_V=$AM_DEFAULT_VERBOSITY
3074   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3075 fi
3076 AM_BACKSLASH='\'
3077
3078
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3080 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3081     # Check whether --enable-maintainer-mode was given.
3082 if test "${enable_maintainer_mode+set}" = set; then :
3083   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3084 else
3085   USE_MAINTAINER_MODE=no
3086 fi
3087
3088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3089 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3090    if test $USE_MAINTAINER_MODE = yes; then
3091   MAINTAINER_MODE_TRUE=
3092   MAINTAINER_MODE_FALSE='#'
3093 else
3094   MAINTAINER_MODE_TRUE='#'
3095   MAINTAINER_MODE_FALSE=
3096 fi
3097
3098   MAINT=$MAINTAINER_MODE_TRUE
3099
3100
3101
3102
3103
3104
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
3106 $as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
3107 cat >conftest.make <<'_MMEOF'
3108 override reverse = $(2)$(subst ,, )$(1)
3109 override result := $(word 2,$(call reverse,success,failure))
3110 all: ; test '$(result)' = success
3111 .PHONY: all
3112 _MMEOF
3113 if ${MAKE-make} -f conftest.make >&5 2>&5; then :
3114   mm_gnu_make=yes
3115 else
3116   mm_gnu_make=no
3117 fi
3118 rm -f conftest.make
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
3120 $as_echo "$mm_gnu_make" >&6; }
3121 if test "x$mm_gnu_make" != xyes; then :
3122   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3124 as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
3125 See \`config.log' for more details" "$LINENO" 5; }
3126 fi
3127
3128 SIGCXX_MODULE_NAME='sigc++-3.0'
3129
3130 SIGCXX_VERSION='2.99.2'
3131
3132 SIGCXX_API_VERSION='3.0'
3133
3134 SIGCXX_MAJOR_VERSION=2
3135
3136
3137 $as_echo "#define SIGCXX_MAJOR_VERSION 2" >>confdefs.h
3138
3139 SIGCXX_MINOR_VERSION=99
3140
3141
3142 $as_echo "#define SIGCXX_MINOR_VERSION 99" >>confdefs.h
3143
3144 SIGCXX_MICRO_VERSION=2
3145
3146
3147 $as_echo "#define SIGCXX_MICRO_VERSION 2" >>confdefs.h
3148
3149
3150 MMDOCTOOLDIR='${top_srcdir}/docs'
3151  if test 'xdocs' != 'x'; then
3152   DIST_DOCTOOLS_TRUE=
3153   DIST_DOCTOOLS_FALSE='#'
3154 else
3155   DIST_DOCTOOLS_TRUE='#'
3156   DIST_DOCTOOLS_FALSE=
3157 fi
3158
3159
3160 ac_ext=cpp
3161 ac_cpp='$CXXCPP $CPPFLAGS'
3162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3165 if test -z "$CXX"; then
3166   if test -n "$CCC"; then
3167     CXX=$CCC
3168   else
3169     if test -n "$ac_tool_prefix"; then
3170   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3171   do
3172     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3173 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if ${ac_cv_prog_CXX+:} false; then :
3177   $as_echo_n "(cached) " >&6
3178 else
3179   if test -n "$CXX"; then
3180   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3181 else
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 for as_dir in $PATH
3184 do
3185   IFS=$as_save_IFS
3186   test -z "$as_dir" && as_dir=.
3187     for ac_exec_ext in '' $ac_executable_extensions; do
3188   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3189     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191     break 2
3192   fi
3193 done
3194   done
3195 IFS=$as_save_IFS
3196
3197 fi
3198 fi
3199 CXX=$ac_cv_prog_CXX
3200 if test -n "$CXX"; then
3201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3202 $as_echo "$CXX" >&6; }
3203 else
3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3206 fi
3207
3208
3209     test -n "$CXX" && break
3210   done
3211 fi
3212 if test -z "$CXX"; then
3213   ac_ct_CXX=$CXX
3214   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3215 do
3216   # Extract the first word of "$ac_prog", so it can be a program name with args.
3217 set dummy $ac_prog; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3221   $as_echo_n "(cached) " >&6
3222 else
3223   if test -n "$ac_ct_CXX"; then
3224   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3225 else
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 for as_dir in $PATH
3228 do
3229   IFS=$as_save_IFS
3230   test -z "$as_dir" && as_dir=.
3231     for ac_exec_ext in '' $ac_executable_extensions; do
3232   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3233     ac_cv_prog_ac_ct_CXX="$ac_prog"
3234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235     break 2
3236   fi
3237 done
3238   done
3239 IFS=$as_save_IFS
3240
3241 fi
3242 fi
3243 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3244 if test -n "$ac_ct_CXX"; then
3245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3246 $as_echo "$ac_ct_CXX" >&6; }
3247 else
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 fi
3251
3252
3253   test -n "$ac_ct_CXX" && break
3254 done
3255
3256   if test "x$ac_ct_CXX" = x; then
3257     CXX="g++"
3258   else
3259     case $cross_compiling:$ac_tool_warned in
3260 yes:)
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3263 ac_tool_warned=yes ;;
3264 esac
3265     CXX=$ac_ct_CXX
3266   fi
3267 fi
3268
3269   fi
3270 fi
3271 # Provide some information about the compiler.
3272 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3273 set X $ac_compile
3274 ac_compiler=$2
3275 for ac_option in --version -v -V -qversion; do
3276   { { ac_try="$ac_compiler $ac_option >&5"
3277 case "(($ac_try" in
3278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279   *) ac_try_echo=$ac_try;;
3280 esac
3281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282 $as_echo "$ac_try_echo"; } >&5
3283   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3284   ac_status=$?
3285   if test -s conftest.err; then
3286     sed '10a\
3287 ... rest of stderr output deleted ...
3288          10q' conftest.err >conftest.er1
3289     cat conftest.er1 >&5
3290   fi
3291   rm -f conftest.er1 conftest.err
3292   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3293   test $ac_status = 0; }
3294 done
3295
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h.  */
3298
3299 int
3300 main ()
3301 {
3302
3303   ;
3304   return 0;
3305 }
3306 _ACEOF
3307 ac_clean_files_save=$ac_clean_files
3308 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3309 # Try to create an executable without -o first, disregard a.out.
3310 # It will help us diagnose broken compilers, and finding out an intuition
3311 # of exeext.
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3313 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3314 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3315
3316 # The possible output files:
3317 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3318
3319 ac_rmfiles=
3320 for ac_file in $ac_files
3321 do
3322   case $ac_file in
3323     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3324     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3325   esac
3326 done
3327 rm -f $ac_rmfiles
3328
3329 if { { ac_try="$ac_link_default"
3330 case "(($ac_try" in
3331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332   *) ac_try_echo=$ac_try;;
3333 esac
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336   (eval "$ac_link_default") 2>&5
3337   ac_status=$?
3338   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339   test $ac_status = 0; }; then :
3340   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3341 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3342 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3343 # so that the user can short-circuit this test for compilers unknown to
3344 # Autoconf.
3345 for ac_file in $ac_files ''
3346 do
3347   test -f "$ac_file" || continue
3348   case $ac_file in
3349     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3350         ;;
3351     [ab].out )
3352         # We found the default executable, but exeext='' is most
3353         # certainly right.
3354         break;;
3355     *.* )
3356         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3357         then :; else
3358            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3359         fi
3360         # We set ac_cv_exeext here because the later test for it is not
3361         # safe: cross compilers may not add the suffix if given an `-o'
3362         # argument, so we may need to know it at that point already.
3363         # Even if this section looks crufty: it has the advantage of
3364         # actually working.
3365         break;;
3366     * )
3367         break;;
3368   esac
3369 done
3370 test "$ac_cv_exeext" = no && ac_cv_exeext=
3371
3372 else
3373   ac_file=''
3374 fi
3375 if test -z "$ac_file"; then :
3376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3378 $as_echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3380
3381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3383 as_fn_error 77 "C++ compiler cannot create executables
3384 See \`config.log' for more details" "$LINENO" 5; }
3385 else
3386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3387 $as_echo "yes" >&6; }
3388 fi
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3390 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3392 $as_echo "$ac_file" >&6; }
3393 ac_exeext=$ac_cv_exeext
3394
3395 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3396 ac_clean_files=$ac_clean_files_save
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3398 $as_echo_n "checking for suffix of executables... " >&6; }
3399 if { { ac_try="$ac_link"
3400 case "(($ac_try" in
3401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402   *) ac_try_echo=$ac_try;;
3403 esac
3404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3405 $as_echo "$ac_try_echo"; } >&5
3406   (eval "$ac_link") 2>&5
3407   ac_status=$?
3408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3409   test $ac_status = 0; }; then :
3410   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3411 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3412 # work properly (i.e., refer to `conftest.exe'), while it won't with
3413 # `rm'.
3414 for ac_file in conftest.exe conftest conftest.*; do
3415   test -f "$ac_file" || continue
3416   case $ac_file in
3417     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3418     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3419           break;;
3420     * ) break;;
3421   esac
3422 done
3423 else
3424   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3426 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3427 See \`config.log' for more details" "$LINENO" 5; }
3428 fi
3429 rm -f conftest conftest$ac_cv_exeext
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3431 $as_echo "$ac_cv_exeext" >&6; }
3432
3433 rm -f conftest.$ac_ext
3434 EXEEXT=$ac_cv_exeext
3435 ac_exeext=$EXEEXT
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h.  */
3438 #include <stdio.h>
3439 int
3440 main ()
3441 {
3442 FILE *f = fopen ("conftest.out", "w");
3443  return ferror (f) || fclose (f) != 0;
3444
3445   ;
3446   return 0;
3447 }
3448 _ACEOF
3449 ac_clean_files="$ac_clean_files conftest.out"
3450 # Check that the compiler produces executables we can run.  If not, either
3451 # the compiler is broken, or we cross compile.
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3453 $as_echo_n "checking whether we are cross compiling... " >&6; }
3454 if test "$cross_compiling" != yes; then
3455   { { ac_try="$ac_link"
3456 case "(($ac_try" in
3457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458   *) ac_try_echo=$ac_try;;
3459 esac
3460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461 $as_echo "$ac_try_echo"; } >&5
3462   (eval "$ac_link") 2>&5
3463   ac_status=$?
3464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3465   test $ac_status = 0; }
3466   if { ac_try='./conftest$ac_cv_exeext'
3467   { { case "(($ac_try" in
3468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469   *) ac_try_echo=$ac_try;;
3470 esac
3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3472 $as_echo "$ac_try_echo"; } >&5
3473   (eval "$ac_try") 2>&5
3474   ac_status=$?
3475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476   test $ac_status = 0; }; }; then
3477     cross_compiling=no
3478   else
3479     if test "$cross_compiling" = maybe; then
3480         cross_compiling=yes
3481     else
3482         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3484 as_fn_error $? "cannot run C++ compiled programs.
3485 If you meant to cross compile, use \`--host'.
3486 See \`config.log' for more details" "$LINENO" 5; }
3487     fi
3488   fi
3489 fi
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3491 $as_echo "$cross_compiling" >&6; }
3492
3493 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3494 ac_clean_files=$ac_clean_files_save
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3496 $as_echo_n "checking for suffix of object files... " >&6; }
3497 if ${ac_cv_objext+:} false; then :
3498   $as_echo_n "(cached) " >&6
3499 else
3500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h.  */
3502
3503 int
3504 main ()
3505 {
3506
3507   ;
3508   return 0;
3509 }
3510 _ACEOF
3511 rm -f conftest.o conftest.obj
3512 if { { ac_try="$ac_compile"
3513 case "(($ac_try" in
3514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515   *) ac_try_echo=$ac_try;;
3516 esac
3517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3518 $as_echo "$ac_try_echo"; } >&5
3519   (eval "$ac_compile") 2>&5
3520   ac_status=$?
3521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3522   test $ac_status = 0; }; then :
3523   for ac_file in conftest.o conftest.obj conftest.*; do
3524   test -f "$ac_file" || continue;
3525   case $ac_file in
3526     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3527     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3528        break;;
3529   esac
3530 done
3531 else
3532   $as_echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.$ac_ext >&5
3534
3535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error $? "cannot compute suffix of object files: cannot compile
3538 See \`config.log' for more details" "$LINENO" 5; }
3539 fi
3540 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3541 fi
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3543 $as_echo "$ac_cv_objext" >&6; }
3544 OBJEXT=$ac_cv_objext
3545 ac_objext=$OBJEXT
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3547 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3548 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3549   $as_echo_n "(cached) " >&6
3550 else
3551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h.  */
3553
3554 int
3555 main ()
3556 {
3557 #ifndef __GNUC__
3558        choke me
3559 #endif
3560
3561   ;
3562   return 0;
3563 }
3564 _ACEOF
3565 if ac_fn_cxx_try_compile "$LINENO"; then :
3566   ac_compiler_gnu=yes
3567 else
3568   ac_compiler_gnu=no
3569 fi
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3572
3573 fi
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3575 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3576 if test $ac_compiler_gnu = yes; then
3577   GXX=yes
3578 else
3579   GXX=
3580 fi
3581 ac_test_CXXFLAGS=${CXXFLAGS+set}
3582 ac_save_CXXFLAGS=$CXXFLAGS
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3584 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3585 if ${ac_cv_prog_cxx_g+:} false; then :
3586   $as_echo_n "(cached) " >&6
3587 else
3588   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3589    ac_cxx_werror_flag=yes
3590    ac_cv_prog_cxx_g=no
3591    CXXFLAGS="-g"
3592    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h.  */
3594
3595 int
3596 main ()
3597 {
3598
3599   ;
3600   return 0;
3601 }
3602 _ACEOF
3603 if ac_fn_cxx_try_compile "$LINENO"; then :
3604   ac_cv_prog_cxx_g=yes
3605 else
3606   CXXFLAGS=""
3607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h.  */
3609
3610 int
3611 main ()
3612 {
3613
3614   ;
3615   return 0;
3616 }
3617 _ACEOF
3618 if ac_fn_cxx_try_compile "$LINENO"; then :
3619
3620 else
3621   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3622          CXXFLAGS="-g"
3623          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h.  */
3625
3626 int
3627 main ()
3628 {
3629
3630   ;
3631   return 0;
3632 }
3633 _ACEOF
3634 if ac_fn_cxx_try_compile "$LINENO"; then :
3635   ac_cv_prog_cxx_g=yes
3636 fi
3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3638 fi
3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3640 fi
3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3643 fi
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3645 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3646 if test "$ac_test_CXXFLAGS" = set; then
3647   CXXFLAGS=$ac_save_CXXFLAGS
3648 elif test $ac_cv_prog_cxx_g = yes; then
3649   if test "$GXX" = yes; then
3650     CXXFLAGS="-g -O2"
3651   else
3652     CXXFLAGS="-g"
3653   fi
3654 else
3655   if test "$GXX" = yes; then
3656     CXXFLAGS="-O2"
3657   else
3658     CXXFLAGS=
3659   fi
3660 fi
3661 ac_ext=c
3662 ac_cpp='$CPP $CPPFLAGS'
3663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3666 DEPDIR="${am__leading_dot}deps"
3667
3668 ac_config_commands="$ac_config_commands depfiles"
3669
3670
3671 am_make=${MAKE-make}
3672 cat > confinc << 'END'
3673 am__doit:
3674         @echo this is the am__doit target
3675 .PHONY: am__doit
3676 END
3677 # If we don't find an include directive, just comment out the code.
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3679 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3680 am__include="#"
3681 am__quote=
3682 _am_result=none
3683 # First try GNU make style include.
3684 echo "include confinc" > confmf
3685 # Ignore all kinds of additional output from 'make'.
3686 case `$am_make -s -f confmf 2> /dev/null` in #(
3687 *the\ am__doit\ target*)
3688   am__include=include
3689   am__quote=
3690   _am_result=GNU
3691   ;;
3692 esac
3693 # Now try BSD make style include.
3694 if test "$am__include" = "#"; then
3695    echo '.include "confinc"' > confmf
3696    case `$am_make -s -f confmf 2> /dev/null` in #(
3697    *the\ am__doit\ target*)
3698      am__include=.include
3699      am__quote="\""
3700      _am_result=BSD
3701      ;;
3702    esac
3703 fi
3704
3705
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3707 $as_echo "$_am_result" >&6; }
3708 rm -f confinc confmf
3709
3710 # Check whether --enable-dependency-tracking was given.
3711 if test "${enable_dependency_tracking+set}" = set; then :
3712   enableval=$enable_dependency_tracking;
3713 fi
3714
3715 if test "x$enable_dependency_tracking" != xno; then
3716   am_depcomp="$ac_aux_dir/depcomp"
3717   AMDEPBACKSLASH='\'
3718   am__nodep='_no'
3719 fi
3720  if test "x$enable_dependency_tracking" != xno; then
3721   AMDEP_TRUE=
3722   AMDEP_FALSE='#'
3723 else
3724   AMDEP_TRUE='#'
3725   AMDEP_FALSE=
3726 fi
3727
3728
3729
3730 depcc="$CXX"  am_compiler_list=
3731
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3733 $as_echo_n "checking dependency style of $depcc... " >&6; }
3734 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3735   $as_echo_n "(cached) " >&6
3736 else
3737   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3738   # We make a subdir and do the tests there.  Otherwise we can end up
3739   # making bogus files that we don't know about and never remove.  For
3740   # instance it was reported that on HP-UX the gcc test will end up
3741   # making a dummy file named 'D' -- because '-MD' means "put the output
3742   # in D".
3743   rm -rf conftest.dir
3744   mkdir conftest.dir
3745   # Copy depcomp to subdir because otherwise we won't find it if we're
3746   # using a relative directory.
3747   cp "$am_depcomp" conftest.dir
3748   cd conftest.dir
3749   # We will build objects and dependencies in a subdirectory because
3750   # it helps to detect inapplicable dependency modes.  For instance
3751   # both Tru64's cc and ICC support -MD to output dependencies as a
3752   # side effect of compilation, but ICC will put the dependencies in
3753   # the current directory while Tru64 will put them in the object
3754   # directory.
3755   mkdir sub
3756
3757   am_cv_CXX_dependencies_compiler_type=none
3758   if test "$am_compiler_list" = ""; then
3759      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3760   fi
3761   am__universal=false
3762   case " $depcc " in #(
3763      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3764      esac
3765
3766   for depmode in $am_compiler_list; do
3767     # Setup a source with many dependencies, because some compilers
3768     # like to wrap large dependency lists on column 80 (with \), and
3769     # we should not choose a depcomp mode which is confused by this.
3770     #
3771     # We need to recreate these files for each test, as the compiler may
3772     # overwrite some of them when testing with obscure command lines.
3773     # This happens at least with the AIX C compiler.
3774     : > sub/conftest.c
3775     for i in 1 2 3 4 5 6; do
3776       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3777       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3778       # Solaris 10 /bin/sh.
3779       echo '/* dummy */' > sub/conftst$i.h
3780     done
3781     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3782
3783     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3784     # mode.  It turns out that the SunPro C++ compiler does not properly
3785     # handle '-M -o', and we need to detect this.  Also, some Intel
3786     # versions had trouble with output in subdirs.
3787     am__obj=sub/conftest.${OBJEXT-o}
3788     am__minus_obj="-o $am__obj"
3789     case $depmode in
3790     gcc)
3791       # This depmode causes a compiler race in universal mode.
3792       test "$am__universal" = false || continue
3793       ;;
3794     nosideeffect)
3795       # After this tag, mechanisms are not by side-effect, so they'll
3796       # only be used when explicitly requested.
3797       if test "x$enable_dependency_tracking" = xyes; then
3798         continue
3799       else
3800         break
3801       fi
3802       ;;
3803     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3804       # This compiler won't grok '-c -o', but also, the minuso test has
3805       # not run yet.  These depmodes are late enough in the game, and
3806       # so weak that their functioning should not be impacted.
3807       am__obj=conftest.${OBJEXT-o}
3808       am__minus_obj=
3809       ;;
3810     none) break ;;
3811     esac
3812     if depmode=$depmode \
3813        source=sub/conftest.c object=$am__obj \
3814        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3815        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3816          >/dev/null 2>conftest.err &&
3817        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3818        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3819        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3820        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3821       # icc doesn't choke on unknown options, it will just issue warnings
3822       # or remarks (even with -Werror).  So we grep stderr for any message
3823       # that says an option was ignored or not supported.
3824       # When given -MP, icc 7.0 and 7.1 complain thusly:
3825       #   icc: Command line warning: ignoring option '-M'; no argument required
3826       # The diagnosis changed in icc 8.0:
3827       #   icc: Command line remark: option '-MP' not supported
3828       if (grep 'ignoring option' conftest.err ||
3829           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3830         am_cv_CXX_dependencies_compiler_type=$depmode
3831         break
3832       fi
3833     fi
3834   done
3835
3836   cd ..
3837   rm -rf conftest.dir
3838 else
3839   am_cv_CXX_dependencies_compiler_type=none
3840 fi
3841
3842 fi
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3844 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3845 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3846
3847  if
3848   test "x$enable_dependency_tracking" != xno \
3849   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3850   am__fastdepCXX_TRUE=
3851   am__fastdepCXX_FALSE='#'
3852 else
3853   am__fastdepCXX_TRUE='#'
3854   am__fastdepCXX_FALSE=
3855 fi
3856
3857
3858
3859       ax_cxx_compile_cxx14_required=true
3860   ac_ext=cpp
3861 ac_cpp='$CXXCPP $CPPFLAGS'
3862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3865   ac_success=no
3866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features by default" >&5
3867 $as_echo_n "checking whether $CXX supports C++14 features by default... " >&6; }
3868 if ${ax_cv_cxx_compile_cxx14+:} false; then :
3869   $as_echo_n "(cached) " >&6
3870 else
3871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h.  */
3873
3874
3875 // If the compiler admits that it is not ready for C++11, why torture it?
3876 // Hopefully, this will speed up the test.
3877
3878 #ifndef __cplusplus
3879
3880 #error "This is not a C++ compiler"
3881
3882 #elif __cplusplus < 201103L
3883
3884 #error "This is not a C++11 compiler"
3885
3886 #else
3887
3888 namespace cxx11
3889 {
3890
3891   namespace test_static_assert
3892   {
3893
3894     template <typename T>
3895     struct check
3896     {
3897       static_assert(sizeof(int) <= sizeof(T), "not big enough");
3898     };
3899
3900   }
3901
3902   namespace test_final_override
3903   {
3904
3905     struct Base
3906     {
3907       virtual void f() {}
3908     };
3909
3910     struct Derived : public Base
3911     {
3912       virtual void f() override {}
3913     };
3914
3915   }
3916
3917   namespace test_double_right_angle_brackets
3918   {
3919
3920     template < typename T >
3921     struct check {};
3922
3923     typedef check<void> single_type;
3924     typedef check<check<void>> double_type;
3925     typedef check<check<check<void>>> triple_type;
3926     typedef check<check<check<check<void>>>> quadruple_type;
3927
3928   }
3929
3930   namespace test_decltype
3931   {
3932
3933     int
3934     f()
3935     {
3936       int a = 1;
3937       decltype(a) b = 2;
3938       return a + b;
3939     }
3940
3941   }
3942
3943   namespace test_type_deduction
3944   {
3945
3946     template < typename T1, typename T2 >
3947     struct is_same
3948     {
3949       static const bool value = false;
3950     };
3951
3952     template < typename T >
3953     struct is_same<T, T>
3954     {
3955       static const bool value = true;
3956     };
3957
3958     template < typename T1, typename T2 >
3959     auto
3960     add(T1 a1, T2 a2) -> decltype(a1 + a2)
3961     {
3962       return a1 + a2;
3963     }
3964
3965     int
3966     test(const int c, volatile int v)
3967     {
3968       static_assert(is_same<int, decltype(0)>::value == true, "");
3969       static_assert(is_same<int, decltype(c)>::value == false, "");
3970       static_assert(is_same<int, decltype(v)>::value == false, "");
3971       auto ac = c;
3972       auto av = v;
3973       auto sumi = ac + av + 'x';
3974       auto sumf = ac + av + 1.0;
3975       static_assert(is_same<int, decltype(ac)>::value == true, "");
3976       static_assert(is_same<int, decltype(av)>::value == true, "");
3977       static_assert(is_same<int, decltype(sumi)>::value == true, "");
3978       static_assert(is_same<int, decltype(sumf)>::value == false, "");
3979       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
3980       return (sumf > 0.0) ? sumi : add(c, v);
3981     }
3982
3983   }
3984
3985   namespace test_noexcept
3986   {
3987
3988     int f() { return 0; }
3989     int g() noexcept { return 0; }
3990
3991     static_assert(noexcept(f()) == false, "");
3992     static_assert(noexcept(g()) == true, "");
3993
3994   }
3995
3996   namespace test_constexpr
3997   {
3998
3999     template < typename CharT >
4000     unsigned long constexpr
4001     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
4002     {
4003       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
4004     }
4005
4006     template < typename CharT >
4007     unsigned long constexpr
4008     strlen_c(const CharT *const s) noexcept
4009     {
4010       return strlen_c_r(s, 0UL);
4011     }
4012
4013     static_assert(strlen_c("") == 0UL, "");
4014     static_assert(strlen_c("1") == 1UL, "");
4015     static_assert(strlen_c("example") == 7UL, "");
4016     static_assert(strlen_c("another\0example") == 7UL, "");
4017
4018   }
4019
4020   namespace test_rvalue_references
4021   {
4022
4023     template < int N >
4024     struct answer
4025     {
4026       static constexpr int value = N;
4027     };
4028
4029     answer<1> f(int&)       { return answer<1>(); }
4030     answer<2> f(const int&) { return answer<2>(); }
4031     answer<3> f(int&&)      { return answer<3>(); }
4032
4033     void
4034     test()
4035     {
4036       int i = 0;
4037       const int c = 0;
4038       static_assert(decltype(f(i))::value == 1, "");
4039       static_assert(decltype(f(c))::value == 2, "");
4040       static_assert(decltype(f(0))::value == 3, "");
4041     }
4042
4043   }
4044
4045   namespace test_uniform_initialization
4046   {
4047
4048     struct test
4049     {
4050       static const int zero {};
4051       static const int one {1};
4052     };
4053
4054     static_assert(test::zero == 0, "");
4055     static_assert(test::one == 1, "");
4056
4057   }
4058
4059   namespace test_lambdas
4060   {
4061
4062     void
4063     test1()
4064     {
4065       auto lambda1 = [](){};
4066       auto lambda2 = lambda1;
4067       lambda1();
4068       lambda2();
4069     }
4070
4071     int
4072     test2()
4073     {
4074       auto a = [](int i, int j){ return i + j; }(1, 2);
4075       auto b = []() -> int { return '0'; }();
4076       auto c = [=](){ return a + b; }();
4077       auto d = [&](){ return c; }();
4078       auto e = [a, &b](int x) mutable {
4079         const auto identity = [](int y){ return y; };
4080         for (auto i = 0; i < a; ++i)
4081           a += b--;
4082         return x + identity(a + b);
4083       }(0);
4084       return a + b + c + d + e;
4085     }
4086
4087     int
4088     test3()
4089     {
4090       const auto nullary = [](){ return 0; };
4091       const auto unary = [](int x){ return x; };
4092       using nullary_t = decltype(nullary);
4093       using unary_t = decltype(unary);
4094       const auto higher1st = [](nullary_t f){ return f(); };
4095       const auto higher2nd = [unary](nullary_t f1){
4096         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
4097       };
4098       return higher1st(nullary) + higher2nd(nullary)(unary);
4099     }
4100
4101   }
4102
4103   namespace test_variadic_templates
4104   {
4105
4106     template <int...>
4107     struct sum;
4108
4109     template <int N0, int... N1toN>
4110     struct sum<N0, N1toN...>
4111     {
4112       static constexpr auto value = N0 + sum<N1toN...>::value;
4113     };
4114
4115     template <>
4116     struct sum<>
4117     {
4118       static constexpr auto value = 0;
4119     };
4120
4121     static_assert(sum<>::value == 0, "");
4122     static_assert(sum<1>::value == 1, "");
4123     static_assert(sum<23>::value == 23, "");
4124     static_assert(sum<1, 2>::value == 3, "");
4125     static_assert(sum<5, 5, 11>::value == 21, "");
4126     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
4127
4128   }
4129
4130   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
4131   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
4132   // because of this.
4133   namespace test_template_alias_sfinae
4134   {
4135
4136     struct foo {};
4137
4138     template<typename T>
4139     using member = typename T::member_type;
4140
4141     template<typename T>
4142     void func(...) {}
4143
4144     template<typename T>
4145     void func(member<T>*) {}
4146
4147     void test();
4148
4149     void test() { func<foo>(0); }
4150
4151   }
4152
4153 }  // namespace cxx11
4154
4155 #endif  // __cplusplus >= 201103L
4156
4157
4158
4159
4160 // If the compiler admits that it is not ready for C++14, why torture it?
4161 // Hopefully, this will speed up the test.
4162
4163 #ifndef __cplusplus
4164
4165 #error "This is not a C++ compiler"
4166
4167 #elif __cplusplus < 201402L
4168
4169 #error "This is not a C++14 compiler"
4170
4171 #else
4172
4173 namespace cxx14
4174 {
4175
4176   namespace test_polymorphic_lambdas
4177   {
4178
4179     int
4180     test()
4181     {
4182       const auto lambda = [](auto&&... args){
4183         const auto istiny = [](auto x){
4184           return (sizeof(x) == 1UL) ? 1 : 0;
4185         };
4186         const int aretiny[] = { istiny(args)... };
4187         return aretiny[0];
4188       };
4189       return lambda(1, 1L, 1.0f, '1');
4190     }
4191
4192   }
4193
4194   namespace test_binary_literals
4195   {
4196
4197     constexpr auto ivii = 0b0000000000101010;
4198     static_assert(ivii == 42, "wrong value");
4199
4200   }
4201
4202   namespace test_generalized_constexpr
4203   {
4204
4205     template < typename CharT >
4206     constexpr unsigned long
4207     strlen_c(const CharT *const s) noexcept
4208     {
4209       auto length = 0UL;
4210       for (auto p = s; *p; ++p)
4211         ++length;
4212       return length;
4213     }
4214
4215     static_assert(strlen_c("") == 0UL, "");
4216     static_assert(strlen_c("x") == 1UL, "");
4217     static_assert(strlen_c("test") == 4UL, "");
4218     static_assert(strlen_c("another\0test") == 7UL, "");
4219
4220   }
4221
4222   namespace test_lambda_init_capture
4223   {
4224
4225     int
4226     test()
4227     {
4228       auto x = 0;
4229       const auto lambda1 = [a = x](int b){ return a + b; };
4230       const auto lambda2 = [a = lambda1(x)](){ return a; };
4231       return lambda2();
4232     }
4233
4234   }
4235
4236   namespace test_digit_seperators
4237   {
4238
4239     constexpr auto ten_million = 100'000'000;
4240     static_assert(ten_million == 100000000, "");
4241
4242   }
4243
4244   namespace test_return_type_deduction
4245   {
4246
4247     auto f(int& x) { return x; }
4248     decltype(auto) g(int& x) { return x; }
4249
4250     template < typename T1, typename T2 >
4251     struct is_same
4252     {
4253       static constexpr auto value = false;
4254     };
4255
4256     template < typename T >
4257     struct is_same<T, T>
4258     {
4259       static constexpr auto value = true;
4260     };
4261
4262     int
4263     test()
4264     {
4265       auto x = 0;
4266       static_assert(is_same<int, decltype(f(x))>::value, "");
4267       static_assert(is_same<int&, decltype(g(x))>::value, "");
4268       return x;
4269     }
4270
4271   }
4272
4273 }  // namespace cxx14
4274
4275 #endif  // __cplusplus >= 201402L
4276
4277
4278
4279 _ACEOF
4280 if ac_fn_cxx_try_compile "$LINENO"; then :
4281   ax_cv_cxx_compile_cxx14=yes
4282 else
4283   ax_cv_cxx_compile_cxx14=no
4284 fi
4285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4286 fi
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx14" >&5
4288 $as_echo "$ax_cv_cxx_compile_cxx14" >&6; }
4289   if test x$ax_cv_cxx_compile_cxx14 = xyes; then
4290     ac_success=yes
4291   fi
4292
4293
4294
4295     if test x$ac_success = xno; then
4296                 for switch in -std=c++14 -std=c++0x +std=c++14 "-h std=c++14"; do
4297       cachevar=`$as_echo "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh`
4298       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5
4299 $as_echo_n "checking whether $CXX supports C++14 features with $switch... " >&6; }
4300 if eval \${$cachevar+:} false; then :
4301   $as_echo_n "(cached) " >&6
4302 else
4303   ac_save_CXXFLAGS="$CXXFLAGS"
4304          CXXFLAGS="$CXXFLAGS $switch"
4305          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h.  */
4307
4308
4309 // If the compiler admits that it is not ready for C++11, why torture it?
4310 // Hopefully, this will speed up the test.
4311
4312 #ifndef __cplusplus
4313
4314 #error "This is not a C++ compiler"
4315
4316 #elif __cplusplus < 201103L
4317
4318 #error "This is not a C++11 compiler"
4319
4320 #else
4321
4322 namespace cxx11
4323 {
4324
4325   namespace test_static_assert
4326   {
4327
4328     template <typename T>
4329     struct check
4330     {
4331       static_assert(sizeof(int) <= sizeof(T), "not big enough");
4332     };
4333
4334   }
4335
4336   namespace test_final_override
4337   {
4338
4339     struct Base
4340     {
4341       virtual void f() {}
4342     };
4343
4344     struct Derived : public Base
4345     {
4346       virtual void f() override {}
4347     };
4348
4349   }
4350
4351   namespace test_double_right_angle_brackets
4352   {
4353
4354     template < typename T >
4355     struct check {};
4356
4357     typedef check<void> single_type;
4358     typedef check<check<void>> double_type;
4359     typedef check<check<check<void>>> triple_type;
4360     typedef check<check<check<check<void>>>> quadruple_type;
4361
4362   }
4363
4364   namespace test_decltype
4365   {
4366
4367     int
4368     f()
4369     {
4370       int a = 1;
4371       decltype(a) b = 2;
4372       return a + b;
4373     }
4374
4375   }
4376
4377   namespace test_type_deduction
4378   {
4379
4380     template < typename T1, typename T2 >
4381     struct is_same
4382     {
4383       static const bool value = false;
4384     };
4385
4386     template < typename T >
4387     struct is_same<T, T>
4388     {
4389       static const bool value = true;
4390     };
4391
4392     template < typename T1, typename T2 >
4393     auto
4394     add(T1 a1, T2 a2) -> decltype(a1 + a2)
4395     {
4396       return a1 + a2;
4397     }
4398
4399     int
4400     test(const int c, volatile int v)
4401     {
4402       static_assert(is_same<int, decltype(0)>::value == true, "");
4403       static_assert(is_same<int, decltype(c)>::value == false, "");
4404       static_assert(is_same<int, decltype(v)>::value == false, "");
4405       auto ac = c;
4406       auto av = v;
4407       auto sumi = ac + av + 'x';
4408       auto sumf = ac + av + 1.0;
4409       static_assert(is_same<int, decltype(ac)>::value == true, "");
4410       static_assert(is_same<int, decltype(av)>::value == true, "");
4411       static_assert(is_same<int, decltype(sumi)>::value == true, "");
4412       static_assert(is_same<int, decltype(sumf)>::value == false, "");
4413       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
4414       return (sumf > 0.0) ? sumi : add(c, v);
4415     }
4416
4417   }
4418
4419   namespace test_noexcept
4420   {
4421
4422     int f() { return 0; }
4423     int g() noexcept { return 0; }
4424
4425     static_assert(noexcept(f()) == false, "");
4426     static_assert(noexcept(g()) == true, "");
4427
4428   }
4429
4430   namespace test_constexpr
4431   {
4432
4433     template < typename CharT >
4434     unsigned long constexpr
4435     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
4436     {
4437       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
4438     }
4439
4440     template < typename CharT >
4441     unsigned long constexpr
4442     strlen_c(const CharT *const s) noexcept
4443     {
4444       return strlen_c_r(s, 0UL);
4445     }
4446
4447     static_assert(strlen_c("") == 0UL, "");
4448     static_assert(strlen_c("1") == 1UL, "");
4449     static_assert(strlen_c("example") == 7UL, "");
4450     static_assert(strlen_c("another\0example") == 7UL, "");
4451
4452   }
4453
4454   namespace test_rvalue_references
4455   {
4456
4457     template < int N >
4458     struct answer
4459     {
4460       static constexpr int value = N;
4461     };
4462
4463     answer<1> f(int&)       { return answer<1>(); }
4464     answer<2> f(const int&) { return answer<2>(); }
4465     answer<3> f(int&&)      { return answer<3>(); }
4466
4467     void
4468     test()
4469     {
4470       int i = 0;
4471       const int c = 0;
4472       static_assert(decltype(f(i))::value == 1, "");
4473       static_assert(decltype(f(c))::value == 2, "");
4474       static_assert(decltype(f(0))::value == 3, "");
4475     }
4476
4477   }
4478
4479   namespace test_uniform_initialization
4480   {
4481
4482     struct test
4483     {
4484       static const int zero {};
4485       static const int one {1};
4486     };
4487
4488     static_assert(test::zero == 0, "");
4489     static_assert(test::one == 1, "");
4490
4491   }
4492
4493   namespace test_lambdas
4494   {
4495
4496     void
4497     test1()
4498     {
4499       auto lambda1 = [](){};
4500       auto lambda2 = lambda1;
4501       lambda1();
4502       lambda2();
4503     }
4504
4505     int
4506     test2()
4507     {
4508       auto a = [](int i, int j){ return i + j; }(1, 2);
4509       auto b = []() -> int { return '0'; }();
4510       auto c = [=](){ return a + b; }();
4511       auto d = [&](){ return c; }();
4512       auto e = [a, &b](int x) mutable {
4513         const auto identity = [](int y){ return y; };
4514         for (auto i = 0; i < a; ++i)
4515           a += b--;
4516         return x + identity(a + b);
4517       }(0);
4518       return a + b + c + d + e;
4519     }
4520
4521     int
4522     test3()
4523     {
4524       const auto nullary = [](){ return 0; };
4525       const auto unary = [](int x){ return x; };
4526       using nullary_t = decltype(nullary);
4527       using unary_t = decltype(unary);
4528       const auto higher1st = [](nullary_t f){ return f(); };
4529       const auto higher2nd = [unary](nullary_t f1){
4530         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
4531       };
4532       return higher1st(nullary) + higher2nd(nullary)(unary);
4533     }
4534
4535   }
4536
4537   namespace test_variadic_templates
4538   {
4539
4540     template <int...>
4541     struct sum;
4542
4543     template <int N0, int... N1toN>
4544     struct sum<N0, N1toN...>
4545     {
4546       static constexpr auto value = N0 + sum<N1toN...>::value;
4547     };
4548
4549     template <>
4550     struct sum<>
4551     {
4552       static constexpr auto value = 0;
4553     };
4554
4555     static_assert(sum<>::value == 0, "");
4556     static_assert(sum<1>::value == 1, "");
4557     static_assert(sum<23>::value == 23, "");
4558     static_assert(sum<1, 2>::value == 3, "");
4559     static_assert(sum<5, 5, 11>::value == 21, "");
4560     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
4561
4562   }
4563
4564   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
4565   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
4566   // because of this.
4567   namespace test_template_alias_sfinae
4568   {
4569
4570     struct foo {};
4571
4572     template<typename T>
4573     using member = typename T::member_type;
4574
4575     template<typename T>
4576     void func(...) {}
4577
4578     template<typename T>
4579     void func(member<T>*) {}
4580
4581     void test();
4582
4583     void test() { func<foo>(0); }
4584
4585   }
4586
4587 }  // namespace cxx11
4588
4589 #endif  // __cplusplus >= 201103L
4590
4591
4592
4593
4594 // If the compiler admits that it is not ready for C++14, why torture it?
4595 // Hopefully, this will speed up the test.
4596
4597 #ifndef __cplusplus
4598
4599 #error "This is not a C++ compiler"
4600
4601 #elif __cplusplus < 201402L
4602
4603 #error "This is not a C++14 compiler"
4604
4605 #else
4606
4607 namespace cxx14
4608 {
4609
4610   namespace test_polymorphic_lambdas
4611   {
4612
4613     int
4614     test()
4615     {
4616       const auto lambda = [](auto&&... args){
4617         const auto istiny = [](auto x){
4618           return (sizeof(x) == 1UL) ? 1 : 0;
4619         };
4620         const int aretiny[] = { istiny(args)... };
4621         return aretiny[0];
4622       };
4623       return lambda(1, 1L, 1.0f, '1');
4624     }
4625
4626   }
4627
4628   namespace test_binary_literals
4629   {
4630
4631     constexpr auto ivii = 0b0000000000101010;
4632     static_assert(ivii == 42, "wrong value");
4633
4634   }
4635
4636   namespace test_generalized_constexpr
4637   {
4638
4639     template < typename CharT >
4640     constexpr unsigned long
4641     strlen_c(const CharT *const s) noexcept
4642     {
4643       auto length = 0UL;
4644       for (auto p = s; *p; ++p)
4645         ++length;
4646       return length;
4647     }
4648
4649     static_assert(strlen_c("") == 0UL, "");
4650     static_assert(strlen_c("x") == 1UL, "");
4651     static_assert(strlen_c("test") == 4UL, "");
4652     static_assert(strlen_c("another\0test") == 7UL, "");
4653
4654   }
4655
4656   namespace test_lambda_init_capture
4657   {
4658
4659     int
4660     test()
4661     {
4662       auto x = 0;
4663       const auto lambda1 = [a = x](int b){ return a + b; };
4664       const auto lambda2 = [a = lambda1(x)](){ return a; };
4665       return lambda2();
4666     }
4667
4668   }
4669
4670   namespace test_digit_seperators
4671   {
4672
4673     constexpr auto ten_million = 100'000'000;
4674     static_assert(ten_million == 100000000, "");
4675
4676   }
4677
4678   namespace test_return_type_deduction
4679   {
4680
4681     auto f(int& x) { return x; }
4682     decltype(auto) g(int& x) { return x; }
4683
4684     template < typename T1, typename T2 >
4685     struct is_same
4686     {
4687       static constexpr auto value = false;
4688     };
4689
4690     template < typename T >
4691     struct is_same<T, T>
4692     {
4693       static constexpr auto value = true;
4694     };
4695
4696     int
4697     test()
4698     {
4699       auto x = 0;
4700       static_assert(is_same<int, decltype(f(x))>::value, "");
4701       static_assert(is_same<int&, decltype(g(x))>::value, "");
4702       return x;
4703     }
4704
4705   }
4706
4707 }  // namespace cxx14
4708
4709 #endif  // __cplusplus >= 201402L
4710
4711
4712
4713 _ACEOF
4714 if ac_fn_cxx_try_compile "$LINENO"; then :
4715   eval $cachevar=yes
4716 else
4717   eval $cachevar=no
4718 fi
4719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720          CXXFLAGS="$ac_save_CXXFLAGS"
4721 fi
4722 eval ac_res=\$$cachevar
4723                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4724 $as_echo "$ac_res" >&6; }
4725       if eval test x\$$cachevar = xyes; then
4726         CXXFLAGS="$CXXFLAGS $switch"
4727         ac_success=yes
4728         break
4729       fi
4730     done
4731   fi
4732   ac_ext=c
4733 ac_cpp='$CPP $CPPFLAGS'
4734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4737
4738   if test x$ax_cxx_compile_cxx14_required = xtrue; then
4739     if test x$ac_success = xno; then
4740       as_fn_error $? "*** A compiler with support for C++14 language features is required." "$LINENO" 5
4741     fi
4742   else
4743     if test x$ac_success = xno; then
4744       HAVE_CXX14=0
4745       { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++14 support was found" >&5
4746 $as_echo "$as_me: No compiler with C++14 support was found" >&6;}
4747     else
4748       HAVE_CXX14=1
4749
4750 $as_echo "#define HAVE_CXX14 1" >>confdefs.h
4751
4752     fi
4753
4754
4755   fi
4756
4757
4758 # Check whether --enable-static was given.
4759 if test "${enable_static+set}" = set; then :
4760   enableval=$enable_static; p=${PACKAGE-default}
4761     case $enableval in
4762     yes) enable_static=yes ;;
4763     no) enable_static=no ;;
4764     *)
4765      enable_static=no
4766       # Look at the argument we got.  We use all the common list separators.
4767       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4768       for pkg in $enableval; do
4769         IFS="$lt_save_ifs"
4770         if test "X$pkg" = "X$p"; then
4771           enable_static=yes
4772         fi
4773       done
4774       IFS="$lt_save_ifs"
4775       ;;
4776     esac
4777 else
4778   enable_static=no
4779 fi
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789 case `pwd` in
4790   *\ * | *\     *)
4791     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4792 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4793 esac
4794
4795
4796
4797 macro_version='2.4.2'
4798 macro_revision='1.3337'
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812 ltmain="$ac_aux_dir/ltmain.sh"
4813
4814 # Make sure we can run config.sub.
4815 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4816   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4817
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4819 $as_echo_n "checking build system type... " >&6; }
4820 if ${ac_cv_build+:} false; then :
4821   $as_echo_n "(cached) " >&6
4822 else
4823   ac_build_alias=$build_alias
4824 test "x$ac_build_alias" = x &&
4825   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4826 test "x$ac_build_alias" = x &&
4827   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4828 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4829   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4830
4831 fi
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4833 $as_echo "$ac_cv_build" >&6; }
4834 case $ac_cv_build in
4835 *-*-*) ;;
4836 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4837 esac
4838 build=$ac_cv_build
4839 ac_save_IFS=$IFS; IFS='-'
4840 set x $ac_cv_build
4841 shift
4842 build_cpu=$1
4843 build_vendor=$2
4844 shift; shift
4845 # Remember, the first character of IFS is used to create $*,
4846 # except with old shells:
4847 build_os=$*
4848 IFS=$ac_save_IFS
4849 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4850
4851
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4853 $as_echo_n "checking host system type... " >&6; }
4854 if ${ac_cv_host+:} false; then :
4855   $as_echo_n "(cached) " >&6
4856 else
4857   if test "x$host_alias" = x; then
4858   ac_cv_host=$ac_cv_build
4859 else
4860   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4861     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4862 fi
4863
4864 fi
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4866 $as_echo "$ac_cv_host" >&6; }
4867 case $ac_cv_host in
4868 *-*-*) ;;
4869 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4870 esac
4871 host=$ac_cv_host
4872 ac_save_IFS=$IFS; IFS='-'
4873 set x $ac_cv_host
4874 shift
4875 host_cpu=$1
4876 host_vendor=$2
4877 shift; shift
4878 # Remember, the first character of IFS is used to create $*,
4879 # except with old shells:
4880 host_os=$*
4881 IFS=$ac_save_IFS
4882 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4883
4884
4885 # Backslashify metacharacters that are still active within
4886 # double-quoted strings.
4887 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4888
4889 # Same as above, but do not quote variable references.
4890 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4891
4892 # Sed substitution to delay expansion of an escaped shell variable in a
4893 # double_quote_subst'ed string.
4894 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4895
4896 # Sed substitution to delay expansion of an escaped single quote.
4897 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4898
4899 # Sed substitution to avoid accidental globbing in evaled expressions
4900 no_glob_subst='s/\*/\\\*/g'
4901
4902 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4903 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4904 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4905
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4907 $as_echo_n "checking how to print strings... " >&6; }
4908 # Test print first, because it will be a builtin if present.
4909 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4910    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4911   ECHO='print -r --'
4912 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4913   ECHO='printf %s\n'
4914 else
4915   # Use this function as a fallback that always works.
4916   func_fallback_echo ()
4917   {
4918     eval 'cat <<_LTECHO_EOF
4919 $1
4920 _LTECHO_EOF'
4921   }
4922   ECHO='func_fallback_echo'
4923 fi
4924
4925 # func_echo_all arg...
4926 # Invoke $ECHO with all args, space-separated.
4927 func_echo_all ()
4928 {
4929     $ECHO ""
4930 }
4931
4932 case "$ECHO" in
4933   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4934 $as_echo "printf" >&6; } ;;
4935   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4936 $as_echo "print -r" >&6; } ;;
4937   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4938 $as_echo "cat" >&6; } ;;
4939 esac
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954 ac_ext=c
4955 ac_cpp='$CPP $CPPFLAGS'
4956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4959 if test -n "$ac_tool_prefix"; then
4960   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4961 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if ${ac_cv_prog_CC+:} false; then :
4965   $as_echo_n "(cached) " >&6
4966 else
4967   if test -n "$CC"; then
4968   ac_cv_prog_CC="$CC" # Let the user override the test.
4969 else
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 for as_dir in $PATH
4972 do
4973   IFS=$as_save_IFS
4974   test -z "$as_dir" && as_dir=.
4975     for ac_exec_ext in '' $ac_executable_extensions; do
4976   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4977     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979     break 2
4980   fi
4981 done
4982   done
4983 IFS=$as_save_IFS
4984
4985 fi
4986 fi
4987 CC=$ac_cv_prog_CC
4988 if test -n "$CC"; then
4989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4990 $as_echo "$CC" >&6; }
4991 else
4992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4994 fi
4995
4996
4997 fi
4998 if test -z "$ac_cv_prog_CC"; then
4999   ac_ct_CC=$CC
5000   # Extract the first word of "gcc", so it can be a program name with args.
5001 set dummy gcc; ac_word=$2
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5005   $as_echo_n "(cached) " >&6
5006 else
5007   if test -n "$ac_ct_CC"; then
5008   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5009 else
5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 for as_dir in $PATH
5012 do
5013   IFS=$as_save_IFS
5014   test -z "$as_dir" && as_dir=.
5015     for ac_exec_ext in '' $ac_executable_extensions; do
5016   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5017     ac_cv_prog_ac_ct_CC="gcc"
5018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5019     break 2
5020   fi
5021 done
5022   done
5023 IFS=$as_save_IFS
5024
5025 fi
5026 fi
5027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5028 if test -n "$ac_ct_CC"; then
5029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5030 $as_echo "$ac_ct_CC" >&6; }
5031 else
5032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5034 fi
5035
5036   if test "x$ac_ct_CC" = x; then
5037     CC=""
5038   else
5039     case $cross_compiling:$ac_tool_warned in
5040 yes:)
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5043 ac_tool_warned=yes ;;
5044 esac
5045     CC=$ac_ct_CC
5046   fi
5047 else
5048   CC="$ac_cv_prog_CC"
5049 fi
5050
5051 if test -z "$CC"; then
5052           if test -n "$ac_tool_prefix"; then
5053     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5054 set dummy ${ac_tool_prefix}cc; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if ${ac_cv_prog_CC+:} false; then :
5058   $as_echo_n "(cached) " >&6
5059 else
5060   if test -n "$CC"; then
5061   ac_cv_prog_CC="$CC" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5065 do
5066   IFS=$as_save_IFS
5067   test -z "$as_dir" && as_dir=.
5068     for ac_exec_ext in '' $ac_executable_extensions; do
5069   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5070     ac_cv_prog_CC="${ac_tool_prefix}cc"
5071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072     break 2
5073   fi
5074 done
5075   done
5076 IFS=$as_save_IFS
5077
5078 fi
5079 fi
5080 CC=$ac_cv_prog_CC
5081 if test -n "$CC"; then
5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5083 $as_echo "$CC" >&6; }
5084 else
5085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5087 fi
5088
5089
5090   fi
5091 fi
5092 if test -z "$CC"; then
5093   # Extract the first word of "cc", so it can be a program name with args.
5094 set dummy cc; ac_word=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if ${ac_cv_prog_CC+:} false; then :
5098   $as_echo_n "(cached) " >&6
5099 else
5100   if test -n "$CC"; then
5101   ac_cv_prog_CC="$CC" # Let the user override the test.
5102 else
5103   ac_prog_rejected=no
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 for as_dir in $PATH
5106 do
5107   IFS=$as_save_IFS
5108   test -z "$as_dir" && as_dir=.
5109     for ac_exec_ext in '' $ac_executable_extensions; do
5110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5112        ac_prog_rejected=yes
5113        continue
5114      fi
5115     ac_cv_prog_CC="cc"
5116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5117     break 2
5118   fi
5119 done
5120   done
5121 IFS=$as_save_IFS
5122
5123 if test $ac_prog_rejected = yes; then
5124   # We found a bogon in the path, so make sure we never use it.
5125   set dummy $ac_cv_prog_CC
5126   shift
5127   if test $# != 0; then
5128     # We chose a different compiler from the bogus one.
5129     # However, it has the same basename, so the bogon will be chosen
5130     # first if we set CC to just the basename; use the full file name.
5131     shift
5132     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5133   fi
5134 fi
5135 fi
5136 fi
5137 CC=$ac_cv_prog_CC
5138 if test -n "$CC"; then
5139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5140 $as_echo "$CC" >&6; }
5141 else
5142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5144 fi
5145
5146
5147 fi
5148 if test -z "$CC"; then
5149   if test -n "$ac_tool_prefix"; then
5150   for ac_prog in cl.exe
5151   do
5152     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155 $as_echo_n "checking for $ac_word... " >&6; }
5156 if ${ac_cv_prog_CC+:} false; then :
5157   $as_echo_n "(cached) " >&6
5158 else
5159   if test -n "$CC"; then
5160   ac_cv_prog_CC="$CC" # Let the user override the test.
5161 else
5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5163 for as_dir in $PATH
5164 do
5165   IFS=$as_save_IFS
5166   test -z "$as_dir" && as_dir=.
5167     for ac_exec_ext in '' $ac_executable_extensions; do
5168   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171     break 2
5172   fi
5173 done
5174   done
5175 IFS=$as_save_IFS
5176
5177 fi
5178 fi
5179 CC=$ac_cv_prog_CC
5180 if test -n "$CC"; then
5181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5182 $as_echo "$CC" >&6; }
5183 else
5184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5186 fi
5187
5188
5189     test -n "$CC" && break
5190   done
5191 fi
5192 if test -z "$CC"; then
5193   ac_ct_CC=$CC
5194   for ac_prog in cl.exe
5195 do
5196   # Extract the first word of "$ac_prog", so it can be a program name with args.
5197 set dummy $ac_prog; ac_word=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5201   $as_echo_n "(cached) " >&6
5202 else
5203   if test -n "$ac_ct_CC"; then
5204   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5205 else
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 for as_dir in $PATH
5208 do
5209   IFS=$as_save_IFS
5210   test -z "$as_dir" && as_dir=.
5211     for ac_exec_ext in '' $ac_executable_extensions; do
5212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5213     ac_cv_prog_ac_ct_CC="$ac_prog"
5214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215     break 2
5216   fi
5217 done
5218   done
5219 IFS=$as_save_IFS
5220
5221 fi
5222 fi
5223 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5224 if test -n "$ac_ct_CC"; then
5225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5226 $as_echo "$ac_ct_CC" >&6; }
5227 else
5228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5230 fi
5231
5232
5233   test -n "$ac_ct_CC" && break
5234 done
5235
5236   if test "x$ac_ct_CC" = x; then
5237     CC=""
5238   else
5239     case $cross_compiling:$ac_tool_warned in
5240 yes:)
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5243 ac_tool_warned=yes ;;
5244 esac
5245     CC=$ac_ct_CC
5246   fi
5247 fi
5248
5249 fi
5250
5251
5252 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5254 as_fn_error $? "no acceptable C compiler found in \$PATH
5255 See \`config.log' for more details" "$LINENO" 5; }
5256
5257 # Provide some information about the compiler.
5258 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5259 set X $ac_compile
5260 ac_compiler=$2
5261 for ac_option in --version -v -V -qversion; do
5262   { { ac_try="$ac_compiler $ac_option >&5"
5263 case "(($ac_try" in
5264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5265   *) ac_try_echo=$ac_try;;
5266 esac
5267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5268 $as_echo "$ac_try_echo"; } >&5
5269   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5270   ac_status=$?
5271   if test -s conftest.err; then
5272     sed '10a\
5273 ... rest of stderr output deleted ...
5274          10q' conftest.err >conftest.er1
5275     cat conftest.er1 >&5
5276   fi
5277   rm -f conftest.er1 conftest.err
5278   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5279   test $ac_status = 0; }
5280 done
5281
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5283 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5284 if ${ac_cv_c_compiler_gnu+:} false; then :
5285   $as_echo_n "(cached) " >&6
5286 else
5287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h.  */
5289
5290 int
5291 main ()
5292 {
5293 #ifndef __GNUC__
5294        choke me
5295 #endif
5296
5297   ;
5298   return 0;
5299 }
5300 _ACEOF
5301 if ac_fn_c_try_compile "$LINENO"; then :
5302   ac_compiler_gnu=yes
5303 else
5304   ac_compiler_gnu=no
5305 fi
5306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5307 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5308
5309 fi
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5311 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5312 if test $ac_compiler_gnu = yes; then
5313   GCC=yes
5314 else
5315   GCC=
5316 fi
5317 ac_test_CFLAGS=${CFLAGS+set}
5318 ac_save_CFLAGS=$CFLAGS
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5320 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5321 if ${ac_cv_prog_cc_g+:} false; then :
5322   $as_echo_n "(cached) " >&6
5323 else
5324   ac_save_c_werror_flag=$ac_c_werror_flag
5325    ac_c_werror_flag=yes
5326    ac_cv_prog_cc_g=no
5327    CFLAGS="-g"
5328    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h.  */
5330
5331 int
5332 main ()
5333 {
5334
5335   ;
5336   return 0;
5337 }
5338 _ACEOF
5339 if ac_fn_c_try_compile "$LINENO"; then :
5340   ac_cv_prog_cc_g=yes
5341 else
5342   CFLAGS=""
5343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h.  */
5345
5346 int
5347 main ()
5348 {
5349
5350   ;
5351   return 0;
5352 }
5353 _ACEOF
5354 if ac_fn_c_try_compile "$LINENO"; then :
5355
5356 else
5357   ac_c_werror_flag=$ac_save_c_werror_flag
5358          CFLAGS="-g"
5359          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h.  */
5361
5362 int
5363 main ()
5364 {
5365
5366   ;
5367   return 0;
5368 }
5369 _ACEOF
5370 if ac_fn_c_try_compile "$LINENO"; then :
5371   ac_cv_prog_cc_g=yes
5372 fi
5373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5374 fi
5375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5376 fi
5377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5378    ac_c_werror_flag=$ac_save_c_werror_flag
5379 fi
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5381 $as_echo "$ac_cv_prog_cc_g" >&6; }
5382 if test "$ac_test_CFLAGS" = set; then
5383   CFLAGS=$ac_save_CFLAGS
5384 elif test $ac_cv_prog_cc_g = yes; then
5385   if test "$GCC" = yes; then
5386     CFLAGS="-g -O2"
5387   else
5388     CFLAGS="-g"
5389   fi
5390 else
5391   if test "$GCC" = yes; then
5392     CFLAGS="-O2"
5393   else
5394     CFLAGS=
5395   fi
5396 fi
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5398 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5399 if ${ac_cv_prog_cc_c89+:} false; then :
5400   $as_echo_n "(cached) " >&6
5401 else
5402   ac_cv_prog_cc_c89=no
5403 ac_save_CC=$CC
5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5405 /* end confdefs.h.  */
5406 #include <stdarg.h>
5407 #include <stdio.h>
5408 struct stat;
5409 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5410 struct buf { int x; };
5411 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5412 static char *e (p, i)
5413      char **p;
5414      int i;
5415 {
5416   return p[i];
5417 }
5418 static char *f (char * (*g) (char **, int), char **p, ...)
5419 {
5420   char *s;
5421   va_list v;
5422   va_start (v,p);
5423   s = g (p, va_arg (v,int));
5424   va_end (v);
5425   return s;
5426 }
5427
5428 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5429    function prototypes and stuff, but not '\xHH' hex character constants.
5430    These don't provoke an error unfortunately, instead are silently treated
5431    as 'x'.  The following induces an error, until -std is added to get
5432    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5433    array size at least.  It's necessary to write '\x00'==0 to get something
5434    that's true only with -std.  */
5435 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5436
5437 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5438    inside strings and character constants.  */
5439 #define FOO(x) 'x'
5440 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5441
5442 int test (int i, double x);
5443 struct s1 {int (*f) (int a);};
5444 struct s2 {int (*f) (double a);};
5445 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5446 int argc;
5447 char **argv;
5448 int
5449 main ()
5450 {
5451 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5452   ;
5453   return 0;
5454 }
5455 _ACEOF
5456 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5457         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5458 do
5459   CC="$ac_save_CC $ac_arg"
5460   if ac_fn_c_try_compile "$LINENO"; then :
5461   ac_cv_prog_cc_c89=$ac_arg
5462 fi
5463 rm -f core conftest.err conftest.$ac_objext
5464   test "x$ac_cv_prog_cc_c89" != "xno" && break
5465 done
5466 rm -f conftest.$ac_ext
5467 CC=$ac_save_CC
5468
5469 fi
5470 # AC_CACHE_VAL
5471 case "x$ac_cv_prog_cc_c89" in
5472   x)
5473     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5474 $as_echo "none needed" >&6; } ;;
5475   xno)
5476     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5477 $as_echo "unsupported" >&6; } ;;
5478   *)
5479     CC="$CC $ac_cv_prog_cc_c89"
5480     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5481 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5482 esac
5483 if test "x$ac_cv_prog_cc_c89" != xno; then :
5484
5485 fi
5486
5487 ac_ext=c
5488 ac_cpp='$CPP $CPPFLAGS'
5489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5492
5493 ac_ext=c
5494 ac_cpp='$CPP $CPPFLAGS'
5495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5499 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5500 if ${am_cv_prog_cc_c_o+:} false; then :
5501   $as_echo_n "(cached) " >&6
5502 else
5503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5504 /* end confdefs.h.  */
5505
5506 int
5507 main ()
5508 {
5509
5510   ;
5511   return 0;
5512 }
5513 _ACEOF
5514   # Make sure it works both with $CC and with simple cc.
5515   # Following AC_PROG_CC_C_O, we do the test twice because some
5516   # compilers refuse to overwrite an existing .o file with -o,
5517   # though they will create one.
5518   am_cv_prog_cc_c_o=yes
5519   for am_i in 1 2; do
5520     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5521    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5522    ac_status=$?
5523    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524    (exit $ac_status); } \
5525          && test -f conftest2.$ac_objext; then
5526       : OK
5527     else
5528       am_cv_prog_cc_c_o=no
5529       break
5530     fi
5531   done
5532   rm -f core conftest*
5533   unset am_i
5534 fi
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5536 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5537 if test "$am_cv_prog_cc_c_o" != yes; then
5538    # Losing compiler, so override with the script.
5539    # FIXME: It is wrong to rewrite CC.
5540    # But if we don't then we get into trouble of one sort or another.
5541    # A longer-term fix would be to have automake use am__CC in this case,
5542    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5543    CC="$am_aux_dir/compile $CC"
5544 fi
5545 ac_ext=c
5546 ac_cpp='$CPP $CPPFLAGS'
5547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5550
5551
5552 depcc="$CC"   am_compiler_list=
5553
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5555 $as_echo_n "checking dependency style of $depcc... " >&6; }
5556 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5557   $as_echo_n "(cached) " >&6
5558 else
5559   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5560   # We make a subdir and do the tests there.  Otherwise we can end up
5561   # making bogus files that we don't know about and never remove.  For
5562   # instance it was reported that on HP-UX the gcc test will end up
5563   # making a dummy file named 'D' -- because '-MD' means "put the output
5564   # in D".
5565   rm -rf conftest.dir
5566   mkdir conftest.dir
5567   # Copy depcomp to subdir because otherwise we won't find it if we're
5568   # using a relative directory.
5569   cp "$am_depcomp" conftest.dir
5570   cd conftest.dir
5571   # We will build objects and dependencies in a subdirectory because
5572   # it helps to detect inapplicable dependency modes.  For instance
5573   # both Tru64's cc and ICC support -MD to output dependencies as a
5574   # side effect of compilation, but ICC will put the dependencies in
5575   # the current directory while Tru64 will put them in the object
5576   # directory.
5577   mkdir sub
5578
5579   am_cv_CC_dependencies_compiler_type=none
5580   if test "$am_compiler_list" = ""; then
5581      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5582   fi
5583   am__universal=false
5584   case " $depcc " in #(
5585      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5586      esac
5587
5588   for depmode in $am_compiler_list; do
5589     # Setup a source with many dependencies, because some compilers
5590     # like to wrap large dependency lists on column 80 (with \), and
5591     # we should not choose a depcomp mode which is confused by this.
5592     #
5593     # We need to recreate these files for each test, as the compiler may
5594     # overwrite some of them when testing with obscure command lines.
5595     # This happens at least with the AIX C compiler.
5596     : > sub/conftest.c
5597     for i in 1 2 3 4 5 6; do
5598       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5599       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5600       # Solaris 10 /bin/sh.
5601       echo '/* dummy */' > sub/conftst$i.h
5602     done
5603     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5604
5605     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5606     # mode.  It turns out that the SunPro C++ compiler does not properly
5607     # handle '-M -o', and we need to detect this.  Also, some Intel
5608     # versions had trouble with output in subdirs.
5609     am__obj=sub/conftest.${OBJEXT-o}
5610     am__minus_obj="-o $am__obj"
5611     case $depmode in
5612     gcc)
5613       # This depmode causes a compiler race in universal mode.
5614       test "$am__universal" = false || continue
5615       ;;
5616     nosideeffect)
5617       # After this tag, mechanisms are not by side-effect, so they'll
5618       # only be used when explicitly requested.
5619       if test "x$enable_dependency_tracking" = xyes; then
5620         continue
5621       else
5622         break
5623       fi
5624       ;;
5625     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5626       # This compiler won't grok '-c -o', but also, the minuso test has
5627       # not run yet.  These depmodes are late enough in the game, and
5628       # so weak that their functioning should not be impacted.
5629       am__obj=conftest.${OBJEXT-o}
5630       am__minus_obj=
5631       ;;
5632     none) break ;;
5633     esac
5634     if depmode=$depmode \
5635        source=sub/conftest.c object=$am__obj \
5636        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5637        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5638          >/dev/null 2>conftest.err &&
5639        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5640        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5641        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5642        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5643       # icc doesn't choke on unknown options, it will just issue warnings
5644       # or remarks (even with -Werror).  So we grep stderr for any message
5645       # that says an option was ignored or not supported.
5646       # When given -MP, icc 7.0 and 7.1 complain thusly:
5647       #   icc: Command line warning: ignoring option '-M'; no argument required
5648       # The diagnosis changed in icc 8.0:
5649       #   icc: Command line remark: option '-MP' not supported
5650       if (grep 'ignoring option' conftest.err ||
5651           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5652         am_cv_CC_dependencies_compiler_type=$depmode
5653         break
5654       fi
5655     fi
5656   done
5657
5658   cd ..
5659   rm -rf conftest.dir
5660 else
5661   am_cv_CC_dependencies_compiler_type=none
5662 fi
5663
5664 fi
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5666 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5667 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5668
5669  if
5670   test "x$enable_dependency_tracking" != xno \
5671   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5672   am__fastdepCC_TRUE=
5673   am__fastdepCC_FALSE='#'
5674 else
5675   am__fastdepCC_TRUE='#'
5676   am__fastdepCC_FALSE=
5677 fi
5678
5679
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5681 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5682 if ${ac_cv_path_SED+:} false; then :
5683   $as_echo_n "(cached) " >&6
5684 else
5685             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5686      for ac_i in 1 2 3 4 5 6 7; do
5687        ac_script="$ac_script$as_nl$ac_script"
5688      done
5689      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5690      { ac_script=; unset ac_script;}
5691      if test -z "$SED"; then
5692   ac_path_SED_found=false
5693   # Loop through the user's path and test for each of PROGNAME-LIST
5694   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 for as_dir in $PATH
5696 do
5697   IFS=$as_save_IFS
5698   test -z "$as_dir" && as_dir=.
5699     for ac_prog in sed gsed; do
5700     for ac_exec_ext in '' $ac_executable_extensions; do
5701       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5702       as_fn_executable_p "$ac_path_SED" || continue
5703 # Check for GNU ac_path_SED and select it if it is found.
5704   # Check for GNU $ac_path_SED
5705 case `"$ac_path_SED" --version 2>&1` in
5706 *GNU*)
5707   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5708 *)
5709   ac_count=0
5710   $as_echo_n 0123456789 >"conftest.in"
5711   while :
5712   do
5713     cat "conftest.in" "conftest.in" >"conftest.tmp"
5714     mv "conftest.tmp" "conftest.in"
5715     cp "conftest.in" "conftest.nl"
5716     $as_echo '' >> "conftest.nl"
5717     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5718     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5719     as_fn_arith $ac_count + 1 && ac_count=$as_val
5720     if test $ac_count -gt ${ac_path_SED_max-0}; then
5721       # Best one so far, save it but keep looking for a better one
5722       ac_cv_path_SED="$ac_path_SED"
5723       ac_path_SED_max=$ac_count
5724     fi
5725     # 10*(2^10) chars as input seems more than enough
5726     test $ac_count -gt 10 && break
5727   done
5728   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5729 esac
5730
5731       $ac_path_SED_found && break 3
5732     done
5733   done
5734   done
5735 IFS=$as_save_IFS
5736   if test -z "$ac_cv_path_SED"; then
5737     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5738   fi
5739 else
5740   ac_cv_path_SED=$SED
5741 fi
5742
5743 fi
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5745 $as_echo "$ac_cv_path_SED" >&6; }
5746  SED="$ac_cv_path_SED"
5747   rm -f conftest.sed
5748
5749 test -z "$SED" && SED=sed
5750 Xsed="$SED -e 1s/^X//"
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5763 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5764 if ${ac_cv_path_GREP+:} false; then :
5765   $as_echo_n "(cached) " >&6
5766 else
5767   if test -z "$GREP"; then
5768   ac_path_GREP_found=false
5769   # Loop through the user's path and test for each of PROGNAME-LIST
5770   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5772 do
5773   IFS=$as_save_IFS
5774   test -z "$as_dir" && as_dir=.
5775     for ac_prog in grep ggrep; do
5776     for ac_exec_ext in '' $ac_executable_extensions; do
5777       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5778       as_fn_executable_p "$ac_path_GREP" || continue
5779 # Check for GNU ac_path_GREP and select it if it is found.
5780   # Check for GNU $ac_path_GREP
5781 case `"$ac_path_GREP" --version 2>&1` in
5782 *GNU*)
5783   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5784 *)
5785   ac_count=0
5786   $as_echo_n 0123456789 >"conftest.in"
5787   while :
5788   do
5789     cat "conftest.in" "conftest.in" >"conftest.tmp"
5790     mv "conftest.tmp" "conftest.in"
5791     cp "conftest.in" "conftest.nl"
5792     $as_echo 'GREP' >> "conftest.nl"
5793     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5794     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5795     as_fn_arith $ac_count + 1 && ac_count=$as_val
5796     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5797       # Best one so far, save it but keep looking for a better one
5798       ac_cv_path_GREP="$ac_path_GREP"
5799       ac_path_GREP_max=$ac_count
5800     fi
5801     # 10*(2^10) chars as input seems more than enough
5802     test $ac_count -gt 10 && break
5803   done
5804   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5805 esac
5806
5807       $ac_path_GREP_found && break 3
5808     done
5809   done
5810   done
5811 IFS=$as_save_IFS
5812   if test -z "$ac_cv_path_GREP"; then
5813     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5814   fi
5815 else
5816   ac_cv_path_GREP=$GREP
5817 fi
5818
5819 fi
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5821 $as_echo "$ac_cv_path_GREP" >&6; }
5822  GREP="$ac_cv_path_GREP"
5823
5824
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5826 $as_echo_n "checking for egrep... " >&6; }
5827 if ${ac_cv_path_EGREP+:} false; then :
5828   $as_echo_n "(cached) " >&6
5829 else
5830   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5831    then ac_cv_path_EGREP="$GREP -E"
5832    else
5833      if test -z "$EGREP"; then
5834   ac_path_EGREP_found=false
5835   # Loop through the user's path and test for each of PROGNAME-LIST
5836   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5838 do
5839   IFS=$as_save_IFS
5840   test -z "$as_dir" && as_dir=.
5841     for ac_prog in egrep; do
5842     for ac_exec_ext in '' $ac_executable_extensions; do
5843       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5844       as_fn_executable_p "$ac_path_EGREP" || continue
5845 # Check for GNU ac_path_EGREP and select it if it is found.
5846   # Check for GNU $ac_path_EGREP
5847 case `"$ac_path_EGREP" --version 2>&1` in
5848 *GNU*)
5849   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5850 *)
5851   ac_count=0
5852   $as_echo_n 0123456789 >"conftest.in"
5853   while :
5854   do
5855     cat "conftest.in" "conftest.in" >"conftest.tmp"
5856     mv "conftest.tmp" "conftest.in"
5857     cp "conftest.in" "conftest.nl"
5858     $as_echo 'EGREP' >> "conftest.nl"
5859     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5860     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5861     as_fn_arith $ac_count + 1 && ac_count=$as_val
5862     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5863       # Best one so far, save it but keep looking for a better one
5864       ac_cv_path_EGREP="$ac_path_EGREP"
5865       ac_path_EGREP_max=$ac_count
5866     fi
5867     # 10*(2^10) chars as input seems more than enough
5868     test $ac_count -gt 10 && break
5869   done
5870   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5871 esac
5872
5873       $ac_path_EGREP_found && break 3
5874     done
5875   done
5876   done
5877 IFS=$as_save_IFS
5878   if test -z "$ac_cv_path_EGREP"; then
5879     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5880   fi
5881 else
5882   ac_cv_path_EGREP=$EGREP
5883 fi
5884
5885    fi
5886 fi
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5888 $as_echo "$ac_cv_path_EGREP" >&6; }
5889  EGREP="$ac_cv_path_EGREP"
5890
5891
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5893 $as_echo_n "checking for fgrep... " >&6; }
5894 if ${ac_cv_path_FGREP+:} false; then :
5895   $as_echo_n "(cached) " >&6
5896 else
5897   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5898    then ac_cv_path_FGREP="$GREP -F"
5899    else
5900      if test -z "$FGREP"; then
5901   ac_path_FGREP_found=false
5902   # Loop through the user's path and test for each of PROGNAME-LIST
5903   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5905 do
5906   IFS=$as_save_IFS
5907   test -z "$as_dir" && as_dir=.
5908     for ac_prog in fgrep; do
5909     for ac_exec_ext in '' $ac_executable_extensions; do
5910       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5911       as_fn_executable_p "$ac_path_FGREP" || continue
5912 # Check for GNU ac_path_FGREP and select it if it is found.
5913   # Check for GNU $ac_path_FGREP
5914 case `"$ac_path_FGREP" --version 2>&1` in
5915 *GNU*)
5916   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5917 *)
5918   ac_count=0
5919   $as_echo_n 0123456789 >"conftest.in"
5920   while :
5921   do
5922     cat "conftest.in" "conftest.in" >"conftest.tmp"
5923     mv "conftest.tmp" "conftest.in"
5924     cp "conftest.in" "conftest.nl"
5925     $as_echo 'FGREP' >> "conftest.nl"
5926     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5927     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5928     as_fn_arith $ac_count + 1 && ac_count=$as_val
5929     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5930       # Best one so far, save it but keep looking for a better one
5931       ac_cv_path_FGREP="$ac_path_FGREP"
5932       ac_path_FGREP_max=$ac_count
5933     fi
5934     # 10*(2^10) chars as input seems more than enough
5935     test $ac_count -gt 10 && break
5936   done
5937   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5938 esac
5939
5940       $ac_path_FGREP_found && break 3
5941     done
5942   done
5943   done
5944 IFS=$as_save_IFS
5945   if test -z "$ac_cv_path_FGREP"; then
5946     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5947   fi
5948 else
5949   ac_cv_path_FGREP=$FGREP
5950 fi
5951
5952    fi
5953 fi
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5955 $as_echo "$ac_cv_path_FGREP" >&6; }
5956  FGREP="$ac_cv_path_FGREP"
5957
5958
5959 test -z "$GREP" && GREP=grep
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979 # Check whether --with-gnu-ld was given.
5980 if test "${with_gnu_ld+set}" = set; then :
5981   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5982 else
5983   with_gnu_ld=no
5984 fi
5985
5986 ac_prog=ld
5987 if test "$GCC" = yes; then
5988   # Check if gcc -print-prog-name=ld gives a path.
5989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5990 $as_echo_n "checking for ld used by $CC... " >&6; }
5991   case $host in
5992   *-*-mingw*)
5993     # gcc leaves a trailing carriage return which upsets mingw
5994     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5995   *)
5996     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5997   esac
5998   case $ac_prog in
5999     # Accept absolute paths.
6000     [\\/]* | ?:[\\/]*)
6001       re_direlt='/[^/][^/]*/\.\./'
6002       # Canonicalize the pathname of ld
6003       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6004       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6005         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6006       done
6007       test -z "$LD" && LD="$ac_prog"
6008       ;;
6009   "")
6010     # If it fails, then pretend we aren't using GCC.
6011     ac_prog=ld
6012     ;;
6013   *)
6014     # If it is relative, then search for the first ld in PATH.
6015     with_gnu_ld=unknown
6016     ;;
6017   esac
6018 elif test "$with_gnu_ld" = yes; then
6019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6020 $as_echo_n "checking for GNU ld... " >&6; }
6021 else
6022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6023 $as_echo_n "checking for non-GNU ld... " >&6; }
6024 fi
6025 if ${lt_cv_path_LD+:} false; then :
6026   $as_echo_n "(cached) " >&6
6027 else
6028   if test -z "$LD"; then
6029   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6030   for ac_dir in $PATH; do
6031     IFS="$lt_save_ifs"
6032     test -z "$ac_dir" && ac_dir=.
6033     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6034       lt_cv_path_LD="$ac_dir/$ac_prog"
6035       # Check to see if the program is GNU ld.  I'd rather use --version,
6036       # but apparently some variants of GNU ld only accept -v.
6037       # Break only if it was the GNU/non-GNU ld that we prefer.
6038       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6039       *GNU* | *'with BFD'*)
6040         test "$with_gnu_ld" != no && break
6041         ;;
6042       *)
6043         test "$with_gnu_ld" != yes && break
6044         ;;
6045       esac
6046     fi
6047   done
6048   IFS="$lt_save_ifs"
6049 else
6050   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6051 fi
6052 fi
6053
6054 LD="$lt_cv_path_LD"
6055 if test -n "$LD"; then
6056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6057 $as_echo "$LD" >&6; }
6058 else
6059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6060 $as_echo "no" >&6; }
6061 fi
6062 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6064 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6065 if ${lt_cv_prog_gnu_ld+:} false; then :
6066   $as_echo_n "(cached) " >&6
6067 else
6068   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6069 case `$LD -v 2>&1 </dev/null` in
6070 *GNU* | *'with BFD'*)
6071   lt_cv_prog_gnu_ld=yes
6072   ;;
6073 *)
6074   lt_cv_prog_gnu_ld=no
6075   ;;
6076 esac
6077 fi
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6079 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6080 with_gnu_ld=$lt_cv_prog_gnu_ld
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6091 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6092 if ${lt_cv_path_NM+:} false; then :
6093   $as_echo_n "(cached) " >&6
6094 else
6095   if test -n "$NM"; then
6096   # Let the user override the test.
6097   lt_cv_path_NM="$NM"
6098 else
6099   lt_nm_to_check="${ac_tool_prefix}nm"
6100   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6101     lt_nm_to_check="$lt_nm_to_check nm"
6102   fi
6103   for lt_tmp_nm in $lt_nm_to_check; do
6104     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6105     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6106       IFS="$lt_save_ifs"
6107       test -z "$ac_dir" && ac_dir=.
6108       tmp_nm="$ac_dir/$lt_tmp_nm"
6109       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6110         # Check to see if the nm accepts a BSD-compat flag.
6111         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6112         #   nm: unknown option "B" ignored
6113         # Tru64's nm complains that /dev/null is an invalid object file
6114         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6115         */dev/null* | *'Invalid file or object type'*)
6116           lt_cv_path_NM="$tmp_nm -B"
6117           break
6118           ;;
6119         *)
6120           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6121           */dev/null*)
6122             lt_cv_path_NM="$tmp_nm -p"
6123             break
6124             ;;
6125           *)
6126             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6127             continue # so that we can try to find one that supports BSD flags
6128             ;;
6129           esac
6130           ;;
6131         esac
6132       fi
6133     done
6134     IFS="$lt_save_ifs"
6135   done
6136   : ${lt_cv_path_NM=no}
6137 fi
6138 fi
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6140 $as_echo "$lt_cv_path_NM" >&6; }
6141 if test "$lt_cv_path_NM" != "no"; then
6142   NM="$lt_cv_path_NM"
6143 else
6144   # Didn't find any BSD compatible name lister, look for dumpbin.
6145   if test -n "$DUMPBIN"; then :
6146     # Let the user override the test.
6147   else
6148     if test -n "$ac_tool_prefix"; then
6149   for ac_prog in dumpbin "link -dump"
6150   do
6151     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6152 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6154 $as_echo_n "checking for $ac_word... " >&6; }
6155 if ${ac_cv_prog_DUMPBIN+:} false; then :
6156   $as_echo_n "(cached) " >&6
6157 else
6158   if test -n "$DUMPBIN"; then
6159   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6160 else
6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 for as_dir in $PATH
6163 do
6164   IFS=$as_save_IFS
6165   test -z "$as_dir" && as_dir=.
6166     for ac_exec_ext in '' $ac_executable_extensions; do
6167   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6168     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170     break 2
6171   fi
6172 done
6173   done
6174 IFS=$as_save_IFS
6175
6176 fi
6177 fi
6178 DUMPBIN=$ac_cv_prog_DUMPBIN
6179 if test -n "$DUMPBIN"; then
6180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6181 $as_echo "$DUMPBIN" >&6; }
6182 else
6183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6184 $as_echo "no" >&6; }
6185 fi
6186
6187
6188     test -n "$DUMPBIN" && break
6189   done
6190 fi
6191 if test -z "$DUMPBIN"; then
6192   ac_ct_DUMPBIN=$DUMPBIN
6193   for ac_prog in dumpbin "link -dump"
6194 do
6195   # Extract the first word of "$ac_prog", so it can be a program name with args.
6196 set dummy $ac_prog; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6198 $as_echo_n "checking for $ac_word... " >&6; }
6199 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6200   $as_echo_n "(cached) " >&6
6201 else
6202   if test -n "$ac_ct_DUMPBIN"; then
6203   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6204 else
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206 for as_dir in $PATH
6207 do
6208   IFS=$as_save_IFS
6209   test -z "$as_dir" && as_dir=.
6210     for ac_exec_ext in '' $ac_executable_extensions; do
6211   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6212     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6214     break 2
6215   fi
6216 done
6217   done
6218 IFS=$as_save_IFS
6219
6220 fi
6221 fi
6222 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6223 if test -n "$ac_ct_DUMPBIN"; then
6224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6225 $as_echo "$ac_ct_DUMPBIN" >&6; }
6226 else
6227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6229 fi
6230
6231
6232   test -n "$ac_ct_DUMPBIN" && break
6233 done
6234
6235   if test "x$ac_ct_DUMPBIN" = x; then
6236     DUMPBIN=":"
6237   else
6238     case $cross_compiling:$ac_tool_warned in
6239 yes:)
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6242 ac_tool_warned=yes ;;
6243 esac
6244     DUMPBIN=$ac_ct_DUMPBIN
6245   fi
6246 fi
6247
6248     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6249     *COFF*)
6250       DUMPBIN="$DUMPBIN -symbols"
6251       ;;
6252     *)
6253       DUMPBIN=:
6254       ;;
6255     esac
6256   fi
6257
6258   if test "$DUMPBIN" != ":"; then
6259     NM="$DUMPBIN"
6260   fi
6261 fi
6262 test -z "$NM" && NM=nm
6263
6264
6265
6266
6267
6268
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6270 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6271 if ${lt_cv_nm_interface+:} false; then :
6272   $as_echo_n "(cached) " >&6
6273 else
6274   lt_cv_nm_interface="BSD nm"
6275   echo "int some_variable = 0;" > conftest.$ac_ext
6276   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6277   (eval "$ac_compile" 2>conftest.err)
6278   cat conftest.err >&5
6279   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6280   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6281   cat conftest.err >&5
6282   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6283   cat conftest.out >&5
6284   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6285     lt_cv_nm_interface="MS dumpbin"
6286   fi
6287   rm -f conftest*
6288 fi
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6290 $as_echo "$lt_cv_nm_interface" >&6; }
6291
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6293 $as_echo_n "checking whether ln -s works... " >&6; }
6294 LN_S=$as_ln_s
6295 if test "$LN_S" = "ln -s"; then
6296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6297 $as_echo "yes" >&6; }
6298 else
6299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6300 $as_echo "no, using $LN_S" >&6; }
6301 fi
6302
6303 # find the maximum length of command line arguments
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6305 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6306 if ${lt_cv_sys_max_cmd_len+:} false; then :
6307   $as_echo_n "(cached) " >&6
6308 else
6309     i=0
6310   teststring="ABCD"
6311
6312   case $build_os in
6313   msdosdjgpp*)
6314     # On DJGPP, this test can blow up pretty badly due to problems in libc
6315     # (any single argument exceeding 2000 bytes causes a buffer overrun
6316     # during glob expansion).  Even if it were fixed, the result of this
6317     # check would be larger than it should be.
6318     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6319     ;;
6320
6321   gnu*)
6322     # Under GNU Hurd, this test is not required because there is
6323     # no limit to the length of command line arguments.
6324     # Libtool will interpret -1 as no limit whatsoever
6325     lt_cv_sys_max_cmd_len=-1;
6326     ;;
6327
6328   cygwin* | mingw* | cegcc*)
6329     # On Win9x/ME, this test blows up -- it succeeds, but takes
6330     # about 5 minutes as the teststring grows exponentially.
6331     # Worse, since 9x/ME are not pre-emptively multitasking,
6332     # you end up with a "frozen" computer, even though with patience
6333     # the test eventually succeeds (with a max line length of 256k).
6334     # Instead, let's just punt: use the minimum linelength reported by
6335     # all of the supported platforms: 8192 (on NT/2K/XP).
6336     lt_cv_sys_max_cmd_len=8192;
6337     ;;
6338
6339   mint*)
6340     # On MiNT this can take a long time and run out of memory.
6341     lt_cv_sys_max_cmd_len=8192;
6342     ;;
6343
6344   amigaos*)
6345     # On AmigaOS with pdksh, this test takes hours, literally.
6346     # So we just punt and use a minimum line length of 8192.
6347     lt_cv_sys_max_cmd_len=8192;
6348     ;;
6349
6350   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6351     # This has been around since 386BSD, at least.  Likely further.
6352     if test -x /sbin/sysctl; then
6353       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6354     elif test -x /usr/sbin/sysctl; then
6355       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6356     else
6357       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6358     fi
6359     # And add a safety zone
6360     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6361     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6362     ;;
6363
6364   interix*)
6365     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6366     lt_cv_sys_max_cmd_len=196608
6367     ;;
6368
6369   os2*)
6370     # The test takes a long time on OS/2.
6371     lt_cv_sys_max_cmd_len=8192
6372     ;;
6373
6374   osf*)
6375     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6376     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6377     # nice to cause kernel panics so lets avoid the loop below.
6378     # First set a reasonable default.
6379     lt_cv_sys_max_cmd_len=16384
6380     #
6381     if test -x /sbin/sysconfig; then
6382       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6383         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6384       esac
6385     fi
6386     ;;
6387   sco3.2v5*)
6388     lt_cv_sys_max_cmd_len=102400
6389     ;;
6390   sysv5* | sco5v6* | sysv4.2uw2*)
6391     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6392     if test -n "$kargmax"; then
6393       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6394     else
6395       lt_cv_sys_max_cmd_len=32768
6396     fi
6397     ;;
6398   *)
6399     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6400     if test -n "$lt_cv_sys_max_cmd_len" && \
6401         test undefined != "$lt_cv_sys_max_cmd_len"; then
6402       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6403       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6404     else
6405       # Make teststring a little bigger before we do anything with it.
6406       # a 1K string should be a reasonable start.
6407       for i in 1 2 3 4 5 6 7 8 ; do
6408         teststring=$teststring$teststring
6409       done
6410       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6411       # If test is not a shell built-in, we'll probably end up computing a
6412       # maximum length that is only half of the actual maximum length, but
6413       # we can't tell.
6414       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6415                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6416               test $i != 17 # 1/2 MB should be enough
6417       do
6418         i=`expr $i + 1`
6419         teststring=$teststring$teststring
6420       done
6421       # Only check the string length outside the loop.
6422       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6423       teststring=
6424       # Add a significant safety factor because C++ compilers can tack on
6425       # massive amounts of additional arguments before passing them to the
6426       # linker.  It appears as though 1/2 is a usable value.
6427       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6428     fi
6429     ;;
6430   esac
6431
6432 fi
6433
6434 if test -n $lt_cv_sys_max_cmd_len ; then
6435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6436 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6437 else
6438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6439 $as_echo "none" >&6; }
6440 fi
6441 max_cmd_len=$lt_cv_sys_max_cmd_len
6442
6443
6444
6445
6446
6447
6448 : ${CP="cp -f"}
6449 : ${MV="mv -f"}
6450 : ${RM="rm -f"}
6451
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6453 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6454 # Try some XSI features
6455 xsi_shell=no
6456 ( _lt_dummy="a/b/c"
6457   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6458       = c,a/b,b/c, \
6459     && eval 'test $(( 1 + 1 )) -eq 2 \
6460     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6461   && xsi_shell=yes
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6463 $as_echo "$xsi_shell" >&6; }
6464
6465
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6467 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6468 lt_shell_append=no
6469 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6470     >/dev/null 2>&1 \
6471   && lt_shell_append=yes
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6473 $as_echo "$lt_shell_append" >&6; }
6474
6475
6476 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6477   lt_unset=unset
6478 else
6479   lt_unset=false
6480 fi
6481
6482
6483
6484
6485
6486 # test EBCDIC or ASCII
6487 case `echo X|tr X '\101'` in
6488  A) # ASCII based system
6489     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6490   lt_SP2NL='tr \040 \012'
6491   lt_NL2SP='tr \015\012 \040\040'
6492   ;;
6493  *) # EBCDIC based system
6494   lt_SP2NL='tr \100 \n'
6495   lt_NL2SP='tr \r\n \100\100'
6496   ;;
6497 esac
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6508 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6509 if ${lt_cv_to_host_file_cmd+:} false; then :
6510   $as_echo_n "(cached) " >&6
6511 else
6512   case $host in
6513   *-*-mingw* )
6514     case $build in
6515       *-*-mingw* ) # actually msys
6516         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6517         ;;
6518       *-*-cygwin* )
6519         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6520         ;;
6521       * ) # otherwise, assume *nix
6522         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6523         ;;
6524     esac
6525     ;;
6526   *-*-cygwin* )
6527     case $build in
6528       *-*-mingw* ) # actually msys
6529         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6530         ;;
6531       *-*-cygwin* )
6532         lt_cv_to_host_file_cmd=func_convert_file_noop
6533         ;;
6534       * ) # otherwise, assume *nix
6535         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6536         ;;
6537     esac
6538     ;;
6539   * ) # unhandled hosts (and "normal" native builds)
6540     lt_cv_to_host_file_cmd=func_convert_file_noop
6541     ;;
6542 esac
6543
6544 fi
6545
6546 to_host_file_cmd=$lt_cv_to_host_file_cmd
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6548 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6549
6550
6551
6552
6553
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6555 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6556 if ${lt_cv_to_tool_file_cmd+:} false; then :
6557   $as_echo_n "(cached) " >&6
6558 else
6559   #assume ordinary cross tools, or native build.
6560 lt_cv_to_tool_file_cmd=func_convert_file_noop
6561 case $host in
6562   *-*-mingw* )
6563     case $build in
6564       *-*-mingw* ) # actually msys
6565         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6566         ;;
6567     esac
6568     ;;
6569 esac
6570
6571 fi
6572
6573 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6575 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6576
6577
6578
6579
6580
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6582 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6583 if ${lt_cv_ld_reload_flag+:} false; then :
6584   $as_echo_n "(cached) " >&6
6585 else
6586   lt_cv_ld_reload_flag='-r'
6587 fi
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6589 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6590 reload_flag=$lt_cv_ld_reload_flag
6591 case $reload_flag in
6592 "" | " "*) ;;
6593 *) reload_flag=" $reload_flag" ;;
6594 esac
6595 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6596 case $host_os in
6597   cygwin* | mingw* | pw32* | cegcc*)
6598     if test "$GCC" != yes; then
6599       reload_cmds=false
6600     fi
6601     ;;
6602   darwin*)
6603     if test "$GCC" = yes; then
6604       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6605     else
6606       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6607     fi
6608     ;;
6609 esac
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619 if test -n "$ac_tool_prefix"; then
6620   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6621 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6623 $as_echo_n "checking for $ac_word... " >&6; }
6624 if ${ac_cv_prog_OBJDUMP+:} false; then :
6625   $as_echo_n "(cached) " >&6
6626 else
6627   if test -n "$OBJDUMP"; then
6628   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6629 else
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 for as_dir in $PATH
6632 do
6633   IFS=$as_save_IFS
6634   test -z "$as_dir" && as_dir=.
6635     for ac_exec_ext in '' $ac_executable_extensions; do
6636   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6637     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6639     break 2
6640   fi
6641 done
6642   done
6643 IFS=$as_save_IFS
6644
6645 fi
6646 fi
6647 OBJDUMP=$ac_cv_prog_OBJDUMP
6648 if test -n "$OBJDUMP"; then
6649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6650 $as_echo "$OBJDUMP" >&6; }
6651 else
6652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6653 $as_echo "no" >&6; }
6654 fi
6655
6656
6657 fi
6658 if test -z "$ac_cv_prog_OBJDUMP"; then
6659   ac_ct_OBJDUMP=$OBJDUMP
6660   # Extract the first word of "objdump", so it can be a program name with args.
6661 set dummy objdump; ac_word=$2
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663 $as_echo_n "checking for $ac_word... " >&6; }
6664 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6665   $as_echo_n "(cached) " >&6
6666 else
6667   if test -n "$ac_ct_OBJDUMP"; then
6668   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6669 else
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 for as_dir in $PATH
6672 do
6673   IFS=$as_save_IFS
6674   test -z "$as_dir" && as_dir=.
6675     for ac_exec_ext in '' $ac_executable_extensions; do
6676   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6677     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6679     break 2
6680   fi
6681 done
6682   done
6683 IFS=$as_save_IFS
6684
6685 fi
6686 fi
6687 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6688 if test -n "$ac_ct_OBJDUMP"; then
6689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6690 $as_echo "$ac_ct_OBJDUMP" >&6; }
6691 else
6692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 $as_echo "no" >&6; }
6694 fi
6695
6696   if test "x$ac_ct_OBJDUMP" = x; then
6697     OBJDUMP="false"
6698   else
6699     case $cross_compiling:$ac_tool_warned in
6700 yes:)
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6703 ac_tool_warned=yes ;;
6704 esac
6705     OBJDUMP=$ac_ct_OBJDUMP
6706   fi
6707 else
6708   OBJDUMP="$ac_cv_prog_OBJDUMP"
6709 fi
6710
6711 test -z "$OBJDUMP" && OBJDUMP=objdump
6712
6713
6714
6715
6716
6717
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6719 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6720 if ${lt_cv_deplibs_check_method+:} false; then :
6721   $as_echo_n "(cached) " >&6
6722 else
6723   lt_cv_file_magic_cmd='$MAGIC_CMD'
6724 lt_cv_file_magic_test_file=
6725 lt_cv_deplibs_check_method='unknown'
6726 # Need to set the preceding variable on all platforms that support
6727 # interlibrary dependencies.
6728 # 'none' -- dependencies not supported.
6729 # `unknown' -- same as none, but documents that we really don't know.
6730 # 'pass_all' -- all dependencies passed with no checks.
6731 # 'test_compile' -- check by making test program.
6732 # 'file_magic [[regex]]' -- check by looking for files in library path
6733 # which responds to the $file_magic_cmd with a given extended regex.
6734 # If you have `file' or equivalent on your system and you're not sure
6735 # whether `pass_all' will *always* work, you probably want this one.
6736
6737 case $host_os in
6738 aix[4-9]*)
6739   lt_cv_deplibs_check_method=pass_all
6740   ;;
6741
6742 beos*)
6743   lt_cv_deplibs_check_method=pass_all
6744   ;;
6745
6746 bsdi[45]*)
6747   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6748   lt_cv_file_magic_cmd='/usr/bin/file -L'
6749   lt_cv_file_magic_test_file=/shlib/libc.so
6750   ;;
6751
6752 cygwin*)
6753   # func_win32_libid is a shell function defined in ltmain.sh
6754   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6755   lt_cv_file_magic_cmd='func_win32_libid'
6756   ;;
6757
6758 mingw* | pw32*)
6759   # Base MSYS/MinGW do not provide the 'file' command needed by
6760   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6761   # unless we find 'file', for example because we are cross-compiling.
6762   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6763   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6764     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6765     lt_cv_file_magic_cmd='func_win32_libid'
6766   else
6767     # Keep this pattern in sync with the one in func_win32_libid.
6768     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6769     lt_cv_file_magic_cmd='$OBJDUMP -f'
6770   fi
6771   ;;
6772
6773 cegcc*)
6774   # use the weaker test based on 'objdump'. See mingw*.
6775   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6776   lt_cv_file_magic_cmd='$OBJDUMP -f'
6777   ;;
6778
6779 darwin* | rhapsody*)
6780   lt_cv_deplibs_check_method=pass_all
6781   ;;
6782
6783 freebsd* | dragonfly*)
6784   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6785     case $host_cpu in
6786     i*86 )
6787       # Not sure whether the presence of OpenBSD here was a mistake.
6788       # Let's accept both of them until this is cleared up.
6789       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6790       lt_cv_file_magic_cmd=/usr/bin/file
6791       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6792       ;;
6793     esac
6794   else
6795     lt_cv_deplibs_check_method=pass_all
6796   fi
6797   ;;
6798
6799 haiku*)
6800   lt_cv_deplibs_check_method=pass_all
6801   ;;
6802
6803 hpux10.20* | hpux11*)
6804   lt_cv_file_magic_cmd=/usr/bin/file
6805   case $host_cpu in
6806   ia64*)
6807     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6808     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6809     ;;
6810   hppa*64*)
6811     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]'
6812     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6813     ;;
6814   *)
6815     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6816     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6817     ;;
6818   esac
6819   ;;
6820
6821 interix[3-9]*)
6822   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6823   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6824   ;;
6825
6826 irix5* | irix6* | nonstopux*)
6827   case $LD in
6828   *-32|*"-32 ") libmagic=32-bit;;
6829   *-n32|*"-n32 ") libmagic=N32;;
6830   *-64|*"-64 ") libmagic=64-bit;;
6831   *) libmagic=never-match;;
6832   esac
6833   lt_cv_deplibs_check_method=pass_all
6834   ;;
6835
6836 # This must be glibc/ELF.
6837 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6838   lt_cv_deplibs_check_method=pass_all
6839   ;;
6840
6841 netbsd* | netbsdelf*-gnu)
6842   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6843     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6844   else
6845     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6846   fi
6847   ;;
6848
6849 newos6*)
6850   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6851   lt_cv_file_magic_cmd=/usr/bin/file
6852   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6853   ;;
6854
6855 *nto* | *qnx*)
6856   lt_cv_deplibs_check_method=pass_all
6857   ;;
6858
6859 openbsd*)
6860   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6861     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6862   else
6863     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6864   fi
6865   ;;
6866
6867 osf3* | osf4* | osf5*)
6868   lt_cv_deplibs_check_method=pass_all
6869   ;;
6870
6871 rdos*)
6872   lt_cv_deplibs_check_method=pass_all
6873   ;;
6874
6875 solaris*)
6876   lt_cv_deplibs_check_method=pass_all
6877   ;;
6878
6879 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6880   lt_cv_deplibs_check_method=pass_all
6881   ;;
6882
6883 sysv4 | sysv4.3*)
6884   case $host_vendor in
6885   motorola)
6886     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]'
6887     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6888     ;;
6889   ncr)
6890     lt_cv_deplibs_check_method=pass_all
6891     ;;
6892   sequent)
6893     lt_cv_file_magic_cmd='/bin/file'
6894     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6895     ;;
6896   sni)
6897     lt_cv_file_magic_cmd='/bin/file'
6898     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6899     lt_cv_file_magic_test_file=/lib/libc.so
6900     ;;
6901   siemens)
6902     lt_cv_deplibs_check_method=pass_all
6903     ;;
6904   pc)
6905     lt_cv_deplibs_check_method=pass_all
6906     ;;
6907   esac
6908   ;;
6909
6910 tpf*)
6911   lt_cv_deplibs_check_method=pass_all
6912   ;;
6913 esac
6914
6915 fi
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6917 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6918
6919 file_magic_glob=
6920 want_nocaseglob=no
6921 if test "$build" = "$host"; then
6922   case $host_os in
6923   mingw* | pw32*)
6924     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6925       want_nocaseglob=yes
6926     else
6927       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6928     fi
6929     ;;
6930   esac
6931 fi
6932
6933 file_magic_cmd=$lt_cv_file_magic_cmd
6934 deplibs_check_method=$lt_cv_deplibs_check_method
6935 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958 if test -n "$ac_tool_prefix"; then
6959   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6960 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_DLLTOOL+:} false; then :
6964   $as_echo_n "(cached) " >&6
6965 else
6966   if test -n "$DLLTOOL"; then
6967   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6968 else
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970 for as_dir in $PATH
6971 do
6972   IFS=$as_save_IFS
6973   test -z "$as_dir" && as_dir=.
6974     for ac_exec_ext in '' $ac_executable_extensions; do
6975   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978     break 2
6979   fi
6980 done
6981   done
6982 IFS=$as_save_IFS
6983
6984 fi
6985 fi
6986 DLLTOOL=$ac_cv_prog_DLLTOOL
6987 if test -n "$DLLTOOL"; then
6988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6989 $as_echo "$DLLTOOL" >&6; }
6990 else
6991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6993 fi
6994
6995
6996 fi
6997 if test -z "$ac_cv_prog_DLLTOOL"; then
6998   ac_ct_DLLTOOL=$DLLTOOL
6999   # Extract the first word of "dlltool", so it can be a program name with args.
7000 set dummy dlltool; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7004   $as_echo_n "(cached) " >&6
7005 else
7006   if test -n "$ac_ct_DLLTOOL"; then
7007   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7008 else
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 for as_dir in $PATH
7011 do
7012   IFS=$as_save_IFS
7013   test -z "$as_dir" && as_dir=.
7014     for ac_exec_ext in '' $ac_executable_extensions; do
7015   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7016     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7018     break 2
7019   fi
7020 done
7021   done
7022 IFS=$as_save_IFS
7023
7024 fi
7025 fi
7026 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7027 if test -n "$ac_ct_DLLTOOL"; then
7028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7029 $as_echo "$ac_ct_DLLTOOL" >&6; }
7030 else
7031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7033 fi
7034
7035   if test "x$ac_ct_DLLTOOL" = x; then
7036     DLLTOOL="false"
7037   else
7038     case $cross_compiling:$ac_tool_warned in
7039 yes:)
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned=yes ;;
7043 esac
7044     DLLTOOL=$ac_ct_DLLTOOL
7045   fi
7046 else
7047   DLLTOOL="$ac_cv_prog_DLLTOOL"
7048 fi
7049
7050 test -z "$DLLTOOL" && DLLTOOL=dlltool
7051
7052
7053
7054
7055
7056
7057
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7059 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7060 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7061   $as_echo_n "(cached) " >&6
7062 else
7063   lt_cv_sharedlib_from_linklib_cmd='unknown'
7064
7065 case $host_os in
7066 cygwin* | mingw* | pw32* | cegcc*)
7067   # two different shell functions defined in ltmain.sh
7068   # decide which to use based on capabilities of $DLLTOOL
7069   case `$DLLTOOL --help 2>&1` in
7070   *--identify-strict*)
7071     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7072     ;;
7073   *)
7074     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7075     ;;
7076   esac
7077   ;;
7078 *)
7079   # fallback: assume linklib IS sharedlib
7080   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7081   ;;
7082 esac
7083
7084 fi
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7086 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7087 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7088 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7089
7090
7091
7092
7093
7094
7095
7096
7097 if test -n "$ac_tool_prefix"; then
7098   for ac_prog in ar
7099   do
7100     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if ${ac_cv_prog_AR+:} false; then :
7105   $as_echo_n "(cached) " >&6
7106 else
7107   if test -n "$AR"; then
7108   ac_cv_prog_AR="$AR" # Let the user override the test.
7109 else
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 for as_dir in $PATH
7112 do
7113   IFS=$as_save_IFS
7114   test -z "$as_dir" && as_dir=.
7115     for ac_exec_ext in '' $ac_executable_extensions; do
7116   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7117     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119     break 2
7120   fi
7121 done
7122   done
7123 IFS=$as_save_IFS
7124
7125 fi
7126 fi
7127 AR=$ac_cv_prog_AR
7128 if test -n "$AR"; then
7129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7130 $as_echo "$AR" >&6; }
7131 else
7132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 $as_echo "no" >&6; }
7134 fi
7135
7136
7137     test -n "$AR" && break
7138   done
7139 fi
7140 if test -z "$AR"; then
7141   ac_ct_AR=$AR
7142   for ac_prog in ar
7143 do
7144   # Extract the first word of "$ac_prog", so it can be a program name with args.
7145 set dummy $ac_prog; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7149   $as_echo_n "(cached) " >&6
7150 else
7151   if test -n "$ac_ct_AR"; then
7152   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7153 else
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 for as_dir in $PATH
7156 do
7157   IFS=$as_save_IFS
7158   test -z "$as_dir" && as_dir=.
7159     for ac_exec_ext in '' $ac_executable_extensions; do
7160   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161     ac_cv_prog_ac_ct_AR="$ac_prog"
7162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163     break 2
7164   fi
7165 done
7166   done
7167 IFS=$as_save_IFS
7168
7169 fi
7170 fi
7171 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7172 if test -n "$ac_ct_AR"; then
7173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7174 $as_echo "$ac_ct_AR" >&6; }
7175 else
7176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7178 fi
7179
7180
7181   test -n "$ac_ct_AR" && break
7182 done
7183
7184   if test "x$ac_ct_AR" = x; then
7185     AR="false"
7186   else
7187     case $cross_compiling:$ac_tool_warned in
7188 yes:)
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7191 ac_tool_warned=yes ;;
7192 esac
7193     AR=$ac_ct_AR
7194   fi
7195 fi
7196
7197 : ${AR=ar}
7198 : ${AR_FLAGS=cru}
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7211 $as_echo_n "checking for archiver @FILE support... " >&6; }
7212 if ${lt_cv_ar_at_file+:} false; then :
7213   $as_echo_n "(cached) " >&6
7214 else
7215   lt_cv_ar_at_file=no
7216    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h.  */
7218
7219 int
7220 main ()
7221 {
7222
7223   ;
7224   return 0;
7225 }
7226 _ACEOF
7227 if ac_fn_c_try_compile "$LINENO"; then :
7228   echo conftest.$ac_objext > conftest.lst
7229       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7230       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7231   (eval $lt_ar_try) 2>&5
7232   ac_status=$?
7233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7234   test $ac_status = 0; }
7235       if test "$ac_status" -eq 0; then
7236         # Ensure the archiver fails upon bogus file names.
7237         rm -f conftest.$ac_objext libconftest.a
7238         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7239   (eval $lt_ar_try) 2>&5
7240   ac_status=$?
7241   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7242   test $ac_status = 0; }
7243         if test "$ac_status" -ne 0; then
7244           lt_cv_ar_at_file=@
7245         fi
7246       fi
7247       rm -f conftest.* libconftest.a
7248
7249 fi
7250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7251
7252 fi
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7254 $as_echo "$lt_cv_ar_at_file" >&6; }
7255
7256 if test "x$lt_cv_ar_at_file" = xno; then
7257   archiver_list_spec=
7258 else
7259   archiver_list_spec=$lt_cv_ar_at_file
7260 fi
7261
7262
7263
7264
7265
7266
7267
7268 if test -n "$ac_tool_prefix"; then
7269   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}strip; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_prog_STRIP+:} false; then :
7274   $as_echo_n "(cached) " >&6
7275 else
7276   if test -n "$STRIP"; then
7277   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7281 do
7282   IFS=$as_save_IFS
7283   test -z "$as_dir" && as_dir=.
7284     for ac_exec_ext in '' $ac_executable_extensions; do
7285   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288     break 2
7289   fi
7290 done
7291   done
7292 IFS=$as_save_IFS
7293
7294 fi
7295 fi
7296 STRIP=$ac_cv_prog_STRIP
7297 if test -n "$STRIP"; then
7298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7299 $as_echo "$STRIP" >&6; }
7300 else
7301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7303 fi
7304
7305
7306 fi
7307 if test -z "$ac_cv_prog_STRIP"; then
7308   ac_ct_STRIP=$STRIP
7309   # Extract the first word of "strip", so it can be a program name with args.
7310 set dummy strip; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7314   $as_echo_n "(cached) " >&6
7315 else
7316   if test -n "$ac_ct_STRIP"; then
7317   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7318 else
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 for as_dir in $PATH
7321 do
7322   IFS=$as_save_IFS
7323   test -z "$as_dir" && as_dir=.
7324     for ac_exec_ext in '' $ac_executable_extensions; do
7325   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7326     ac_cv_prog_ac_ct_STRIP="strip"
7327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328     break 2
7329   fi
7330 done
7331   done
7332 IFS=$as_save_IFS
7333
7334 fi
7335 fi
7336 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7337 if test -n "$ac_ct_STRIP"; then
7338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7339 $as_echo "$ac_ct_STRIP" >&6; }
7340 else
7341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7343 fi
7344
7345   if test "x$ac_ct_STRIP" = x; then
7346     STRIP=":"
7347   else
7348     case $cross_compiling:$ac_tool_warned in
7349 yes:)
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned=yes ;;
7353 esac
7354     STRIP=$ac_ct_STRIP
7355   fi
7356 else
7357   STRIP="$ac_cv_prog_STRIP"
7358 fi
7359
7360 test -z "$STRIP" && STRIP=:
7361
7362
7363
7364
7365
7366
7367 if test -n "$ac_tool_prefix"; then
7368   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7369 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if ${ac_cv_prog_RANLIB+:} false; then :
7373   $as_echo_n "(cached) " >&6
7374 else
7375   if test -n "$RANLIB"; then
7376   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7377 else
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 for as_dir in $PATH
7380 do
7381   IFS=$as_save_IFS
7382   test -z "$as_dir" && as_dir=.
7383     for ac_exec_ext in '' $ac_executable_extensions; do
7384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7385     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387     break 2
7388   fi
7389 done
7390   done
7391 IFS=$as_save_IFS
7392
7393 fi
7394 fi
7395 RANLIB=$ac_cv_prog_RANLIB
7396 if test -n "$RANLIB"; then
7397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7398 $as_echo "$RANLIB" >&6; }
7399 else
7400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7401 $as_echo "no" >&6; }
7402 fi
7403
7404
7405 fi
7406 if test -z "$ac_cv_prog_RANLIB"; then
7407   ac_ct_RANLIB=$RANLIB
7408   # Extract the first word of "ranlib", so it can be a program name with args.
7409 set dummy ranlib; ac_word=$2
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411 $as_echo_n "checking for $ac_word... " >&6; }
7412 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7413   $as_echo_n "(cached) " >&6
7414 else
7415   if test -n "$ac_ct_RANLIB"; then
7416   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7417 else
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419 for as_dir in $PATH
7420 do
7421   IFS=$as_save_IFS
7422   test -z "$as_dir" && as_dir=.
7423     for ac_exec_ext in '' $ac_executable_extensions; do
7424   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7425     ac_cv_prog_ac_ct_RANLIB="ranlib"
7426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7427     break 2
7428   fi
7429 done
7430   done
7431 IFS=$as_save_IFS
7432
7433 fi
7434 fi
7435 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7436 if test -n "$ac_ct_RANLIB"; then
7437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7438 $as_echo "$ac_ct_RANLIB" >&6; }
7439 else
7440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 $as_echo "no" >&6; }
7442 fi
7443
7444   if test "x$ac_ct_RANLIB" = x; then
7445     RANLIB=":"
7446   else
7447     case $cross_compiling:$ac_tool_warned in
7448 yes:)
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7451 ac_tool_warned=yes ;;
7452 esac
7453     RANLIB=$ac_ct_RANLIB
7454   fi
7455 else
7456   RANLIB="$ac_cv_prog_RANLIB"
7457 fi
7458
7459 test -z "$RANLIB" && RANLIB=:
7460
7461
7462
7463
7464
7465
7466 # Determine commands to create old-style static archives.
7467 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7468 old_postinstall_cmds='chmod 644 $oldlib'
7469 old_postuninstall_cmds=
7470
7471 if test -n "$RANLIB"; then
7472   case $host_os in
7473   openbsd*)
7474     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7475     ;;
7476   *)
7477     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7478     ;;
7479   esac
7480   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7481 fi
7482
7483 case $host_os in
7484   darwin*)
7485     lock_old_archive_extraction=yes ;;
7486   *)
7487     lock_old_archive_extraction=no ;;
7488 esac
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528 # If no C compiler was specified, use CC.
7529 LTCC=${LTCC-"$CC"}
7530
7531 # If no C compiler flags were specified, use CFLAGS.
7532 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7533
7534 # Allow CC to be a program name with arguments.
7535 compiler=$CC
7536
7537
7538 # Check for command to grab the raw symbol name followed by C symbol from nm.
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7540 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7541 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7542   $as_echo_n "(cached) " >&6
7543 else
7544
7545 # These are sane defaults that work on at least a few old systems.
7546 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7547
7548 # Character class describing NM global symbol codes.
7549 symcode='[BCDEGRST]'
7550
7551 # Regexp to match symbols that can be accessed directly from C.
7552 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7553
7554 # Define system-specific variables.
7555 case $host_os in
7556 aix*)
7557   symcode='[BCDT]'
7558   ;;
7559 cygwin* | mingw* | pw32* | cegcc*)
7560   symcode='[ABCDGISTW]'
7561   ;;
7562 hpux*)
7563   if test "$host_cpu" = ia64; then
7564     symcode='[ABCDEGRST]'
7565   fi
7566   ;;
7567 irix* | nonstopux*)
7568   symcode='[BCDEGRST]'
7569   ;;
7570 osf*)
7571   symcode='[BCDEGQRST]'
7572   ;;
7573 solaris*)
7574   symcode='[BDRT]'
7575   ;;
7576 sco3.2v5*)
7577   symcode='[DT]'
7578   ;;
7579 sysv4.2uw2*)
7580   symcode='[DT]'
7581   ;;
7582 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7583   symcode='[ABDT]'
7584   ;;
7585 sysv4)
7586   symcode='[DFNSTU]'
7587   ;;
7588 esac
7589
7590 # If we're using GNU nm, then use its standard symbol codes.
7591 case `$NM -V 2>&1` in
7592 *GNU* | *'with BFD'*)
7593   symcode='[ABCDGIRSTW]' ;;
7594 esac
7595
7596 # Transform an extracted symbol line into a proper C declaration.
7597 # Some systems (esp. on ia64) link data and code symbols differently,
7598 # so use this general approach.
7599 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7600
7601 # Transform an extracted symbol line into symbol name and symbol address
7602 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7603 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'"
7604
7605 # Handle CRLF in mingw tool chain
7606 opt_cr=
7607 case $build_os in
7608 mingw*)
7609   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7610   ;;
7611 esac
7612
7613 # Try without a prefix underscore, then with it.
7614 for ac_symprfx in "" "_"; do
7615
7616   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7617   symxfrm="\\1 $ac_symprfx\\2 \\2"
7618
7619   # Write the raw and C identifiers.
7620   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7621     # Fake it for dumpbin and say T for any non-static function
7622     # and D for any global variable.
7623     # Also find C++ and __fastcall symbols from MSVC++,
7624     # which start with @ or ?.
7625     lt_cv_sys_global_symbol_pipe="$AWK '"\
7626 "     {last_section=section; section=\$ 3};"\
7627 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7628 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7629 "     \$ 0!~/External *\|/{next};"\
7630 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7631 "     {if(hide[section]) next};"\
7632 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7633 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7634 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7635 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7636 "     ' prfx=^$ac_symprfx"
7637   else
7638     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7639   fi
7640   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7641
7642   # Check to see that the pipe works correctly.
7643   pipe_works=no
7644
7645   rm -f conftest*
7646   cat > conftest.$ac_ext <<_LT_EOF
7647 #ifdef __cplusplus
7648 extern "C" {
7649 #endif
7650 char nm_test_var;
7651 void nm_test_func(void);
7652 void nm_test_func(void){}
7653 #ifdef __cplusplus
7654 }
7655 #endif
7656 int main(){nm_test_var='a';nm_test_func();return(0);}
7657 _LT_EOF
7658
7659   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7660   (eval $ac_compile) 2>&5
7661   ac_status=$?
7662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7663   test $ac_status = 0; }; then
7664     # Now try to grab the symbols.
7665     nlist=conftest.nm
7666     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7667   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7668   ac_status=$?
7669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7670   test $ac_status = 0; } && test -s "$nlist"; then
7671       # Try sorting and uniquifying the output.
7672       if sort "$nlist" | uniq > "$nlist"T; then
7673         mv -f "$nlist"T "$nlist"
7674       else
7675         rm -f "$nlist"T
7676       fi
7677
7678       # Make sure that we snagged all the symbols we need.
7679       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7680         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7681           cat <<_LT_EOF > conftest.$ac_ext
7682 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7683 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7684 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7685    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7686 # define LT_DLSYM_CONST
7687 #elif defined(__osf__)
7688 /* This system does not cope well with relocations in const data.  */
7689 # define LT_DLSYM_CONST
7690 #else
7691 # define LT_DLSYM_CONST const
7692 #endif
7693
7694 #ifdef __cplusplus
7695 extern "C" {
7696 #endif
7697
7698 _LT_EOF
7699           # Now generate the symbol file.
7700           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7701
7702           cat <<_LT_EOF >> conftest.$ac_ext
7703
7704 /* The mapping between symbol names and symbols.  */
7705 LT_DLSYM_CONST struct {
7706   const char *name;
7707   void       *address;
7708 }
7709 lt__PROGRAM__LTX_preloaded_symbols[] =
7710 {
7711   { "@PROGRAM@", (void *) 0 },
7712 _LT_EOF
7713           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7714           cat <<\_LT_EOF >> conftest.$ac_ext
7715   {0, (void *) 0}
7716 };
7717
7718 /* This works around a problem in FreeBSD linker */
7719 #ifdef FREEBSD_WORKAROUND
7720 static const void *lt_preloaded_setup() {
7721   return lt__PROGRAM__LTX_preloaded_symbols;
7722 }
7723 #endif
7724
7725 #ifdef __cplusplus
7726 }
7727 #endif
7728 _LT_EOF
7729           # Now try linking the two files.
7730           mv conftest.$ac_objext conftstm.$ac_objext
7731           lt_globsym_save_LIBS=$LIBS
7732           lt_globsym_save_CFLAGS=$CFLAGS
7733           LIBS="conftstm.$ac_objext"
7734           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7735           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7736   (eval $ac_link) 2>&5
7737   ac_status=$?
7738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7739   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7740             pipe_works=yes
7741           fi
7742           LIBS=$lt_globsym_save_LIBS
7743           CFLAGS=$lt_globsym_save_CFLAGS
7744         else
7745           echo "cannot find nm_test_func in $nlist" >&5
7746         fi
7747       else
7748         echo "cannot find nm_test_var in $nlist" >&5
7749       fi
7750     else
7751       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7752     fi
7753   else
7754     echo "$progname: failed program was:" >&5
7755     cat conftest.$ac_ext >&5
7756   fi
7757   rm -rf conftest* conftst*
7758
7759   # Do not use the global_symbol_pipe unless it works.
7760   if test "$pipe_works" = yes; then
7761     break
7762   else
7763     lt_cv_sys_global_symbol_pipe=
7764   fi
7765 done
7766
7767 fi
7768
7769 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7770   lt_cv_sys_global_symbol_to_cdecl=
7771 fi
7772 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7774 $as_echo "failed" >&6; }
7775 else
7776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7777 $as_echo "ok" >&6; }
7778 fi
7779
7780 # Response file support.
7781 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7782   nm_file_list_spec='@'
7783 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7784   nm_file_list_spec='@'
7785 fi
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7814 $as_echo_n "checking for sysroot... " >&6; }
7815
7816 # Check whether --with-sysroot was given.
7817 if test "${with_sysroot+set}" = set; then :
7818   withval=$with_sysroot;
7819 else
7820   with_sysroot=no
7821 fi
7822
7823
7824 lt_sysroot=
7825 case ${with_sysroot} in #(
7826  yes)
7827    if test "$GCC" = yes; then
7828      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7829    fi
7830    ;; #(
7831  /*)
7832    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7833    ;; #(
7834  no|'')
7835    ;; #(
7836  *)
7837    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7838 $as_echo "${with_sysroot}" >&6; }
7839    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7840    ;;
7841 esac
7842
7843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7844 $as_echo "${lt_sysroot:-no}" >&6; }
7845
7846
7847
7848
7849
7850 # Check whether --enable-libtool-lock was given.
7851 if test "${enable_libtool_lock+set}" = set; then :
7852   enableval=$enable_libtool_lock;
7853 fi
7854
7855 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7856
7857 # Some flags need to be propagated to the compiler or linker for good
7858 # libtool support.
7859 case $host in
7860 ia64-*-hpux*)
7861   # Find out which ABI we are using.
7862   echo 'int i;' > conftest.$ac_ext
7863   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7864   (eval $ac_compile) 2>&5
7865   ac_status=$?
7866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7867   test $ac_status = 0; }; then
7868     case `/usr/bin/file conftest.$ac_objext` in
7869       *ELF-32*)
7870         HPUX_IA64_MODE="32"
7871         ;;
7872       *ELF-64*)
7873         HPUX_IA64_MODE="64"
7874         ;;
7875     esac
7876   fi
7877   rm -rf conftest*
7878   ;;
7879 *-*-irix6*)
7880   # Find out which ABI we are using.
7881   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7882   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7883   (eval $ac_compile) 2>&5
7884   ac_status=$?
7885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7886   test $ac_status = 0; }; then
7887     if test "$lt_cv_prog_gnu_ld" = yes; then
7888       case `/usr/bin/file conftest.$ac_objext` in
7889         *32-bit*)
7890           LD="${LD-ld} -melf32bsmip"
7891           ;;
7892         *N32*)
7893           LD="${LD-ld} -melf32bmipn32"
7894           ;;
7895         *64-bit*)
7896           LD="${LD-ld} -melf64bmip"
7897         ;;
7898       esac
7899     else
7900       case `/usr/bin/file conftest.$ac_objext` in
7901         *32-bit*)
7902           LD="${LD-ld} -32"
7903           ;;
7904         *N32*)
7905           LD="${LD-ld} -n32"
7906           ;;
7907         *64-bit*)
7908           LD="${LD-ld} -64"
7909           ;;
7910       esac
7911     fi
7912   fi
7913   rm -rf conftest*
7914   ;;
7915
7916 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7917 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7918   # Find out which ABI we are using.
7919   echo 'int i;' > conftest.$ac_ext
7920   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7921   (eval $ac_compile) 2>&5
7922   ac_status=$?
7923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7924   test $ac_status = 0; }; then
7925     case `/usr/bin/file conftest.o` in
7926       *32-bit*)
7927         case $host in
7928           x86_64-*kfreebsd*-gnu)
7929             LD="${LD-ld} -m elf_i386_fbsd"
7930             ;;
7931           x86_64-*linux*)
7932             case `/usr/bin/file conftest.o` in
7933               *x86-64*)
7934                 LD="${LD-ld} -m elf32_x86_64"
7935                 ;;
7936               *)
7937                 LD="${LD-ld} -m elf_i386"
7938                 ;;
7939             esac
7940             ;;
7941           powerpc64le-*)
7942             LD="${LD-ld} -m elf32lppclinux"
7943             ;;
7944           powerpc64-*)
7945             LD="${LD-ld} -m elf32ppclinux"
7946             ;;
7947           s390x-*linux*)
7948             LD="${LD-ld} -m elf_s390"
7949             ;;
7950           sparc64-*linux*)
7951             LD="${LD-ld} -m elf32_sparc"
7952             ;;
7953         esac
7954         ;;
7955       *64-bit*)
7956         case $host in
7957           x86_64-*kfreebsd*-gnu)
7958             LD="${LD-ld} -m elf_x86_64_fbsd"
7959             ;;
7960           x86_64-*linux*)
7961             LD="${LD-ld} -m elf_x86_64"
7962             ;;
7963           powerpcle-*)
7964             LD="${LD-ld} -m elf64lppc"
7965             ;;
7966           powerpc-*)
7967             LD="${LD-ld} -m elf64ppc"
7968             ;;
7969           s390*-*linux*|s390*-*tpf*)
7970             LD="${LD-ld} -m elf64_s390"
7971             ;;
7972           sparc*-*linux*)
7973             LD="${LD-ld} -m elf64_sparc"
7974             ;;
7975         esac
7976         ;;
7977     esac
7978   fi
7979   rm -rf conftest*
7980   ;;
7981
7982 *-*-sco3.2v5*)
7983   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7984   SAVE_CFLAGS="$CFLAGS"
7985   CFLAGS="$CFLAGS -belf"
7986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7987 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7988 if ${lt_cv_cc_needs_belf+:} false; then :
7989   $as_echo_n "(cached) " >&6
7990 else
7991   ac_ext=c
7992 ac_cpp='$CPP $CPPFLAGS'
7993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7996
7997      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7998 /* end confdefs.h.  */
7999
8000 int
8001 main ()
8002 {
8003
8004   ;
8005   return 0;
8006 }
8007 _ACEOF
8008 if ac_fn_c_try_link "$LINENO"; then :
8009   lt_cv_cc_needs_belf=yes
8010 else
8011   lt_cv_cc_needs_belf=no
8012 fi
8013 rm -f core conftest.err conftest.$ac_objext \
8014     conftest$ac_exeext conftest.$ac_ext
8015      ac_ext=c
8016 ac_cpp='$CPP $CPPFLAGS'
8017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8020
8021 fi
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8023 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8024   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8025     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8026     CFLAGS="$SAVE_CFLAGS"
8027   fi
8028   ;;
8029 *-*solaris*)
8030   # Find out which ABI we are using.
8031   echo 'int i;' > conftest.$ac_ext
8032   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8033   (eval $ac_compile) 2>&5
8034   ac_status=$?
8035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8036   test $ac_status = 0; }; then
8037     case `/usr/bin/file conftest.o` in
8038     *64-bit*)
8039       case $lt_cv_prog_gnu_ld in
8040       yes*)
8041         case $host in
8042         i?86-*-solaris*)
8043           LD="${LD-ld} -m elf_x86_64"
8044           ;;
8045         sparc*-*-solaris*)
8046           LD="${LD-ld} -m elf64_sparc"
8047           ;;
8048         esac
8049         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8050         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8051           LD="${LD-ld}_sol2"
8052         fi
8053         ;;
8054       *)
8055         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8056           LD="${LD-ld} -64"
8057         fi
8058         ;;
8059       esac
8060       ;;
8061     esac
8062   fi
8063   rm -rf conftest*
8064   ;;
8065 esac
8066
8067 need_locks="$enable_libtool_lock"
8068
8069 if test -n "$ac_tool_prefix"; then
8070   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8071 set dummy ${ac_tool_prefix}mt; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8073 $as_echo_n "checking for $ac_word... " >&6; }
8074 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8075   $as_echo_n "(cached) " >&6
8076 else
8077   if test -n "$MANIFEST_TOOL"; then
8078   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8079 else
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 for as_dir in $PATH
8082 do
8083   IFS=$as_save_IFS
8084   test -z "$as_dir" && as_dir=.
8085     for ac_exec_ext in '' $ac_executable_extensions; do
8086   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8087     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8089     break 2
8090   fi
8091 done
8092   done
8093 IFS=$as_save_IFS
8094
8095 fi
8096 fi
8097 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8098 if test -n "$MANIFEST_TOOL"; then
8099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8100 $as_echo "$MANIFEST_TOOL" >&6; }
8101 else
8102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8103 $as_echo "no" >&6; }
8104 fi
8105
8106
8107 fi
8108 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8109   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8110   # Extract the first word of "mt", so it can be a program name with args.
8111 set dummy mt; ac_word=$2
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8113 $as_echo_n "checking for $ac_word... " >&6; }
8114 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8115   $as_echo_n "(cached) " >&6
8116 else
8117   if test -n "$ac_ct_MANIFEST_TOOL"; then
8118   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8119 else
8120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 for as_dir in $PATH
8122 do
8123   IFS=$as_save_IFS
8124   test -z "$as_dir" && as_dir=.
8125     for ac_exec_ext in '' $ac_executable_extensions; do
8126   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8127     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8128     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8129     break 2
8130   fi
8131 done
8132   done
8133 IFS=$as_save_IFS
8134
8135 fi
8136 fi
8137 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8138 if test -n "$ac_ct_MANIFEST_TOOL"; then
8139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8140 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8141 else
8142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8143 $as_echo "no" >&6; }
8144 fi
8145
8146   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8147     MANIFEST_TOOL=":"
8148   else
8149     case $cross_compiling:$ac_tool_warned in
8150 yes:)
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8153 ac_tool_warned=yes ;;
8154 esac
8155     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8156   fi
8157 else
8158   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8159 fi
8160
8161 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8163 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8164 if ${lt_cv_path_mainfest_tool+:} false; then :
8165   $as_echo_n "(cached) " >&6
8166 else
8167   lt_cv_path_mainfest_tool=no
8168   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8169   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8170   cat conftest.err >&5
8171   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8172     lt_cv_path_mainfest_tool=yes
8173   fi
8174   rm -f conftest*
8175 fi
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8177 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8178 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8179   MANIFEST_TOOL=:
8180 fi
8181
8182
8183
8184
8185
8186
8187   case $host_os in
8188     rhapsody* | darwin*)
8189     if test -n "$ac_tool_prefix"; then
8190   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8191 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8193 $as_echo_n "checking for $ac_word... " >&6; }
8194 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8195   $as_echo_n "(cached) " >&6
8196 else
8197   if test -n "$DSYMUTIL"; then
8198   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8199 else
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201 for as_dir in $PATH
8202 do
8203   IFS=$as_save_IFS
8204   test -z "$as_dir" && as_dir=.
8205     for ac_exec_ext in '' $ac_executable_extensions; do
8206   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8207     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8209     break 2
8210   fi
8211 done
8212   done
8213 IFS=$as_save_IFS
8214
8215 fi
8216 fi
8217 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8218 if test -n "$DSYMUTIL"; then
8219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8220 $as_echo "$DSYMUTIL" >&6; }
8221 else
8222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 $as_echo "no" >&6; }
8224 fi
8225
8226
8227 fi
8228 if test -z "$ac_cv_prog_DSYMUTIL"; then
8229   ac_ct_DSYMUTIL=$DSYMUTIL
8230   # Extract the first word of "dsymutil", so it can be a program name with args.
8231 set dummy dsymutil; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233 $as_echo_n "checking for $ac_word... " >&6; }
8234 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8235   $as_echo_n "(cached) " >&6
8236 else
8237   if test -n "$ac_ct_DSYMUTIL"; then
8238   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8239 else
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 for as_dir in $PATH
8242 do
8243   IFS=$as_save_IFS
8244   test -z "$as_dir" && as_dir=.
8245     for ac_exec_ext in '' $ac_executable_extensions; do
8246   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8247     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8249     break 2
8250   fi
8251 done
8252   done
8253 IFS=$as_save_IFS
8254
8255 fi
8256 fi
8257 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8258 if test -n "$ac_ct_DSYMUTIL"; then
8259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8260 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8261 else
8262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8264 fi
8265
8266   if test "x$ac_ct_DSYMUTIL" = x; then
8267     DSYMUTIL=":"
8268   else
8269     case $cross_compiling:$ac_tool_warned in
8270 yes:)
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8273 ac_tool_warned=yes ;;
8274 esac
8275     DSYMUTIL=$ac_ct_DSYMUTIL
8276   fi
8277 else
8278   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8279 fi
8280
8281     if test -n "$ac_tool_prefix"; then
8282   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8283 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8285 $as_echo_n "checking for $ac_word... " >&6; }
8286 if ${ac_cv_prog_NMEDIT+:} false; then :
8287   $as_echo_n "(cached) " >&6
8288 else
8289   if test -n "$NMEDIT"; then
8290   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8291 else
8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8293 for as_dir in $PATH
8294 do
8295   IFS=$as_save_IFS
8296   test -z "$as_dir" && as_dir=.
8297     for ac_exec_ext in '' $ac_executable_extensions; do
8298   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8299     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8300     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8301     break 2
8302   fi
8303 done
8304   done
8305 IFS=$as_save_IFS
8306
8307 fi
8308 fi
8309 NMEDIT=$ac_cv_prog_NMEDIT
8310 if test -n "$NMEDIT"; then
8311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8312 $as_echo "$NMEDIT" >&6; }
8313 else
8314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8315 $as_echo "no" >&6; }
8316 fi
8317
8318
8319 fi
8320 if test -z "$ac_cv_prog_NMEDIT"; then
8321   ac_ct_NMEDIT=$NMEDIT
8322   # Extract the first word of "nmedit", so it can be a program name with args.
8323 set dummy nmedit; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8325 $as_echo_n "checking for $ac_word... " >&6; }
8326 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8327   $as_echo_n "(cached) " >&6
8328 else
8329   if test -n "$ac_ct_NMEDIT"; then
8330   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8331 else
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333 for as_dir in $PATH
8334 do
8335   IFS=$as_save_IFS
8336   test -z "$as_dir" && as_dir=.
8337     for ac_exec_ext in '' $ac_executable_extensions; do
8338   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8339     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8341     break 2
8342   fi
8343 done
8344   done
8345 IFS=$as_save_IFS
8346
8347 fi
8348 fi
8349 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8350 if test -n "$ac_ct_NMEDIT"; then
8351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8352 $as_echo "$ac_ct_NMEDIT" >&6; }
8353 else
8354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8355 $as_echo "no" >&6; }
8356 fi
8357
8358   if test "x$ac_ct_NMEDIT" = x; then
8359     NMEDIT=":"
8360   else
8361     case $cross_compiling:$ac_tool_warned in
8362 yes:)
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8365 ac_tool_warned=yes ;;
8366 esac
8367     NMEDIT=$ac_ct_NMEDIT
8368   fi
8369 else
8370   NMEDIT="$ac_cv_prog_NMEDIT"
8371 fi
8372
8373     if test -n "$ac_tool_prefix"; then
8374   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8375 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377 $as_echo_n "checking for $ac_word... " >&6; }
8378 if ${ac_cv_prog_LIPO+:} false; then :
8379   $as_echo_n "(cached) " >&6
8380 else
8381   if test -n "$LIPO"; then
8382   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8383 else
8384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8385 for as_dir in $PATH
8386 do
8387   IFS=$as_save_IFS
8388   test -z "$as_dir" && as_dir=.
8389     for ac_exec_ext in '' $ac_executable_extensions; do
8390   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8391     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8393     break 2
8394   fi
8395 done
8396   done
8397 IFS=$as_save_IFS
8398
8399 fi
8400 fi
8401 LIPO=$ac_cv_prog_LIPO
8402 if test -n "$LIPO"; then
8403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8404 $as_echo "$LIPO" >&6; }
8405 else
8406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407 $as_echo "no" >&6; }
8408 fi
8409
8410
8411 fi
8412 if test -z "$ac_cv_prog_LIPO"; then
8413   ac_ct_LIPO=$LIPO
8414   # Extract the first word of "lipo", so it can be a program name with args.
8415 set dummy lipo; ac_word=$2
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8417 $as_echo_n "checking for $ac_word... " >&6; }
8418 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8419   $as_echo_n "(cached) " >&6
8420 else
8421   if test -n "$ac_ct_LIPO"; then
8422   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8423 else
8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425 for as_dir in $PATH
8426 do
8427   IFS=$as_save_IFS
8428   test -z "$as_dir" && as_dir=.
8429     for ac_exec_ext in '' $ac_executable_extensions; do
8430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8431     ac_cv_prog_ac_ct_LIPO="lipo"
8432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433     break 2
8434   fi
8435 done
8436   done
8437 IFS=$as_save_IFS
8438
8439 fi
8440 fi
8441 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8442 if test -n "$ac_ct_LIPO"; then
8443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8444 $as_echo "$ac_ct_LIPO" >&6; }
8445 else
8446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447 $as_echo "no" >&6; }
8448 fi
8449
8450   if test "x$ac_ct_LIPO" = x; then
8451     LIPO=":"
8452   else
8453     case $cross_compiling:$ac_tool_warned in
8454 yes:)
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8457 ac_tool_warned=yes ;;
8458 esac
8459     LIPO=$ac_ct_LIPO
8460   fi
8461 else
8462   LIPO="$ac_cv_prog_LIPO"
8463 fi
8464
8465     if test -n "$ac_tool_prefix"; then
8466   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8467 set dummy ${ac_tool_prefix}otool; ac_word=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8469 $as_echo_n "checking for $ac_word... " >&6; }
8470 if ${ac_cv_prog_OTOOL+:} false; then :
8471   $as_echo_n "(cached) " >&6
8472 else
8473   if test -n "$OTOOL"; then
8474   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8475 else
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8477 for as_dir in $PATH
8478 do
8479   IFS=$as_save_IFS
8480   test -z "$as_dir" && as_dir=.
8481     for ac_exec_ext in '' $ac_executable_extensions; do
8482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8483     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8485     break 2
8486   fi
8487 done
8488   done
8489 IFS=$as_save_IFS
8490
8491 fi
8492 fi
8493 OTOOL=$ac_cv_prog_OTOOL
8494 if test -n "$OTOOL"; then
8495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8496 $as_echo "$OTOOL" >&6; }
8497 else
8498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8499 $as_echo "no" >&6; }
8500 fi
8501
8502
8503 fi
8504 if test -z "$ac_cv_prog_OTOOL"; then
8505   ac_ct_OTOOL=$OTOOL
8506   # Extract the first word of "otool", so it can be a program name with args.
8507 set dummy otool; ac_word=$2
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509 $as_echo_n "checking for $ac_word... " >&6; }
8510 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8511   $as_echo_n "(cached) " >&6
8512 else
8513   if test -n "$ac_ct_OTOOL"; then
8514   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8515 else
8516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8517 for as_dir in $PATH
8518 do
8519   IFS=$as_save_IFS
8520   test -z "$as_dir" && as_dir=.
8521     for ac_exec_ext in '' $ac_executable_extensions; do
8522   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8523     ac_cv_prog_ac_ct_OTOOL="otool"
8524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8525     break 2
8526   fi
8527 done
8528   done
8529 IFS=$as_save_IFS
8530
8531 fi
8532 fi
8533 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8534 if test -n "$ac_ct_OTOOL"; then
8535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8536 $as_echo "$ac_ct_OTOOL" >&6; }
8537 else
8538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539 $as_echo "no" >&6; }
8540 fi
8541
8542   if test "x$ac_ct_OTOOL" = x; then
8543     OTOOL=":"
8544   else
8545     case $cross_compiling:$ac_tool_warned in
8546 yes:)
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8549 ac_tool_warned=yes ;;
8550 esac
8551     OTOOL=$ac_ct_OTOOL
8552   fi
8553 else
8554   OTOOL="$ac_cv_prog_OTOOL"
8555 fi
8556
8557     if test -n "$ac_tool_prefix"; then
8558   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8559 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8561 $as_echo_n "checking for $ac_word... " >&6; }
8562 if ${ac_cv_prog_OTOOL64+:} false; then :
8563   $as_echo_n "(cached) " >&6
8564 else
8565   if test -n "$OTOOL64"; then
8566   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8567 else
8568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8569 for as_dir in $PATH
8570 do
8571   IFS=$as_save_IFS
8572   test -z "$as_dir" && as_dir=.
8573     for ac_exec_ext in '' $ac_executable_extensions; do
8574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8575     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8577     break 2
8578   fi
8579 done
8580   done
8581 IFS=$as_save_IFS
8582
8583 fi
8584 fi
8585 OTOOL64=$ac_cv_prog_OTOOL64
8586 if test -n "$OTOOL64"; then
8587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8588 $as_echo "$OTOOL64" >&6; }
8589 else
8590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8591 $as_echo "no" >&6; }
8592 fi
8593
8594
8595 fi
8596 if test -z "$ac_cv_prog_OTOOL64"; then
8597   ac_ct_OTOOL64=$OTOOL64
8598   # Extract the first word of "otool64", so it can be a program name with args.
8599 set dummy otool64; ac_word=$2
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8601 $as_echo_n "checking for $ac_word... " >&6; }
8602 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8603   $as_echo_n "(cached) " >&6
8604 else
8605   if test -n "$ac_ct_OTOOL64"; then
8606   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8607 else
8608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8609 for as_dir in $PATH
8610 do
8611   IFS=$as_save_IFS
8612   test -z "$as_dir" && as_dir=.
8613     for ac_exec_ext in '' $ac_executable_extensions; do
8614   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8615     ac_cv_prog_ac_ct_OTOOL64="otool64"
8616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8617     break 2
8618   fi
8619 done
8620   done
8621 IFS=$as_save_IFS
8622
8623 fi
8624 fi
8625 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8626 if test -n "$ac_ct_OTOOL64"; then
8627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8628 $as_echo "$ac_ct_OTOOL64" >&6; }
8629 else
8630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8631 $as_echo "no" >&6; }
8632 fi
8633
8634   if test "x$ac_ct_OTOOL64" = x; then
8635     OTOOL64=":"
8636   else
8637     case $cross_compiling:$ac_tool_warned in
8638 yes:)
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8641 ac_tool_warned=yes ;;
8642 esac
8643     OTOOL64=$ac_ct_OTOOL64
8644   fi
8645 else
8646   OTOOL64="$ac_cv_prog_OTOOL64"
8647 fi
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8676 $as_echo_n "checking for -single_module linker flag... " >&6; }
8677 if ${lt_cv_apple_cc_single_mod+:} false; then :
8678   $as_echo_n "(cached) " >&6
8679 else
8680   lt_cv_apple_cc_single_mod=no
8681       if test -z "${LT_MULTI_MODULE}"; then
8682         # By default we will add the -single_module flag. You can override
8683         # by either setting the environment variable LT_MULTI_MODULE
8684         # non-empty at configure time, or by adding -multi_module to the
8685         # link flags.
8686         rm -rf libconftest.dylib*
8687         echo "int foo(void){return 1;}" > conftest.c
8688         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8689 -dynamiclib -Wl,-single_module conftest.c" >&5
8690         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8691           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8692         _lt_result=$?
8693         # If there is a non-empty error log, and "single_module"
8694         # appears in it, assume the flag caused a linker warning
8695         if test -s conftest.err && $GREP single_module conftest.err; then
8696           cat conftest.err >&5
8697         # Otherwise, if the output was created with a 0 exit code from
8698         # the compiler, it worked.
8699         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8700           lt_cv_apple_cc_single_mod=yes
8701         else
8702           cat conftest.err >&5
8703         fi
8704         rm -rf libconftest.dylib*
8705         rm -f conftest.*
8706       fi
8707 fi
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8709 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8710
8711     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8712 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8713 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8714   $as_echo_n "(cached) " >&6
8715 else
8716   lt_cv_ld_exported_symbols_list=no
8717       save_LDFLAGS=$LDFLAGS
8718       echo "_main" > conftest.sym
8719       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h.  */
8722
8723 int
8724 main ()
8725 {
8726
8727   ;
8728   return 0;
8729 }
8730 _ACEOF
8731 if ac_fn_c_try_link "$LINENO"; then :
8732   lt_cv_ld_exported_symbols_list=yes
8733 else
8734   lt_cv_ld_exported_symbols_list=no
8735 fi
8736 rm -f core conftest.err conftest.$ac_objext \
8737     conftest$ac_exeext conftest.$ac_ext
8738         LDFLAGS="$save_LDFLAGS"
8739
8740 fi
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8742 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8743
8744     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8745 $as_echo_n "checking for -force_load linker flag... " >&6; }
8746 if ${lt_cv_ld_force_load+:} false; then :
8747   $as_echo_n "(cached) " >&6
8748 else
8749   lt_cv_ld_force_load=no
8750       cat > conftest.c << _LT_EOF
8751 int forced_loaded() { return 2;}
8752 _LT_EOF
8753       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8754       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8755       echo "$AR cru libconftest.a conftest.o" >&5
8756       $AR cru libconftest.a conftest.o 2>&5
8757       echo "$RANLIB libconftest.a" >&5
8758       $RANLIB libconftest.a 2>&5
8759       cat > conftest.c << _LT_EOF
8760 int main() { return 0;}
8761 _LT_EOF
8762       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8763       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8764       _lt_result=$?
8765       if test -s conftest.err && $GREP force_load conftest.err; then
8766         cat conftest.err >&5
8767       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8768         lt_cv_ld_force_load=yes
8769       else
8770         cat conftest.err >&5
8771       fi
8772         rm -f conftest.err libconftest.a conftest conftest.c
8773         rm -rf conftest.dSYM
8774
8775 fi
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8777 $as_echo "$lt_cv_ld_force_load" >&6; }
8778     case $host_os in
8779     rhapsody* | darwin1.[012])
8780       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8781     darwin1.*)
8782       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8783     darwin*) # darwin 5.x on
8784       # if running on 10.5 or later, the deployment target defaults
8785       # to the OS version, if on x86, and 10.4, the deployment
8786       # target defaults to 10.4. Don't you love it?
8787       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8788         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8789           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8790         10.[012]*)
8791           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8792         10.*)
8793           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8794       esac
8795     ;;
8796   esac
8797     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8798       _lt_dar_single_mod='$single_module'
8799     fi
8800     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8801       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8802     else
8803       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8804     fi
8805     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8806       _lt_dsymutil='~$DSYMUTIL $lib || :'
8807     else
8808       _lt_dsymutil=
8809     fi
8810     ;;
8811   esac
8812
8813 ac_ext=c
8814 ac_cpp='$CPP $CPPFLAGS'
8815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8819 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8820 # On Suns, sometimes $CPP names a directory.
8821 if test -n "$CPP" && test -d "$CPP"; then
8822   CPP=
8823 fi
8824 if test -z "$CPP"; then
8825   if ${ac_cv_prog_CPP+:} false; then :
8826   $as_echo_n "(cached) " >&6
8827 else
8828       # Double quotes because CPP needs to be expanded
8829     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8830     do
8831       ac_preproc_ok=false
8832 for ac_c_preproc_warn_flag in '' yes
8833 do
8834   # Use a header file that comes with gcc, so configuring glibc
8835   # with a fresh cross-compiler works.
8836   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8837   # <limits.h> exists even on freestanding compilers.
8838   # On the NeXT, cc -E runs the code through the compiler's parser,
8839   # not just through cpp. "Syntax error" is here to catch this case.
8840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h.  */
8842 #ifdef __STDC__
8843 # include <limits.h>
8844 #else
8845 # include <assert.h>
8846 #endif
8847                      Syntax error
8848 _ACEOF
8849 if ac_fn_c_try_cpp "$LINENO"; then :
8850
8851 else
8852   # Broken: fails on valid input.
8853 continue
8854 fi
8855 rm -f conftest.err conftest.i conftest.$ac_ext
8856
8857   # OK, works on sane cases.  Now check whether nonexistent headers
8858   # can be detected and how.
8859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h.  */
8861 #include <ac_nonexistent.h>
8862 _ACEOF
8863 if ac_fn_c_try_cpp "$LINENO"; then :
8864   # Broken: success on invalid input.
8865 continue
8866 else
8867   # Passes both tests.
8868 ac_preproc_ok=:
8869 break
8870 fi
8871 rm -f conftest.err conftest.i conftest.$ac_ext
8872
8873 done
8874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8875 rm -f conftest.i conftest.err conftest.$ac_ext
8876 if $ac_preproc_ok; then :
8877   break
8878 fi
8879
8880     done
8881     ac_cv_prog_CPP=$CPP
8882
8883 fi
8884   CPP=$ac_cv_prog_CPP
8885 else
8886   ac_cv_prog_CPP=$CPP
8887 fi
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8889 $as_echo "$CPP" >&6; }
8890 ac_preproc_ok=false
8891 for ac_c_preproc_warn_flag in '' yes
8892 do
8893   # Use a header file that comes with gcc, so configuring glibc
8894   # with a fresh cross-compiler works.
8895   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8896   # <limits.h> exists even on freestanding compilers.
8897   # On the NeXT, cc -E runs the code through the compiler's parser,
8898   # not just through cpp. "Syntax error" is here to catch this case.
8899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h.  */
8901 #ifdef __STDC__
8902 # include <limits.h>
8903 #else
8904 # include <assert.h>
8905 #endif
8906                      Syntax error
8907 _ACEOF
8908 if ac_fn_c_try_cpp "$LINENO"; then :
8909
8910 else
8911   # Broken: fails on valid input.
8912 continue
8913 fi
8914 rm -f conftest.err conftest.i conftest.$ac_ext
8915
8916   # OK, works on sane cases.  Now check whether nonexistent headers
8917   # can be detected and how.
8918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8919 /* end confdefs.h.  */
8920 #include <ac_nonexistent.h>
8921 _ACEOF
8922 if ac_fn_c_try_cpp "$LINENO"; then :
8923   # Broken: success on invalid input.
8924 continue
8925 else
8926   # Passes both tests.
8927 ac_preproc_ok=:
8928 break
8929 fi
8930 rm -f conftest.err conftest.i conftest.$ac_ext
8931
8932 done
8933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8934 rm -f conftest.i conftest.err conftest.$ac_ext
8935 if $ac_preproc_ok; then :
8936
8937 else
8938   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8940 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8941 See \`config.log' for more details" "$LINENO" 5; }
8942 fi
8943
8944 ac_ext=c
8945 ac_cpp='$CPP $CPPFLAGS'
8946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8949
8950
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8952 $as_echo_n "checking for ANSI C header files... " >&6; }
8953 if ${ac_cv_header_stdc+:} false; then :
8954   $as_echo_n "(cached) " >&6
8955 else
8956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8957 /* end confdefs.h.  */
8958 #include <stdlib.h>
8959 #include <stdarg.h>
8960 #include <string.h>
8961 #include <float.h>
8962
8963 int
8964 main ()
8965 {
8966
8967   ;
8968   return 0;
8969 }
8970 _ACEOF
8971 if ac_fn_c_try_compile "$LINENO"; then :
8972   ac_cv_header_stdc=yes
8973 else
8974   ac_cv_header_stdc=no
8975 fi
8976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8977
8978 if test $ac_cv_header_stdc = yes; then
8979   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8981 /* end confdefs.h.  */
8982 #include <string.h>
8983
8984 _ACEOF
8985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8986   $EGREP "memchr" >/dev/null 2>&1; then :
8987
8988 else
8989   ac_cv_header_stdc=no
8990 fi
8991 rm -f conftest*
8992
8993 fi
8994
8995 if test $ac_cv_header_stdc = yes; then
8996   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8998 /* end confdefs.h.  */
8999 #include <stdlib.h>
9000
9001 _ACEOF
9002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9003   $EGREP "free" >/dev/null 2>&1; then :
9004
9005 else
9006   ac_cv_header_stdc=no
9007 fi
9008 rm -f conftest*
9009
9010 fi
9011
9012 if test $ac_cv_header_stdc = yes; then
9013   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9014   if test "$cross_compiling" = yes; then :
9015   :
9016 else
9017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h.  */
9019 #include <ctype.h>
9020 #include <stdlib.h>
9021 #if ((' ' & 0x0FF) == 0x020)
9022 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9023 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9024 #else
9025 # define ISLOWER(c) \
9026                    (('a' <= (c) && (c) <= 'i') \
9027                      || ('j' <= (c) && (c) <= 'r') \
9028                      || ('s' <= (c) && (c) <= 'z'))
9029 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9030 #endif
9031
9032 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9033 int
9034 main ()
9035 {
9036   int i;
9037   for (i = 0; i < 256; i++)
9038     if (XOR (islower (i), ISLOWER (i))
9039         || toupper (i) != TOUPPER (i))
9040       return 2;
9041   return 0;
9042 }
9043 _ACEOF
9044 if ac_fn_c_try_run "$LINENO"; then :
9045
9046 else
9047   ac_cv_header_stdc=no
9048 fi
9049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9050   conftest.$ac_objext conftest.beam conftest.$ac_ext
9051 fi
9052
9053 fi
9054 fi
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9056 $as_echo "$ac_cv_header_stdc" >&6; }
9057 if test $ac_cv_header_stdc = yes; then
9058
9059 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9060
9061 fi
9062
9063 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9064 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9065                   inttypes.h stdint.h unistd.h
9066 do :
9067   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9068 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9069 "
9070 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9071   cat >>confdefs.h <<_ACEOF
9072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9073 _ACEOF
9074
9075 fi
9076
9077 done
9078
9079
9080 for ac_header in dlfcn.h
9081 do :
9082   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9083 "
9084 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9085   cat >>confdefs.h <<_ACEOF
9086 #define HAVE_DLFCN_H 1
9087 _ACEOF
9088
9089 fi
9090
9091 done
9092
9093
9094
9095 func_stripname_cnf ()
9096 {
9097   case ${2} in
9098   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
9099   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
9100   esac
9101 } # func_stripname_cnf
9102
9103
9104
9105
9106
9107 # Set options
9108 enable_win32_dll=yes
9109
9110 case $host in
9111 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
9112   if test -n "$ac_tool_prefix"; then
9113   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9114 set dummy ${ac_tool_prefix}as; ac_word=$2
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9116 $as_echo_n "checking for $ac_word... " >&6; }
9117 if ${ac_cv_prog_AS+:} false; then :
9118   $as_echo_n "(cached) " >&6
9119 else
9120   if test -n "$AS"; then
9121   ac_cv_prog_AS="$AS" # Let the user override the test.
9122 else
9123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9124 for as_dir in $PATH
9125 do
9126   IFS=$as_save_IFS
9127   test -z "$as_dir" && as_dir=.
9128     for ac_exec_ext in '' $ac_executable_extensions; do
9129   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9130     ac_cv_prog_AS="${ac_tool_prefix}as"
9131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9132     break 2
9133   fi
9134 done
9135   done
9136 IFS=$as_save_IFS
9137
9138 fi
9139 fi
9140 AS=$ac_cv_prog_AS
9141 if test -n "$AS"; then
9142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9143 $as_echo "$AS" >&6; }
9144 else
9145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146 $as_echo "no" >&6; }
9147 fi
9148
9149
9150 fi
9151 if test -z "$ac_cv_prog_AS"; then
9152   ac_ct_AS=$AS
9153   # Extract the first word of "as", so it can be a program name with args.
9154 set dummy as; ac_word=$2
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9156 $as_echo_n "checking for $ac_word... " >&6; }
9157 if ${ac_cv_prog_ac_ct_AS+:} false; then :
9158   $as_echo_n "(cached) " >&6
9159 else
9160   if test -n "$ac_ct_AS"; then
9161   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9162 else
9163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9164 for as_dir in $PATH
9165 do
9166   IFS=$as_save_IFS
9167   test -z "$as_dir" && as_dir=.
9168     for ac_exec_ext in '' $ac_executable_extensions; do
9169   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9170     ac_cv_prog_ac_ct_AS="as"
9171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9172     break 2
9173   fi
9174 done
9175   done
9176 IFS=$as_save_IFS
9177
9178 fi
9179 fi
9180 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9181 if test -n "$ac_ct_AS"; then
9182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9183 $as_echo "$ac_ct_AS" >&6; }
9184 else
9185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9186 $as_echo "no" >&6; }
9187 fi
9188
9189   if test "x$ac_ct_AS" = x; then
9190     AS="false"
9191   else
9192     case $cross_compiling:$ac_tool_warned in
9193 yes:)
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9196 ac_tool_warned=yes ;;
9197 esac
9198     AS=$ac_ct_AS
9199   fi
9200 else
9201   AS="$ac_cv_prog_AS"
9202 fi
9203
9204   if test -n "$ac_tool_prefix"; then
9205   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9206 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9208 $as_echo_n "checking for $ac_word... " >&6; }
9209 if ${ac_cv_prog_DLLTOOL+:} false; then :
9210   $as_echo_n "(cached) " >&6
9211 else
9212   if test -n "$DLLTOOL"; then
9213   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9214 else
9215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9216 for as_dir in $PATH
9217 do
9218   IFS=$as_save_IFS
9219   test -z "$as_dir" && as_dir=.
9220     for ac_exec_ext in '' $ac_executable_extensions; do
9221   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9222     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9224     break 2
9225   fi
9226 done
9227   done
9228 IFS=$as_save_IFS
9229
9230 fi
9231 fi
9232 DLLTOOL=$ac_cv_prog_DLLTOOL
9233 if test -n "$DLLTOOL"; then
9234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9235 $as_echo "$DLLTOOL" >&6; }
9236 else
9237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9238 $as_echo "no" >&6; }
9239 fi
9240
9241
9242 fi
9243 if test -z "$ac_cv_prog_DLLTOOL"; then
9244   ac_ct_DLLTOOL=$DLLTOOL
9245   # Extract the first word of "dlltool", so it can be a program name with args.
9246 set dummy dlltool; ac_word=$2
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9248 $as_echo_n "checking for $ac_word... " >&6; }
9249 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9250   $as_echo_n "(cached) " >&6
9251 else
9252   if test -n "$ac_ct_DLLTOOL"; then
9253   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9254 else
9255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9256 for as_dir in $PATH
9257 do
9258   IFS=$as_save_IFS
9259   test -z "$as_dir" && as_dir=.
9260     for ac_exec_ext in '' $ac_executable_extensions; do
9261   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9262     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9263     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9264     break 2
9265   fi
9266 done
9267   done
9268 IFS=$as_save_IFS
9269
9270 fi
9271 fi
9272 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9273 if test -n "$ac_ct_DLLTOOL"; then
9274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9275 $as_echo "$ac_ct_DLLTOOL" >&6; }
9276 else
9277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9278 $as_echo "no" >&6; }
9279 fi
9280
9281   if test "x$ac_ct_DLLTOOL" = x; then
9282     DLLTOOL="false"
9283   else
9284     case $cross_compiling:$ac_tool_warned in
9285 yes:)
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9288 ac_tool_warned=yes ;;
9289 esac
9290     DLLTOOL=$ac_ct_DLLTOOL
9291   fi
9292 else
9293   DLLTOOL="$ac_cv_prog_DLLTOOL"
9294 fi
9295
9296   if test -n "$ac_tool_prefix"; then
9297   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9298 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9300 $as_echo_n "checking for $ac_word... " >&6; }
9301 if ${ac_cv_prog_OBJDUMP+:} false; then :
9302   $as_echo_n "(cached) " >&6
9303 else
9304   if test -n "$OBJDUMP"; then
9305   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9306 else
9307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9308 for as_dir in $PATH
9309 do
9310   IFS=$as_save_IFS
9311   test -z "$as_dir" && as_dir=.
9312     for ac_exec_ext in '' $ac_executable_extensions; do
9313   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9314     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9316     break 2
9317   fi
9318 done
9319   done
9320 IFS=$as_save_IFS
9321
9322 fi
9323 fi
9324 OBJDUMP=$ac_cv_prog_OBJDUMP
9325 if test -n "$OBJDUMP"; then
9326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9327 $as_echo "$OBJDUMP" >&6; }
9328 else
9329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9330 $as_echo "no" >&6; }
9331 fi
9332
9333
9334 fi
9335 if test -z "$ac_cv_prog_OBJDUMP"; then
9336   ac_ct_OBJDUMP=$OBJDUMP
9337   # Extract the first word of "objdump", so it can be a program name with args.
9338 set dummy objdump; ac_word=$2
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9340 $as_echo_n "checking for $ac_word... " >&6; }
9341 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9342   $as_echo_n "(cached) " >&6
9343 else
9344   if test -n "$ac_ct_OBJDUMP"; then
9345   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9346 else
9347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9348 for as_dir in $PATH
9349 do
9350   IFS=$as_save_IFS
9351   test -z "$as_dir" && as_dir=.
9352     for ac_exec_ext in '' $ac_executable_extensions; do
9353   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9354     ac_cv_prog_ac_ct_OBJDUMP="objdump"
9355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9356     break 2
9357   fi
9358 done
9359   done
9360 IFS=$as_save_IFS
9361
9362 fi
9363 fi
9364 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9365 if test -n "$ac_ct_OBJDUMP"; then
9366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9367 $as_echo "$ac_ct_OBJDUMP" >&6; }
9368 else
9369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9370 $as_echo "no" >&6; }
9371 fi
9372
9373   if test "x$ac_ct_OBJDUMP" = x; then
9374     OBJDUMP="false"
9375   else
9376     case $cross_compiling:$ac_tool_warned in
9377 yes:)
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9380 ac_tool_warned=yes ;;
9381 esac
9382     OBJDUMP=$ac_ct_OBJDUMP
9383   fi
9384 else
9385   OBJDUMP="$ac_cv_prog_OBJDUMP"
9386 fi
9387
9388   ;;
9389 esac
9390
9391 test -z "$AS" && AS=as
9392
9393
9394
9395
9396
9397 test -z "$DLLTOOL" && DLLTOOL=dlltool
9398
9399
9400
9401
9402
9403 test -z "$OBJDUMP" && OBJDUMP=objdump
9404
9405
9406
9407
9408
9409
9410
9411         enable_dlopen=no
9412
9413
9414
9415             # Check whether --enable-shared was given.
9416 if test "${enable_shared+set}" = set; then :
9417   enableval=$enable_shared; p=${PACKAGE-default}
9418     case $enableval in
9419     yes) enable_shared=yes ;;
9420     no) enable_shared=no ;;
9421     *)
9422       enable_shared=no
9423       # Look at the argument we got.  We use all the common list separators.
9424       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9425       for pkg in $enableval; do
9426         IFS="$lt_save_ifs"
9427         if test "X$pkg" = "X$p"; then
9428           enable_shared=yes
9429         fi
9430       done
9431       IFS="$lt_save_ifs"
9432       ;;
9433     esac
9434 else
9435   enable_shared=yes
9436 fi
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448 # Check whether --with-pic was given.
9449 if test "${with_pic+set}" = set; then :
9450   withval=$with_pic; lt_p=${PACKAGE-default}
9451     case $withval in
9452     yes|no) pic_mode=$withval ;;
9453     *)
9454       pic_mode=default
9455       # Look at the argument we got.  We use all the common list separators.
9456       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9457       for lt_pkg in $withval; do
9458         IFS="$lt_save_ifs"
9459         if test "X$lt_pkg" = "X$lt_p"; then
9460           pic_mode=yes
9461         fi
9462       done
9463       IFS="$lt_save_ifs"
9464       ;;
9465     esac
9466 else
9467   pic_mode=default
9468 fi
9469
9470
9471 test -z "$pic_mode" && pic_mode=default
9472
9473
9474
9475
9476
9477
9478
9479   # Check whether --enable-fast-install was given.
9480 if test "${enable_fast_install+set}" = set; then :
9481   enableval=$enable_fast_install; p=${PACKAGE-default}
9482     case $enableval in
9483     yes) enable_fast_install=yes ;;
9484     no) enable_fast_install=no ;;
9485     *)
9486       enable_fast_install=no
9487       # Look at the argument we got.  We use all the common list separators.
9488       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9489       for pkg in $enableval; do
9490         IFS="$lt_save_ifs"
9491         if test "X$pkg" = "X$p"; then
9492           enable_fast_install=yes
9493         fi
9494       done
9495       IFS="$lt_save_ifs"
9496       ;;
9497     esac
9498 else
9499   enable_fast_install=yes
9500 fi
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512 # This can be used to rebuild libtool when needed
9513 LIBTOOL_DEPS="$ltmain"
9514
9515 # Always use our own libtool.
9516 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547 test -z "$LN_S" && LN_S="ln -s"
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562 if test -n "${ZSH_VERSION+set}" ; then
9563    setopt NO_GLOB_SUBST
9564 fi
9565
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9567 $as_echo_n "checking for objdir... " >&6; }
9568 if ${lt_cv_objdir+:} false; then :
9569   $as_echo_n "(cached) " >&6
9570 else
9571   rm -f .libs 2>/dev/null
9572 mkdir .libs 2>/dev/null
9573 if test -d .libs; then
9574   lt_cv_objdir=.libs
9575 else
9576   # MS-DOS does not allow filenames that begin with a dot.
9577   lt_cv_objdir=_libs
9578 fi
9579 rmdir .libs 2>/dev/null
9580 fi
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9582 $as_echo "$lt_cv_objdir" >&6; }
9583 objdir=$lt_cv_objdir
9584
9585
9586
9587
9588
9589 cat >>confdefs.h <<_ACEOF
9590 #define LT_OBJDIR "$lt_cv_objdir/"
9591 _ACEOF
9592
9593
9594
9595
9596 case $host_os in
9597 aix3*)
9598   # AIX sometimes has problems with the GCC collect2 program.  For some
9599   # reason, if we set the COLLECT_NAMES environment variable, the problems
9600   # vanish in a puff of smoke.
9601   if test "X${COLLECT_NAMES+set}" != Xset; then
9602     COLLECT_NAMES=
9603     export COLLECT_NAMES
9604   fi
9605   ;;
9606 esac
9607
9608 # Global variables:
9609 ofile=libtool
9610 can_build_shared=yes
9611
9612 # All known linkers require a `.a' archive for static linking (except MSVC,
9613 # which needs '.lib').
9614 libext=a
9615
9616 with_gnu_ld="$lt_cv_prog_gnu_ld"
9617
9618 old_CC="$CC"
9619 old_CFLAGS="$CFLAGS"
9620
9621 # Set sane defaults for various variables
9622 test -z "$CC" && CC=cc
9623 test -z "$LTCC" && LTCC=$CC
9624 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9625 test -z "$LD" && LD=ld
9626 test -z "$ac_objext" && ac_objext=o
9627
9628 for cc_temp in $compiler""; do
9629   case $cc_temp in
9630     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9631     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9632     \-*) ;;
9633     *) break;;
9634   esac
9635 done
9636 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9637
9638
9639 # Only perform the check for file, if the check method requires it
9640 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9641 case $deplibs_check_method in
9642 file_magic*)
9643   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9644     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9645 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9646 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9647   $as_echo_n "(cached) " >&6
9648 else
9649   case $MAGIC_CMD in
9650 [\\/*] |  ?:[\\/]*)
9651   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9652   ;;
9653 *)
9654   lt_save_MAGIC_CMD="$MAGIC_CMD"
9655   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9656   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9657   for ac_dir in $ac_dummy; do
9658     IFS="$lt_save_ifs"
9659     test -z "$ac_dir" && ac_dir=.
9660     if test -f $ac_dir/${ac_tool_prefix}file; then
9661       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9662       if test -n "$file_magic_test_file"; then
9663         case $deplibs_check_method in
9664         "file_magic "*)
9665           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9666           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9667           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9668             $EGREP "$file_magic_regex" > /dev/null; then
9669             :
9670           else
9671             cat <<_LT_EOF 1>&2
9672
9673 *** Warning: the command libtool uses to detect shared libraries,
9674 *** $file_magic_cmd, produces output that libtool cannot recognize.
9675 *** The result is that libtool may fail to recognize shared libraries
9676 *** as such.  This will affect the creation of libtool libraries that
9677 *** depend on shared libraries, but programs linked with such libtool
9678 *** libraries will work regardless of this problem.  Nevertheless, you
9679 *** may want to report the problem to your system manager and/or to
9680 *** bug-libtool@gnu.org
9681
9682 _LT_EOF
9683           fi ;;
9684         esac
9685       fi
9686       break
9687     fi
9688   done
9689   IFS="$lt_save_ifs"
9690   MAGIC_CMD="$lt_save_MAGIC_CMD"
9691   ;;
9692 esac
9693 fi
9694
9695 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9696 if test -n "$MAGIC_CMD"; then
9697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9698 $as_echo "$MAGIC_CMD" >&6; }
9699 else
9700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9701 $as_echo "no" >&6; }
9702 fi
9703
9704
9705
9706
9707
9708 if test -z "$lt_cv_path_MAGIC_CMD"; then
9709   if test -n "$ac_tool_prefix"; then
9710     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9711 $as_echo_n "checking for file... " >&6; }
9712 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9713   $as_echo_n "(cached) " >&6
9714 else
9715   case $MAGIC_CMD in
9716 [\\/*] |  ?:[\\/]*)
9717   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9718   ;;
9719 *)
9720   lt_save_MAGIC_CMD="$MAGIC_CMD"
9721   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9722   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9723   for ac_dir in $ac_dummy; do
9724     IFS="$lt_save_ifs"
9725     test -z "$ac_dir" && ac_dir=.
9726     if test -f $ac_dir/file; then
9727       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9728       if test -n "$file_magic_test_file"; then
9729         case $deplibs_check_method in
9730         "file_magic "*)
9731           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9732           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9733           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9734             $EGREP "$file_magic_regex" > /dev/null; then
9735             :
9736           else
9737             cat <<_LT_EOF 1>&2
9738
9739 *** Warning: the command libtool uses to detect shared libraries,
9740 *** $file_magic_cmd, produces output that libtool cannot recognize.
9741 *** The result is that libtool may fail to recognize shared libraries
9742 *** as such.  This will affect the creation of libtool libraries that
9743 *** depend on shared libraries, but programs linked with such libtool
9744 *** libraries will work regardless of this problem.  Nevertheless, you
9745 *** may want to report the problem to your system manager and/or to
9746 *** bug-libtool@gnu.org
9747
9748 _LT_EOF
9749           fi ;;
9750         esac
9751       fi
9752       break
9753     fi
9754   done
9755   IFS="$lt_save_ifs"
9756   MAGIC_CMD="$lt_save_MAGIC_CMD"
9757   ;;
9758 esac
9759 fi
9760
9761 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9762 if test -n "$MAGIC_CMD"; then
9763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9764 $as_echo "$MAGIC_CMD" >&6; }
9765 else
9766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9767 $as_echo "no" >&6; }
9768 fi
9769
9770
9771   else
9772     MAGIC_CMD=:
9773   fi
9774 fi
9775
9776   fi
9777   ;;
9778 esac
9779
9780 # Use C for the default configuration in the libtool script
9781
9782 lt_save_CC="$CC"
9783 ac_ext=c
9784 ac_cpp='$CPP $CPPFLAGS'
9785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9788
9789
9790 # Source file extension for C test sources.
9791 ac_ext=c
9792
9793 # Object file extension for compiled C test sources.
9794 objext=o
9795 objext=$objext
9796
9797 # Code to be used in simple compile tests
9798 lt_simple_compile_test_code="int some_variable = 0;"
9799
9800 # Code to be used in simple link tests
9801 lt_simple_link_test_code='int main(){return(0);}'
9802
9803
9804
9805
9806
9807
9808
9809 # If no C compiler was specified, use CC.
9810 LTCC=${LTCC-"$CC"}
9811
9812 # If no C compiler flags were specified, use CFLAGS.
9813 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9814
9815 # Allow CC to be a program name with arguments.
9816 compiler=$CC
9817
9818 # Save the default compiler, since it gets overwritten when the other
9819 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9820 compiler_DEFAULT=$CC
9821
9822 # save warnings/boilerplate of simple test code
9823 ac_outfile=conftest.$ac_objext
9824 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9825 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9826 _lt_compiler_boilerplate=`cat conftest.err`
9827 $RM conftest*
9828
9829 ac_outfile=conftest.$ac_objext
9830 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9831 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9832 _lt_linker_boilerplate=`cat conftest.err`
9833 $RM -r conftest*
9834
9835
9836 ## CAVEAT EMPTOR:
9837 ## There is no encapsulation within the following macros, do not change
9838 ## the running order or otherwise move them around unless you know exactly
9839 ## what you are doing...
9840 if test -n "$compiler"; then
9841
9842 lt_prog_compiler_no_builtin_flag=
9843
9844 if test "$GCC" = yes; then
9845   case $cc_basename in
9846   nvcc*)
9847     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9848   *)
9849     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9850   esac
9851
9852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9853 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9854 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9855   $as_echo_n "(cached) " >&6
9856 else
9857   lt_cv_prog_compiler_rtti_exceptions=no
9858    ac_outfile=conftest.$ac_objext
9859    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9860    lt_compiler_flag="-fno-rtti -fno-exceptions"
9861    # Insert the option either (1) after the last *FLAGS variable, or
9862    # (2) before a word containing "conftest.", or (3) at the end.
9863    # Note that $ac_compile itself does not contain backslashes and begins
9864    # with a dollar sign (not a hyphen), so the echo should work correctly.
9865    # The option is referenced via a variable to avoid confusing sed.
9866    lt_compile=`echo "$ac_compile" | $SED \
9867    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9868    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9869    -e 's:$: $lt_compiler_flag:'`
9870    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9871    (eval "$lt_compile" 2>conftest.err)
9872    ac_status=$?
9873    cat conftest.err >&5
9874    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875    if (exit $ac_status) && test -s "$ac_outfile"; then
9876      # The compiler can only warn and ignore the option if not recognized
9877      # So say no if there are warnings other than the usual output.
9878      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9879      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9880      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9881        lt_cv_prog_compiler_rtti_exceptions=yes
9882      fi
9883    fi
9884    $RM conftest*
9885
9886 fi
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9888 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9889
9890 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9891     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9892 else
9893     :
9894 fi
9895
9896 fi
9897
9898
9899
9900
9901
9902
9903   lt_prog_compiler_wl=
9904 lt_prog_compiler_pic=
9905 lt_prog_compiler_static=
9906
9907
9908   if test "$GCC" = yes; then
9909     lt_prog_compiler_wl='-Wl,'
9910     lt_prog_compiler_static='-static'
9911
9912     case $host_os in
9913       aix*)
9914       # All AIX code is PIC.
9915       if test "$host_cpu" = ia64; then
9916         # AIX 5 now supports IA64 processor
9917         lt_prog_compiler_static='-Bstatic'
9918       fi
9919       ;;
9920
9921     amigaos*)
9922       case $host_cpu in
9923       powerpc)
9924             # see comment about AmigaOS4 .so support
9925             lt_prog_compiler_pic='-fPIC'
9926         ;;
9927       m68k)
9928             # FIXME: we need at least 68020 code to build shared libraries, but
9929             # adding the `-m68020' flag to GCC prevents building anything better,
9930             # like `-m68040'.
9931             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9932         ;;
9933       esac
9934       ;;
9935
9936     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9937       # PIC is the default for these OSes.
9938       ;;
9939
9940     mingw* | cygwin* | pw32* | os2* | cegcc*)
9941       # This hack is so that the source file can tell whether it is being
9942       # built for inclusion in a dll (and should export symbols for example).
9943       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9944       # (--disable-auto-import) libraries
9945       lt_prog_compiler_pic='-DDLL_EXPORT'
9946       ;;
9947
9948     darwin* | rhapsody*)
9949       # PIC is the default on this platform
9950       # Common symbols not allowed in MH_DYLIB files
9951       lt_prog_compiler_pic='-fno-common'
9952       ;;
9953
9954     haiku*)
9955       # PIC is the default for Haiku.
9956       # The "-static" flag exists, but is broken.
9957       lt_prog_compiler_static=
9958       ;;
9959
9960     hpux*)
9961       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9962       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9963       # sets the default TLS model and affects inlining.
9964       case $host_cpu in
9965       hppa*64*)
9966         # +Z the default
9967         ;;
9968       *)
9969         lt_prog_compiler_pic='-fPIC'
9970         ;;
9971       esac
9972       ;;
9973
9974     interix[3-9]*)
9975       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9976       # Instead, we relocate shared libraries at runtime.
9977       ;;
9978
9979     msdosdjgpp*)
9980       # Just because we use GCC doesn't mean we suddenly get shared libraries
9981       # on systems that don't support them.
9982       lt_prog_compiler_can_build_shared=no
9983       enable_shared=no
9984       ;;
9985
9986     *nto* | *qnx*)
9987       # QNX uses GNU C++, but need to define -shared option too, otherwise
9988       # it will coredump.
9989       lt_prog_compiler_pic='-fPIC -shared'
9990       ;;
9991
9992     sysv4*MP*)
9993       if test -d /usr/nec; then
9994         lt_prog_compiler_pic=-Kconform_pic
9995       fi
9996       ;;
9997
9998     *)
9999       lt_prog_compiler_pic='-fPIC'
10000       ;;
10001     esac
10002
10003     case $cc_basename in
10004     nvcc*) # Cuda Compiler Driver 2.2
10005       lt_prog_compiler_wl='-Xlinker '
10006       if test -n "$lt_prog_compiler_pic"; then
10007         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10008       fi
10009       ;;
10010     esac
10011   else
10012     # PORTME Check for flag to pass linker flags through the system compiler.
10013     case $host_os in
10014     aix*)
10015       lt_prog_compiler_wl='-Wl,'
10016       if test "$host_cpu" = ia64; then
10017         # AIX 5 now supports IA64 processor
10018         lt_prog_compiler_static='-Bstatic'
10019       else
10020         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10021       fi
10022       ;;
10023
10024     mingw* | cygwin* | pw32* | os2* | cegcc*)
10025       # This hack is so that the source file can tell whether it is being
10026       # built for inclusion in a dll (and should export symbols for example).
10027       lt_prog_compiler_pic='-DDLL_EXPORT'
10028       ;;
10029
10030     hpux9* | hpux10* | hpux11*)
10031       lt_prog_compiler_wl='-Wl,'
10032       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10033       # not for PA HP-UX.
10034       case $host_cpu in
10035       hppa*64*|ia64*)
10036         # +Z the default
10037         ;;
10038       *)
10039         lt_prog_compiler_pic='+Z'
10040         ;;
10041       esac
10042       # Is there a better lt_prog_compiler_static that works with the bundled CC?
10043       lt_prog_compiler_static='${wl}-a ${wl}archive'
10044       ;;
10045
10046     irix5* | irix6* | nonstopux*)
10047       lt_prog_compiler_wl='-Wl,'
10048       # PIC (with -KPIC) is the default.
10049       lt_prog_compiler_static='-non_shared'
10050       ;;
10051
10052     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10053       case $cc_basename in
10054       # old Intel for x86_64 which still supported -KPIC.
10055       ecc*)
10056         lt_prog_compiler_wl='-Wl,'
10057         lt_prog_compiler_pic='-KPIC'
10058         lt_prog_compiler_static='-static'
10059         ;;
10060       # icc used to be incompatible with GCC.
10061       # ICC 10 doesn't accept -KPIC any more.
10062       icc* | ifort*)
10063         lt_prog_compiler_wl='-Wl,'
10064         lt_prog_compiler_pic='-fPIC'
10065         lt_prog_compiler_static='-static'
10066         ;;
10067       # Lahey Fortran 8.1.
10068       lf95*)
10069         lt_prog_compiler_wl='-Wl,'
10070         lt_prog_compiler_pic='--shared'
10071         lt_prog_compiler_static='--static'
10072         ;;
10073       nagfor*)
10074         # NAG Fortran compiler
10075         lt_prog_compiler_wl='-Wl,-Wl,,'
10076         lt_prog_compiler_pic='-PIC'
10077         lt_prog_compiler_static='-Bstatic'
10078         ;;
10079       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10080         # Portland Group compilers (*not* the Pentium gcc compiler,
10081         # which looks to be a dead project)
10082         lt_prog_compiler_wl='-Wl,'
10083         lt_prog_compiler_pic='-fpic'
10084         lt_prog_compiler_static='-Bstatic'
10085         ;;
10086       ccc*)
10087         lt_prog_compiler_wl='-Wl,'
10088         # All Alpha code is PIC.
10089         lt_prog_compiler_static='-non_shared'
10090         ;;
10091       xl* | bgxl* | bgf* | mpixl*)
10092         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10093         lt_prog_compiler_wl='-Wl,'
10094         lt_prog_compiler_pic='-qpic'
10095         lt_prog_compiler_static='-qstaticlink'
10096         ;;
10097       *)
10098         case `$CC -V 2>&1 | sed 5q` in
10099         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10100           # Sun Fortran 8.3 passes all unrecognized flags to the linker
10101           lt_prog_compiler_pic='-KPIC'
10102           lt_prog_compiler_static='-Bstatic'
10103           lt_prog_compiler_wl=''
10104           ;;
10105         *Sun\ F* | *Sun*Fortran*)
10106           lt_prog_compiler_pic='-KPIC'
10107           lt_prog_compiler_static='-Bstatic'
10108           lt_prog_compiler_wl='-Qoption ld '
10109           ;;
10110         *Sun\ C*)
10111           # Sun C 5.9
10112           lt_prog_compiler_pic='-KPIC'
10113           lt_prog_compiler_static='-Bstatic'
10114           lt_prog_compiler_wl='-Wl,'
10115           ;;
10116         *Intel*\ [CF]*Compiler*)
10117           lt_prog_compiler_wl='-Wl,'
10118           lt_prog_compiler_pic='-fPIC'
10119           lt_prog_compiler_static='-static'
10120           ;;
10121         *Portland\ Group*)
10122           lt_prog_compiler_wl='-Wl,'
10123           lt_prog_compiler_pic='-fpic'
10124           lt_prog_compiler_static='-Bstatic'
10125           ;;
10126         esac
10127         ;;
10128       esac
10129       ;;
10130
10131     newsos6)
10132       lt_prog_compiler_pic='-KPIC'
10133       lt_prog_compiler_static='-Bstatic'
10134       ;;
10135
10136     *nto* | *qnx*)
10137       # QNX uses GNU C++, but need to define -shared option too, otherwise
10138       # it will coredump.
10139       lt_prog_compiler_pic='-fPIC -shared'
10140       ;;
10141
10142     osf3* | osf4* | osf5*)
10143       lt_prog_compiler_wl='-Wl,'
10144       # All OSF/1 code is PIC.
10145       lt_prog_compiler_static='-non_shared'
10146       ;;
10147
10148     rdos*)
10149       lt_prog_compiler_static='-non_shared'
10150       ;;
10151
10152     solaris*)
10153       lt_prog_compiler_pic='-KPIC'
10154       lt_prog_compiler_static='-Bstatic'
10155       case $cc_basename in
10156       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10157         lt_prog_compiler_wl='-Qoption ld ';;
10158       *)
10159         lt_prog_compiler_wl='-Wl,';;
10160       esac
10161       ;;
10162
10163     sunos4*)
10164       lt_prog_compiler_wl='-Qoption ld '
10165       lt_prog_compiler_pic='-PIC'
10166       lt_prog_compiler_static='-Bstatic'
10167       ;;
10168
10169     sysv4 | sysv4.2uw2* | sysv4.3*)
10170       lt_prog_compiler_wl='-Wl,'
10171       lt_prog_compiler_pic='-KPIC'
10172       lt_prog_compiler_static='-Bstatic'
10173       ;;
10174
10175     sysv4*MP*)
10176       if test -d /usr/nec ;then
10177         lt_prog_compiler_pic='-Kconform_pic'
10178         lt_prog_compiler_static='-Bstatic'
10179       fi
10180       ;;
10181
10182     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10183       lt_prog_compiler_wl='-Wl,'
10184       lt_prog_compiler_pic='-KPIC'
10185       lt_prog_compiler_static='-Bstatic'
10186       ;;
10187
10188     unicos*)
10189       lt_prog_compiler_wl='-Wl,'
10190       lt_prog_compiler_can_build_shared=no
10191       ;;
10192
10193     uts4*)
10194       lt_prog_compiler_pic='-pic'
10195       lt_prog_compiler_static='-Bstatic'
10196       ;;
10197
10198     *)
10199       lt_prog_compiler_can_build_shared=no
10200       ;;
10201     esac
10202   fi
10203
10204 case $host_os in
10205   # For platforms which do not support PIC, -DPIC is meaningless:
10206   *djgpp*)
10207     lt_prog_compiler_pic=
10208     ;;
10209   *)
10210     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10211     ;;
10212 esac
10213
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10215 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10216 if ${lt_cv_prog_compiler_pic+:} false; then :
10217   $as_echo_n "(cached) " >&6
10218 else
10219   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10220 fi
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10222 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10223 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10224
10225 #
10226 # Check to make sure the PIC flag actually works.
10227 #
10228 if test -n "$lt_prog_compiler_pic"; then
10229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10230 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10231 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10232   $as_echo_n "(cached) " >&6
10233 else
10234   lt_cv_prog_compiler_pic_works=no
10235    ac_outfile=conftest.$ac_objext
10236    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10237    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10238    # Insert the option either (1) after the last *FLAGS variable, or
10239    # (2) before a word containing "conftest.", or (3) at the end.
10240    # Note that $ac_compile itself does not contain backslashes and begins
10241    # with a dollar sign (not a hyphen), so the echo should work correctly.
10242    # The option is referenced via a variable to avoid confusing sed.
10243    lt_compile=`echo "$ac_compile" | $SED \
10244    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10245    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10246    -e 's:$: $lt_compiler_flag:'`
10247    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10248    (eval "$lt_compile" 2>conftest.err)
10249    ac_status=$?
10250    cat conftest.err >&5
10251    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252    if (exit $ac_status) && test -s "$ac_outfile"; then
10253      # The compiler can only warn and ignore the option if not recognized
10254      # So say no if there are warnings other than the usual output.
10255      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10256      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10257      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10258        lt_cv_prog_compiler_pic_works=yes
10259      fi
10260    fi
10261    $RM conftest*
10262
10263 fi
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10265 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10266
10267 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10268     case $lt_prog_compiler_pic in
10269      "" | " "*) ;;
10270      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10271      esac
10272 else
10273     lt_prog_compiler_pic=
10274      lt_prog_compiler_can_build_shared=no
10275 fi
10276
10277 fi
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289 #
10290 # Check to make sure the static flag actually works.
10291 #
10292 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10294 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10295 if ${lt_cv_prog_compiler_static_works+:} false; then :
10296   $as_echo_n "(cached) " >&6
10297 else
10298   lt_cv_prog_compiler_static_works=no
10299    save_LDFLAGS="$LDFLAGS"
10300    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10301    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10302    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10303      # The linker can only warn and ignore the option if not recognized
10304      # So say no if there are warnings
10305      if test -s conftest.err; then
10306        # Append any errors to the config.log.
10307        cat conftest.err 1>&5
10308        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10309        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10310        if diff conftest.exp conftest.er2 >/dev/null; then
10311          lt_cv_prog_compiler_static_works=yes
10312        fi
10313      else
10314        lt_cv_prog_compiler_static_works=yes
10315      fi
10316    fi
10317    $RM -r conftest*
10318    LDFLAGS="$save_LDFLAGS"
10319
10320 fi
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10322 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10323
10324 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10325     :
10326 else
10327     lt_prog_compiler_static=
10328 fi
10329
10330
10331
10332
10333
10334
10335
10336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10337 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10338 if ${lt_cv_prog_compiler_c_o+:} false; then :
10339   $as_echo_n "(cached) " >&6
10340 else
10341   lt_cv_prog_compiler_c_o=no
10342    $RM -r conftest 2>/dev/null
10343    mkdir conftest
10344    cd conftest
10345    mkdir out
10346    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10347
10348    lt_compiler_flag="-o out/conftest2.$ac_objext"
10349    # Insert the option either (1) after the last *FLAGS variable, or
10350    # (2) before a word containing "conftest.", or (3) at the end.
10351    # Note that $ac_compile itself does not contain backslashes and begins
10352    # with a dollar sign (not a hyphen), so the echo should work correctly.
10353    lt_compile=`echo "$ac_compile" | $SED \
10354    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10355    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10356    -e 's:$: $lt_compiler_flag:'`
10357    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10358    (eval "$lt_compile" 2>out/conftest.err)
10359    ac_status=$?
10360    cat out/conftest.err >&5
10361    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10363    then
10364      # The compiler can only warn and ignore the option if not recognized
10365      # So say no if there are warnings
10366      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10367      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10368      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10369        lt_cv_prog_compiler_c_o=yes
10370      fi
10371    fi
10372    chmod u+w . 2>&5
10373    $RM conftest*
10374    # SGI C++ compiler will create directory out/ii_files/ for
10375    # template instantiation
10376    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10377    $RM out/* && rmdir out
10378    cd ..
10379    $RM -r conftest
10380    $RM conftest*
10381
10382 fi
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10384 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10385
10386
10387
10388
10389
10390
10391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10392 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10393 if ${lt_cv_prog_compiler_c_o+:} false; then :
10394   $as_echo_n "(cached) " >&6
10395 else
10396   lt_cv_prog_compiler_c_o=no
10397    $RM -r conftest 2>/dev/null
10398    mkdir conftest
10399    cd conftest
10400    mkdir out
10401    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10402
10403    lt_compiler_flag="-o out/conftest2.$ac_objext"
10404    # Insert the option either (1) after the last *FLAGS variable, or
10405    # (2) before a word containing "conftest.", or (3) at the end.
10406    # Note that $ac_compile itself does not contain backslashes and begins
10407    # with a dollar sign (not a hyphen), so the echo should work correctly.
10408    lt_compile=`echo "$ac_compile" | $SED \
10409    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10410    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10411    -e 's:$: $lt_compiler_flag:'`
10412    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10413    (eval "$lt_compile" 2>out/conftest.err)
10414    ac_status=$?
10415    cat out/conftest.err >&5
10416    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10418    then
10419      # The compiler can only warn and ignore the option if not recognized
10420      # So say no if there are warnings
10421      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10422      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10423      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10424        lt_cv_prog_compiler_c_o=yes
10425      fi
10426    fi
10427    chmod u+w . 2>&5
10428    $RM conftest*
10429    # SGI C++ compiler will create directory out/ii_files/ for
10430    # template instantiation
10431    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10432    $RM out/* && rmdir out
10433    cd ..
10434    $RM -r conftest
10435    $RM conftest*
10436
10437 fi
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10439 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10440
10441
10442
10443
10444 hard_links="nottested"
10445 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10446   # do not overwrite the value of need_locks provided by the user
10447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10448 $as_echo_n "checking if we can lock with hard links... " >&6; }
10449   hard_links=yes
10450   $RM conftest*
10451   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10452   touch conftest.a
10453   ln conftest.a conftest.b 2>&5 || hard_links=no
10454   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10456 $as_echo "$hard_links" >&6; }
10457   if test "$hard_links" = no; then
10458     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10459 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10460     need_locks=warn
10461   fi
10462 else
10463   need_locks=no
10464 fi
10465
10466
10467
10468
10469
10470
10471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10472 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10473
10474   runpath_var=
10475   allow_undefined_flag=
10476   always_export_symbols=no
10477   archive_cmds=
10478   archive_expsym_cmds=
10479   compiler_needs_object=no
10480   enable_shared_with_static_runtimes=no
10481   export_dynamic_flag_spec=
10482   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10483   hardcode_automatic=no
10484   hardcode_direct=no
10485   hardcode_direct_absolute=no
10486   hardcode_libdir_flag_spec=
10487   hardcode_libdir_separator=
10488   hardcode_minus_L=no
10489   hardcode_shlibpath_var=unsupported
10490   inherit_rpath=no
10491   link_all_deplibs=unknown
10492   module_cmds=
10493   module_expsym_cmds=
10494   old_archive_from_new_cmds=
10495   old_archive_from_expsyms_cmds=
10496   thread_safe_flag_spec=
10497   whole_archive_flag_spec=
10498   # include_expsyms should be a list of space-separated symbols to be *always*
10499   # included in the symbol list
10500   include_expsyms=
10501   # exclude_expsyms can be an extended regexp of symbols to exclude
10502   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10503   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10504   # as well as any symbol that contains `d'.
10505   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10506   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10507   # platforms (ab)use it in PIC code, but their linkers get confused if
10508   # the symbol is explicitly referenced.  Since portable code cannot
10509   # rely on this symbol name, it's probably fine to never include it in
10510   # preloaded symbol tables.
10511   # Exclude shared library initialization/finalization symbols.
10512   extract_expsyms_cmds=
10513
10514   case $host_os in
10515   cygwin* | mingw* | pw32* | cegcc*)
10516     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10517     # When not using gcc, we currently assume that we are using
10518     # Microsoft Visual C++.
10519     if test "$GCC" != yes; then
10520       with_gnu_ld=no
10521     fi
10522     ;;
10523   interix*)
10524     # we just hope/assume this is gcc and not c89 (= MSVC++)
10525     with_gnu_ld=yes
10526     ;;
10527   openbsd*)
10528     with_gnu_ld=no
10529     ;;
10530   linux* | k*bsd*-gnu | gnu*)
10531     link_all_deplibs=no
10532     ;;
10533   esac
10534
10535   ld_shlibs=yes
10536
10537   # On some targets, GNU ld is compatible enough with the native linker
10538   # that we're better off using the native interface for both.
10539   lt_use_gnu_ld_interface=no
10540   if test "$with_gnu_ld" = yes; then
10541     case $host_os in
10542       aix*)
10543         # The AIX port of GNU ld has always aspired to compatibility
10544         # with the native linker.  However, as the warning in the GNU ld
10545         # block says, versions before 2.19.5* couldn't really create working
10546         # shared libraries, regardless of the interface used.
10547         case `$LD -v 2>&1` in
10548           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10549           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10550           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10551           *)
10552             lt_use_gnu_ld_interface=yes
10553             ;;
10554         esac
10555         ;;
10556       *)
10557         lt_use_gnu_ld_interface=yes
10558         ;;
10559     esac
10560   fi
10561
10562   if test "$lt_use_gnu_ld_interface" = yes; then
10563     # If archive_cmds runs LD, not CC, wlarc should be empty
10564     wlarc='${wl}'
10565
10566     # Set some defaults for GNU ld with shared library support. These
10567     # are reset later if shared libraries are not supported. Putting them
10568     # here allows them to be overridden if necessary.
10569     runpath_var=LD_RUN_PATH
10570     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10571     export_dynamic_flag_spec='${wl}--export-dynamic'
10572     # ancient GNU ld didn't support --whole-archive et. al.
10573     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10574       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10575     else
10576       whole_archive_flag_spec=
10577     fi
10578     supports_anon_versioning=no
10579     case `$LD -v 2>&1` in
10580       *GNU\ gold*) supports_anon_versioning=yes ;;
10581       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10582       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10583       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10584       *\ 2.11.*) ;; # other 2.11 versions
10585       *) supports_anon_versioning=yes ;;
10586     esac
10587
10588     # See if GNU ld supports shared libraries.
10589     case $host_os in
10590     aix[3-9]*)
10591       # On AIX/PPC, the GNU linker is very broken
10592       if test "$host_cpu" != ia64; then
10593         ld_shlibs=no
10594         cat <<_LT_EOF 1>&2
10595
10596 *** Warning: the GNU linker, at least up to release 2.19, is reported
10597 *** to be unable to reliably create shared libraries on AIX.
10598 *** Therefore, libtool is disabling shared libraries support.  If you
10599 *** really care for shared libraries, you may want to install binutils
10600 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10601 *** You will then need to restart the configuration process.
10602
10603 _LT_EOF
10604       fi
10605       ;;
10606
10607     amigaos*)
10608       case $host_cpu in
10609       powerpc)
10610             # see comment about AmigaOS4 .so support
10611             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10612             archive_expsym_cmds=''
10613         ;;
10614       m68k)
10615             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)'
10616             hardcode_libdir_flag_spec='-L$libdir'
10617             hardcode_minus_L=yes
10618         ;;
10619       esac
10620       ;;
10621
10622     beos*)
10623       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10624         allow_undefined_flag=unsupported
10625         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10626         # support --undefined.  This deserves some investigation.  FIXME
10627         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10628       else
10629         ld_shlibs=no
10630       fi
10631       ;;
10632
10633     cygwin* | mingw* | pw32* | cegcc*)
10634       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10635       # as there is no search path for DLLs.
10636       hardcode_libdir_flag_spec='-L$libdir'
10637       export_dynamic_flag_spec='${wl}--export-all-symbols'
10638       allow_undefined_flag=unsupported
10639       always_export_symbols=no
10640       enable_shared_with_static_runtimes=yes
10641       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'
10642       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10643
10644       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10645         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10646         # If the export-symbols file already is a .def file (1st line
10647         # is EXPORTS), use it as is; otherwise, prepend...
10648         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10649           cp $export_symbols $output_objdir/$soname.def;
10650         else
10651           echo EXPORTS > $output_objdir/$soname.def;
10652           cat $export_symbols >> $output_objdir/$soname.def;
10653         fi~
10654         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10655       else
10656         ld_shlibs=no
10657       fi
10658       ;;
10659
10660     haiku*)
10661       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10662       link_all_deplibs=yes
10663       ;;
10664
10665     interix[3-9]*)
10666       hardcode_direct=no
10667       hardcode_shlibpath_var=no
10668       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10669       export_dynamic_flag_spec='${wl}-E'
10670       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10671       # Instead, shared libraries are loaded at an image base (0x10000000 by
10672       # default) and relocated if they conflict, which is a slow very memory
10673       # consuming and fragmenting process.  To avoid this, we pick a random,
10674       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10675       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10676       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10677       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'
10678       ;;
10679
10680     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10681       tmp_diet=no
10682       if test "$host_os" = linux-dietlibc; then
10683         case $cc_basename in
10684           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10685         esac
10686       fi
10687       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10688          && test "$tmp_diet" = no
10689       then
10690         tmp_addflag=' $pic_flag'
10691         tmp_sharedflag='-shared'
10692         case $cc_basename,$host_cpu in
10693         pgcc*)                          # Portland Group C compiler
10694           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'
10695           tmp_addflag=' $pic_flag'
10696           ;;
10697         pgf77* | pgf90* | pgf95* | pgfortran*)
10698                                         # Portland Group f77 and f90 compilers
10699           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'
10700           tmp_addflag=' $pic_flag -Mnomain' ;;
10701         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10702           tmp_addflag=' -i_dynamic' ;;
10703         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10704           tmp_addflag=' -i_dynamic -nofor_main' ;;
10705         ifc* | ifort*)                  # Intel Fortran compiler
10706           tmp_addflag=' -nofor_main' ;;
10707         lf95*)                          # Lahey Fortran 8.1
10708           whole_archive_flag_spec=
10709           tmp_sharedflag='--shared' ;;
10710         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10711           tmp_sharedflag='-qmkshrobj'
10712           tmp_addflag= ;;
10713         nvcc*)  # Cuda Compiler Driver 2.2
10714           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'
10715           compiler_needs_object=yes
10716           ;;
10717         esac
10718         case `$CC -V 2>&1 | sed 5q` in
10719         *Sun\ C*)                       # Sun C 5.9
10720           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'
10721           compiler_needs_object=yes
10722           tmp_sharedflag='-G' ;;
10723         *Sun\ F*)                       # Sun Fortran 8.3
10724           tmp_sharedflag='-G' ;;
10725         esac
10726         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10727
10728         if test "x$supports_anon_versioning" = xyes; then
10729           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10730             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10731             echo "local: *; };" >> $output_objdir/$libname.ver~
10732             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10733         fi
10734
10735         case $cc_basename in
10736         xlf* | bgf* | bgxlf* | mpixlf*)
10737           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10738           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10739           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10740           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10741           if test "x$supports_anon_versioning" = xyes; then
10742             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10743               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10744               echo "local: *; };" >> $output_objdir/$libname.ver~
10745               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10746           fi
10747           ;;
10748         esac
10749       else
10750         ld_shlibs=no
10751       fi
10752       ;;
10753
10754     netbsd* | netbsdelf*-gnu)
10755       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10756         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10757         wlarc=
10758       else
10759         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10760         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10761       fi
10762       ;;
10763
10764     solaris*)
10765       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10766         ld_shlibs=no
10767         cat <<_LT_EOF 1>&2
10768
10769 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10770 *** create shared libraries on Solaris systems.  Therefore, libtool
10771 *** is disabling shared libraries support.  We urge you to upgrade GNU
10772 *** binutils to release 2.9.1 or newer.  Another option is to modify
10773 *** your PATH or compiler configuration so that the native linker is
10774 *** used, and then restart.
10775
10776 _LT_EOF
10777       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10778         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10779         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10780       else
10781         ld_shlibs=no
10782       fi
10783       ;;
10784
10785     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10786       case `$LD -v 2>&1` in
10787         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10788         ld_shlibs=no
10789         cat <<_LT_EOF 1>&2
10790
10791 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10792 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10793 *** is disabling shared libraries support.  We urge you to upgrade GNU
10794 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10795 *** your PATH or compiler configuration so that the native linker is
10796 *** used, and then restart.
10797
10798 _LT_EOF
10799         ;;
10800         *)
10801           # For security reasons, it is highly recommended that you always
10802           # use absolute paths for naming shared libraries, and exclude the
10803           # DT_RUNPATH tag from executables and libraries.  But doing so
10804           # requires that you compile everything twice, which is a pain.
10805           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10806             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10807             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10808             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10809           else
10810             ld_shlibs=no
10811           fi
10812         ;;
10813       esac
10814       ;;
10815
10816     sunos4*)
10817       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10818       wlarc=
10819       hardcode_direct=yes
10820       hardcode_shlibpath_var=no
10821       ;;
10822
10823     *)
10824       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10825         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10826         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10827       else
10828         ld_shlibs=no
10829       fi
10830       ;;
10831     esac
10832
10833     if test "$ld_shlibs" = no; then
10834       runpath_var=
10835       hardcode_libdir_flag_spec=
10836       export_dynamic_flag_spec=
10837       whole_archive_flag_spec=
10838     fi
10839   else
10840     # PORTME fill in a description of your system's linker (not GNU ld)
10841     case $host_os in
10842     aix3*)
10843       allow_undefined_flag=unsupported
10844       always_export_symbols=yes
10845       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'
10846       # Note: this linker hardcodes the directories in LIBPATH if there
10847       # are no directories specified by -L.
10848       hardcode_minus_L=yes
10849       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10850         # Neither direct hardcoding nor static linking is supported with a
10851         # broken collect2.
10852         hardcode_direct=unsupported
10853       fi
10854       ;;
10855
10856     aix[4-9]*)
10857       if test "$host_cpu" = ia64; then
10858         # On IA64, the linker does run time linking by default, so we don't
10859         # have to do anything special.
10860         aix_use_runtimelinking=no
10861         exp_sym_flag='-Bexport'
10862         no_entry_flag=""
10863       else
10864         # If we're using GNU nm, then we don't want the "-C" option.
10865         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10866         # Also, AIX nm treats weak defined symbols like other global
10867         # defined symbols, whereas GNU nm marks them as "W".
10868         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10869           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'
10870         else
10871           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'
10872         fi
10873         aix_use_runtimelinking=no
10874
10875         # Test if we are trying to use run time linking or normal
10876         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10877         # need to do runtime linking.
10878         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10879           for ld_flag in $LDFLAGS; do
10880           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10881             aix_use_runtimelinking=yes
10882             break
10883           fi
10884           done
10885           ;;
10886         esac
10887
10888         exp_sym_flag='-bexport'
10889         no_entry_flag='-bnoentry'
10890       fi
10891
10892       # When large executables or shared objects are built, AIX ld can
10893       # have problems creating the table of contents.  If linking a library
10894       # or program results in "error TOC overflow" add -mminimal-toc to
10895       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10896       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10897
10898       archive_cmds=''
10899       hardcode_direct=yes
10900       hardcode_direct_absolute=yes
10901       hardcode_libdir_separator=':'
10902       link_all_deplibs=yes
10903       file_list_spec='${wl}-f,'
10904
10905       if test "$GCC" = yes; then
10906         case $host_os in aix4.[012]|aix4.[012].*)
10907         # We only want to do this on AIX 4.2 and lower, the check
10908         # below for broken collect2 doesn't work under 4.3+
10909           collect2name=`${CC} -print-prog-name=collect2`
10910           if test -f "$collect2name" &&
10911            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10912           then
10913           # We have reworked collect2
10914           :
10915           else
10916           # We have old collect2
10917           hardcode_direct=unsupported
10918           # It fails to find uninstalled libraries when the uninstalled
10919           # path is not listed in the libpath.  Setting hardcode_minus_L
10920           # to unsupported forces relinking
10921           hardcode_minus_L=yes
10922           hardcode_libdir_flag_spec='-L$libdir'
10923           hardcode_libdir_separator=
10924           fi
10925           ;;
10926         esac
10927         shared_flag='-shared'
10928         if test "$aix_use_runtimelinking" = yes; then
10929           shared_flag="$shared_flag "'${wl}-G'
10930         fi
10931         link_all_deplibs=no
10932       else
10933         # not using gcc
10934         if test "$host_cpu" = ia64; then
10935         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10936         # chokes on -Wl,-G. The following line is correct:
10937           shared_flag='-G'
10938         else
10939           if test "$aix_use_runtimelinking" = yes; then
10940             shared_flag='${wl}-G'
10941           else
10942             shared_flag='${wl}-bM:SRE'
10943           fi
10944         fi
10945       fi
10946
10947       export_dynamic_flag_spec='${wl}-bexpall'
10948       # It seems that -bexpall does not export symbols beginning with
10949       # underscore (_), so it is better to generate a list of symbols to export.
10950       always_export_symbols=yes
10951       if test "$aix_use_runtimelinking" = yes; then
10952         # Warning - without using the other runtime loading flags (-brtl),
10953         # -berok will link without error, but may produce a broken library.
10954         allow_undefined_flag='-berok'
10955         # Determine the default libpath from the value encoded in an
10956         # empty executable.
10957         if test "${lt_cv_aix_libpath+set}" = set; then
10958   aix_libpath=$lt_cv_aix_libpath
10959 else
10960   if ${lt_cv_aix_libpath_+:} false; then :
10961   $as_echo_n "(cached) " >&6
10962 else
10963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h.  */
10965
10966 int
10967 main ()
10968 {
10969
10970   ;
10971   return 0;
10972 }
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"; then :
10975
10976   lt_aix_libpath_sed='
10977       /Import File Strings/,/^$/ {
10978           /^0/ {
10979               s/^0  *\([^ ]*\) *$/\1/
10980               p
10981           }
10982       }'
10983   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10984   # Check for a 64-bit object if we didn't find anything.
10985   if test -z "$lt_cv_aix_libpath_"; then
10986     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10987   fi
10988 fi
10989 rm -f core conftest.err conftest.$ac_objext \
10990     conftest$ac_exeext conftest.$ac_ext
10991   if test -z "$lt_cv_aix_libpath_"; then
10992     lt_cv_aix_libpath_="/usr/lib:/lib"
10993   fi
10994
10995 fi
10996
10997   aix_libpath=$lt_cv_aix_libpath_
10998 fi
10999
11000         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11001         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"
11002       else
11003         if test "$host_cpu" = ia64; then
11004           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11005           allow_undefined_flag="-z nodefs"
11006           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"
11007         else
11008          # Determine the default libpath from the value encoded in an
11009          # empty executable.
11010          if test "${lt_cv_aix_libpath+set}" = set; then
11011   aix_libpath=$lt_cv_aix_libpath
11012 else
11013   if ${lt_cv_aix_libpath_+:} false; then :
11014   $as_echo_n "(cached) " >&6
11015 else
11016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h.  */
11018
11019 int
11020 main ()
11021 {
11022
11023   ;
11024   return 0;
11025 }
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028
11029   lt_aix_libpath_sed='
11030       /Import File Strings/,/^$/ {
11031           /^0/ {
11032               s/^0  *\([^ ]*\) *$/\1/
11033               p
11034           }
11035       }'
11036   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11037   # Check for a 64-bit object if we didn't find anything.
11038   if test -z "$lt_cv_aix_libpath_"; then
11039     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11040   fi
11041 fi
11042 rm -f core conftest.err conftest.$ac_objext \
11043     conftest$ac_exeext conftest.$ac_ext
11044   if test -z "$lt_cv_aix_libpath_"; then
11045     lt_cv_aix_libpath_="/usr/lib:/lib"
11046   fi
11047
11048 fi
11049
11050   aix_libpath=$lt_cv_aix_libpath_
11051 fi
11052
11053          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11054           # Warning - without using the other run time loading flags,
11055           # -berok will link without error, but may produce a broken library.
11056           no_undefined_flag=' ${wl}-bernotok'
11057           allow_undefined_flag=' ${wl}-berok'
11058           if test "$with_gnu_ld" = yes; then
11059             # We only use this code for GNU lds that support --whole-archive.
11060             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11061           else
11062             # Exported symbols can be pulled into shared objects from archives
11063             whole_archive_flag_spec='$convenience'
11064           fi
11065           archive_cmds_need_lc=yes
11066           # This is similar to how AIX traditionally builds its shared libraries.
11067           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'
11068         fi
11069       fi
11070       ;;
11071
11072     amigaos*)
11073       case $host_cpu in
11074       powerpc)
11075             # see comment about AmigaOS4 .so support
11076             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11077             archive_expsym_cmds=''
11078         ;;
11079       m68k)
11080             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)'
11081             hardcode_libdir_flag_spec='-L$libdir'
11082             hardcode_minus_L=yes
11083         ;;
11084       esac
11085       ;;
11086
11087     bsdi[45]*)
11088       export_dynamic_flag_spec=-rdynamic
11089       ;;
11090
11091     cygwin* | mingw* | pw32* | cegcc*)
11092       # When not using gcc, we currently assume that we are using
11093       # Microsoft Visual C++.
11094       # hardcode_libdir_flag_spec is actually meaningless, as there is
11095       # no search path for DLLs.
11096       case $cc_basename in
11097       cl*)
11098         # Native MSVC
11099         hardcode_libdir_flag_spec=' '
11100         allow_undefined_flag=unsupported
11101         always_export_symbols=yes
11102         file_list_spec='@'
11103         # Tell ltmain to make .lib files, not .a files.
11104         libext=lib
11105         # Tell ltmain to make .dll files, not .so files.
11106         shrext_cmds=".dll"
11107         # FIXME: Setting linknames here is a bad hack.
11108         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11109         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11110             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11111           else
11112             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11113           fi~
11114           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11115           linknames='
11116         # The linker will not automatically build a static lib if we build a DLL.
11117         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11118         enable_shared_with_static_runtimes=yes
11119         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11120         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11121         # Don't use ranlib
11122         old_postinstall_cmds='chmod 644 $oldlib'
11123         postlink_cmds='lt_outputfile="@OUTPUT@"~
11124           lt_tool_outputfile="@TOOL_OUTPUT@"~
11125           case $lt_outputfile in
11126             *.exe|*.EXE) ;;
11127             *)
11128               lt_outputfile="$lt_outputfile.exe"
11129               lt_tool_outputfile="$lt_tool_outputfile.exe"
11130               ;;
11131           esac~
11132           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11133             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11134             $RM "$lt_outputfile.manifest";
11135           fi'
11136         ;;
11137       *)
11138         # Assume MSVC wrapper
11139         hardcode_libdir_flag_spec=' '
11140         allow_undefined_flag=unsupported
11141         # Tell ltmain to make .lib files, not .a files.
11142         libext=lib
11143         # Tell ltmain to make .dll files, not .so files.
11144         shrext_cmds=".dll"
11145         # FIXME: Setting linknames here is a bad hack.
11146         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11147         # The linker will automatically build a .lib file if we build a DLL.
11148         old_archive_from_new_cmds='true'
11149         # FIXME: Should let the user specify the lib program.
11150         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11151         enable_shared_with_static_runtimes=yes
11152         ;;
11153       esac
11154       ;;
11155
11156     darwin* | rhapsody*)
11157
11158
11159   archive_cmds_need_lc=no
11160   hardcode_direct=no
11161   hardcode_automatic=yes
11162   hardcode_shlibpath_var=unsupported
11163   if test "$lt_cv_ld_force_load" = "yes"; then
11164     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\"`'
11165
11166   else
11167     whole_archive_flag_spec=''
11168   fi
11169   link_all_deplibs=yes
11170   allow_undefined_flag="$_lt_dar_allow_undefined"
11171   case $cc_basename in
11172      ifort*) _lt_dar_can_shared=yes ;;
11173      *) _lt_dar_can_shared=$GCC ;;
11174   esac
11175   if test "$_lt_dar_can_shared" = "yes"; then
11176     output_verbose_link_cmd=func_echo_all
11177     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11178     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11179     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}"
11180     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}"
11181
11182   else
11183   ld_shlibs=no
11184   fi
11185
11186       ;;
11187
11188     dgux*)
11189       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11190       hardcode_libdir_flag_spec='-L$libdir'
11191       hardcode_shlibpath_var=no
11192       ;;
11193
11194     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11195     # support.  Future versions do this automatically, but an explicit c++rt0.o
11196     # does not break anything, and helps significantly (at the cost of a little
11197     # extra space).
11198     freebsd2.2*)
11199       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11200       hardcode_libdir_flag_spec='-R$libdir'
11201       hardcode_direct=yes
11202       hardcode_shlibpath_var=no
11203       ;;
11204
11205     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11206     freebsd2.*)
11207       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11208       hardcode_direct=yes
11209       hardcode_minus_L=yes
11210       hardcode_shlibpath_var=no
11211       ;;
11212
11213     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11214     freebsd* | dragonfly*)
11215       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11216       hardcode_libdir_flag_spec='-R$libdir'
11217       hardcode_direct=yes
11218       hardcode_shlibpath_var=no
11219       ;;
11220
11221     hpux9*)
11222       if test "$GCC" = yes; then
11223         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'
11224       else
11225         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'
11226       fi
11227       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11228       hardcode_libdir_separator=:
11229       hardcode_direct=yes
11230
11231       # hardcode_minus_L: Not really in the search PATH,
11232       # but as the default location of the library.
11233       hardcode_minus_L=yes
11234       export_dynamic_flag_spec='${wl}-E'
11235       ;;
11236
11237     hpux10*)
11238       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11239         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11240       else
11241         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11242       fi
11243       if test "$with_gnu_ld" = no; then
11244         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11245         hardcode_libdir_separator=:
11246         hardcode_direct=yes
11247         hardcode_direct_absolute=yes
11248         export_dynamic_flag_spec='${wl}-E'
11249         # hardcode_minus_L: Not really in the search PATH,
11250         # but as the default location of the library.
11251         hardcode_minus_L=yes
11252       fi
11253       ;;
11254
11255     hpux11*)
11256       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11257         case $host_cpu in
11258         hppa*64*)
11259           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11260           ;;
11261         ia64*)
11262           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11263           ;;
11264         *)
11265           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11266           ;;
11267         esac
11268       else
11269         case $host_cpu in
11270         hppa*64*)
11271           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11272           ;;
11273         ia64*)
11274           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11275           ;;
11276         *)
11277
11278           # Older versions of the 11.00 compiler do not understand -b yet
11279           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11280           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11281 $as_echo_n "checking if $CC understands -b... " >&6; }
11282 if ${lt_cv_prog_compiler__b+:} false; then :
11283   $as_echo_n "(cached) " >&6
11284 else
11285   lt_cv_prog_compiler__b=no
11286    save_LDFLAGS="$LDFLAGS"
11287    LDFLAGS="$LDFLAGS -b"
11288    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11289    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11290      # The linker can only warn and ignore the option if not recognized
11291      # So say no if there are warnings
11292      if test -s conftest.err; then
11293        # Append any errors to the config.log.
11294        cat conftest.err 1>&5
11295        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11296        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11297        if diff conftest.exp conftest.er2 >/dev/null; then
11298          lt_cv_prog_compiler__b=yes
11299        fi
11300      else
11301        lt_cv_prog_compiler__b=yes
11302      fi
11303    fi
11304    $RM -r conftest*
11305    LDFLAGS="$save_LDFLAGS"
11306
11307 fi
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11309 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11310
11311 if test x"$lt_cv_prog_compiler__b" = xyes; then
11312     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11313 else
11314     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11315 fi
11316
11317           ;;
11318         esac
11319       fi
11320       if test "$with_gnu_ld" = no; then
11321         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11322         hardcode_libdir_separator=:
11323
11324         case $host_cpu in
11325         hppa*64*|ia64*)
11326           hardcode_direct=no
11327           hardcode_shlibpath_var=no
11328           ;;
11329         *)
11330           hardcode_direct=yes
11331           hardcode_direct_absolute=yes
11332           export_dynamic_flag_spec='${wl}-E'
11333
11334           # hardcode_minus_L: Not really in the search PATH,
11335           # but as the default location of the library.
11336           hardcode_minus_L=yes
11337           ;;
11338         esac
11339       fi
11340       ;;
11341
11342     irix5* | irix6* | nonstopux*)
11343       if test "$GCC" = yes; then
11344         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'
11345         # Try to use the -exported_symbol ld option, if it does not
11346         # work, assume that -exports_file does not work either and
11347         # implicitly export all symbols.
11348         # This should be the same for all languages, so no per-tag cache variable.
11349         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11350 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11351 if ${lt_cv_irix_exported_symbol+:} false; then :
11352   $as_echo_n "(cached) " >&6
11353 else
11354   save_LDFLAGS="$LDFLAGS"
11355            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11356            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h.  */
11358 int foo (void) { return 0; }
11359 _ACEOF
11360 if ac_fn_c_try_link "$LINENO"; then :
11361   lt_cv_irix_exported_symbol=yes
11362 else
11363   lt_cv_irix_exported_symbol=no
11364 fi
11365 rm -f core conftest.err conftest.$ac_objext \
11366     conftest$ac_exeext conftest.$ac_ext
11367            LDFLAGS="$save_LDFLAGS"
11368 fi
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11370 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11371         if test "$lt_cv_irix_exported_symbol" = yes; then
11372           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'
11373         fi
11374       else
11375         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'
11376         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'
11377       fi
11378       archive_cmds_need_lc='no'
11379       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11380       hardcode_libdir_separator=:
11381       inherit_rpath=yes
11382       link_all_deplibs=yes
11383       ;;
11384
11385     netbsd* | netbsdelf*-gnu)
11386       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11387         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11388       else
11389         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11390       fi
11391       hardcode_libdir_flag_spec='-R$libdir'
11392       hardcode_direct=yes
11393       hardcode_shlibpath_var=no
11394       ;;
11395
11396     newsos6)
11397       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11398       hardcode_direct=yes
11399       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11400       hardcode_libdir_separator=:
11401       hardcode_shlibpath_var=no
11402       ;;
11403
11404     *nto* | *qnx*)
11405       ;;
11406
11407     openbsd*)
11408       if test -f /usr/libexec/ld.so; then
11409         hardcode_direct=yes
11410         hardcode_shlibpath_var=no
11411         hardcode_direct_absolute=yes
11412         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11413           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11414           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11415           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11416           export_dynamic_flag_spec='${wl}-E'
11417         else
11418           case $host_os in
11419            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11420              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11421              hardcode_libdir_flag_spec='-R$libdir'
11422              ;;
11423            *)
11424              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11425              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11426              ;;
11427           esac
11428         fi
11429       else
11430         ld_shlibs=no
11431       fi
11432       ;;
11433
11434     os2*)
11435       hardcode_libdir_flag_spec='-L$libdir'
11436       hardcode_minus_L=yes
11437       allow_undefined_flag=unsupported
11438       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'
11439       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11440       ;;
11441
11442     osf3*)
11443       if test "$GCC" = yes; then
11444         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11445         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'
11446       else
11447         allow_undefined_flag=' -expect_unresolved \*'
11448         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'
11449       fi
11450       archive_cmds_need_lc='no'
11451       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11452       hardcode_libdir_separator=:
11453       ;;
11454
11455     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11456       if test "$GCC" = yes; then
11457         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11458         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'
11459         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11460       else
11461         allow_undefined_flag=' -expect_unresolved \*'
11462         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'
11463         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~
11464         $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'
11465
11466         # Both c and cxx compiler support -rpath directly
11467         hardcode_libdir_flag_spec='-rpath $libdir'
11468       fi
11469       archive_cmds_need_lc='no'
11470       hardcode_libdir_separator=:
11471       ;;
11472
11473     solaris*)
11474       no_undefined_flag=' -z defs'
11475       if test "$GCC" = yes; then
11476         wlarc='${wl}'
11477         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11478         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11479           $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'
11480       else
11481         case `$CC -V 2>&1` in
11482         *"Compilers 5.0"*)
11483           wlarc=''
11484           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11485           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11486           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11487           ;;
11488         *)
11489           wlarc='${wl}'
11490           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11491           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11492           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11493           ;;
11494         esac
11495       fi
11496       hardcode_libdir_flag_spec='-R$libdir'
11497       hardcode_shlibpath_var=no
11498       case $host_os in
11499       solaris2.[0-5] | solaris2.[0-5].*) ;;
11500       *)
11501         # The compiler driver will combine and reorder linker options,
11502         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11503         # but is careful enough not to reorder.
11504         # Supported since Solaris 2.6 (maybe 2.5.1?)
11505         if test "$GCC" = yes; then
11506           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11507         else
11508           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11509         fi
11510         ;;
11511       esac
11512       link_all_deplibs=yes
11513       ;;
11514
11515     sunos4*)
11516       if test "x$host_vendor" = xsequent; then
11517         # Use $CC to link under sequent, because it throws in some extra .o
11518         # files that make .init and .fini sections work.
11519         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11520       else
11521         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11522       fi
11523       hardcode_libdir_flag_spec='-L$libdir'
11524       hardcode_direct=yes
11525       hardcode_minus_L=yes
11526       hardcode_shlibpath_var=no
11527       ;;
11528
11529     sysv4)
11530       case $host_vendor in
11531         sni)
11532           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11533           hardcode_direct=yes # is this really true???
11534         ;;
11535         siemens)
11536           ## LD is ld it makes a PLAMLIB
11537           ## CC just makes a GrossModule.
11538           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11539           reload_cmds='$CC -r -o $output$reload_objs'
11540           hardcode_direct=no
11541         ;;
11542         motorola)
11543           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11544           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11545         ;;
11546       esac
11547       runpath_var='LD_RUN_PATH'
11548       hardcode_shlibpath_var=no
11549       ;;
11550
11551     sysv4.3*)
11552       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11553       hardcode_shlibpath_var=no
11554       export_dynamic_flag_spec='-Bexport'
11555       ;;
11556
11557     sysv4*MP*)
11558       if test -d /usr/nec; then
11559         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11560         hardcode_shlibpath_var=no
11561         runpath_var=LD_RUN_PATH
11562         hardcode_runpath_var=yes
11563         ld_shlibs=yes
11564       fi
11565       ;;
11566
11567     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11568       no_undefined_flag='${wl}-z,text'
11569       archive_cmds_need_lc=no
11570       hardcode_shlibpath_var=no
11571       runpath_var='LD_RUN_PATH'
11572
11573       if test "$GCC" = yes; then
11574         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11575         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11576       else
11577         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11578         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11579       fi
11580       ;;
11581
11582     sysv5* | sco3.2v5* | sco5v6*)
11583       # Note: We can NOT use -z defs as we might desire, because we do not
11584       # link with -lc, and that would cause any symbols used from libc to
11585       # always be unresolved, which means just about no library would
11586       # ever link correctly.  If we're not using GNU ld we use -z text
11587       # though, which does catch some bad symbols but isn't as heavy-handed
11588       # as -z defs.
11589       no_undefined_flag='${wl}-z,text'
11590       allow_undefined_flag='${wl}-z,nodefs'
11591       archive_cmds_need_lc=no
11592       hardcode_shlibpath_var=no
11593       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11594       hardcode_libdir_separator=':'
11595       link_all_deplibs=yes
11596       export_dynamic_flag_spec='${wl}-Bexport'
11597       runpath_var='LD_RUN_PATH'
11598
11599       if test "$GCC" = yes; then
11600         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11601         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11602       else
11603         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11604         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11605       fi
11606       ;;
11607
11608     uts4*)
11609       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11610       hardcode_libdir_flag_spec='-L$libdir'
11611       hardcode_shlibpath_var=no
11612       ;;
11613
11614     *)
11615       ld_shlibs=no
11616       ;;
11617     esac
11618
11619     if test x$host_vendor = xsni; then
11620       case $host in
11621       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11622         export_dynamic_flag_spec='${wl}-Blargedynsym'
11623         ;;
11624       esac
11625     fi
11626   fi
11627
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11629 $as_echo "$ld_shlibs" >&6; }
11630 test "$ld_shlibs" = no && can_build_shared=no
11631
11632 with_gnu_ld=$with_gnu_ld
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648 #
11649 # Do we need to explicitly link libc?
11650 #
11651 case "x$archive_cmds_need_lc" in
11652 x|xyes)
11653   # Assume -lc should be added
11654   archive_cmds_need_lc=yes
11655
11656   if test "$enable_shared" = yes && test "$GCC" = yes; then
11657     case $archive_cmds in
11658     *'~'*)
11659       # FIXME: we may have to deal with multi-command sequences.
11660       ;;
11661     '$CC '*)
11662       # Test whether the compiler implicitly links with -lc since on some
11663       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11664       # to ld, don't add -lc before -lgcc.
11665       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11666 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11667 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11668   $as_echo_n "(cached) " >&6
11669 else
11670   $RM conftest*
11671         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11672
11673         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11674   (eval $ac_compile) 2>&5
11675   ac_status=$?
11676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11677   test $ac_status = 0; } 2>conftest.err; then
11678           soname=conftest
11679           lib=conftest
11680           libobjs=conftest.$ac_objext
11681           deplibs=
11682           wl=$lt_prog_compiler_wl
11683           pic_flag=$lt_prog_compiler_pic
11684           compiler_flags=-v
11685           linker_flags=-v
11686           verstring=
11687           output_objdir=.
11688           libname=conftest
11689           lt_save_allow_undefined_flag=$allow_undefined_flag
11690           allow_undefined_flag=
11691           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11692   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11693   ac_status=$?
11694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695   test $ac_status = 0; }
11696           then
11697             lt_cv_archive_cmds_need_lc=no
11698           else
11699             lt_cv_archive_cmds_need_lc=yes
11700           fi
11701           allow_undefined_flag=$lt_save_allow_undefined_flag
11702         else
11703           cat conftest.err 1>&5
11704         fi
11705         $RM conftest*
11706
11707 fi
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11709 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11710       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11711       ;;
11712     esac
11713   fi
11714   ;;
11715 esac
11716
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
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11869 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11870
11871 if test "$GCC" = yes; then
11872   case $host_os in
11873     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11874     *) lt_awk_arg="/^libraries:/" ;;
11875   esac
11876   case $host_os in
11877     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11878     *) lt_sed_strip_eq="s,=/,/,g" ;;
11879   esac
11880   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11881   case $lt_search_path_spec in
11882   *\;*)
11883     # if the path contains ";" then we assume it to be the separator
11884     # otherwise default to the standard path separator (i.e. ":") - it is
11885     # assumed that no part of a normal pathname contains ";" but that should
11886     # okay in the real world where ";" in dirpaths is itself problematic.
11887     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11888     ;;
11889   *)
11890     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11891     ;;
11892   esac
11893   # Ok, now we have the path, separated by spaces, we can step through it
11894   # and add multilib dir if necessary.
11895   lt_tmp_lt_search_path_spec=
11896   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11897   for lt_sys_path in $lt_search_path_spec; do
11898     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11899       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11900     else
11901       test -d "$lt_sys_path" && \
11902         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11903     fi
11904   done
11905   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11906 BEGIN {RS=" "; FS="/|\n";} {
11907   lt_foo="";
11908   lt_count=0;
11909   for (lt_i = NF; lt_i > 0; lt_i--) {
11910     if ($lt_i != "" && $lt_i != ".") {
11911       if ($lt_i == "..") {
11912         lt_count++;
11913       } else {
11914         if (lt_count == 0) {
11915           lt_foo="/" $lt_i lt_foo;
11916         } else {
11917           lt_count--;
11918         }
11919       }
11920     }
11921   }
11922   if (lt_foo != "") { lt_freq[lt_foo]++; }
11923   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11924 }'`
11925   # AWK program above erroneously prepends '/' to C:/dos/paths
11926   # for these hosts.
11927   case $host_os in
11928     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11929       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11930   esac
11931   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11932 else
11933   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11934 fi
11935 library_names_spec=
11936 libname_spec='lib$name'
11937 soname_spec=
11938 shrext_cmds=".so"
11939 postinstall_cmds=
11940 postuninstall_cmds=
11941 finish_cmds=
11942 finish_eval=
11943 shlibpath_var=
11944 shlibpath_overrides_runpath=unknown
11945 version_type=none
11946 dynamic_linker="$host_os ld.so"
11947 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11948 need_lib_prefix=unknown
11949 hardcode_into_libs=no
11950
11951 # when you set need_version to no, make sure it does not cause -set_version
11952 # flags to be left without arguments
11953 need_version=unknown
11954
11955 case $host_os in
11956 aix3*)
11957   version_type=linux # correct to gnu/linux during the next big refactor
11958   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11959   shlibpath_var=LIBPATH
11960
11961   # AIX 3 has no versioning support, so we append a major version to the name.
11962   soname_spec='${libname}${release}${shared_ext}$major'
11963   ;;
11964
11965 aix[4-9]*)
11966   version_type=linux # correct to gnu/linux during the next big refactor
11967   need_lib_prefix=no
11968   need_version=no
11969   hardcode_into_libs=yes
11970   if test "$host_cpu" = ia64; then
11971     # AIX 5 supports IA64
11972     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11973     shlibpath_var=LD_LIBRARY_PATH
11974   else
11975     # With GCC up to 2.95.x, collect2 would create an import file
11976     # for dependence libraries.  The import file would start with
11977     # the line `#! .'.  This would cause the generated library to
11978     # depend on `.', always an invalid library.  This was fixed in
11979     # development snapshots of GCC prior to 3.0.
11980     case $host_os in
11981       aix4 | aix4.[01] | aix4.[01].*)
11982       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11983            echo ' yes '
11984            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11985         :
11986       else
11987         can_build_shared=no
11988       fi
11989       ;;
11990     esac
11991     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11992     # soname into executable. Probably we can add versioning support to
11993     # collect2, so additional links can be useful in future.
11994     if test "$aix_use_runtimelinking" = yes; then
11995       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11996       # instead of lib<name>.a to let people know that these are not
11997       # typical AIX shared libraries.
11998       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11999     else
12000       # We preserve .a as extension for shared libraries through AIX4.2
12001       # and later when we are not doing run time linking.
12002       library_names_spec='${libname}${release}.a $libname.a'
12003       soname_spec='${libname}${release}${shared_ext}$major'
12004     fi
12005     shlibpath_var=LIBPATH
12006   fi
12007   ;;
12008
12009 amigaos*)
12010   case $host_cpu in
12011   powerpc)
12012     # Since July 2007 AmigaOS4 officially supports .so libraries.
12013     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12014     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12015     ;;
12016   m68k)
12017     library_names_spec='$libname.ixlibrary $libname.a'
12018     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12019     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'
12020     ;;
12021   esac
12022   ;;
12023
12024 beos*)
12025   library_names_spec='${libname}${shared_ext}'
12026   dynamic_linker="$host_os ld.so"
12027   shlibpath_var=LIBRARY_PATH
12028   ;;
12029
12030 bsdi[45]*)
12031   version_type=linux # correct to gnu/linux during the next big refactor
12032   need_version=no
12033   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12034   soname_spec='${libname}${release}${shared_ext}$major'
12035   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12036   shlibpath_var=LD_LIBRARY_PATH
12037   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12038   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12039   # the default ld.so.conf also contains /usr/contrib/lib and
12040   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12041   # libtool to hard-code these into programs
12042   ;;
12043
12044 cygwin* | mingw* | pw32* | cegcc*)
12045   version_type=windows
12046   shrext_cmds=".dll"
12047   need_version=no
12048   need_lib_prefix=no
12049
12050   case $GCC,$cc_basename in
12051   yes,*)
12052     # gcc
12053     library_names_spec='$libname.dll.a'
12054     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12055     postinstall_cmds='base_file=`basename \${file}`~
12056       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12057       dldir=$destdir/`dirname \$dlpath`~
12058       test -d \$dldir || mkdir -p \$dldir~
12059       $install_prog $dir/$dlname \$dldir/$dlname~
12060       chmod a+x \$dldir/$dlname~
12061       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12062         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12063       fi'
12064     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12065       dlpath=$dir/\$dldll~
12066        $RM \$dlpath'
12067     shlibpath_overrides_runpath=yes
12068
12069     case $host_os in
12070     cygwin*)
12071       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12072       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12073
12074       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12075       ;;
12076     mingw* | cegcc*)
12077       # MinGW DLLs use traditional 'lib' prefix
12078       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12079       ;;
12080     pw32*)
12081       # pw32 DLLs use 'pw' prefix rather than 'lib'
12082       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12083       ;;
12084     esac
12085     dynamic_linker='Win32 ld.exe'
12086     ;;
12087
12088   *,cl*)
12089     # Native MSVC
12090     libname_spec='$name'
12091     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12092     library_names_spec='${libname}.dll.lib'
12093
12094     case $build_os in
12095     mingw*)
12096       sys_lib_search_path_spec=
12097       lt_save_ifs=$IFS
12098       IFS=';'
12099       for lt_path in $LIB
12100       do
12101         IFS=$lt_save_ifs
12102         # Let DOS variable expansion print the short 8.3 style file name.
12103         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12104         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12105       done
12106       IFS=$lt_save_ifs
12107       # Convert to MSYS style.
12108       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12109       ;;
12110     cygwin*)
12111       # Convert to unix form, then to dos form, then back to unix form
12112       # but this time dos style (no spaces!) so that the unix form looks
12113       # like /cygdrive/c/PROGRA~1:/cygdr...
12114       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12115       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12116       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12117       ;;
12118     *)
12119       sys_lib_search_path_spec="$LIB"
12120       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12121         # It is most probably a Windows format PATH.
12122         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12123       else
12124         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12125       fi
12126       # FIXME: find the short name or the path components, as spaces are
12127       # common. (e.g. "Program Files" -> "PROGRA~1")
12128       ;;
12129     esac
12130
12131     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12132     postinstall_cmds='base_file=`basename \${file}`~
12133       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12134       dldir=$destdir/`dirname \$dlpath`~
12135       test -d \$dldir || mkdir -p \$dldir~
12136       $install_prog $dir/$dlname \$dldir/$dlname'
12137     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12138       dlpath=$dir/\$dldll~
12139        $RM \$dlpath'
12140     shlibpath_overrides_runpath=yes
12141     dynamic_linker='Win32 link.exe'
12142     ;;
12143
12144   *)
12145     # Assume MSVC wrapper
12146     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12147     dynamic_linker='Win32 ld.exe'
12148     ;;
12149   esac
12150   # FIXME: first we should search . and the directory the executable is in
12151   shlibpath_var=PATH
12152   ;;
12153
12154 darwin* | rhapsody*)
12155   dynamic_linker="$host_os dyld"
12156   version_type=darwin
12157   need_lib_prefix=no
12158   need_version=no
12159   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12160   soname_spec='${libname}${release}${major}$shared_ext'
12161   shlibpath_overrides_runpath=yes
12162   shlibpath_var=DYLD_LIBRARY_PATH
12163   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12164
12165   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12166   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12167   ;;
12168
12169 dgux*)
12170   version_type=linux # correct to gnu/linux during the next big refactor
12171   need_lib_prefix=no
12172   need_version=no
12173   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12174   soname_spec='${libname}${release}${shared_ext}$major'
12175   shlibpath_var=LD_LIBRARY_PATH
12176   ;;
12177
12178 freebsd* | dragonfly*)
12179   # DragonFly does not have aout.  When/if they implement a new
12180   # versioning mechanism, adjust this.
12181   if test -x /usr/bin/objformat; then
12182     objformat=`/usr/bin/objformat`
12183   else
12184     case $host_os in
12185     freebsd[23].*) objformat=aout ;;
12186     *) objformat=elf ;;
12187     esac
12188   fi
12189   version_type=freebsd-$objformat
12190   case $version_type in
12191     freebsd-elf*)
12192       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12193       need_version=no
12194       need_lib_prefix=no
12195       ;;
12196     freebsd-*)
12197       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12198       need_version=yes
12199       ;;
12200   esac
12201   shlibpath_var=LD_LIBRARY_PATH
12202   case $host_os in
12203   freebsd2.*)
12204     shlibpath_overrides_runpath=yes
12205     ;;
12206   freebsd3.[01]* | freebsdelf3.[01]*)
12207     shlibpath_overrides_runpath=yes
12208     hardcode_into_libs=yes
12209     ;;
12210   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12211   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12212     shlibpath_overrides_runpath=no
12213     hardcode_into_libs=yes
12214     ;;
12215   *) # from 4.6 on, and DragonFly
12216     shlibpath_overrides_runpath=yes
12217     hardcode_into_libs=yes
12218     ;;
12219   esac
12220   ;;
12221
12222 haiku*)
12223   version_type=linux # correct to gnu/linux during the next big refactor
12224   need_lib_prefix=no
12225   need_version=no
12226   dynamic_linker="$host_os runtime_loader"
12227   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12228   soname_spec='${libname}${release}${shared_ext}$major'
12229   shlibpath_var=LIBRARY_PATH
12230   shlibpath_overrides_runpath=yes
12231   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12232   hardcode_into_libs=yes
12233   ;;
12234
12235 hpux9* | hpux10* | hpux11*)
12236   # Give a soname corresponding to the major version so that dld.sl refuses to
12237   # link against other versions.
12238   version_type=sunos
12239   need_lib_prefix=no
12240   need_version=no
12241   case $host_cpu in
12242   ia64*)
12243     shrext_cmds='.so'
12244     hardcode_into_libs=yes
12245     dynamic_linker="$host_os dld.so"
12246     shlibpath_var=LD_LIBRARY_PATH
12247     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12248     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12249     soname_spec='${libname}${release}${shared_ext}$major'
12250     if test "X$HPUX_IA64_MODE" = X32; then
12251       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12252     else
12253       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12254     fi
12255     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12256     ;;
12257   hppa*64*)
12258     shrext_cmds='.sl'
12259     hardcode_into_libs=yes
12260     dynamic_linker="$host_os dld.sl"
12261     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12262     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12263     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12264     soname_spec='${libname}${release}${shared_ext}$major'
12265     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12266     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12267     ;;
12268   *)
12269     shrext_cmds='.sl'
12270     dynamic_linker="$host_os dld.sl"
12271     shlibpath_var=SHLIB_PATH
12272     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12273     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12274     soname_spec='${libname}${release}${shared_ext}$major'
12275     ;;
12276   esac
12277   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12278   postinstall_cmds='chmod 555 $lib'
12279   # or fails outright, so override atomically:
12280   install_override_mode=555
12281   ;;
12282
12283 interix[3-9]*)
12284   version_type=linux # correct to gnu/linux during the next big refactor
12285   need_lib_prefix=no
12286   need_version=no
12287   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12288   soname_spec='${libname}${release}${shared_ext}$major'
12289   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12290   shlibpath_var=LD_LIBRARY_PATH
12291   shlibpath_overrides_runpath=no
12292   hardcode_into_libs=yes
12293   ;;
12294
12295 irix5* | irix6* | nonstopux*)
12296   case $host_os in
12297     nonstopux*) version_type=nonstopux ;;
12298     *)
12299         if test "$lt_cv_prog_gnu_ld" = yes; then
12300                 version_type=linux # correct to gnu/linux during the next big refactor
12301         else
12302                 version_type=irix
12303         fi ;;
12304   esac
12305   need_lib_prefix=no
12306   need_version=no
12307   soname_spec='${libname}${release}${shared_ext}$major'
12308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12309   case $host_os in
12310   irix5* | nonstopux*)
12311     libsuff= shlibsuff=
12312     ;;
12313   *)
12314     case $LD in # libtool.m4 will add one of these switches to LD
12315     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12316       libsuff= shlibsuff= libmagic=32-bit;;
12317     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12318       libsuff=32 shlibsuff=N32 libmagic=N32;;
12319     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12320       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12321     *) libsuff= shlibsuff= libmagic=never-match;;
12322     esac
12323     ;;
12324   esac
12325   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12326   shlibpath_overrides_runpath=no
12327   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12328   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12329   hardcode_into_libs=yes
12330   ;;
12331
12332 # No shared lib support for Linux oldld, aout, or coff.
12333 linux*oldld* | linux*aout* | linux*coff*)
12334   dynamic_linker=no
12335   ;;
12336
12337 # This must be glibc/ELF.
12338 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12339   version_type=linux # correct to gnu/linux during the next big refactor
12340   need_lib_prefix=no
12341   need_version=no
12342   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12343   soname_spec='${libname}${release}${shared_ext}$major'
12344   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12345   shlibpath_var=LD_LIBRARY_PATH
12346   shlibpath_overrides_runpath=no
12347
12348   # Some binutils ld are patched to set DT_RUNPATH
12349   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12350   $as_echo_n "(cached) " >&6
12351 else
12352   lt_cv_shlibpath_overrides_runpath=no
12353     save_LDFLAGS=$LDFLAGS
12354     save_libdir=$libdir
12355     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12356          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12357     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h.  */
12359
12360 int
12361 main ()
12362 {
12363
12364   ;
12365   return 0;
12366 }
12367 _ACEOF
12368 if ac_fn_c_try_link "$LINENO"; then :
12369   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12370   lt_cv_shlibpath_overrides_runpath=yes
12371 fi
12372 fi
12373 rm -f core conftest.err conftest.$ac_objext \
12374     conftest$ac_exeext conftest.$ac_ext
12375     LDFLAGS=$save_LDFLAGS
12376     libdir=$save_libdir
12377
12378 fi
12379
12380   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12381
12382   # This implies no fast_install, which is unacceptable.
12383   # Some rework will be needed to allow for fast_install
12384   # before this can be enabled.
12385   hardcode_into_libs=yes
12386
12387   # Append ld.so.conf contents to the search path
12388   if test -f /etc/ld.so.conf; then
12389     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' ' '`
12390     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12391   fi
12392
12393   # We used to test for /lib/ld.so.1 and disable shared libraries on
12394   # powerpc, because MkLinux only supported shared libraries with the
12395   # GNU dynamic linker.  Since this was broken with cross compilers,
12396   # most powerpc-linux boxes support dynamic linking these days and
12397   # people can always --disable-shared, the test was removed, and we
12398   # assume the GNU/Linux dynamic linker is in use.
12399   dynamic_linker='GNU/Linux ld.so'
12400   ;;
12401
12402 netbsdelf*-gnu)
12403   version_type=linux
12404   need_lib_prefix=no
12405   need_version=no
12406   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12407   soname_spec='${libname}${release}${shared_ext}$major'
12408   shlibpath_var=LD_LIBRARY_PATH
12409   shlibpath_overrides_runpath=no
12410   hardcode_into_libs=yes
12411   dynamic_linker='NetBSD ld.elf_so'
12412   ;;
12413
12414 netbsd*)
12415   version_type=sunos
12416   need_lib_prefix=no
12417   need_version=no
12418   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12419     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12420     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12421     dynamic_linker='NetBSD (a.out) ld.so'
12422   else
12423     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12424     soname_spec='${libname}${release}${shared_ext}$major'
12425     dynamic_linker='NetBSD ld.elf_so'
12426   fi
12427   shlibpath_var=LD_LIBRARY_PATH
12428   shlibpath_overrides_runpath=yes
12429   hardcode_into_libs=yes
12430   ;;
12431
12432 newsos6)
12433   version_type=linux # correct to gnu/linux during the next big refactor
12434   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12435   shlibpath_var=LD_LIBRARY_PATH
12436   shlibpath_overrides_runpath=yes
12437   ;;
12438
12439 *nto* | *qnx*)
12440   version_type=qnx
12441   need_lib_prefix=no
12442   need_version=no
12443   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12444   soname_spec='${libname}${release}${shared_ext}$major'
12445   shlibpath_var=LD_LIBRARY_PATH
12446   shlibpath_overrides_runpath=no
12447   hardcode_into_libs=yes
12448   dynamic_linker='ldqnx.so'
12449   ;;
12450
12451 openbsd*)
12452   version_type=sunos
12453   sys_lib_dlsearch_path_spec="/usr/lib"
12454   need_lib_prefix=no
12455   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12456   case $host_os in
12457     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12458     *)                          need_version=no  ;;
12459   esac
12460   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12461   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12462   shlibpath_var=LD_LIBRARY_PATH
12463   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12464     case $host_os in
12465       openbsd2.[89] | openbsd2.[89].*)
12466         shlibpath_overrides_runpath=no
12467         ;;
12468       *)
12469         shlibpath_overrides_runpath=yes
12470         ;;
12471       esac
12472   else
12473     shlibpath_overrides_runpath=yes
12474   fi
12475   ;;
12476
12477 os2*)
12478   libname_spec='$name'
12479   shrext_cmds=".dll"
12480   need_lib_prefix=no
12481   library_names_spec='$libname${shared_ext} $libname.a'
12482   dynamic_linker='OS/2 ld.exe'
12483   shlibpath_var=LIBPATH
12484   ;;
12485
12486 osf3* | osf4* | osf5*)
12487   version_type=osf
12488   need_lib_prefix=no
12489   need_version=no
12490   soname_spec='${libname}${release}${shared_ext}$major'
12491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12492   shlibpath_var=LD_LIBRARY_PATH
12493   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12494   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12495   ;;
12496
12497 rdos*)
12498   dynamic_linker=no
12499   ;;
12500
12501 solaris*)
12502   version_type=linux # correct to gnu/linux during the next big refactor
12503   need_lib_prefix=no
12504   need_version=no
12505   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12506   soname_spec='${libname}${release}${shared_ext}$major'
12507   shlibpath_var=LD_LIBRARY_PATH
12508   shlibpath_overrides_runpath=yes
12509   hardcode_into_libs=yes
12510   # ldd complains unless libraries are executable
12511   postinstall_cmds='chmod +x $lib'
12512   ;;
12513
12514 sunos4*)
12515   version_type=sunos
12516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12517   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12518   shlibpath_var=LD_LIBRARY_PATH
12519   shlibpath_overrides_runpath=yes
12520   if test "$with_gnu_ld" = yes; then
12521     need_lib_prefix=no
12522   fi
12523   need_version=yes
12524   ;;
12525
12526 sysv4 | sysv4.3*)
12527   version_type=linux # correct to gnu/linux during the next big refactor
12528   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12529   soname_spec='${libname}${release}${shared_ext}$major'
12530   shlibpath_var=LD_LIBRARY_PATH
12531   case $host_vendor in
12532     sni)
12533       shlibpath_overrides_runpath=no
12534       need_lib_prefix=no
12535       runpath_var=LD_RUN_PATH
12536       ;;
12537     siemens)
12538       need_lib_prefix=no
12539       ;;
12540     motorola)
12541       need_lib_prefix=no
12542       need_version=no
12543       shlibpath_overrides_runpath=no
12544       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12545       ;;
12546   esac
12547   ;;
12548
12549 sysv4*MP*)
12550   if test -d /usr/nec ;then
12551     version_type=linux # correct to gnu/linux during the next big refactor
12552     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12553     soname_spec='$libname${shared_ext}.$major'
12554     shlibpath_var=LD_LIBRARY_PATH
12555   fi
12556   ;;
12557
12558 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12559   version_type=freebsd-elf
12560   need_lib_prefix=no
12561   need_version=no
12562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12563   soname_spec='${libname}${release}${shared_ext}$major'
12564   shlibpath_var=LD_LIBRARY_PATH
12565   shlibpath_overrides_runpath=yes
12566   hardcode_into_libs=yes
12567   if test "$with_gnu_ld" = yes; then
12568     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12569   else
12570     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12571     case $host_os in
12572       sco3.2v5*)
12573         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12574         ;;
12575     esac
12576   fi
12577   sys_lib_dlsearch_path_spec='/usr/lib'
12578   ;;
12579
12580 tpf*)
12581   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12582   version_type=linux # correct to gnu/linux during the next big refactor
12583   need_lib_prefix=no
12584   need_version=no
12585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12586   shlibpath_var=LD_LIBRARY_PATH
12587   shlibpath_overrides_runpath=no
12588   hardcode_into_libs=yes
12589   ;;
12590
12591 uts4*)
12592   version_type=linux # correct to gnu/linux during the next big refactor
12593   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12594   soname_spec='${libname}${release}${shared_ext}$major'
12595   shlibpath_var=LD_LIBRARY_PATH
12596   ;;
12597
12598 *)
12599   dynamic_linker=no
12600   ;;
12601 esac
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12603 $as_echo "$dynamic_linker" >&6; }
12604 test "$dynamic_linker" = no && can_build_shared=no
12605
12606 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12607 if test "$GCC" = yes; then
12608   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12609 fi
12610
12611 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12612   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12613 fi
12614 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12615   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12616 fi
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12710 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12711 hardcode_action=
12712 if test -n "$hardcode_libdir_flag_spec" ||
12713    test -n "$runpath_var" ||
12714    test "X$hardcode_automatic" = "Xyes" ; then
12715
12716   # We can hardcode non-existent directories.
12717   if test "$hardcode_direct" != no &&
12718      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12719      # have to relink, otherwise we might link with an installed library
12720      # when we should be linking with a yet-to-be-installed one
12721      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12722      test "$hardcode_minus_L" != no; then
12723     # Linking always hardcodes the temporary library directory.
12724     hardcode_action=relink
12725   else
12726     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12727     hardcode_action=immediate
12728   fi
12729 else
12730   # We cannot hardcode anything, or else we can only hardcode existing
12731   # directories.
12732   hardcode_action=unsupported
12733 fi
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12735 $as_echo "$hardcode_action" >&6; }
12736
12737 if test "$hardcode_action" = relink ||
12738    test "$inherit_rpath" = yes; then
12739   # Fast installation is not supported
12740   enable_fast_install=no
12741 elif test "$shlibpath_overrides_runpath" = yes ||
12742      test "$enable_shared" = no; then
12743   # Fast installation is not necessary
12744   enable_fast_install=needless
12745 fi
12746
12747
12748
12749
12750
12751
12752   if test "x$enable_dlopen" != xyes; then
12753   enable_dlopen=unknown
12754   enable_dlopen_self=unknown
12755   enable_dlopen_self_static=unknown
12756 else
12757   lt_cv_dlopen=no
12758   lt_cv_dlopen_libs=
12759
12760   case $host_os in
12761   beos*)
12762     lt_cv_dlopen="load_add_on"
12763     lt_cv_dlopen_libs=
12764     lt_cv_dlopen_self=yes
12765     ;;
12766
12767   mingw* | pw32* | cegcc*)
12768     lt_cv_dlopen="LoadLibrary"
12769     lt_cv_dlopen_libs=
12770     ;;
12771
12772   cygwin*)
12773     lt_cv_dlopen="dlopen"
12774     lt_cv_dlopen_libs=
12775     ;;
12776
12777   darwin*)
12778   # if libdl is installed we need to link against it
12779     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12780 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12781 if ${ac_cv_lib_dl_dlopen+:} false; then :
12782   $as_echo_n "(cached) " >&6
12783 else
12784   ac_check_lib_save_LIBS=$LIBS
12785 LIBS="-ldl  $LIBS"
12786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h.  */
12788
12789 /* Override any GCC internal prototype to avoid an error.
12790    Use char because int might match the return type of a GCC
12791    builtin and then its argument prototype would still apply.  */
12792 #ifdef __cplusplus
12793 extern "C"
12794 #endif
12795 char dlopen ();
12796 int
12797 main ()
12798 {
12799 return dlopen ();
12800   ;
12801   return 0;
12802 }
12803 _ACEOF
12804 if ac_fn_c_try_link "$LINENO"; then :
12805   ac_cv_lib_dl_dlopen=yes
12806 else
12807   ac_cv_lib_dl_dlopen=no
12808 fi
12809 rm -f core conftest.err conftest.$ac_objext \
12810     conftest$ac_exeext conftest.$ac_ext
12811 LIBS=$ac_check_lib_save_LIBS
12812 fi
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12814 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12815 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12816   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12817 else
12818
12819     lt_cv_dlopen="dyld"
12820     lt_cv_dlopen_libs=
12821     lt_cv_dlopen_self=yes
12822
12823 fi
12824
12825     ;;
12826
12827   *)
12828     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12829 if test "x$ac_cv_func_shl_load" = xyes; then :
12830   lt_cv_dlopen="shl_load"
12831 else
12832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12833 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12834 if ${ac_cv_lib_dld_shl_load+:} false; then :
12835   $as_echo_n "(cached) " >&6
12836 else
12837   ac_check_lib_save_LIBS=$LIBS
12838 LIBS="-ldld  $LIBS"
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h.  */
12841
12842 /* Override any GCC internal prototype to avoid an error.
12843    Use char because int might match the return type of a GCC
12844    builtin and then its argument prototype would still apply.  */
12845 #ifdef __cplusplus
12846 extern "C"
12847 #endif
12848 char shl_load ();
12849 int
12850 main ()
12851 {
12852 return shl_load ();
12853   ;
12854   return 0;
12855 }
12856 _ACEOF
12857 if ac_fn_c_try_link "$LINENO"; then :
12858   ac_cv_lib_dld_shl_load=yes
12859 else
12860   ac_cv_lib_dld_shl_load=no
12861 fi
12862 rm -f core conftest.err conftest.$ac_objext \
12863     conftest$ac_exeext conftest.$ac_ext
12864 LIBS=$ac_check_lib_save_LIBS
12865 fi
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12867 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12868 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12869   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12870 else
12871   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12872 if test "x$ac_cv_func_dlopen" = xyes; then :
12873   lt_cv_dlopen="dlopen"
12874 else
12875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12876 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12877 if ${ac_cv_lib_dl_dlopen+:} false; then :
12878   $as_echo_n "(cached) " >&6
12879 else
12880   ac_check_lib_save_LIBS=$LIBS
12881 LIBS="-ldl  $LIBS"
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h.  */
12884
12885 /* Override any GCC internal prototype to avoid an error.
12886    Use char because int might match the return type of a GCC
12887    builtin and then its argument prototype would still apply.  */
12888 #ifdef __cplusplus
12889 extern "C"
12890 #endif
12891 char dlopen ();
12892 int
12893 main ()
12894 {
12895 return dlopen ();
12896   ;
12897   return 0;
12898 }
12899 _ACEOF
12900 if ac_fn_c_try_link "$LINENO"; then :
12901   ac_cv_lib_dl_dlopen=yes
12902 else
12903   ac_cv_lib_dl_dlopen=no
12904 fi
12905 rm -f core conftest.err conftest.$ac_objext \
12906     conftest$ac_exeext conftest.$ac_ext
12907 LIBS=$ac_check_lib_save_LIBS
12908 fi
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12910 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12911 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12912   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12913 else
12914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12915 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12916 if ${ac_cv_lib_svld_dlopen+:} false; then :
12917   $as_echo_n "(cached) " >&6
12918 else
12919   ac_check_lib_save_LIBS=$LIBS
12920 LIBS="-lsvld  $LIBS"
12921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h.  */
12923
12924 /* Override any GCC internal prototype to avoid an error.
12925    Use char because int might match the return type of a GCC
12926    builtin and then its argument prototype would still apply.  */
12927 #ifdef __cplusplus
12928 extern "C"
12929 #endif
12930 char dlopen ();
12931 int
12932 main ()
12933 {
12934 return dlopen ();
12935   ;
12936   return 0;
12937 }
12938 _ACEOF
12939 if ac_fn_c_try_link "$LINENO"; then :
12940   ac_cv_lib_svld_dlopen=yes
12941 else
12942   ac_cv_lib_svld_dlopen=no
12943 fi
12944 rm -f core conftest.err conftest.$ac_objext \
12945     conftest$ac_exeext conftest.$ac_ext
12946 LIBS=$ac_check_lib_save_LIBS
12947 fi
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12949 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12950 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12951   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12952 else
12953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12954 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12955 if ${ac_cv_lib_dld_dld_link+:} false; then :
12956   $as_echo_n "(cached) " >&6
12957 else
12958   ac_check_lib_save_LIBS=$LIBS
12959 LIBS="-ldld  $LIBS"
12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h.  */
12962
12963 /* Override any GCC internal prototype to avoid an error.
12964    Use char because int might match the return type of a GCC
12965    builtin and then its argument prototype would still apply.  */
12966 #ifdef __cplusplus
12967 extern "C"
12968 #endif
12969 char dld_link ();
12970 int
12971 main ()
12972 {
12973 return dld_link ();
12974   ;
12975   return 0;
12976 }
12977 _ACEOF
12978 if ac_fn_c_try_link "$LINENO"; then :
12979   ac_cv_lib_dld_dld_link=yes
12980 else
12981   ac_cv_lib_dld_dld_link=no
12982 fi
12983 rm -f core conftest.err conftest.$ac_objext \
12984     conftest$ac_exeext conftest.$ac_ext
12985 LIBS=$ac_check_lib_save_LIBS
12986 fi
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12988 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12989 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12990   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12991 fi
12992
12993
12994 fi
12995
12996
12997 fi
12998
12999
13000 fi
13001
13002
13003 fi
13004
13005
13006 fi
13007
13008     ;;
13009   esac
13010
13011   if test "x$lt_cv_dlopen" != xno; then
13012     enable_dlopen=yes
13013   else
13014     enable_dlopen=no
13015   fi
13016
13017   case $lt_cv_dlopen in
13018   dlopen)
13019     save_CPPFLAGS="$CPPFLAGS"
13020     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13021
13022     save_LDFLAGS="$LDFLAGS"
13023     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13024
13025     save_LIBS="$LIBS"
13026     LIBS="$lt_cv_dlopen_libs $LIBS"
13027
13028     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13029 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13030 if ${lt_cv_dlopen_self+:} false; then :
13031   $as_echo_n "(cached) " >&6
13032 else
13033           if test "$cross_compiling" = yes; then :
13034   lt_cv_dlopen_self=cross
13035 else
13036   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13037   lt_status=$lt_dlunknown
13038   cat > conftest.$ac_ext <<_LT_EOF
13039 #line $LINENO "configure"
13040 #include "confdefs.h"
13041
13042 #if HAVE_DLFCN_H
13043 #include <dlfcn.h>
13044 #endif
13045
13046 #include <stdio.h>
13047
13048 #ifdef RTLD_GLOBAL
13049 #  define LT_DLGLOBAL           RTLD_GLOBAL
13050 #else
13051 #  ifdef DL_GLOBAL
13052 #    define LT_DLGLOBAL         DL_GLOBAL
13053 #  else
13054 #    define LT_DLGLOBAL         0
13055 #  endif
13056 #endif
13057
13058 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13059    find out it does not work in some platform. */
13060 #ifndef LT_DLLAZY_OR_NOW
13061 #  ifdef RTLD_LAZY
13062 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13063 #  else
13064 #    ifdef DL_LAZY
13065 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13066 #    else
13067 #      ifdef RTLD_NOW
13068 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13069 #      else
13070 #        ifdef DL_NOW
13071 #          define LT_DLLAZY_OR_NOW      DL_NOW
13072 #        else
13073 #          define LT_DLLAZY_OR_NOW      0
13074 #        endif
13075 #      endif
13076 #    endif
13077 #  endif
13078 #endif
13079
13080 /* When -fvisbility=hidden is used, assume the code has been annotated
13081    correspondingly for the symbols needed.  */
13082 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13083 int fnord () __attribute__((visibility("default")));
13084 #endif
13085
13086 int fnord () { return 42; }
13087 int main ()
13088 {
13089   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13090   int status = $lt_dlunknown;
13091
13092   if (self)
13093     {
13094       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13095       else
13096         {
13097           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13098           else puts (dlerror ());
13099         }
13100       /* dlclose (self); */
13101     }
13102   else
13103     puts (dlerror ());
13104
13105   return status;
13106 }
13107 _LT_EOF
13108   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13109   (eval $ac_link) 2>&5
13110   ac_status=$?
13111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13112   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13113     (./conftest; exit; ) >&5 2>/dev/null
13114     lt_status=$?
13115     case x$lt_status in
13116       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13117       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13118       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13119     esac
13120   else :
13121     # compilation failed
13122     lt_cv_dlopen_self=no
13123   fi
13124 fi
13125 rm -fr conftest*
13126
13127
13128 fi
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13130 $as_echo "$lt_cv_dlopen_self" >&6; }
13131
13132     if test "x$lt_cv_dlopen_self" = xyes; then
13133       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13134       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13135 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13136 if ${lt_cv_dlopen_self_static+:} false; then :
13137   $as_echo_n "(cached) " >&6
13138 else
13139           if test "$cross_compiling" = yes; then :
13140   lt_cv_dlopen_self_static=cross
13141 else
13142   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13143   lt_status=$lt_dlunknown
13144   cat > conftest.$ac_ext <<_LT_EOF
13145 #line $LINENO "configure"
13146 #include "confdefs.h"
13147
13148 #if HAVE_DLFCN_H
13149 #include <dlfcn.h>
13150 #endif
13151
13152 #include <stdio.h>
13153
13154 #ifdef RTLD_GLOBAL
13155 #  define LT_DLGLOBAL           RTLD_GLOBAL
13156 #else
13157 #  ifdef DL_GLOBAL
13158 #    define LT_DLGLOBAL         DL_GLOBAL
13159 #  else
13160 #    define LT_DLGLOBAL         0
13161 #  endif
13162 #endif
13163
13164 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13165    find out it does not work in some platform. */
13166 #ifndef LT_DLLAZY_OR_NOW
13167 #  ifdef RTLD_LAZY
13168 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13169 #  else
13170 #    ifdef DL_LAZY
13171 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13172 #    else
13173 #      ifdef RTLD_NOW
13174 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13175 #      else
13176 #        ifdef DL_NOW
13177 #          define LT_DLLAZY_OR_NOW      DL_NOW
13178 #        else
13179 #          define LT_DLLAZY_OR_NOW      0
13180 #        endif
13181 #      endif
13182 #    endif
13183 #  endif
13184 #endif
13185
13186 /* When -fvisbility=hidden is used, assume the code has been annotated
13187    correspondingly for the symbols needed.  */
13188 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13189 int fnord () __attribute__((visibility("default")));
13190 #endif
13191
13192 int fnord () { return 42; }
13193 int main ()
13194 {
13195   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13196   int status = $lt_dlunknown;
13197
13198   if (self)
13199     {
13200       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13201       else
13202         {
13203           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13204           else puts (dlerror ());
13205         }
13206       /* dlclose (self); */
13207     }
13208   else
13209     puts (dlerror ());
13210
13211   return status;
13212 }
13213 _LT_EOF
13214   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13215   (eval $ac_link) 2>&5
13216   ac_status=$?
13217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13218   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13219     (./conftest; exit; ) >&5 2>/dev/null
13220     lt_status=$?
13221     case x$lt_status in
13222       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13223       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13224       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13225     esac
13226   else :
13227     # compilation failed
13228     lt_cv_dlopen_self_static=no
13229   fi
13230 fi
13231 rm -fr conftest*
13232
13233
13234 fi
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13236 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13237     fi
13238
13239     CPPFLAGS="$save_CPPFLAGS"
13240     LDFLAGS="$save_LDFLAGS"
13241     LIBS="$save_LIBS"
13242     ;;
13243   esac
13244
13245   case $lt_cv_dlopen_self in
13246   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13247   *) enable_dlopen_self=unknown ;;
13248   esac
13249
13250   case $lt_cv_dlopen_self_static in
13251   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13252   *) enable_dlopen_self_static=unknown ;;
13253   esac
13254 fi
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272 striplib=
13273 old_striplib=
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13275 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13276 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13277   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13278   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13280 $as_echo "yes" >&6; }
13281 else
13282 # FIXME - insert some real tests, host_os isn't really good enough
13283   case $host_os in
13284   darwin*)
13285     if test -n "$STRIP" ; then
13286       striplib="$STRIP -x"
13287       old_striplib="$STRIP -S"
13288       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13289 $as_echo "yes" >&6; }
13290     else
13291       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13292 $as_echo "no" >&6; }
13293     fi
13294     ;;
13295   *)
13296     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297 $as_echo "no" >&6; }
13298     ;;
13299   esac
13300 fi
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313   # Report which library types will actually be built
13314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13315 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13317 $as_echo "$can_build_shared" >&6; }
13318
13319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13320 $as_echo_n "checking whether to build shared libraries... " >&6; }
13321   test "$can_build_shared" = "no" && enable_shared=no
13322
13323   # On AIX, shared libraries and static libraries use the same namespace, and
13324   # are all built from PIC.
13325   case $host_os in
13326   aix3*)
13327     test "$enable_shared" = yes && enable_static=no
13328     if test -n "$RANLIB"; then
13329       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13330       postinstall_cmds='$RANLIB $lib'
13331     fi
13332     ;;
13333
13334   aix[4-9]*)
13335     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13336       test "$enable_shared" = yes && enable_static=no
13337     fi
13338     ;;
13339   esac
13340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13341 $as_echo "$enable_shared" >&6; }
13342
13343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13344 $as_echo_n "checking whether to build static libraries... " >&6; }
13345   # Make sure either enable_shared or enable_static is yes.
13346   test "$enable_shared" = yes || enable_static=yes
13347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13348 $as_echo "$enable_static" >&6; }
13349
13350
13351
13352
13353 fi
13354 ac_ext=c
13355 ac_cpp='$CPP $CPPFLAGS'
13356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13359
13360 CC="$lt_save_CC"
13361
13362       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13363     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13364     (test "X$CXX" != "Xg++"))) ; then
13365   ac_ext=cpp
13366 ac_cpp='$CXXCPP $CPPFLAGS'
13367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13371 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13372 if test -z "$CXXCPP"; then
13373   if ${ac_cv_prog_CXXCPP+:} false; then :
13374   $as_echo_n "(cached) " >&6
13375 else
13376       # Double quotes because CXXCPP needs to be expanded
13377     for CXXCPP in "$CXX -E" "/lib/cpp"
13378     do
13379       ac_preproc_ok=false
13380 for ac_cxx_preproc_warn_flag in '' yes
13381 do
13382   # Use a header file that comes with gcc, so configuring glibc
13383   # with a fresh cross-compiler works.
13384   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13385   # <limits.h> exists even on freestanding compilers.
13386   # On the NeXT, cc -E runs the code through the compiler's parser,
13387   # not just through cpp. "Syntax error" is here to catch this case.
13388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h.  */
13390 #ifdef __STDC__
13391 # include <limits.h>
13392 #else
13393 # include <assert.h>
13394 #endif
13395                      Syntax error
13396 _ACEOF
13397 if ac_fn_cxx_try_cpp "$LINENO"; then :
13398
13399 else
13400   # Broken: fails on valid input.
13401 continue
13402 fi
13403 rm -f conftest.err conftest.i conftest.$ac_ext
13404
13405   # OK, works on sane cases.  Now check whether nonexistent headers
13406   # can be detected and how.
13407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h.  */
13409 #include <ac_nonexistent.h>
13410 _ACEOF
13411 if ac_fn_cxx_try_cpp "$LINENO"; then :
13412   # Broken: success on invalid input.
13413 continue
13414 else
13415   # Passes both tests.
13416 ac_preproc_ok=:
13417 break
13418 fi
13419 rm -f conftest.err conftest.i conftest.$ac_ext
13420
13421 done
13422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13423 rm -f conftest.i conftest.err conftest.$ac_ext
13424 if $ac_preproc_ok; then :
13425   break
13426 fi
13427
13428     done
13429     ac_cv_prog_CXXCPP=$CXXCPP
13430
13431 fi
13432   CXXCPP=$ac_cv_prog_CXXCPP
13433 else
13434   ac_cv_prog_CXXCPP=$CXXCPP
13435 fi
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13437 $as_echo "$CXXCPP" >&6; }
13438 ac_preproc_ok=false
13439 for ac_cxx_preproc_warn_flag in '' yes
13440 do
13441   # Use a header file that comes with gcc, so configuring glibc
13442   # with a fresh cross-compiler works.
13443   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13444   # <limits.h> exists even on freestanding compilers.
13445   # On the NeXT, cc -E runs the code through the compiler's parser,
13446   # not just through cpp. "Syntax error" is here to catch this case.
13447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h.  */
13449 #ifdef __STDC__
13450 # include <limits.h>
13451 #else
13452 # include <assert.h>
13453 #endif
13454                      Syntax error
13455 _ACEOF
13456 if ac_fn_cxx_try_cpp "$LINENO"; then :
13457
13458 else
13459   # Broken: fails on valid input.
13460 continue
13461 fi
13462 rm -f conftest.err conftest.i conftest.$ac_ext
13463
13464   # OK, works on sane cases.  Now check whether nonexistent headers
13465   # can be detected and how.
13466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h.  */
13468 #include <ac_nonexistent.h>
13469 _ACEOF
13470 if ac_fn_cxx_try_cpp "$LINENO"; then :
13471   # Broken: success on invalid input.
13472 continue
13473 else
13474   # Passes both tests.
13475 ac_preproc_ok=:
13476 break
13477 fi
13478 rm -f conftest.err conftest.i conftest.$ac_ext
13479
13480 done
13481 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13482 rm -f conftest.i conftest.err conftest.$ac_ext
13483 if $ac_preproc_ok; then :
13484
13485 else
13486   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13488 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13489 See \`config.log' for more details" "$LINENO" 5; }
13490 fi
13491
13492 ac_ext=c
13493 ac_cpp='$CPP $CPPFLAGS'
13494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13497
13498 else
13499   _lt_caught_CXX_error=yes
13500 fi
13501
13502 ac_ext=cpp
13503 ac_cpp='$CXXCPP $CPPFLAGS'
13504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13507
13508 archive_cmds_need_lc_CXX=no
13509 allow_undefined_flag_CXX=
13510 always_export_symbols_CXX=no
13511 archive_expsym_cmds_CXX=
13512 compiler_needs_object_CXX=no
13513 export_dynamic_flag_spec_CXX=
13514 hardcode_direct_CXX=no
13515 hardcode_direct_absolute_CXX=no
13516 hardcode_libdir_flag_spec_CXX=
13517 hardcode_libdir_separator_CXX=
13518 hardcode_minus_L_CXX=no
13519 hardcode_shlibpath_var_CXX=unsupported
13520 hardcode_automatic_CXX=no
13521 inherit_rpath_CXX=no
13522 module_cmds_CXX=
13523 module_expsym_cmds_CXX=
13524 link_all_deplibs_CXX=unknown
13525 old_archive_cmds_CXX=$old_archive_cmds
13526 reload_flag_CXX=$reload_flag
13527 reload_cmds_CXX=$reload_cmds
13528 no_undefined_flag_CXX=
13529 whole_archive_flag_spec_CXX=
13530 enable_shared_with_static_runtimes_CXX=no
13531
13532 # Source file extension for C++ test sources.
13533 ac_ext=cpp
13534
13535 # Object file extension for compiled C++ test sources.
13536 objext=o
13537 objext_CXX=$objext
13538
13539 # No sense in running all these tests if we already determined that
13540 # the CXX compiler isn't working.  Some variables (like enable_shared)
13541 # are currently assumed to apply to all compilers on this platform,
13542 # and will be corrupted by setting them based on a non-working compiler.
13543 if test "$_lt_caught_CXX_error" != yes; then
13544   # Code to be used in simple compile tests
13545   lt_simple_compile_test_code="int some_variable = 0;"
13546
13547   # Code to be used in simple link tests
13548   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13549
13550   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13551
13552
13553
13554
13555
13556
13557 # If no C compiler was specified, use CC.
13558 LTCC=${LTCC-"$CC"}
13559
13560 # If no C compiler flags were specified, use CFLAGS.
13561 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13562
13563 # Allow CC to be a program name with arguments.
13564 compiler=$CC
13565
13566
13567   # save warnings/boilerplate of simple test code
13568   ac_outfile=conftest.$ac_objext
13569 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13570 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13571 _lt_compiler_boilerplate=`cat conftest.err`
13572 $RM conftest*
13573
13574   ac_outfile=conftest.$ac_objext
13575 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13576 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13577 _lt_linker_boilerplate=`cat conftest.err`
13578 $RM -r conftest*
13579
13580
13581   # Allow CC to be a program name with arguments.
13582   lt_save_CC=$CC
13583   lt_save_CFLAGS=$CFLAGS
13584   lt_save_LD=$LD
13585   lt_save_GCC=$GCC
13586   GCC=$GXX
13587   lt_save_with_gnu_ld=$with_gnu_ld
13588   lt_save_path_LD=$lt_cv_path_LD
13589   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13590     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13591   else
13592     $as_unset lt_cv_prog_gnu_ld
13593   fi
13594   if test -n "${lt_cv_path_LDCXX+set}"; then
13595     lt_cv_path_LD=$lt_cv_path_LDCXX
13596   else
13597     $as_unset lt_cv_path_LD
13598   fi
13599   test -z "${LDCXX+set}" || LD=$LDCXX
13600   CC=${CXX-"c++"}
13601   CFLAGS=$CXXFLAGS
13602   compiler=$CC
13603   compiler_CXX=$CC
13604   for cc_temp in $compiler""; do
13605   case $cc_temp in
13606     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13607     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13608     \-*) ;;
13609     *) break;;
13610   esac
13611 done
13612 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13613
13614
13615   if test -n "$compiler"; then
13616     # We don't want -fno-exception when compiling C++ code, so set the
13617     # no_builtin_flag separately
13618     if test "$GXX" = yes; then
13619       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13620     else
13621       lt_prog_compiler_no_builtin_flag_CXX=
13622     fi
13623
13624     if test "$GXX" = yes; then
13625       # Set up default GNU C++ configuration
13626
13627
13628
13629 # Check whether --with-gnu-ld was given.
13630 if test "${with_gnu_ld+set}" = set; then :
13631   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13632 else
13633   with_gnu_ld=no
13634 fi
13635
13636 ac_prog=ld
13637 if test "$GCC" = yes; then
13638   # Check if gcc -print-prog-name=ld gives a path.
13639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13640 $as_echo_n "checking for ld used by $CC... " >&6; }
13641   case $host in
13642   *-*-mingw*)
13643     # gcc leaves a trailing carriage return which upsets mingw
13644     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13645   *)
13646     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13647   esac
13648   case $ac_prog in
13649     # Accept absolute paths.
13650     [\\/]* | ?:[\\/]*)
13651       re_direlt='/[^/][^/]*/\.\./'
13652       # Canonicalize the pathname of ld
13653       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13654       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13655         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13656       done
13657       test -z "$LD" && LD="$ac_prog"
13658       ;;
13659   "")
13660     # If it fails, then pretend we aren't using GCC.
13661     ac_prog=ld
13662     ;;
13663   *)
13664     # If it is relative, then search for the first ld in PATH.
13665     with_gnu_ld=unknown
13666     ;;
13667   esac
13668 elif test "$with_gnu_ld" = yes; then
13669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13670 $as_echo_n "checking for GNU ld... " >&6; }
13671 else
13672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13673 $as_echo_n "checking for non-GNU ld... " >&6; }
13674 fi
13675 if ${lt_cv_path_LD+:} false; then :
13676   $as_echo_n "(cached) " >&6
13677 else
13678   if test -z "$LD"; then
13679   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13680   for ac_dir in $PATH; do
13681     IFS="$lt_save_ifs"
13682     test -z "$ac_dir" && ac_dir=.
13683     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13684       lt_cv_path_LD="$ac_dir/$ac_prog"
13685       # Check to see if the program is GNU ld.  I'd rather use --version,
13686       # but apparently some variants of GNU ld only accept -v.
13687       # Break only if it was the GNU/non-GNU ld that we prefer.
13688       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13689       *GNU* | *'with BFD'*)
13690         test "$with_gnu_ld" != no && break
13691         ;;
13692       *)
13693         test "$with_gnu_ld" != yes && break
13694         ;;
13695       esac
13696     fi
13697   done
13698   IFS="$lt_save_ifs"
13699 else
13700   lt_cv_path_LD="$LD" # Let the user override the test with a path.
13701 fi
13702 fi
13703
13704 LD="$lt_cv_path_LD"
13705 if test -n "$LD"; then
13706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13707 $as_echo "$LD" >&6; }
13708 else
13709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13710 $as_echo "no" >&6; }
13711 fi
13712 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13714 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13715 if ${lt_cv_prog_gnu_ld+:} false; then :
13716   $as_echo_n "(cached) " >&6
13717 else
13718   # I'd rather use --version here, but apparently some GNU lds only accept -v.
13719 case `$LD -v 2>&1 </dev/null` in
13720 *GNU* | *'with BFD'*)
13721   lt_cv_prog_gnu_ld=yes
13722   ;;
13723 *)
13724   lt_cv_prog_gnu_ld=no
13725   ;;
13726 esac
13727 fi
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13729 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13730 with_gnu_ld=$lt_cv_prog_gnu_ld
13731
13732
13733
13734
13735
13736
13737
13738       # Check if GNU C++ uses GNU ld as the underlying linker, since the
13739       # archiving commands below assume that GNU ld is being used.
13740       if test "$with_gnu_ld" = yes; then
13741         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13742         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'
13743
13744         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13745         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13746
13747         # If archive_cmds runs LD, not CC, wlarc should be empty
13748         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13749         #     investigate it a little bit more. (MM)
13750         wlarc='${wl}'
13751
13752         # ancient GNU ld didn't support --whole-archive et. al.
13753         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13754           $GREP 'no-whole-archive' > /dev/null; then
13755           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13756         else
13757           whole_archive_flag_spec_CXX=
13758         fi
13759       else
13760         with_gnu_ld=no
13761         wlarc=
13762
13763         # A generic and very simple default shared library creation
13764         # command for GNU C++ for the case where it uses the native
13765         # linker, instead of GNU ld.  If possible, this setting should
13766         # overridden to take advantage of the native linker features on
13767         # the platform it is being used on.
13768         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13769       fi
13770
13771       # Commands to make compiler produce verbose output that lists
13772       # what "hidden" libraries, object files and flags are used when
13773       # linking a shared library.
13774       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13775
13776     else
13777       GXX=no
13778       with_gnu_ld=no
13779       wlarc=
13780     fi
13781
13782     # PORTME: fill in a description of your system's C++ link characteristics
13783     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13784 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13785     ld_shlibs_CXX=yes
13786     case $host_os in
13787       aix3*)
13788         # FIXME: insert proper C++ library support
13789         ld_shlibs_CXX=no
13790         ;;
13791       aix[4-9]*)
13792         if test "$host_cpu" = ia64; then
13793           # On IA64, the linker does run time linking by default, so we don't
13794           # have to do anything special.
13795           aix_use_runtimelinking=no
13796           exp_sym_flag='-Bexport'
13797           no_entry_flag=""
13798         else
13799           aix_use_runtimelinking=no
13800
13801           # Test if we are trying to use run time linking or normal
13802           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13803           # need to do runtime linking.
13804           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13805             for ld_flag in $LDFLAGS; do
13806               case $ld_flag in
13807               *-brtl*)
13808                 aix_use_runtimelinking=yes
13809                 break
13810                 ;;
13811               esac
13812             done
13813             ;;
13814           esac
13815
13816           exp_sym_flag='-bexport'
13817           no_entry_flag='-bnoentry'
13818         fi
13819
13820         # When large executables or shared objects are built, AIX ld can
13821         # have problems creating the table of contents.  If linking a library
13822         # or program results in "error TOC overflow" add -mminimal-toc to
13823         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13824         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13825
13826         archive_cmds_CXX=''
13827         hardcode_direct_CXX=yes
13828         hardcode_direct_absolute_CXX=yes
13829         hardcode_libdir_separator_CXX=':'
13830         link_all_deplibs_CXX=yes
13831         file_list_spec_CXX='${wl}-f,'
13832
13833         if test "$GXX" = yes; then
13834           case $host_os in aix4.[012]|aix4.[012].*)
13835           # We only want to do this on AIX 4.2 and lower, the check
13836           # below for broken collect2 doesn't work under 4.3+
13837           collect2name=`${CC} -print-prog-name=collect2`
13838           if test -f "$collect2name" &&
13839              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13840           then
13841             # We have reworked collect2
13842             :
13843           else
13844             # We have old collect2
13845             hardcode_direct_CXX=unsupported
13846             # It fails to find uninstalled libraries when the uninstalled
13847             # path is not listed in the libpath.  Setting hardcode_minus_L
13848             # to unsupported forces relinking
13849             hardcode_minus_L_CXX=yes
13850             hardcode_libdir_flag_spec_CXX='-L$libdir'
13851             hardcode_libdir_separator_CXX=
13852           fi
13853           esac
13854           shared_flag='-shared'
13855           if test "$aix_use_runtimelinking" = yes; then
13856             shared_flag="$shared_flag "'${wl}-G'
13857           fi
13858         else
13859           # not using gcc
13860           if test "$host_cpu" = ia64; then
13861           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13862           # chokes on -Wl,-G. The following line is correct:
13863           shared_flag='-G'
13864           else
13865             if test "$aix_use_runtimelinking" = yes; then
13866               shared_flag='${wl}-G'
13867             else
13868               shared_flag='${wl}-bM:SRE'
13869             fi
13870           fi
13871         fi
13872
13873         export_dynamic_flag_spec_CXX='${wl}-bexpall'
13874         # It seems that -bexpall does not export symbols beginning with
13875         # underscore (_), so it is better to generate a list of symbols to
13876         # export.
13877         always_export_symbols_CXX=yes
13878         if test "$aix_use_runtimelinking" = yes; then
13879           # Warning - without using the other runtime loading flags (-brtl),
13880           # -berok will link without error, but may produce a broken library.
13881           allow_undefined_flag_CXX='-berok'
13882           # Determine the default libpath from the value encoded in an empty
13883           # executable.
13884           if test "${lt_cv_aix_libpath+set}" = set; then
13885   aix_libpath=$lt_cv_aix_libpath
13886 else
13887   if ${lt_cv_aix_libpath__CXX+:} false; then :
13888   $as_echo_n "(cached) " >&6
13889 else
13890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h.  */
13892
13893 int
13894 main ()
13895 {
13896
13897   ;
13898   return 0;
13899 }
13900 _ACEOF
13901 if ac_fn_cxx_try_link "$LINENO"; then :
13902
13903   lt_aix_libpath_sed='
13904       /Import File Strings/,/^$/ {
13905           /^0/ {
13906               s/^0  *\([^ ]*\) *$/\1/
13907               p
13908           }
13909       }'
13910   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13911   # Check for a 64-bit object if we didn't find anything.
13912   if test -z "$lt_cv_aix_libpath__CXX"; then
13913     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13914   fi
13915 fi
13916 rm -f core conftest.err conftest.$ac_objext \
13917     conftest$ac_exeext conftest.$ac_ext
13918   if test -z "$lt_cv_aix_libpath__CXX"; then
13919     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13920   fi
13921
13922 fi
13923
13924   aix_libpath=$lt_cv_aix_libpath__CXX
13925 fi
13926
13927           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13928
13929           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"
13930         else
13931           if test "$host_cpu" = ia64; then
13932             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13933             allow_undefined_flag_CXX="-z nodefs"
13934             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"
13935           else
13936             # Determine the default libpath from the value encoded in an
13937             # empty executable.
13938             if test "${lt_cv_aix_libpath+set}" = set; then
13939   aix_libpath=$lt_cv_aix_libpath
13940 else
13941   if ${lt_cv_aix_libpath__CXX+:} false; then :
13942   $as_echo_n "(cached) " >&6
13943 else
13944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h.  */
13946
13947 int
13948 main ()
13949 {
13950
13951   ;
13952   return 0;
13953 }
13954 _ACEOF
13955 if ac_fn_cxx_try_link "$LINENO"; then :
13956
13957   lt_aix_libpath_sed='
13958       /Import File Strings/,/^$/ {
13959           /^0/ {
13960               s/^0  *\([^ ]*\) *$/\1/
13961               p
13962           }
13963       }'
13964   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13965   # Check for a 64-bit object if we didn't find anything.
13966   if test -z "$lt_cv_aix_libpath__CXX"; then
13967     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13968   fi
13969 fi
13970 rm -f core conftest.err conftest.$ac_objext \
13971     conftest$ac_exeext conftest.$ac_ext
13972   if test -z "$lt_cv_aix_libpath__CXX"; then
13973     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13974   fi
13975
13976 fi
13977
13978   aix_libpath=$lt_cv_aix_libpath__CXX
13979 fi
13980
13981             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13982             # Warning - without using the other run time loading flags,
13983             # -berok will link without error, but may produce a broken library.
13984             no_undefined_flag_CXX=' ${wl}-bernotok'
13985             allow_undefined_flag_CXX=' ${wl}-berok'
13986             if test "$with_gnu_ld" = yes; then
13987               # We only use this code for GNU lds that support --whole-archive.
13988               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13989             else
13990               # Exported symbols can be pulled into shared objects from archives
13991               whole_archive_flag_spec_CXX='$convenience'
13992             fi
13993             archive_cmds_need_lc_CXX=yes
13994             # This is similar to how AIX traditionally builds its shared
13995             # libraries.
13996             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'
13997           fi
13998         fi
13999         ;;
14000
14001       beos*)
14002         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14003           allow_undefined_flag_CXX=unsupported
14004           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14005           # support --undefined.  This deserves some investigation.  FIXME
14006           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14007         else
14008           ld_shlibs_CXX=no
14009         fi
14010         ;;
14011
14012       chorus*)
14013         case $cc_basename in
14014           *)
14015           # FIXME: insert proper C++ library support
14016           ld_shlibs_CXX=no
14017           ;;
14018         esac
14019         ;;
14020
14021       cygwin* | mingw* | pw32* | cegcc*)
14022         case $GXX,$cc_basename in
14023         ,cl* | no,cl*)
14024           # Native MSVC
14025           # hardcode_libdir_flag_spec is actually meaningless, as there is
14026           # no search path for DLLs.
14027           hardcode_libdir_flag_spec_CXX=' '
14028           allow_undefined_flag_CXX=unsupported
14029           always_export_symbols_CXX=yes
14030           file_list_spec_CXX='@'
14031           # Tell ltmain to make .lib files, not .a files.
14032           libext=lib
14033           # Tell ltmain to make .dll files, not .so files.
14034           shrext_cmds=".dll"
14035           # FIXME: Setting linknames here is a bad hack.
14036           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14037           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14038               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14039             else
14040               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14041             fi~
14042             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14043             linknames='
14044           # The linker will not automatically build a static lib if we build a DLL.
14045           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14046           enable_shared_with_static_runtimes_CXX=yes
14047           # Don't use ranlib
14048           old_postinstall_cmds_CXX='chmod 644 $oldlib'
14049           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14050             lt_tool_outputfile="@TOOL_OUTPUT@"~
14051             case $lt_outputfile in
14052               *.exe|*.EXE) ;;
14053               *)
14054                 lt_outputfile="$lt_outputfile.exe"
14055                 lt_tool_outputfile="$lt_tool_outputfile.exe"
14056                 ;;
14057             esac~
14058             func_to_tool_file "$lt_outputfile"~
14059             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14060               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14061               $RM "$lt_outputfile.manifest";
14062             fi'
14063           ;;
14064         *)
14065           # g++
14066           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14067           # as there is no search path for DLLs.
14068           hardcode_libdir_flag_spec_CXX='-L$libdir'
14069           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14070           allow_undefined_flag_CXX=unsupported
14071           always_export_symbols_CXX=no
14072           enable_shared_with_static_runtimes_CXX=yes
14073
14074           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14075             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'
14076             # If the export-symbols file already is a .def file (1st line
14077             # is EXPORTS), use it as is; otherwise, prepend...
14078             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14079               cp $export_symbols $output_objdir/$soname.def;
14080             else
14081               echo EXPORTS > $output_objdir/$soname.def;
14082               cat $export_symbols >> $output_objdir/$soname.def;
14083             fi~
14084             $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'
14085           else
14086             ld_shlibs_CXX=no
14087           fi
14088           ;;
14089         esac
14090         ;;
14091       darwin* | rhapsody*)
14092
14093
14094   archive_cmds_need_lc_CXX=no
14095   hardcode_direct_CXX=no
14096   hardcode_automatic_CXX=yes
14097   hardcode_shlibpath_var_CXX=unsupported
14098   if test "$lt_cv_ld_force_load" = "yes"; then
14099     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\"`'
14100
14101   else
14102     whole_archive_flag_spec_CXX=''
14103   fi
14104   link_all_deplibs_CXX=yes
14105   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14106   case $cc_basename in
14107      ifort*) _lt_dar_can_shared=yes ;;
14108      *) _lt_dar_can_shared=$GCC ;;
14109   esac
14110   if test "$_lt_dar_can_shared" = "yes"; then
14111     output_verbose_link_cmd=func_echo_all
14112     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}"
14113     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14114     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}"
14115     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}"
14116        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14117       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}"
14118       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}"
14119     fi
14120
14121   else
14122   ld_shlibs_CXX=no
14123   fi
14124
14125         ;;
14126
14127       dgux*)
14128         case $cc_basename in
14129           ec++*)
14130             # FIXME: insert proper C++ library support
14131             ld_shlibs_CXX=no
14132             ;;
14133           ghcx*)
14134             # Green Hills C++ Compiler
14135             # FIXME: insert proper C++ library support
14136             ld_shlibs_CXX=no
14137             ;;
14138           *)
14139             # FIXME: insert proper C++ library support
14140             ld_shlibs_CXX=no
14141             ;;
14142         esac
14143         ;;
14144
14145       freebsd2.*)
14146         # C++ shared libraries reported to be fairly broken before
14147         # switch to ELF
14148         ld_shlibs_CXX=no
14149         ;;
14150
14151       freebsd-elf*)
14152         archive_cmds_need_lc_CXX=no
14153         ;;
14154
14155       freebsd* | dragonfly*)
14156         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14157         # conventions
14158         ld_shlibs_CXX=yes
14159         ;;
14160
14161       haiku*)
14162         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14163         link_all_deplibs_CXX=yes
14164         ;;
14165
14166       hpux9*)
14167         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14168         hardcode_libdir_separator_CXX=:
14169         export_dynamic_flag_spec_CXX='${wl}-E'
14170         hardcode_direct_CXX=yes
14171         hardcode_minus_L_CXX=yes # Not in the search PATH,
14172                                              # but as the default
14173                                              # location of the library.
14174
14175         case $cc_basename in
14176           CC*)
14177             # FIXME: insert proper C++ library support
14178             ld_shlibs_CXX=no
14179             ;;
14180           aCC*)
14181             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'
14182             # Commands to make compiler produce verbose output that lists
14183             # what "hidden" libraries, object files and flags are used when
14184             # linking a shared library.
14185             #
14186             # There doesn't appear to be a way to prevent this compiler from
14187             # explicitly linking system object files so we need to strip them
14188             # from the output so that they don't get included in the library
14189             # dependencies.
14190             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"'
14191             ;;
14192           *)
14193             if test "$GXX" = yes; then
14194               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'
14195             else
14196               # FIXME: insert proper C++ library support
14197               ld_shlibs_CXX=no
14198             fi
14199             ;;
14200         esac
14201         ;;
14202
14203       hpux10*|hpux11*)
14204         if test $with_gnu_ld = no; then
14205           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14206           hardcode_libdir_separator_CXX=:
14207
14208           case $host_cpu in
14209             hppa*64*|ia64*)
14210               ;;
14211             *)
14212               export_dynamic_flag_spec_CXX='${wl}-E'
14213               ;;
14214           esac
14215         fi
14216         case $host_cpu in
14217           hppa*64*|ia64*)
14218             hardcode_direct_CXX=no
14219             hardcode_shlibpath_var_CXX=no
14220             ;;
14221           *)
14222             hardcode_direct_CXX=yes
14223             hardcode_direct_absolute_CXX=yes
14224             hardcode_minus_L_CXX=yes # Not in the search PATH,
14225                                                  # but as the default
14226                                                  # location of the library.
14227             ;;
14228         esac
14229
14230         case $cc_basename in
14231           CC*)
14232             # FIXME: insert proper C++ library support
14233             ld_shlibs_CXX=no
14234             ;;
14235           aCC*)
14236             case $host_cpu in
14237               hppa*64*)
14238                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14239                 ;;
14240               ia64*)
14241                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14242                 ;;
14243               *)
14244                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14245                 ;;
14246             esac
14247             # Commands to make compiler produce verbose output that lists
14248             # what "hidden" libraries, object files and flags are used when
14249             # linking a shared library.
14250             #
14251             # There doesn't appear to be a way to prevent this compiler from
14252             # explicitly linking system object files so we need to strip them
14253             # from the output so that they don't get included in the library
14254             # dependencies.
14255             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"'
14256             ;;
14257           *)
14258             if test "$GXX" = yes; then
14259               if test $with_gnu_ld = no; then
14260                 case $host_cpu in
14261                   hppa*64*)
14262                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14263                     ;;
14264                   ia64*)
14265                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14266                     ;;
14267                   *)
14268                     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'
14269                     ;;
14270                 esac
14271               fi
14272             else
14273               # FIXME: insert proper C++ library support
14274               ld_shlibs_CXX=no
14275             fi
14276             ;;
14277         esac
14278         ;;
14279
14280       interix[3-9]*)
14281         hardcode_direct_CXX=no
14282         hardcode_shlibpath_var_CXX=no
14283         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14284         export_dynamic_flag_spec_CXX='${wl}-E'
14285         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14286         # Instead, shared libraries are loaded at an image base (0x10000000 by
14287         # default) and relocated if they conflict, which is a slow very memory
14288         # consuming and fragmenting process.  To avoid this, we pick a random,
14289         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14290         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14291         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'
14292         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'
14293         ;;
14294       irix5* | irix6*)
14295         case $cc_basename in
14296           CC*)
14297             # SGI C++
14298             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'
14299
14300             # Archives containing C++ object files must be created using
14301             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14302             # necessary to make sure instantiated templates are included
14303             # in the archive.
14304             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14305             ;;
14306           *)
14307             if test "$GXX" = yes; then
14308               if test "$with_gnu_ld" = no; then
14309                 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'
14310               else
14311                 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'
14312               fi
14313             fi
14314             link_all_deplibs_CXX=yes
14315             ;;
14316         esac
14317         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14318         hardcode_libdir_separator_CXX=:
14319         inherit_rpath_CXX=yes
14320         ;;
14321
14322       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14323         case $cc_basename in
14324           KCC*)
14325             # Kuck and Associates, Inc. (KAI) C++ Compiler
14326
14327             # KCC will only create a shared library if the output file
14328             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14329             # to its proper name (with version) after linking.
14330             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'
14331             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'
14332             # Commands to make compiler produce verbose output that lists
14333             # what "hidden" libraries, object files and flags are used when
14334             # linking a shared library.
14335             #
14336             # There doesn't appear to be a way to prevent this compiler from
14337             # explicitly linking system object files so we need to strip them
14338             # from the output so that they don't get included in the library
14339             # dependencies.
14340             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"'
14341
14342             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14343             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14344
14345             # Archives containing C++ object files must be created using
14346             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14347             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14348             ;;
14349           icpc* | ecpc* )
14350             # Intel C++
14351             with_gnu_ld=yes
14352             # version 8.0 and above of icpc choke on multiply defined symbols
14353             # if we add $predep_objects and $postdep_objects, however 7.1 and
14354             # earlier do not add the objects themselves.
14355             case `$CC -V 2>&1` in
14356               *"Version 7."*)
14357                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14358                 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'
14359                 ;;
14360               *)  # Version 8.0 or newer
14361                 tmp_idyn=
14362                 case $host_cpu in
14363                   ia64*) tmp_idyn=' -i_dynamic';;
14364                 esac
14365                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14366                 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'
14367                 ;;
14368             esac
14369             archive_cmds_need_lc_CXX=no
14370             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14371             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14372             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14373             ;;
14374           pgCC* | pgcpp*)
14375             # Portland Group C++ compiler
14376             case `$CC -V` in
14377             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14378               prelink_cmds_CXX='tpldir=Template.dir~
14379                 rm -rf $tpldir~
14380                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14381                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14382               old_archive_cmds_CXX='tpldir=Template.dir~
14383                 rm -rf $tpldir~
14384                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14385                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14386                 $RANLIB $oldlib'
14387               archive_cmds_CXX='tpldir=Template.dir~
14388                 rm -rf $tpldir~
14389                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14390                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14391               archive_expsym_cmds_CXX='tpldir=Template.dir~
14392                 rm -rf $tpldir~
14393                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14394                 $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'
14395               ;;
14396             *) # Version 6 and above use weak symbols
14397               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14398               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'
14399               ;;
14400             esac
14401
14402             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14403             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14404             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'
14405             ;;
14406           cxx*)
14407             # Compaq C++
14408             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14409             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'
14410
14411             runpath_var=LD_RUN_PATH
14412             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14413             hardcode_libdir_separator_CXX=:
14414
14415             # Commands to make compiler produce verbose output that lists
14416             # what "hidden" libraries, object files and flags are used when
14417             # linking a shared library.
14418             #
14419             # There doesn't appear to be a way to prevent this compiler from
14420             # explicitly linking system object files so we need to strip them
14421             # from the output so that they don't get included in the library
14422             # dependencies.
14423             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'
14424             ;;
14425           xl* | mpixl* | bgxl*)
14426             # IBM XL 8.0 on PPC, with GNU ld
14427             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14428             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14429             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14430             if test "x$supports_anon_versioning" = xyes; then
14431               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14432                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14433                 echo "local: *; };" >> $output_objdir/$libname.ver~
14434                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14435             fi
14436             ;;
14437           *)
14438             case `$CC -V 2>&1 | sed 5q` in
14439             *Sun\ C*)
14440               # Sun C++ 5.9
14441               no_undefined_flag_CXX=' -zdefs'
14442               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14443               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'
14444               hardcode_libdir_flag_spec_CXX='-R$libdir'
14445               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'
14446               compiler_needs_object_CXX=yes
14447
14448               # Not sure whether something based on
14449               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14450               # would be better.
14451               output_verbose_link_cmd='func_echo_all'
14452
14453               # Archives containing C++ object files must be created using
14454               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14455               # necessary to make sure instantiated templates are included
14456               # in the archive.
14457               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14458               ;;
14459             esac
14460             ;;
14461         esac
14462         ;;
14463
14464       lynxos*)
14465         # FIXME: insert proper C++ library support
14466         ld_shlibs_CXX=no
14467         ;;
14468
14469       m88k*)
14470         # FIXME: insert proper C++ library support
14471         ld_shlibs_CXX=no
14472         ;;
14473
14474       mvs*)
14475         case $cc_basename in
14476           cxx*)
14477             # FIXME: insert proper C++ library support
14478             ld_shlibs_CXX=no
14479             ;;
14480           *)
14481             # FIXME: insert proper C++ library support
14482             ld_shlibs_CXX=no
14483             ;;
14484         esac
14485         ;;
14486
14487       netbsd*)
14488         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14489           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14490           wlarc=
14491           hardcode_libdir_flag_spec_CXX='-R$libdir'
14492           hardcode_direct_CXX=yes
14493           hardcode_shlibpath_var_CXX=no
14494         fi
14495         # Workaround some broken pre-1.5 toolchains
14496         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14497         ;;
14498
14499       *nto* | *qnx*)
14500         ld_shlibs_CXX=yes
14501         ;;
14502
14503       openbsd2*)
14504         # C++ shared libraries are fairly broken
14505         ld_shlibs_CXX=no
14506         ;;
14507
14508       openbsd*)
14509         if test -f /usr/libexec/ld.so; then
14510           hardcode_direct_CXX=yes
14511           hardcode_shlibpath_var_CXX=no
14512           hardcode_direct_absolute_CXX=yes
14513           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14514           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14515           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14516             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14517             export_dynamic_flag_spec_CXX='${wl}-E'
14518             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14519           fi
14520           output_verbose_link_cmd=func_echo_all
14521         else
14522           ld_shlibs_CXX=no
14523         fi
14524         ;;
14525
14526       osf3* | osf4* | osf5*)
14527         case $cc_basename in
14528           KCC*)
14529             # Kuck and Associates, Inc. (KAI) C++ Compiler
14530
14531             # KCC will only create a shared library if the output file
14532             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14533             # to its proper name (with version) after linking.
14534             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'
14535
14536             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14537             hardcode_libdir_separator_CXX=:
14538
14539             # Archives containing C++ object files must be created using
14540             # the KAI C++ compiler.
14541             case $host in
14542               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14543               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14544             esac
14545             ;;
14546           RCC*)
14547             # Rational C++ 2.4.1
14548             # FIXME: insert proper C++ library support
14549             ld_shlibs_CXX=no
14550             ;;
14551           cxx*)
14552             case $host in
14553               osf3*)
14554                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14555                 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'
14556                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14557                 ;;
14558               *)
14559                 allow_undefined_flag_CXX=' -expect_unresolved \*'
14560                 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'
14561                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14562                   echo "-hidden">> $lib.exp~
14563                   $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~
14564                   $RM $lib.exp'
14565                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14566                 ;;
14567             esac
14568
14569             hardcode_libdir_separator_CXX=:
14570
14571             # Commands to make compiler produce verbose output that lists
14572             # what "hidden" libraries, object files and flags are used when
14573             # linking a shared library.
14574             #
14575             # There doesn't appear to be a way to prevent this compiler from
14576             # explicitly linking system object files so we need to strip them
14577             # from the output so that they don't get included in the library
14578             # dependencies.
14579             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"'
14580             ;;
14581           *)
14582             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14583               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14584               case $host in
14585                 osf3*)
14586                   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'
14587                   ;;
14588                 *)
14589                   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'
14590                   ;;
14591               esac
14592
14593               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14594               hardcode_libdir_separator_CXX=:
14595
14596               # Commands to make compiler produce verbose output that lists
14597               # what "hidden" libraries, object files and flags are used when
14598               # linking a shared library.
14599               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14600
14601             else
14602               # FIXME: insert proper C++ library support
14603               ld_shlibs_CXX=no
14604             fi
14605             ;;
14606         esac
14607         ;;
14608
14609       psos*)
14610         # FIXME: insert proper C++ library support
14611         ld_shlibs_CXX=no
14612         ;;
14613
14614       sunos4*)
14615         case $cc_basename in
14616           CC*)
14617             # Sun C++ 4.x
14618             # FIXME: insert proper C++ library support
14619             ld_shlibs_CXX=no
14620             ;;
14621           lcc*)
14622             # Lucid
14623             # FIXME: insert proper C++ library support
14624             ld_shlibs_CXX=no
14625             ;;
14626           *)
14627             # FIXME: insert proper C++ library support
14628             ld_shlibs_CXX=no
14629             ;;
14630         esac
14631         ;;
14632
14633       solaris*)
14634         case $cc_basename in
14635           CC* | sunCC*)
14636             # Sun C++ 4.2, 5.x and Centerline C++
14637             archive_cmds_need_lc_CXX=yes
14638             no_undefined_flag_CXX=' -zdefs'
14639             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14640             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14641               $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'
14642
14643             hardcode_libdir_flag_spec_CXX='-R$libdir'
14644             hardcode_shlibpath_var_CXX=no
14645             case $host_os in
14646               solaris2.[0-5] | solaris2.[0-5].*) ;;
14647               *)
14648                 # The compiler driver will combine and reorder linker options,
14649                 # but understands `-z linker_flag'.
14650                 # Supported since Solaris 2.6 (maybe 2.5.1?)
14651                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14652                 ;;
14653             esac
14654             link_all_deplibs_CXX=yes
14655
14656             output_verbose_link_cmd='func_echo_all'
14657
14658             # Archives containing C++ object files must be created using
14659             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14660             # necessary to make sure instantiated templates are included
14661             # in the archive.
14662             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14663             ;;
14664           gcx*)
14665             # Green Hills C++ Compiler
14666             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14667
14668             # The C++ compiler must be used to create the archive.
14669             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14670             ;;
14671           *)
14672             # GNU C++ compiler with Solaris linker
14673             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14674               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14675               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14676                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14677                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14678                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14679
14680                 # Commands to make compiler produce verbose output that lists
14681                 # what "hidden" libraries, object files and flags are used when
14682                 # linking a shared library.
14683                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14684               else
14685                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14686                 # platform.
14687                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14688                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14689                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14690
14691                 # Commands to make compiler produce verbose output that lists
14692                 # what "hidden" libraries, object files and flags are used when
14693                 # linking a shared library.
14694                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14695               fi
14696
14697               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14698               case $host_os in
14699                 solaris2.[0-5] | solaris2.[0-5].*) ;;
14700                 *)
14701                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14702                   ;;
14703               esac
14704             fi
14705             ;;
14706         esac
14707         ;;
14708
14709     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14710       no_undefined_flag_CXX='${wl}-z,text'
14711       archive_cmds_need_lc_CXX=no
14712       hardcode_shlibpath_var_CXX=no
14713       runpath_var='LD_RUN_PATH'
14714
14715       case $cc_basename in
14716         CC*)
14717           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14718           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14719           ;;
14720         *)
14721           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14722           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14723           ;;
14724       esac
14725       ;;
14726
14727       sysv5* | sco3.2v5* | sco5v6*)
14728         # Note: We can NOT use -z defs as we might desire, because we do not
14729         # link with -lc, and that would cause any symbols used from libc to
14730         # always be unresolved, which means just about no library would
14731         # ever link correctly.  If we're not using GNU ld we use -z text
14732         # though, which does catch some bad symbols but isn't as heavy-handed
14733         # as -z defs.
14734         no_undefined_flag_CXX='${wl}-z,text'
14735         allow_undefined_flag_CXX='${wl}-z,nodefs'
14736         archive_cmds_need_lc_CXX=no
14737         hardcode_shlibpath_var_CXX=no
14738         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14739         hardcode_libdir_separator_CXX=':'
14740         link_all_deplibs_CXX=yes
14741         export_dynamic_flag_spec_CXX='${wl}-Bexport'
14742         runpath_var='LD_RUN_PATH'
14743
14744         case $cc_basename in
14745           CC*)
14746             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14747             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14748             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14749               '"$old_archive_cmds_CXX"
14750             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14751               '"$reload_cmds_CXX"
14752             ;;
14753           *)
14754             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14755             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14756             ;;
14757         esac
14758       ;;
14759
14760       tandem*)
14761         case $cc_basename in
14762           NCC*)
14763             # NonStop-UX NCC 3.20
14764             # FIXME: insert proper C++ library support
14765             ld_shlibs_CXX=no
14766             ;;
14767           *)
14768             # FIXME: insert proper C++ library support
14769             ld_shlibs_CXX=no
14770             ;;
14771         esac
14772         ;;
14773
14774       vxworks*)
14775         # FIXME: insert proper C++ library support
14776         ld_shlibs_CXX=no
14777         ;;
14778
14779       *)
14780         # FIXME: insert proper C++ library support
14781         ld_shlibs_CXX=no
14782         ;;
14783     esac
14784
14785     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14786 $as_echo "$ld_shlibs_CXX" >&6; }
14787     test "$ld_shlibs_CXX" = no && can_build_shared=no
14788
14789     GCC_CXX="$GXX"
14790     LD_CXX="$LD"
14791
14792     ## CAVEAT EMPTOR:
14793     ## There is no encapsulation within the following macros, do not change
14794     ## the running order or otherwise move them around unless you know exactly
14795     ## what you are doing...
14796     # Dependencies to place before and after the object being linked:
14797 predep_objects_CXX=
14798 postdep_objects_CXX=
14799 predeps_CXX=
14800 postdeps_CXX=
14801 compiler_lib_search_path_CXX=
14802
14803 cat > conftest.$ac_ext <<_LT_EOF
14804 class Foo
14805 {
14806 public:
14807   Foo (void) { a = 0; }
14808 private:
14809   int a;
14810 };
14811 _LT_EOF
14812
14813
14814 _lt_libdeps_save_CFLAGS=$CFLAGS
14815 case "$CC $CFLAGS " in #(
14816 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14817 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14818 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14819 esac
14820
14821 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14822   (eval $ac_compile) 2>&5
14823   ac_status=$?
14824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14825   test $ac_status = 0; }; then
14826   # Parse the compiler output and extract the necessary
14827   # objects, libraries and library flags.
14828
14829   # Sentinel used to keep track of whether or not we are before
14830   # the conftest object file.
14831   pre_test_object_deps_done=no
14832
14833   for p in `eval "$output_verbose_link_cmd"`; do
14834     case ${prev}${p} in
14835
14836     -L* | -R* | -l*)
14837        # Some compilers place space between "-{L,R}" and the path.
14838        # Remove the space.
14839        if test $p = "-L" ||
14840           test $p = "-R"; then
14841          prev=$p
14842          continue
14843        fi
14844
14845        # Expand the sysroot to ease extracting the directories later.
14846        if test -z "$prev"; then
14847          case $p in
14848          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14849          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14850          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14851          esac
14852        fi
14853        case $p in
14854        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14855        esac
14856        if test "$pre_test_object_deps_done" = no; then
14857          case ${prev} in
14858          -L | -R)
14859            # Internal compiler library paths should come after those
14860            # provided the user.  The postdeps already come after the
14861            # user supplied libs so there is no need to process them.
14862            if test -z "$compiler_lib_search_path_CXX"; then
14863              compiler_lib_search_path_CXX="${prev}${p}"
14864            else
14865              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14866            fi
14867            ;;
14868          # The "-l" case would never come before the object being
14869          # linked, so don't bother handling this case.
14870          esac
14871        else
14872          if test -z "$postdeps_CXX"; then
14873            postdeps_CXX="${prev}${p}"
14874          else
14875            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14876          fi
14877        fi
14878        prev=
14879        ;;
14880
14881     *.lto.$objext) ;; # Ignore GCC LTO objects
14882     *.$objext)
14883        # This assumes that the test object file only shows up
14884        # once in the compiler output.
14885        if test "$p" = "conftest.$objext"; then
14886          pre_test_object_deps_done=yes
14887          continue
14888        fi
14889
14890        if test "$pre_test_object_deps_done" = no; then
14891          if test -z "$predep_objects_CXX"; then
14892            predep_objects_CXX="$p"
14893          else
14894            predep_objects_CXX="$predep_objects_CXX $p"
14895          fi
14896        else
14897          if test -z "$postdep_objects_CXX"; then
14898            postdep_objects_CXX="$p"
14899          else
14900            postdep_objects_CXX="$postdep_objects_CXX $p"
14901          fi
14902        fi
14903        ;;
14904
14905     *) ;; # Ignore the rest.
14906
14907     esac
14908   done
14909
14910   # Clean up.
14911   rm -f a.out a.exe
14912 else
14913   echo "libtool.m4: error: problem compiling CXX test program"
14914 fi
14915
14916 $RM -f confest.$objext
14917 CFLAGS=$_lt_libdeps_save_CFLAGS
14918
14919 # PORTME: override above test on systems where it is broken
14920 case $host_os in
14921 interix[3-9]*)
14922   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14923   # hack all around it, let's just trust "g++" to DTRT.
14924   predep_objects_CXX=
14925   postdep_objects_CXX=
14926   postdeps_CXX=
14927   ;;
14928
14929 linux*)
14930   case `$CC -V 2>&1 | sed 5q` in
14931   *Sun\ C*)
14932     # Sun C++ 5.9
14933
14934     # The more standards-conforming stlport4 library is
14935     # incompatible with the Cstd library. Avoid specifying
14936     # it if it's in CXXFLAGS. Ignore libCrun as
14937     # -library=stlport4 depends on it.
14938     case " $CXX $CXXFLAGS " in
14939     *" -library=stlport4 "*)
14940       solaris_use_stlport4=yes
14941       ;;
14942     esac
14943
14944     if test "$solaris_use_stlport4" != yes; then
14945       postdeps_CXX='-library=Cstd -library=Crun'
14946     fi
14947     ;;
14948   esac
14949   ;;
14950
14951 solaris*)
14952   case $cc_basename in
14953   CC* | sunCC*)
14954     # The more standards-conforming stlport4 library is
14955     # incompatible with the Cstd library. Avoid specifying
14956     # it if it's in CXXFLAGS. Ignore libCrun as
14957     # -library=stlport4 depends on it.
14958     case " $CXX $CXXFLAGS " in
14959     *" -library=stlport4 "*)
14960       solaris_use_stlport4=yes
14961       ;;
14962     esac
14963
14964     # Adding this requires a known-good setup of shared libraries for
14965     # Sun compiler versions before 5.6, else PIC objects from an old
14966     # archive will be linked into the output, leading to subtle bugs.
14967     if test "$solaris_use_stlport4" != yes; then
14968       postdeps_CXX='-library=Cstd -library=Crun'
14969     fi
14970     ;;
14971   esac
14972   ;;
14973 esac
14974
14975
14976 case " $postdeps_CXX " in
14977 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14978 esac
14979  compiler_lib_search_dirs_CXX=
14980 if test -n "${compiler_lib_search_path_CXX}"; then
14981  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14982 fi
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014     lt_prog_compiler_wl_CXX=
15015 lt_prog_compiler_pic_CXX=
15016 lt_prog_compiler_static_CXX=
15017
15018
15019   # C++ specific cases for pic, static, wl, etc.
15020   if test "$GXX" = yes; then
15021     lt_prog_compiler_wl_CXX='-Wl,'
15022     lt_prog_compiler_static_CXX='-static'
15023
15024     case $host_os in
15025     aix*)
15026       # All AIX code is PIC.
15027       if test "$host_cpu" = ia64; then
15028         # AIX 5 now supports IA64 processor
15029         lt_prog_compiler_static_CXX='-Bstatic'
15030       fi
15031       ;;
15032
15033     amigaos*)
15034       case $host_cpu in
15035       powerpc)
15036             # see comment about AmigaOS4 .so support
15037             lt_prog_compiler_pic_CXX='-fPIC'
15038         ;;
15039       m68k)
15040             # FIXME: we need at least 68020 code to build shared libraries, but
15041             # adding the `-m68020' flag to GCC prevents building anything better,
15042             # like `-m68040'.
15043             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15044         ;;
15045       esac
15046       ;;
15047
15048     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15049       # PIC is the default for these OSes.
15050       ;;
15051     mingw* | cygwin* | os2* | pw32* | cegcc*)
15052       # This hack is so that the source file can tell whether it is being
15053       # built for inclusion in a dll (and should export symbols for example).
15054       # Although the cygwin gcc ignores -fPIC, still need this for old-style
15055       # (--disable-auto-import) libraries
15056       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15057       ;;
15058     darwin* | rhapsody*)
15059       # PIC is the default on this platform
15060       # Common symbols not allowed in MH_DYLIB files
15061       lt_prog_compiler_pic_CXX='-fno-common'
15062       ;;
15063     *djgpp*)
15064       # DJGPP does not support shared libraries at all
15065       lt_prog_compiler_pic_CXX=
15066       ;;
15067     haiku*)
15068       # PIC is the default for Haiku.
15069       # The "-static" flag exists, but is broken.
15070       lt_prog_compiler_static_CXX=
15071       ;;
15072     interix[3-9]*)
15073       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15074       # Instead, we relocate shared libraries at runtime.
15075       ;;
15076     sysv4*MP*)
15077       if test -d /usr/nec; then
15078         lt_prog_compiler_pic_CXX=-Kconform_pic
15079       fi
15080       ;;
15081     hpux*)
15082       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15083       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15084       # sets the default TLS model and affects inlining.
15085       case $host_cpu in
15086       hppa*64*)
15087         ;;
15088       *)
15089         lt_prog_compiler_pic_CXX='-fPIC'
15090         ;;
15091       esac
15092       ;;
15093     *qnx* | *nto*)
15094       # QNX uses GNU C++, but need to define -shared option too, otherwise
15095       # it will coredump.
15096       lt_prog_compiler_pic_CXX='-fPIC -shared'
15097       ;;
15098     *)
15099       lt_prog_compiler_pic_CXX='-fPIC'
15100       ;;
15101     esac
15102   else
15103     case $host_os in
15104       aix[4-9]*)
15105         # All AIX code is PIC.
15106         if test "$host_cpu" = ia64; then
15107           # AIX 5 now supports IA64 processor
15108           lt_prog_compiler_static_CXX='-Bstatic'
15109         else
15110           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15111         fi
15112         ;;
15113       chorus*)
15114         case $cc_basename in
15115         cxch68*)
15116           # Green Hills C++ Compiler
15117           # _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"
15118           ;;
15119         esac
15120         ;;
15121       mingw* | cygwin* | os2* | pw32* | cegcc*)
15122         # This hack is so that the source file can tell whether it is being
15123         # built for inclusion in a dll (and should export symbols for example).
15124         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15125         ;;
15126       dgux*)
15127         case $cc_basename in
15128           ec++*)
15129             lt_prog_compiler_pic_CXX='-KPIC'
15130             ;;
15131           ghcx*)
15132             # Green Hills C++ Compiler
15133             lt_prog_compiler_pic_CXX='-pic'
15134             ;;
15135           *)
15136             ;;
15137         esac
15138         ;;
15139       freebsd* | dragonfly*)
15140         # FreeBSD uses GNU C++
15141         ;;
15142       hpux9* | hpux10* | hpux11*)
15143         case $cc_basename in
15144           CC*)
15145             lt_prog_compiler_wl_CXX='-Wl,'
15146             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15147             if test "$host_cpu" != ia64; then
15148               lt_prog_compiler_pic_CXX='+Z'
15149             fi
15150             ;;
15151           aCC*)
15152             lt_prog_compiler_wl_CXX='-Wl,'
15153             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15154             case $host_cpu in
15155             hppa*64*|ia64*)
15156               # +Z the default
15157               ;;
15158             *)
15159               lt_prog_compiler_pic_CXX='+Z'
15160               ;;
15161             esac
15162             ;;
15163           *)
15164             ;;
15165         esac
15166         ;;
15167       interix*)
15168         # This is c89, which is MS Visual C++ (no shared libs)
15169         # Anyone wants to do a port?
15170         ;;
15171       irix5* | irix6* | nonstopux*)
15172         case $cc_basename in
15173           CC*)
15174             lt_prog_compiler_wl_CXX='-Wl,'
15175             lt_prog_compiler_static_CXX='-non_shared'
15176             # CC pic flag -KPIC is the default.
15177             ;;
15178           *)
15179             ;;
15180         esac
15181         ;;
15182       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15183         case $cc_basename in
15184           KCC*)
15185             # KAI C++ Compiler
15186             lt_prog_compiler_wl_CXX='--backend -Wl,'
15187             lt_prog_compiler_pic_CXX='-fPIC'
15188             ;;
15189           ecpc* )
15190             # old Intel C++ for x86_64 which still supported -KPIC.
15191             lt_prog_compiler_wl_CXX='-Wl,'
15192             lt_prog_compiler_pic_CXX='-KPIC'
15193             lt_prog_compiler_static_CXX='-static'
15194             ;;
15195           icpc* )
15196             # Intel C++, used to be incompatible with GCC.
15197             # ICC 10 doesn't accept -KPIC any more.
15198             lt_prog_compiler_wl_CXX='-Wl,'
15199             lt_prog_compiler_pic_CXX='-fPIC'
15200             lt_prog_compiler_static_CXX='-static'
15201             ;;
15202           pgCC* | pgcpp*)
15203             # Portland Group C++ compiler
15204             lt_prog_compiler_wl_CXX='-Wl,'
15205             lt_prog_compiler_pic_CXX='-fpic'
15206             lt_prog_compiler_static_CXX='-Bstatic'
15207             ;;
15208           cxx*)
15209             # Compaq C++
15210             # Make sure the PIC flag is empty.  It appears that all Alpha
15211             # Linux and Compaq Tru64 Unix objects are PIC.
15212             lt_prog_compiler_pic_CXX=
15213             lt_prog_compiler_static_CXX='-non_shared'
15214             ;;
15215           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15216             # IBM XL 8.0, 9.0 on PPC and BlueGene
15217             lt_prog_compiler_wl_CXX='-Wl,'
15218             lt_prog_compiler_pic_CXX='-qpic'
15219             lt_prog_compiler_static_CXX='-qstaticlink'
15220             ;;
15221           *)
15222             case `$CC -V 2>&1 | sed 5q` in
15223             *Sun\ C*)
15224               # Sun C++ 5.9
15225               lt_prog_compiler_pic_CXX='-KPIC'
15226               lt_prog_compiler_static_CXX='-Bstatic'
15227               lt_prog_compiler_wl_CXX='-Qoption ld '
15228               ;;
15229             esac
15230             ;;
15231         esac
15232         ;;
15233       lynxos*)
15234         ;;
15235       m88k*)
15236         ;;
15237       mvs*)
15238         case $cc_basename in
15239           cxx*)
15240             lt_prog_compiler_pic_CXX='-W c,exportall'
15241             ;;
15242           *)
15243             ;;
15244         esac
15245         ;;
15246       netbsd* | netbsdelf*-gnu)
15247         ;;
15248       *qnx* | *nto*)
15249         # QNX uses GNU C++, but need to define -shared option too, otherwise
15250         # it will coredump.
15251         lt_prog_compiler_pic_CXX='-fPIC -shared'
15252         ;;
15253       osf3* | osf4* | osf5*)
15254         case $cc_basename in
15255           KCC*)
15256             lt_prog_compiler_wl_CXX='--backend -Wl,'
15257             ;;
15258           RCC*)
15259             # Rational C++ 2.4.1
15260             lt_prog_compiler_pic_CXX='-pic'
15261             ;;
15262           cxx*)
15263             # Digital/Compaq C++
15264             lt_prog_compiler_wl_CXX='-Wl,'
15265             # Make sure the PIC flag is empty.  It appears that all Alpha
15266             # Linux and Compaq Tru64 Unix objects are PIC.
15267             lt_prog_compiler_pic_CXX=
15268             lt_prog_compiler_static_CXX='-non_shared'
15269             ;;
15270           *)
15271             ;;
15272         esac
15273         ;;
15274       psos*)
15275         ;;
15276       solaris*)
15277         case $cc_basename in
15278           CC* | sunCC*)
15279             # Sun C++ 4.2, 5.x and Centerline C++
15280             lt_prog_compiler_pic_CXX='-KPIC'
15281             lt_prog_compiler_static_CXX='-Bstatic'
15282             lt_prog_compiler_wl_CXX='-Qoption ld '
15283             ;;
15284           gcx*)
15285             # Green Hills C++ Compiler
15286             lt_prog_compiler_pic_CXX='-PIC'
15287             ;;
15288           *)
15289             ;;
15290         esac
15291         ;;
15292       sunos4*)
15293         case $cc_basename in
15294           CC*)
15295             # Sun C++ 4.x
15296             lt_prog_compiler_pic_CXX='-pic'
15297             lt_prog_compiler_static_CXX='-Bstatic'
15298             ;;
15299           lcc*)
15300             # Lucid
15301             lt_prog_compiler_pic_CXX='-pic'
15302             ;;
15303           *)
15304             ;;
15305         esac
15306         ;;
15307       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15308         case $cc_basename in
15309           CC*)
15310             lt_prog_compiler_wl_CXX='-Wl,'
15311             lt_prog_compiler_pic_CXX='-KPIC'
15312             lt_prog_compiler_static_CXX='-Bstatic'
15313             ;;
15314         esac
15315         ;;
15316       tandem*)
15317         case $cc_basename in
15318           NCC*)
15319             # NonStop-UX NCC 3.20
15320             lt_prog_compiler_pic_CXX='-KPIC'
15321             ;;
15322           *)
15323             ;;
15324         esac
15325         ;;
15326       vxworks*)
15327         ;;
15328       *)
15329         lt_prog_compiler_can_build_shared_CXX=no
15330         ;;
15331     esac
15332   fi
15333
15334 case $host_os in
15335   # For platforms which do not support PIC, -DPIC is meaningless:
15336   *djgpp*)
15337     lt_prog_compiler_pic_CXX=
15338     ;;
15339   *)
15340     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15341     ;;
15342 esac
15343
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15345 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15346 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15347   $as_echo_n "(cached) " >&6
15348 else
15349   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15350 fi
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15352 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15353 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15354
15355 #
15356 # Check to make sure the PIC flag actually works.
15357 #
15358 if test -n "$lt_prog_compiler_pic_CXX"; then
15359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15360 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15361 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15362   $as_echo_n "(cached) " >&6
15363 else
15364   lt_cv_prog_compiler_pic_works_CXX=no
15365    ac_outfile=conftest.$ac_objext
15366    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15367    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15368    # Insert the option either (1) after the last *FLAGS variable, or
15369    # (2) before a word containing "conftest.", or (3) at the end.
15370    # Note that $ac_compile itself does not contain backslashes and begins
15371    # with a dollar sign (not a hyphen), so the echo should work correctly.
15372    # The option is referenced via a variable to avoid confusing sed.
15373    lt_compile=`echo "$ac_compile" | $SED \
15374    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15375    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15376    -e 's:$: $lt_compiler_flag:'`
15377    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15378    (eval "$lt_compile" 2>conftest.err)
15379    ac_status=$?
15380    cat conftest.err >&5
15381    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382    if (exit $ac_status) && test -s "$ac_outfile"; then
15383      # The compiler can only warn and ignore the option if not recognized
15384      # So say no if there are warnings other than the usual output.
15385      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15386      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15387      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15388        lt_cv_prog_compiler_pic_works_CXX=yes
15389      fi
15390    fi
15391    $RM conftest*
15392
15393 fi
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15395 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15396
15397 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15398     case $lt_prog_compiler_pic_CXX in
15399      "" | " "*) ;;
15400      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15401      esac
15402 else
15403     lt_prog_compiler_pic_CXX=
15404      lt_prog_compiler_can_build_shared_CXX=no
15405 fi
15406
15407 fi
15408
15409
15410
15411
15412
15413 #
15414 # Check to make sure the static flag actually works.
15415 #
15416 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15418 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15419 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15420   $as_echo_n "(cached) " >&6
15421 else
15422   lt_cv_prog_compiler_static_works_CXX=no
15423    save_LDFLAGS="$LDFLAGS"
15424    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15425    echo "$lt_simple_link_test_code" > conftest.$ac_ext
15426    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15427      # The linker can only warn and ignore the option if not recognized
15428      # So say no if there are warnings
15429      if test -s conftest.err; then
15430        # Append any errors to the config.log.
15431        cat conftest.err 1>&5
15432        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15433        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15434        if diff conftest.exp conftest.er2 >/dev/null; then
15435          lt_cv_prog_compiler_static_works_CXX=yes
15436        fi
15437      else
15438        lt_cv_prog_compiler_static_works_CXX=yes
15439      fi
15440    fi
15441    $RM -r conftest*
15442    LDFLAGS="$save_LDFLAGS"
15443
15444 fi
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15446 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15447
15448 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15449     :
15450 else
15451     lt_prog_compiler_static_CXX=
15452 fi
15453
15454
15455
15456
15457     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15458 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15459 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15460   $as_echo_n "(cached) " >&6
15461 else
15462   lt_cv_prog_compiler_c_o_CXX=no
15463    $RM -r conftest 2>/dev/null
15464    mkdir conftest
15465    cd conftest
15466    mkdir out
15467    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15468
15469    lt_compiler_flag="-o out/conftest2.$ac_objext"
15470    # Insert the option either (1) after the last *FLAGS variable, or
15471    # (2) before a word containing "conftest.", or (3) at the end.
15472    # Note that $ac_compile itself does not contain backslashes and begins
15473    # with a dollar sign (not a hyphen), so the echo should work correctly.
15474    lt_compile=`echo "$ac_compile" | $SED \
15475    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15476    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15477    -e 's:$: $lt_compiler_flag:'`
15478    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15479    (eval "$lt_compile" 2>out/conftest.err)
15480    ac_status=$?
15481    cat out/conftest.err >&5
15482    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15484    then
15485      # The compiler can only warn and ignore the option if not recognized
15486      # So say no if there are warnings
15487      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15488      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15489      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15490        lt_cv_prog_compiler_c_o_CXX=yes
15491      fi
15492    fi
15493    chmod u+w . 2>&5
15494    $RM conftest*
15495    # SGI C++ compiler will create directory out/ii_files/ for
15496    # template instantiation
15497    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15498    $RM out/* && rmdir out
15499    cd ..
15500    $RM -r conftest
15501    $RM conftest*
15502
15503 fi
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15505 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15506
15507
15508
15509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15510 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15511 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15512   $as_echo_n "(cached) " >&6
15513 else
15514   lt_cv_prog_compiler_c_o_CXX=no
15515    $RM -r conftest 2>/dev/null
15516    mkdir conftest
15517    cd conftest
15518    mkdir out
15519    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15520
15521    lt_compiler_flag="-o out/conftest2.$ac_objext"
15522    # Insert the option either (1) after the last *FLAGS variable, or
15523    # (2) before a word containing "conftest.", or (3) at the end.
15524    # Note that $ac_compile itself does not contain backslashes and begins
15525    # with a dollar sign (not a hyphen), so the echo should work correctly.
15526    lt_compile=`echo "$ac_compile" | $SED \
15527    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15528    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15529    -e 's:$: $lt_compiler_flag:'`
15530    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15531    (eval "$lt_compile" 2>out/conftest.err)
15532    ac_status=$?
15533    cat out/conftest.err >&5
15534    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15536    then
15537      # The compiler can only warn and ignore the option if not recognized
15538      # So say no if there are warnings
15539      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15540      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15541      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15542        lt_cv_prog_compiler_c_o_CXX=yes
15543      fi
15544    fi
15545    chmod u+w . 2>&5
15546    $RM conftest*
15547    # SGI C++ compiler will create directory out/ii_files/ for
15548    # template instantiation
15549    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15550    $RM out/* && rmdir out
15551    cd ..
15552    $RM -r conftest
15553    $RM conftest*
15554
15555 fi
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15557 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15558
15559
15560
15561
15562 hard_links="nottested"
15563 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15564   # do not overwrite the value of need_locks provided by the user
15565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15566 $as_echo_n "checking if we can lock with hard links... " >&6; }
15567   hard_links=yes
15568   $RM conftest*
15569   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15570   touch conftest.a
15571   ln conftest.a conftest.b 2>&5 || hard_links=no
15572   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15574 $as_echo "$hard_links" >&6; }
15575   if test "$hard_links" = no; then
15576     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15577 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15578     need_locks=warn
15579   fi
15580 else
15581   need_locks=no
15582 fi
15583
15584
15585
15586     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15587 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15588
15589   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15590   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15591   case $host_os in
15592   aix[4-9]*)
15593     # If we're using GNU nm, then we don't want the "-C" option.
15594     # -C means demangle to AIX nm, but means don't demangle with GNU nm
15595     # Also, AIX nm treats weak defined symbols like other global defined
15596     # symbols, whereas GNU nm marks them as "W".
15597     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15598       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'
15599     else
15600       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'
15601     fi
15602     ;;
15603   pw32*)
15604     export_symbols_cmds_CXX="$ltdll_cmds"
15605     ;;
15606   cygwin* | mingw* | cegcc*)
15607     case $cc_basename in
15608     cl*)
15609       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15610       ;;
15611     *)
15612       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'
15613       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15614       ;;
15615     esac
15616     ;;
15617   linux* | k*bsd*-gnu | gnu*)
15618     link_all_deplibs_CXX=no
15619     ;;
15620   *)
15621     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15622     ;;
15623   esac
15624
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15626 $as_echo "$ld_shlibs_CXX" >&6; }
15627 test "$ld_shlibs_CXX" = no && can_build_shared=no
15628
15629 with_gnu_ld_CXX=$with_gnu_ld
15630
15631
15632
15633
15634
15635
15636 #
15637 # Do we need to explicitly link libc?
15638 #
15639 case "x$archive_cmds_need_lc_CXX" in
15640 x|xyes)
15641   # Assume -lc should be added
15642   archive_cmds_need_lc_CXX=yes
15643
15644   if test "$enable_shared" = yes && test "$GCC" = yes; then
15645     case $archive_cmds_CXX in
15646     *'~'*)
15647       # FIXME: we may have to deal with multi-command sequences.
15648       ;;
15649     '$CC '*)
15650       # Test whether the compiler implicitly links with -lc since on some
15651       # systems, -lgcc has to come before -lc. If gcc already passes -lc
15652       # to ld, don't add -lc before -lgcc.
15653       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15654 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15655 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15656   $as_echo_n "(cached) " >&6
15657 else
15658   $RM conftest*
15659         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15660
15661         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15662   (eval $ac_compile) 2>&5
15663   ac_status=$?
15664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15665   test $ac_status = 0; } 2>conftest.err; then
15666           soname=conftest
15667           lib=conftest
15668           libobjs=conftest.$ac_objext
15669           deplibs=
15670           wl=$lt_prog_compiler_wl_CXX
15671           pic_flag=$lt_prog_compiler_pic_CXX
15672           compiler_flags=-v
15673           linker_flags=-v
15674           verstring=
15675           output_objdir=.
15676           libname=conftest
15677           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15678           allow_undefined_flag_CXX=
15679           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15680   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15681   ac_status=$?
15682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15683   test $ac_status = 0; }
15684           then
15685             lt_cv_archive_cmds_need_lc_CXX=no
15686           else
15687             lt_cv_archive_cmds_need_lc_CXX=yes
15688           fi
15689           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15690         else
15691           cat conftest.err 1>&5
15692         fi
15693         $RM conftest*
15694
15695 fi
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15697 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15698       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15699       ;;
15700     esac
15701   fi
15702   ;;
15703 esac
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15767 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15768
15769 library_names_spec=
15770 libname_spec='lib$name'
15771 soname_spec=
15772 shrext_cmds=".so"
15773 postinstall_cmds=
15774 postuninstall_cmds=
15775 finish_cmds=
15776 finish_eval=
15777 shlibpath_var=
15778 shlibpath_overrides_runpath=unknown
15779 version_type=none
15780 dynamic_linker="$host_os ld.so"
15781 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15782 need_lib_prefix=unknown
15783 hardcode_into_libs=no
15784
15785 # when you set need_version to no, make sure it does not cause -set_version
15786 # flags to be left without arguments
15787 need_version=unknown
15788
15789 case $host_os in
15790 aix3*)
15791   version_type=linux # correct to gnu/linux during the next big refactor
15792   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15793   shlibpath_var=LIBPATH
15794
15795   # AIX 3 has no versioning support, so we append a major version to the name.
15796   soname_spec='${libname}${release}${shared_ext}$major'
15797   ;;
15798
15799 aix[4-9]*)
15800   version_type=linux # correct to gnu/linux during the next big refactor
15801   need_lib_prefix=no
15802   need_version=no
15803   hardcode_into_libs=yes
15804   if test "$host_cpu" = ia64; then
15805     # AIX 5 supports IA64
15806     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15807     shlibpath_var=LD_LIBRARY_PATH
15808   else
15809     # With GCC up to 2.95.x, collect2 would create an import file
15810     # for dependence libraries.  The import file would start with
15811     # the line `#! .'.  This would cause the generated library to
15812     # depend on `.', always an invalid library.  This was fixed in
15813     # development snapshots of GCC prior to 3.0.
15814     case $host_os in
15815       aix4 | aix4.[01] | aix4.[01].*)
15816       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15817            echo ' yes '
15818            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15819         :
15820       else
15821         can_build_shared=no
15822       fi
15823       ;;
15824     esac
15825     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15826     # soname into executable. Probably we can add versioning support to
15827     # collect2, so additional links can be useful in future.
15828     if test "$aix_use_runtimelinking" = yes; then
15829       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15830       # instead of lib<name>.a to let people know that these are not
15831       # typical AIX shared libraries.
15832       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15833     else
15834       # We preserve .a as extension for shared libraries through AIX4.2
15835       # and later when we are not doing run time linking.
15836       library_names_spec='${libname}${release}.a $libname.a'
15837       soname_spec='${libname}${release}${shared_ext}$major'
15838     fi
15839     shlibpath_var=LIBPATH
15840   fi
15841   ;;
15842
15843 amigaos*)
15844   case $host_cpu in
15845   powerpc)
15846     # Since July 2007 AmigaOS4 officially supports .so libraries.
15847     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15848     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15849     ;;
15850   m68k)
15851     library_names_spec='$libname.ixlibrary $libname.a'
15852     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15853     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'
15854     ;;
15855   esac
15856   ;;
15857
15858 beos*)
15859   library_names_spec='${libname}${shared_ext}'
15860   dynamic_linker="$host_os ld.so"
15861   shlibpath_var=LIBRARY_PATH
15862   ;;
15863
15864 bsdi[45]*)
15865   version_type=linux # correct to gnu/linux during the next big refactor
15866   need_version=no
15867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15868   soname_spec='${libname}${release}${shared_ext}$major'
15869   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15870   shlibpath_var=LD_LIBRARY_PATH
15871   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15872   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15873   # the default ld.so.conf also contains /usr/contrib/lib and
15874   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15875   # libtool to hard-code these into programs
15876   ;;
15877
15878 cygwin* | mingw* | pw32* | cegcc*)
15879   version_type=windows
15880   shrext_cmds=".dll"
15881   need_version=no
15882   need_lib_prefix=no
15883
15884   case $GCC,$cc_basename in
15885   yes,*)
15886     # gcc
15887     library_names_spec='$libname.dll.a'
15888     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15889     postinstall_cmds='base_file=`basename \${file}`~
15890       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15891       dldir=$destdir/`dirname \$dlpath`~
15892       test -d \$dldir || mkdir -p \$dldir~
15893       $install_prog $dir/$dlname \$dldir/$dlname~
15894       chmod a+x \$dldir/$dlname~
15895       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15896         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15897       fi'
15898     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15899       dlpath=$dir/\$dldll~
15900        $RM \$dlpath'
15901     shlibpath_overrides_runpath=yes
15902
15903     case $host_os in
15904     cygwin*)
15905       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15906       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15907
15908       ;;
15909     mingw* | cegcc*)
15910       # MinGW DLLs use traditional 'lib' prefix
15911       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15912       ;;
15913     pw32*)
15914       # pw32 DLLs use 'pw' prefix rather than 'lib'
15915       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15916       ;;
15917     esac
15918     dynamic_linker='Win32 ld.exe'
15919     ;;
15920
15921   *,cl*)
15922     # Native MSVC
15923     libname_spec='$name'
15924     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15925     library_names_spec='${libname}.dll.lib'
15926
15927     case $build_os in
15928     mingw*)
15929       sys_lib_search_path_spec=
15930       lt_save_ifs=$IFS
15931       IFS=';'
15932       for lt_path in $LIB
15933       do
15934         IFS=$lt_save_ifs
15935         # Let DOS variable expansion print the short 8.3 style file name.
15936         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15937         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15938       done
15939       IFS=$lt_save_ifs
15940       # Convert to MSYS style.
15941       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15942       ;;
15943     cygwin*)
15944       # Convert to unix form, then to dos form, then back to unix form
15945       # but this time dos style (no spaces!) so that the unix form looks
15946       # like /cygdrive/c/PROGRA~1:/cygdr...
15947       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15948       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15949       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15950       ;;
15951     *)
15952       sys_lib_search_path_spec="$LIB"
15953       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15954         # It is most probably a Windows format PATH.
15955         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15956       else
15957         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15958       fi
15959       # FIXME: find the short name or the path components, as spaces are
15960       # common. (e.g. "Program Files" -> "PROGRA~1")
15961       ;;
15962     esac
15963
15964     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15965     postinstall_cmds='base_file=`basename \${file}`~
15966       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15967       dldir=$destdir/`dirname \$dlpath`~
15968       test -d \$dldir || mkdir -p \$dldir~
15969       $install_prog $dir/$dlname \$dldir/$dlname'
15970     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15971       dlpath=$dir/\$dldll~
15972        $RM \$dlpath'
15973     shlibpath_overrides_runpath=yes
15974     dynamic_linker='Win32 link.exe'
15975     ;;
15976
15977   *)
15978     # Assume MSVC wrapper
15979     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15980     dynamic_linker='Win32 ld.exe'
15981     ;;
15982   esac
15983   # FIXME: first we should search . and the directory the executable is in
15984   shlibpath_var=PATH
15985   ;;
15986
15987 darwin* | rhapsody*)
15988   dynamic_linker="$host_os dyld"
15989   version_type=darwin
15990   need_lib_prefix=no
15991   need_version=no
15992   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15993   soname_spec='${libname}${release}${major}$shared_ext'
15994   shlibpath_overrides_runpath=yes
15995   shlibpath_var=DYLD_LIBRARY_PATH
15996   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15997
15998   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15999   ;;
16000
16001 dgux*)
16002   version_type=linux # correct to gnu/linux during the next big refactor
16003   need_lib_prefix=no
16004   need_version=no
16005   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16006   soname_spec='${libname}${release}${shared_ext}$major'
16007   shlibpath_var=LD_LIBRARY_PATH
16008   ;;
16009
16010 freebsd* | dragonfly*)
16011   # DragonFly does not have aout.  When/if they implement a new
16012   # versioning mechanism, adjust this.
16013   if test -x /usr/bin/objformat; then
16014     objformat=`/usr/bin/objformat`
16015   else
16016     case $host_os in
16017     freebsd[23].*) objformat=aout ;;
16018     *) objformat=elf ;;
16019     esac
16020   fi
16021   version_type=freebsd-$objformat
16022   case $version_type in
16023     freebsd-elf*)
16024       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16025       need_version=no
16026       need_lib_prefix=no
16027       ;;
16028     freebsd-*)
16029       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16030       need_version=yes
16031       ;;
16032   esac
16033   shlibpath_var=LD_LIBRARY_PATH
16034   case $host_os in
16035   freebsd2.*)
16036     shlibpath_overrides_runpath=yes
16037     ;;
16038   freebsd3.[01]* | freebsdelf3.[01]*)
16039     shlibpath_overrides_runpath=yes
16040     hardcode_into_libs=yes
16041     ;;
16042   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16043   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16044     shlibpath_overrides_runpath=no
16045     hardcode_into_libs=yes
16046     ;;
16047   *) # from 4.6 on, and DragonFly
16048     shlibpath_overrides_runpath=yes
16049     hardcode_into_libs=yes
16050     ;;
16051   esac
16052   ;;
16053
16054 haiku*)
16055   version_type=linux # correct to gnu/linux during the next big refactor
16056   need_lib_prefix=no
16057   need_version=no
16058   dynamic_linker="$host_os runtime_loader"
16059   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16060   soname_spec='${libname}${release}${shared_ext}$major'
16061   shlibpath_var=LIBRARY_PATH
16062   shlibpath_overrides_runpath=yes
16063   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16064   hardcode_into_libs=yes
16065   ;;
16066
16067 hpux9* | hpux10* | hpux11*)
16068   # Give a soname corresponding to the major version so that dld.sl refuses to
16069   # link against other versions.
16070   version_type=sunos
16071   need_lib_prefix=no
16072   need_version=no
16073   case $host_cpu in
16074   ia64*)
16075     shrext_cmds='.so'
16076     hardcode_into_libs=yes
16077     dynamic_linker="$host_os dld.so"
16078     shlibpath_var=LD_LIBRARY_PATH
16079     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16080     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16081     soname_spec='${libname}${release}${shared_ext}$major'
16082     if test "X$HPUX_IA64_MODE" = X32; then
16083       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16084     else
16085       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16086     fi
16087     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16088     ;;
16089   hppa*64*)
16090     shrext_cmds='.sl'
16091     hardcode_into_libs=yes
16092     dynamic_linker="$host_os dld.sl"
16093     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16094     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16095     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16096     soname_spec='${libname}${release}${shared_ext}$major'
16097     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16098     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16099     ;;
16100   *)
16101     shrext_cmds='.sl'
16102     dynamic_linker="$host_os dld.sl"
16103     shlibpath_var=SHLIB_PATH
16104     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16105     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16106     soname_spec='${libname}${release}${shared_ext}$major'
16107     ;;
16108   esac
16109   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16110   postinstall_cmds='chmod 555 $lib'
16111   # or fails outright, so override atomically:
16112   install_override_mode=555
16113   ;;
16114
16115 interix[3-9]*)
16116   version_type=linux # correct to gnu/linux during the next big refactor
16117   need_lib_prefix=no
16118   need_version=no
16119   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16120   soname_spec='${libname}${release}${shared_ext}$major'
16121   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16122   shlibpath_var=LD_LIBRARY_PATH
16123   shlibpath_overrides_runpath=no
16124   hardcode_into_libs=yes
16125   ;;
16126
16127 irix5* | irix6* | nonstopux*)
16128   case $host_os in
16129     nonstopux*) version_type=nonstopux ;;
16130     *)
16131         if test "$lt_cv_prog_gnu_ld" = yes; then
16132                 version_type=linux # correct to gnu/linux during the next big refactor
16133         else
16134                 version_type=irix
16135         fi ;;
16136   esac
16137   need_lib_prefix=no
16138   need_version=no
16139   soname_spec='${libname}${release}${shared_ext}$major'
16140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16141   case $host_os in
16142   irix5* | nonstopux*)
16143     libsuff= shlibsuff=
16144     ;;
16145   *)
16146     case $LD in # libtool.m4 will add one of these switches to LD
16147     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16148       libsuff= shlibsuff= libmagic=32-bit;;
16149     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16150       libsuff=32 shlibsuff=N32 libmagic=N32;;
16151     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16152       libsuff=64 shlibsuff=64 libmagic=64-bit;;
16153     *) libsuff= shlibsuff= libmagic=never-match;;
16154     esac
16155     ;;
16156   esac
16157   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16158   shlibpath_overrides_runpath=no
16159   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16160   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16161   hardcode_into_libs=yes
16162   ;;
16163
16164 # No shared lib support for Linux oldld, aout, or coff.
16165 linux*oldld* | linux*aout* | linux*coff*)
16166   dynamic_linker=no
16167   ;;
16168
16169 # This must be glibc/ELF.
16170 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16171   version_type=linux # correct to gnu/linux during the next big refactor
16172   need_lib_prefix=no
16173   need_version=no
16174   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16175   soname_spec='${libname}${release}${shared_ext}$major'
16176   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16177   shlibpath_var=LD_LIBRARY_PATH
16178   shlibpath_overrides_runpath=no
16179
16180   # Some binutils ld are patched to set DT_RUNPATH
16181   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16182   $as_echo_n "(cached) " >&6
16183 else
16184   lt_cv_shlibpath_overrides_runpath=no
16185     save_LDFLAGS=$LDFLAGS
16186     save_libdir=$libdir
16187     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16188          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16189     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h.  */
16191
16192 int
16193 main ()
16194 {
16195
16196   ;
16197   return 0;
16198 }
16199 _ACEOF
16200 if ac_fn_cxx_try_link "$LINENO"; then :
16201   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16202   lt_cv_shlibpath_overrides_runpath=yes
16203 fi
16204 fi
16205 rm -f core conftest.err conftest.$ac_objext \
16206     conftest$ac_exeext conftest.$ac_ext
16207     LDFLAGS=$save_LDFLAGS
16208     libdir=$save_libdir
16209
16210 fi
16211
16212   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16213
16214   # This implies no fast_install, which is unacceptable.
16215   # Some rework will be needed to allow for fast_install
16216   # before this can be enabled.
16217   hardcode_into_libs=yes
16218
16219   # Append ld.so.conf contents to the search path
16220   if test -f /etc/ld.so.conf; then
16221     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' ' '`
16222     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16223   fi
16224
16225   # We used to test for /lib/ld.so.1 and disable shared libraries on
16226   # powerpc, because MkLinux only supported shared libraries with the
16227   # GNU dynamic linker.  Since this was broken with cross compilers,
16228   # most powerpc-linux boxes support dynamic linking these days and
16229   # people can always --disable-shared, the test was removed, and we
16230   # assume the GNU/Linux dynamic linker is in use.
16231   dynamic_linker='GNU/Linux ld.so'
16232   ;;
16233
16234 netbsdelf*-gnu)
16235   version_type=linux
16236   need_lib_prefix=no
16237   need_version=no
16238   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16239   soname_spec='${libname}${release}${shared_ext}$major'
16240   shlibpath_var=LD_LIBRARY_PATH
16241   shlibpath_overrides_runpath=no
16242   hardcode_into_libs=yes
16243   dynamic_linker='NetBSD ld.elf_so'
16244   ;;
16245
16246 netbsd*)
16247   version_type=sunos
16248   need_lib_prefix=no
16249   need_version=no
16250   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16251     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16252     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16253     dynamic_linker='NetBSD (a.out) ld.so'
16254   else
16255     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16256     soname_spec='${libname}${release}${shared_ext}$major'
16257     dynamic_linker='NetBSD ld.elf_so'
16258   fi
16259   shlibpath_var=LD_LIBRARY_PATH
16260   shlibpath_overrides_runpath=yes
16261   hardcode_into_libs=yes
16262   ;;
16263
16264 newsos6)
16265   version_type=linux # correct to gnu/linux during the next big refactor
16266   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16267   shlibpath_var=LD_LIBRARY_PATH
16268   shlibpath_overrides_runpath=yes
16269   ;;
16270
16271 *nto* | *qnx*)
16272   version_type=qnx
16273   need_lib_prefix=no
16274   need_version=no
16275   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16276   soname_spec='${libname}${release}${shared_ext}$major'
16277   shlibpath_var=LD_LIBRARY_PATH
16278   shlibpath_overrides_runpath=no
16279   hardcode_into_libs=yes
16280   dynamic_linker='ldqnx.so'
16281   ;;
16282
16283 openbsd*)
16284   version_type=sunos
16285   sys_lib_dlsearch_path_spec="/usr/lib"
16286   need_lib_prefix=no
16287   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16288   case $host_os in
16289     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
16290     *)                          need_version=no  ;;
16291   esac
16292   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16293   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16294   shlibpath_var=LD_LIBRARY_PATH
16295   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16296     case $host_os in
16297       openbsd2.[89] | openbsd2.[89].*)
16298         shlibpath_overrides_runpath=no
16299         ;;
16300       *)
16301         shlibpath_overrides_runpath=yes
16302         ;;
16303       esac
16304   else
16305     shlibpath_overrides_runpath=yes
16306   fi
16307   ;;
16308
16309 os2*)
16310   libname_spec='$name'
16311   shrext_cmds=".dll"
16312   need_lib_prefix=no
16313   library_names_spec='$libname${shared_ext} $libname.a'
16314   dynamic_linker='OS/2 ld.exe'
16315   shlibpath_var=LIBPATH
16316   ;;
16317
16318 osf3* | osf4* | osf5*)
16319   version_type=osf
16320   need_lib_prefix=no
16321   need_version=no
16322   soname_spec='${libname}${release}${shared_ext}$major'
16323   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16324   shlibpath_var=LD_LIBRARY_PATH
16325   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16326   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16327   ;;
16328
16329 rdos*)
16330   dynamic_linker=no
16331   ;;
16332
16333 solaris*)
16334   version_type=linux # correct to gnu/linux during the next big refactor
16335   need_lib_prefix=no
16336   need_version=no
16337   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16338   soname_spec='${libname}${release}${shared_ext}$major'
16339   shlibpath_var=LD_LIBRARY_PATH
16340   shlibpath_overrides_runpath=yes
16341   hardcode_into_libs=yes
16342   # ldd complains unless libraries are executable
16343   postinstall_cmds='chmod +x $lib'
16344   ;;
16345
16346 sunos4*)
16347   version_type=sunos
16348   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16349   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16350   shlibpath_var=LD_LIBRARY_PATH
16351   shlibpath_overrides_runpath=yes
16352   if test "$with_gnu_ld" = yes; then
16353     need_lib_prefix=no
16354   fi
16355   need_version=yes
16356   ;;
16357
16358 sysv4 | sysv4.3*)
16359   version_type=linux # correct to gnu/linux during the next big refactor
16360   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16361   soname_spec='${libname}${release}${shared_ext}$major'
16362   shlibpath_var=LD_LIBRARY_PATH
16363   case $host_vendor in
16364     sni)
16365       shlibpath_overrides_runpath=no
16366       need_lib_prefix=no
16367       runpath_var=LD_RUN_PATH
16368       ;;
16369     siemens)
16370       need_lib_prefix=no
16371       ;;
16372     motorola)
16373       need_lib_prefix=no
16374       need_version=no
16375       shlibpath_overrides_runpath=no
16376       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16377       ;;
16378   esac
16379   ;;
16380
16381 sysv4*MP*)
16382   if test -d /usr/nec ;then
16383     version_type=linux # correct to gnu/linux during the next big refactor
16384     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16385     soname_spec='$libname${shared_ext}.$major'
16386     shlibpath_var=LD_LIBRARY_PATH
16387   fi
16388   ;;
16389
16390 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16391   version_type=freebsd-elf
16392   need_lib_prefix=no
16393   need_version=no
16394   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16395   soname_spec='${libname}${release}${shared_ext}$major'
16396   shlibpath_var=LD_LIBRARY_PATH
16397   shlibpath_overrides_runpath=yes
16398   hardcode_into_libs=yes
16399   if test "$with_gnu_ld" = yes; then
16400     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16401   else
16402     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16403     case $host_os in
16404       sco3.2v5*)
16405         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16406         ;;
16407     esac
16408   fi
16409   sys_lib_dlsearch_path_spec='/usr/lib'
16410   ;;
16411
16412 tpf*)
16413   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16414   version_type=linux # correct to gnu/linux during the next big refactor
16415   need_lib_prefix=no
16416   need_version=no
16417   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16418   shlibpath_var=LD_LIBRARY_PATH
16419   shlibpath_overrides_runpath=no
16420   hardcode_into_libs=yes
16421   ;;
16422
16423 uts4*)
16424   version_type=linux # correct to gnu/linux during the next big refactor
16425   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16426   soname_spec='${libname}${release}${shared_ext}$major'
16427   shlibpath_var=LD_LIBRARY_PATH
16428   ;;
16429
16430 *)
16431   dynamic_linker=no
16432   ;;
16433 esac
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16435 $as_echo "$dynamic_linker" >&6; }
16436 test "$dynamic_linker" = no && can_build_shared=no
16437
16438 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16439 if test "$GCC" = yes; then
16440   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16441 fi
16442
16443 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16444   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16445 fi
16446 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16447   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16448 fi
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16488 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16489 hardcode_action_CXX=
16490 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16491    test -n "$runpath_var_CXX" ||
16492    test "X$hardcode_automatic_CXX" = "Xyes" ; then
16493
16494   # We can hardcode non-existent directories.
16495   if test "$hardcode_direct_CXX" != no &&
16496      # If the only mechanism to avoid hardcoding is shlibpath_var, we
16497      # have to relink, otherwise we might link with an installed library
16498      # when we should be linking with a yet-to-be-installed one
16499      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16500      test "$hardcode_minus_L_CXX" != no; then
16501     # Linking always hardcodes the temporary library directory.
16502     hardcode_action_CXX=relink
16503   else
16504     # We can link without hardcoding, and we can hardcode nonexisting dirs.
16505     hardcode_action_CXX=immediate
16506   fi
16507 else
16508   # We cannot hardcode anything, or else we can only hardcode existing
16509   # directories.
16510   hardcode_action_CXX=unsupported
16511 fi
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16513 $as_echo "$hardcode_action_CXX" >&6; }
16514
16515 if test "$hardcode_action_CXX" = relink ||
16516    test "$inherit_rpath_CXX" = yes; then
16517   # Fast installation is not supported
16518   enable_fast_install=no
16519 elif test "$shlibpath_overrides_runpath" = yes ||
16520      test "$enable_shared" = no; then
16521   # Fast installation is not necessary
16522   enable_fast_install=needless
16523 fi
16524
16525
16526
16527
16528
16529
16530
16531   fi # test -n "$compiler"
16532
16533   CC=$lt_save_CC
16534   CFLAGS=$lt_save_CFLAGS
16535   LDCXX=$LD
16536   LD=$lt_save_LD
16537   GCC=$lt_save_GCC
16538   with_gnu_ld=$lt_save_with_gnu_ld
16539   lt_cv_path_LDCXX=$lt_cv_path_LD
16540   lt_cv_path_LD=$lt_save_path_LD
16541   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16542   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16543 fi # test "$_lt_caught_CXX_error" != yes
16544
16545 ac_ext=c
16546 ac_cpp='$CPP $CPPFLAGS'
16547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565         ac_config_commands="$ac_config_commands libtool"
16566
16567
16568
16569
16570 # Only expand once:
16571
16572
16573
16574
16575 for ac_prog in gm4 m4
16576 do
16577   # Extract the first word of "$ac_prog", so it can be a program name with args.
16578 set dummy $ac_prog; ac_word=$2
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16580 $as_echo_n "checking for $ac_word... " >&6; }
16581 if ${ac_cv_prog_M4+:} false; then :
16582   $as_echo_n "(cached) " >&6
16583 else
16584   if test -n "$M4"; then
16585   ac_cv_prog_M4="$M4" # Let the user override the test.
16586 else
16587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16588 for as_dir in $PATH
16589 do
16590   IFS=$as_save_IFS
16591   test -z "$as_dir" && as_dir=.
16592     for ac_exec_ext in '' $ac_executable_extensions; do
16593   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16594     ac_cv_prog_M4="$ac_prog"
16595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16596     break 2
16597   fi
16598 done
16599   done
16600 IFS=$as_save_IFS
16601
16602 fi
16603 fi
16604 M4=$ac_cv_prog_M4
16605 if test -n "$M4"; then
16606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
16607 $as_echo "$M4" >&6; }
16608 else
16609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16610 $as_echo "no" >&6; }
16611 fi
16612
16613
16614   test -n "$M4" && break
16615 done
16616
16617
16618 if test "x$M4" = x; then :
16619   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16621 as_fn_error $? "The GNU M4 macro processor is required for building libsigc++.
16622 See \`config.log' for more details" "$LINENO" 5; }
16623 fi
16624
16625 # Extract the first word of "perl", so it can be a program name with args.
16626 set dummy perl; ac_word=$2
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16628 $as_echo_n "checking for $ac_word... " >&6; }
16629 if ${ac_cv_path_PERL+:} false; then :
16630   $as_echo_n "(cached) " >&6
16631 else
16632   case $PERL in
16633   [\\/]* | ?:[\\/]*)
16634   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16635   ;;
16636   *)
16637   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16638 for as_dir in $PATH
16639 do
16640   IFS=$as_save_IFS
16641   test -z "$as_dir" && as_dir=.
16642     for ac_exec_ext in '' $ac_executable_extensions; do
16643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16644     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16646     break 2
16647   fi
16648 done
16649   done
16650 IFS=$as_save_IFS
16651
16652   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
16653   ;;
16654 esac
16655 fi
16656 PERL=$ac_cv_path_PERL
16657 if test -n "$PERL"; then
16658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16659 $as_echo "$PERL" >&6; }
16660 else
16661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16662 $as_echo "no" >&6; }
16663 fi
16664
16665
16666
16667 # Extract the first word of "dot", so it can be a program name with args.
16668 set dummy dot; ac_word=$2
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16670 $as_echo_n "checking for $ac_word... " >&6; }
16671 if ${ac_cv_path_DOT+:} false; then :
16672   $as_echo_n "(cached) " >&6
16673 else
16674   case $DOT in
16675   [\\/]* | ?:[\\/]*)
16676   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
16677   ;;
16678   *)
16679   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16680 for as_dir in $PATH
16681 do
16682   IFS=$as_save_IFS
16683   test -z "$as_dir" && as_dir=.
16684     for ac_exec_ext in '' $ac_executable_extensions; do
16685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16686     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
16687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16688     break 2
16689   fi
16690 done
16691   done
16692 IFS=$as_save_IFS
16693
16694   test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
16695   ;;
16696 esac
16697 fi
16698 DOT=$ac_cv_path_DOT
16699 if test -n "$DOT"; then
16700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
16701 $as_echo "$DOT" >&6; }
16702 else
16703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16704 $as_echo "no" >&6; }
16705 fi
16706
16707
16708 # Extract the first word of "doxygen", so it can be a program name with args.
16709 set dummy doxygen; ac_word=$2
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16711 $as_echo_n "checking for $ac_word... " >&6; }
16712 if ${ac_cv_path_DOXYGEN+:} false; then :
16713   $as_echo_n "(cached) " >&6
16714 else
16715   case $DOXYGEN in
16716   [\\/]* | ?:[\\/]*)
16717   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
16718   ;;
16719   *)
16720   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16721 for as_dir in $PATH
16722 do
16723   IFS=$as_save_IFS
16724   test -z "$as_dir" && as_dir=.
16725     for ac_exec_ext in '' $ac_executable_extensions; do
16726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16727     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
16728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16729     break 2
16730   fi
16731 done
16732   done
16733 IFS=$as_save_IFS
16734
16735   test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
16736   ;;
16737 esac
16738 fi
16739 DOXYGEN=$ac_cv_path_DOXYGEN
16740 if test -n "$DOXYGEN"; then
16741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
16742 $as_echo "$DOXYGEN" >&6; }
16743 else
16744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16745 $as_echo "no" >&6; }
16746 fi
16747
16748
16749 # Extract the first word of "xsltproc", so it can be a program name with args.
16750 set dummy xsltproc; ac_word=$2
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16752 $as_echo_n "checking for $ac_word... " >&6; }
16753 if ${ac_cv_path_XSLTPROC+:} false; then :
16754   $as_echo_n "(cached) " >&6
16755 else
16756   case $XSLTPROC in
16757   [\\/]* | ?:[\\/]*)
16758   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
16759   ;;
16760   *)
16761   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16762 for as_dir in $PATH
16763 do
16764   IFS=$as_save_IFS
16765   test -z "$as_dir" && as_dir=.
16766     for ac_exec_ext in '' $ac_executable_extensions; do
16767   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16768     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
16769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16770     break 2
16771   fi
16772 done
16773   done
16774 IFS=$as_save_IFS
16775
16776   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
16777   ;;
16778 esac
16779 fi
16780 XSLTPROC=$ac_cv_path_XSLTPROC
16781 if test -n "$XSLTPROC"; then
16782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
16783 $as_echo "$XSLTPROC" >&6; }
16784 else
16785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16786 $as_echo "no" >&6; }
16787 fi
16788
16789
16790 # Check whether --enable-documentation was given.
16791 if test "${enable_documentation+set}" = set; then :
16792   enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
16793 else
16794   ENABLE_DOCUMENTATION=auto
16795 fi
16796
16797 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16798
16799   mm_err=
16800   if test "x$MMDOCTOOLDIR" = x; then :
16801   mm_err='The mm-common-util module is available, but the installation of mm-common on this
16802 machine is missing the shared documentation utilities of the GNOME C++
16803 bindings.  It may be necessary to upgrade to a more recent release of
16804 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
16805 elif test "x$PERL" = xperl; then :
16806   mm_err='Perl is required for installing the documentation.'
16807 elif test "x$USE_MAINTAINER_MODE" != xno; then :
16808
16809     test "x$DOT" != xdot || mm_err=' dot'
16810     test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
16811     test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
16812     test -z "$mm_err" || mm_err='The documentation cannot be generated because
16813 not all of the required tools are available:'$mm_err
16814
16815 fi
16816   if test -z "$mm_err"; then :
16817   ENABLE_DOCUMENTATION=yes
16818 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
16819   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16821 as_fn_error $? "$mm_err
16822 See \`config.log' for more details" "$LINENO" 5; }
16823 else
16824   ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
16825 $as_echo "$as_me: WARNING: $mm_err" >&2;}
16826 fi
16827
16828 fi
16829  if test "x$ENABLE_DOCUMENTATION" = xyes; then
16830   ENABLE_DOCUMENTATION_TRUE=
16831   ENABLE_DOCUMENTATION_FALSE='#'
16832 else
16833   ENABLE_DOCUMENTATION_TRUE='#'
16834   ENABLE_DOCUMENTATION_FALSE=
16835 fi
16836
16837 DOXYGEN_TAGFILES=
16838
16839 DOCINSTALL_FLAGS=
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16850         if test -n "$ac_tool_prefix"; then
16851   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16852 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16854 $as_echo_n "checking for $ac_word... " >&6; }
16855 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16856   $as_echo_n "(cached) " >&6
16857 else
16858   case $PKG_CONFIG in
16859   [\\/]* | ?:[\\/]*)
16860   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16861   ;;
16862   *)
16863   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16864 for as_dir in $PATH
16865 do
16866   IFS=$as_save_IFS
16867   test -z "$as_dir" && as_dir=.
16868     for ac_exec_ext in '' $ac_executable_extensions; do
16869   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16870     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16872     break 2
16873   fi
16874 done
16875   done
16876 IFS=$as_save_IFS
16877
16878   ;;
16879 esac
16880 fi
16881 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16882 if test -n "$PKG_CONFIG"; then
16883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16884 $as_echo "$PKG_CONFIG" >&6; }
16885 else
16886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16887 $as_echo "no" >&6; }
16888 fi
16889
16890
16891 fi
16892 if test -z "$ac_cv_path_PKG_CONFIG"; then
16893   ac_pt_PKG_CONFIG=$PKG_CONFIG
16894   # Extract the first word of "pkg-config", so it can be a program name with args.
16895 set dummy pkg-config; ac_word=$2
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16897 $as_echo_n "checking for $ac_word... " >&6; }
16898 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16899   $as_echo_n "(cached) " >&6
16900 else
16901   case $ac_pt_PKG_CONFIG in
16902   [\\/]* | ?:[\\/]*)
16903   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16904   ;;
16905   *)
16906   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16907 for as_dir in $PATH
16908 do
16909   IFS=$as_save_IFS
16910   test -z "$as_dir" && as_dir=.
16911     for ac_exec_ext in '' $ac_executable_extensions; do
16912   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16913     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16915     break 2
16916   fi
16917 done
16918   done
16919 IFS=$as_save_IFS
16920
16921   ;;
16922 esac
16923 fi
16924 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16925 if test -n "$ac_pt_PKG_CONFIG"; then
16926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16927 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16928 else
16929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16930 $as_echo "no" >&6; }
16931 fi
16932
16933   if test "x$ac_pt_PKG_CONFIG" = x; then
16934     PKG_CONFIG=""
16935   else
16936     case $cross_compiling:$ac_tool_warned in
16937 yes:)
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16940 ac_tool_warned=yes ;;
16941 esac
16942     PKG_CONFIG=$ac_pt_PKG_CONFIG
16943   fi
16944 else
16945   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16946 fi
16947
16948 fi
16949 if test -n "$PKG_CONFIG"; then
16950         _pkg_min_version=0.9.0
16951         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16952 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16953         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16954                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16955 $as_echo "yes" >&6; }
16956         else
16957                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16958 $as_echo "no" >&6; }
16959                 PKG_CONFIG=""
16960         fi
16961 fi
16962 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16963     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
16964 $as_echo_n "checking for libstdc documentation... " >&6; }
16965
16966 # Check whether --with-libstdc-doc was given.
16967 if test "${with_libstdc_doc+set}" = set; then :
16968   withval=$with_libstdc_doc;
16969     mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16970     mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16971     mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16972     test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
16973     test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16974 else
16975
16976     mm_htmlrefdir=
16977     mm_tagname="libstdc++.tag"
16978     mm_tagpath=$mm_tagname
16979 fi
16980
16981   # Prepend working direcory if the tag file path starts with ./ or ../
16982   case $mm_tagpath in #(
16983   .[\\/]*|..[\\/]*) :
16984     mm_tagpath=`pwd`/$mm_tagpath ;; #(
16985   *) :
16986      ;;
16987 esac
16988
16989   # If no local directory was specified, get the default from the .pc file
16990   if test "x$mm_htmlrefdir" = x; then :
16991
16992     mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
16993 fi
16994   # If the user specified a Web URL, allow it to override the public location
16995   case $mm_htmlrefdir in #(
16996   http://*|https://*) :
16997     mm_htmlrefpub=$mm_htmlrefdir ;; #(
16998   *) :
16999
17000     mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
17001     test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
17002     test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
17003    ;;
17004 esac
17005   # The user-supplied tag-file name takes precedence if it includes the path
17006   case $mm_tagpath in #(
17007   *[\\/]*) :
17008      ;; #(
17009   *) :
17010
17011     mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
17012     test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
17013    ;;
17014 esac
17015   # Remove trailing slashes and translate to URI
17016   mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17017   mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17018
17019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
17020 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
17021
17022   if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
17023   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
17024 $as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
17025 fi
17026   if test "x$mm_htmlrefdir" = x; then :
17027   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
17028 $as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
17029 else
17030   if test "x$DOCINSTALL_FLAGS" = x; then :
17031   DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
17032 else
17033   DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
17034 fi
17035 fi
17036
17037   if test "x$mm_htmlrefpub" = x; then :
17038   mm_val=$mm_tagpath
17039 else
17040   mm_val="$mm_tagpath=$mm_htmlrefpub"
17041 fi
17042   if test "x$DOXYGEN_TAGFILES" = x; then :
17043   DOXYGEN_TAGFILES=\"$mm_val\"
17044 else
17045   DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
17046 fi
17047 fi
17048
17049 ac_ext=cpp
17050 ac_cpp='$CXXCPP $CPPFLAGS'
17051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17054
17055
17056 if test "x$config_error" = xyes; then :
17057   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17059 as_fn_error $? "One or more of the required C++ compiler features is missing.
17060 See \`config.log' for more details" "$LINENO" 5; }
17061 fi
17062
17063 # Evaluate the --enable-warnings=level option.
17064 # Check whether --enable-warnings was given.
17065 if test "${enable_warnings+set}" = set; then :
17066   enableval=$enable_warnings; mm_enable_warnings=$enableval
17067 else
17068   mm_enable_warnings=min
17069 fi
17070
17071 case $ac_compile in #(
17072   *'$CXXFLAGS '*) :
17073     mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
17074   *'$CFLAGS '*) :
17075     mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
17076   *) :
17077     as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
17078 esac
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
17080 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
17081 mm_tested_flags=
17082 case $mm_enable_warnings in #(
17083   no) :
17084     mm_warning_flags= ;; #(
17085   max) :
17086     mm_warning_flags="-pedantic -Wall -Wextra -Wsuggest-override -Wshadow -Wzero-as-null-pointer-constant -Wformat-security" ;; #(
17087   fatal) :
17088     mm_warning_flags="-pedantic -Wall -Wextra -Wsuggest-override -Wshadow -Wzero-as-null-pointer-constant -Wformat-security -Werror" ;; #(
17089   *) :
17090     mm_warning_flags="-Wall" ;;
17091 esac
17092 if test "x$mm_warning_flags" != x; then :
17093
17094   # Keep in mind that the dummy source must be devoid of any
17095   # problems that might cause diagnostics.
17096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h.  */
17098
17099 int main(int argc, char** argv) { return !argv ? 0 : argc; }
17100
17101 _ACEOF
17102   for mm_flag in $mm_warning_flags
17103   do
17104     # Test whether the compiler accepts the flag.  Look at standard output,
17105     # since GCC only shows a warning message if an option is not supported.
17106     mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
17107     rm -f "conftest.${OBJEXT-o}"
17108
17109     if test "x$mm_cc_out" = x; then :
17110   if test "x$mm_tested_flags" = x; then :
17111   mm_tested_flags=$mm_flag
17112 else
17113   mm_tested_flags="$mm_tested_flags $mm_flag"
17114 fi
17115 else
17116   cat <<_MMEOF >&5
17117 $mm_cc: $mm_cc_out
17118 _MMEOF
17119
17120 fi
17121   done
17122   rm -f "$mm_conftest"
17123
17124 fi
17125 mm_all_flags=$mm_tested_flags
17126 SIGC_WXXFLAGS=$mm_all_flags
17127
17128 test "x$mm_all_flags" != x || mm_all_flags=none
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
17130 $as_echo "$mm_all_flags" >&6; }
17131
17132 # Offer the ability to omit some API from the library.
17133 # Check whether --enable-deprecated-api was given.
17134 if test "${enable_deprecated_api+set}" = set; then :
17135   enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
17136 else
17137   mm_enable_deprecated_api=yes
17138 fi
17139 if test "x$mm_enable_deprecated_api" = xno; then :
17140   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
17141 Do not use this option for distribution packages." >&5
17142 $as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
17143 Do not use this option for distribution packages." >&2;}
17144 else
17145   { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
17146 $as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
17147 fi
17148  if test "x$mm_enable_deprecated_api" = xno; then
17149   DISABLE_DEPRECATED_API_TRUE=
17150   DISABLE_DEPRECATED_API_FALSE='#'
17151 else
17152   DISABLE_DEPRECATED_API_TRUE='#'
17153   DISABLE_DEPRECATED_API_FALSE=
17154 fi
17155
17156 if test "x$mm_enable_deprecated_api" = xno; then :
17157
17158 $as_echo "#define SIGCXX_DISABLE_DEPRECATED 1" >>confdefs.h
17159
17160
17161 fi
17162
17163 ac_config_files="$ac_config_files Makefile ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in cmake/Makefile sigc++/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2013/sigc.rc"
17164
17165
17166 # Copy the generated configuration headers into the MSVC project directories.
17167 ac_config_commands="$ac_config_commands MSVC_Net2013/sigc++config.h"
17168
17169 cat >confcache <<\_ACEOF
17170 # This file is a shell script that caches the results of configure
17171 # tests run on this system so they can be shared between configure
17172 # scripts and configure runs, see configure's option --config-cache.
17173 # It is not useful on other systems.  If it contains results you don't
17174 # want to keep, you may remove or edit it.
17175 #
17176 # config.status only pays attention to the cache file if you give it
17177 # the --recheck option to rerun configure.
17178 #
17179 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17180 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17181 # following values.
17182
17183 _ACEOF
17184
17185 # The following way of writing the cache mishandles newlines in values,
17186 # but we know of no workaround that is simple, portable, and efficient.
17187 # So, we kill variables containing newlines.
17188 # Ultrix sh set writes to stderr and can't be redirected directly,
17189 # and sets the high bit in the cache file unless we assign to the vars.
17190 (
17191   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17192     eval ac_val=\$$ac_var
17193     case $ac_val in #(
17194     *${as_nl}*)
17195       case $ac_var in #(
17196       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17197 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17198       esac
17199       case $ac_var in #(
17200       _ | IFS | as_nl) ;; #(
17201       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17202       *) { eval $ac_var=; unset $ac_var;} ;;
17203       esac ;;
17204     esac
17205   done
17206
17207   (set) 2>&1 |
17208     case $as_nl`(ac_space=' '; set) 2>&1` in #(
17209     *${as_nl}ac_space=\ *)
17210       # `set' does not quote correctly, so add quotes: double-quote
17211       # substitution turns \\\\ into \\, and sed turns \\ into \.
17212       sed -n \
17213         "s/'/'\\\\''/g;
17214           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17215       ;; #(
17216     *)
17217       # `set' quotes correctly as required by POSIX, so do not add quotes.
17218       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17219       ;;
17220     esac |
17221     sort
17222 ) |
17223   sed '
17224      /^ac_cv_env_/b end
17225      t clear
17226      :clear
17227      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17228      t end
17229      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17230      :end' >>confcache
17231 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17232   if test -w "$cache_file"; then
17233     if test "x$cache_file" != "x/dev/null"; then
17234       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17235 $as_echo "$as_me: updating cache $cache_file" >&6;}
17236       if test ! -f "$cache_file" || test -h "$cache_file"; then
17237         cat confcache >"$cache_file"
17238       else
17239         case $cache_file in #(
17240         */* | ?:*)
17241           mv -f confcache "$cache_file"$$ &&
17242           mv -f "$cache_file"$$ "$cache_file" ;; #(
17243         *)
17244           mv -f confcache "$cache_file" ;;
17245         esac
17246       fi
17247     fi
17248   else
17249     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17250 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17251   fi
17252 fi
17253 rm -f confcache
17254
17255 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17256 # Let make expand exec_prefix.
17257 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17258
17259 DEFS=-DHAVE_CONFIG_H
17260
17261 ac_libobjs=
17262 ac_ltlibobjs=
17263 U=
17264 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17265   # 1. Remove the extension, and $U if already installed.
17266   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17267   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17268   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17269   #    will be set to the directory where LIBOBJS objects are built.
17270   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17271   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17272 done
17273 LIBOBJS=$ac_libobjs
17274
17275 LTLIBOBJS=$ac_ltlibobjs
17276
17277
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17279 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17280    if test -n "$am_sleep_pid"; then
17281      # Hide warnings about reused PIDs.
17282      wait $am_sleep_pid 2>/dev/null
17283    fi
17284    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17285 $as_echo "done" >&6; }
17286  if test -n "$EXEEXT"; then
17287   am__EXEEXT_TRUE=
17288   am__EXEEXT_FALSE='#'
17289 else
17290   am__EXEEXT_TRUE='#'
17291   am__EXEEXT_FALSE=
17292 fi
17293
17294 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17295   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17297 fi
17298 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
17299   as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
17300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17301 fi
17302 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17303   as_fn_error $? "conditional \"AMDEP\" was never defined.
17304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17305 fi
17306 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17307   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17309 fi
17310 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17311   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17313 fi
17314 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
17315   as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
17316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17317 fi
17318 if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
17319   as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
17320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17321 fi
17322
17323 : "${CONFIG_STATUS=./config.status}"
17324 ac_write_fail=0
17325 ac_clean_files_save=$ac_clean_files
17326 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17328 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17329 as_write_fail=0
17330 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17331 #! $SHELL
17332 # Generated by $as_me.
17333 # Run this file to recreate the current configuration.
17334 # Compiler output produced by configure, useful for debugging
17335 # configure, is in config.log if it exists.
17336
17337 debug=false
17338 ac_cs_recheck=false
17339 ac_cs_silent=false
17340
17341 SHELL=\${CONFIG_SHELL-$SHELL}
17342 export SHELL
17343 _ASEOF
17344 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17345 ## -------------------- ##
17346 ## M4sh Initialization. ##
17347 ## -------------------- ##
17348
17349 # Be more Bourne compatible
17350 DUALCASE=1; export DUALCASE # for MKS sh
17351 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17352   emulate sh
17353   NULLCMD=:
17354   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17355   # is contrary to our usage.  Disable this feature.
17356   alias -g '${1+"$@"}'='"$@"'
17357   setopt NO_GLOB_SUBST
17358 else
17359   case `(set -o) 2>/dev/null` in #(
17360   *posix*) :
17361     set -o posix ;; #(
17362   *) :
17363      ;;
17364 esac
17365 fi
17366
17367
17368 as_nl='
17369 '
17370 export as_nl
17371 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17372 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17373 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17374 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17375 # Prefer a ksh shell builtin over an external printf program on Solaris,
17376 # but without wasting forks for bash or zsh.
17377 if test -z "$BASH_VERSION$ZSH_VERSION" \
17378     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17379   as_echo='print -r --'
17380   as_echo_n='print -rn --'
17381 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17382   as_echo='printf %s\n'
17383   as_echo_n='printf %s'
17384 else
17385   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17386     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17387     as_echo_n='/usr/ucb/echo -n'
17388   else
17389     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17390     as_echo_n_body='eval
17391       arg=$1;
17392       case $arg in #(
17393       *"$as_nl"*)
17394         expr "X$arg" : "X\\(.*\\)$as_nl";
17395         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17396       esac;
17397       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17398     '
17399     export as_echo_n_body
17400     as_echo_n='sh -c $as_echo_n_body as_echo'
17401   fi
17402   export as_echo_body
17403   as_echo='sh -c $as_echo_body as_echo'
17404 fi
17405
17406 # The user is always right.
17407 if test "${PATH_SEPARATOR+set}" != set; then
17408   PATH_SEPARATOR=:
17409   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17410     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17411       PATH_SEPARATOR=';'
17412   }
17413 fi
17414
17415
17416 # IFS
17417 # We need space, tab and new line, in precisely that order.  Quoting is
17418 # there to prevent editors from complaining about space-tab.
17419 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17420 # splitting by setting IFS to empty value.)
17421 IFS=" ""        $as_nl"
17422
17423 # Find who we are.  Look in the path if we contain no directory separator.
17424 as_myself=
17425 case $0 in #((
17426   *[\\/]* ) as_myself=$0 ;;
17427   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17428 for as_dir in $PATH
17429 do
17430   IFS=$as_save_IFS
17431   test -z "$as_dir" && as_dir=.
17432     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17433   done
17434 IFS=$as_save_IFS
17435
17436      ;;
17437 esac
17438 # We did not find ourselves, most probably we were run as `sh COMMAND'
17439 # in which case we are not to be found in the path.
17440 if test "x$as_myself" = x; then
17441   as_myself=$0
17442 fi
17443 if test ! -f "$as_myself"; then
17444   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17445   exit 1
17446 fi
17447
17448 # Unset variables that we do not need and which cause bugs (e.g. in
17449 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17450 # suppresses any "Segmentation fault" message there.  '((' could
17451 # trigger a bug in pdksh 5.2.14.
17452 for as_var in BASH_ENV ENV MAIL MAILPATH
17453 do eval test x\${$as_var+set} = xset \
17454   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17455 done
17456 PS1='$ '
17457 PS2='> '
17458 PS4='+ '
17459
17460 # NLS nuisances.
17461 LC_ALL=C
17462 export LC_ALL
17463 LANGUAGE=C
17464 export LANGUAGE
17465
17466 # CDPATH.
17467 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17468
17469
17470 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17471 # ----------------------------------------
17472 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17473 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17474 # script with STATUS, using 1 if that was 0.
17475 as_fn_error ()
17476 {
17477   as_status=$1; test $as_status -eq 0 && as_status=1
17478   if test "$4"; then
17479     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17480     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17481   fi
17482   $as_echo "$as_me: error: $2" >&2
17483   as_fn_exit $as_status
17484 } # as_fn_error
17485
17486
17487 # as_fn_set_status STATUS
17488 # -----------------------
17489 # Set $? to STATUS, without forking.
17490 as_fn_set_status ()
17491 {
17492   return $1
17493 } # as_fn_set_status
17494
17495 # as_fn_exit STATUS
17496 # -----------------
17497 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17498 as_fn_exit ()
17499 {
17500   set +e
17501   as_fn_set_status $1
17502   exit $1
17503 } # as_fn_exit
17504
17505 # as_fn_unset VAR
17506 # ---------------
17507 # Portably unset VAR.
17508 as_fn_unset ()
17509 {
17510   { eval $1=; unset $1;}
17511 }
17512 as_unset=as_fn_unset
17513 # as_fn_append VAR VALUE
17514 # ----------------------
17515 # Append the text in VALUE to the end of the definition contained in VAR. Take
17516 # advantage of any shell optimizations that allow amortized linear growth over
17517 # repeated appends, instead of the typical quadratic growth present in naive
17518 # implementations.
17519 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17520   eval 'as_fn_append ()
17521   {
17522     eval $1+=\$2
17523   }'
17524 else
17525   as_fn_append ()
17526   {
17527     eval $1=\$$1\$2
17528   }
17529 fi # as_fn_append
17530
17531 # as_fn_arith ARG...
17532 # ------------------
17533 # Perform arithmetic evaluation on the ARGs, and store the result in the
17534 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17535 # must be portable across $(()) and expr.
17536 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17537   eval 'as_fn_arith ()
17538   {
17539     as_val=$(( $* ))
17540   }'
17541 else
17542   as_fn_arith ()
17543   {
17544     as_val=`expr "$@" || test $? -eq 1`
17545   }
17546 fi # as_fn_arith
17547
17548
17549 if expr a : '\(a\)' >/dev/null 2>&1 &&
17550    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17551   as_expr=expr
17552 else
17553   as_expr=false
17554 fi
17555
17556 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17557   as_basename=basename
17558 else
17559   as_basename=false
17560 fi
17561
17562 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17563   as_dirname=dirname
17564 else
17565   as_dirname=false
17566 fi
17567
17568 as_me=`$as_basename -- "$0" ||
17569 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17570          X"$0" : 'X\(//\)$' \| \
17571          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17572 $as_echo X/"$0" |
17573     sed '/^.*\/\([^/][^/]*\)\/*$/{
17574             s//\1/
17575             q
17576           }
17577           /^X\/\(\/\/\)$/{
17578             s//\1/
17579             q
17580           }
17581           /^X\/\(\/\).*/{
17582             s//\1/
17583             q
17584           }
17585           s/.*/./; q'`
17586
17587 # Avoid depending upon Character Ranges.
17588 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17589 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17590 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17591 as_cr_digits='0123456789'
17592 as_cr_alnum=$as_cr_Letters$as_cr_digits
17593
17594 ECHO_C= ECHO_N= ECHO_T=
17595 case `echo -n x` in #(((((
17596 -n*)
17597   case `echo 'xy\c'` in
17598   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17599   xy)  ECHO_C='\c';;
17600   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17601        ECHO_T=' ';;
17602   esac;;
17603 *)
17604   ECHO_N='-n';;
17605 esac
17606
17607 rm -f conf$$ conf$$.exe conf$$.file
17608 if test -d conf$$.dir; then
17609   rm -f conf$$.dir/conf$$.file
17610 else
17611   rm -f conf$$.dir
17612   mkdir conf$$.dir 2>/dev/null
17613 fi
17614 if (echo >conf$$.file) 2>/dev/null; then
17615   if ln -s conf$$.file conf$$ 2>/dev/null; then
17616     as_ln_s='ln -s'
17617     # ... but there are two gotchas:
17618     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17619     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17620     # In both cases, we have to default to `cp -pR'.
17621     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17622       as_ln_s='cp -pR'
17623   elif ln conf$$.file conf$$ 2>/dev/null; then
17624     as_ln_s=ln
17625   else
17626     as_ln_s='cp -pR'
17627   fi
17628 else
17629   as_ln_s='cp -pR'
17630 fi
17631 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17632 rmdir conf$$.dir 2>/dev/null
17633
17634
17635 # as_fn_mkdir_p
17636 # -------------
17637 # Create "$as_dir" as a directory, including parents if necessary.
17638 as_fn_mkdir_p ()
17639 {
17640
17641   case $as_dir in #(
17642   -*) as_dir=./$as_dir;;
17643   esac
17644   test -d "$as_dir" || eval $as_mkdir_p || {
17645     as_dirs=
17646     while :; do
17647       case $as_dir in #(
17648       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17649       *) as_qdir=$as_dir;;
17650       esac
17651       as_dirs="'$as_qdir' $as_dirs"
17652       as_dir=`$as_dirname -- "$as_dir" ||
17653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17654          X"$as_dir" : 'X\(//\)[^/]' \| \
17655          X"$as_dir" : 'X\(//\)$' \| \
17656          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17657 $as_echo X"$as_dir" |
17658     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17659             s//\1/
17660             q
17661           }
17662           /^X\(\/\/\)[^/].*/{
17663             s//\1/
17664             q
17665           }
17666           /^X\(\/\/\)$/{
17667             s//\1/
17668             q
17669           }
17670           /^X\(\/\).*/{
17671             s//\1/
17672             q
17673           }
17674           s/.*/./; q'`
17675       test -d "$as_dir" && break
17676     done
17677     test -z "$as_dirs" || eval "mkdir $as_dirs"
17678   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17679
17680
17681 } # as_fn_mkdir_p
17682 if mkdir -p . 2>/dev/null; then
17683   as_mkdir_p='mkdir -p "$as_dir"'
17684 else
17685   test -d ./-p && rmdir ./-p
17686   as_mkdir_p=false
17687 fi
17688
17689
17690 # as_fn_executable_p FILE
17691 # -----------------------
17692 # Test if FILE is an executable regular file.
17693 as_fn_executable_p ()
17694 {
17695   test -f "$1" && test -x "$1"
17696 } # as_fn_executable_p
17697 as_test_x='test -x'
17698 as_executable_p=as_fn_executable_p
17699
17700 # Sed expression to map a string onto a valid CPP name.
17701 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17702
17703 # Sed expression to map a string onto a valid variable name.
17704 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17705
17706
17707 exec 6>&1
17708 ## ----------------------------------- ##
17709 ## Main body of $CONFIG_STATUS script. ##
17710 ## ----------------------------------- ##
17711 _ASEOF
17712 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17713
17714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17715 # Save the log message, to keep $0 and so on meaningful, and to
17716 # report actual input values of CONFIG_FILES etc. instead of their
17717 # values after options handling.
17718 ac_log="
17719 This file was extended by libsigc++ $as_me 2.99.2, which was
17720 generated by GNU Autoconf 2.69.  Invocation command line was
17721
17722   CONFIG_FILES    = $CONFIG_FILES
17723   CONFIG_HEADERS  = $CONFIG_HEADERS
17724   CONFIG_LINKS    = $CONFIG_LINKS
17725   CONFIG_COMMANDS = $CONFIG_COMMANDS
17726   $ $0 $@
17727
17728 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17729 "
17730
17731 _ACEOF
17732
17733 case $ac_config_files in *"
17734 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17735 esac
17736
17737 case $ac_config_headers in *"
17738 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17739 esac
17740
17741
17742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17743 # Files that config.status was made for.
17744 config_files="$ac_config_files"
17745 config_headers="$ac_config_headers"
17746 config_commands="$ac_config_commands"
17747
17748 _ACEOF
17749
17750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17751 ac_cs_usage="\
17752 \`$as_me' instantiates files and other configuration actions
17753 from templates according to the current configuration.  Unless the files
17754 and actions are specified as TAGs, all are instantiated by default.
17755
17756 Usage: $0 [OPTION]... [TAG]...
17757
17758   -h, --help       print this help, then exit
17759   -V, --version    print version number and configuration settings, then exit
17760       --config     print configuration, then exit
17761   -q, --quiet, --silent
17762                    do not print progress messages
17763   -d, --debug      don't remove temporary files
17764       --recheck    update $as_me by reconfiguring in the same conditions
17765       --file=FILE[:TEMPLATE]
17766                    instantiate the configuration file FILE
17767       --header=FILE[:TEMPLATE]
17768                    instantiate the configuration header FILE
17769
17770 Configuration files:
17771 $config_files
17772
17773 Configuration headers:
17774 $config_headers
17775
17776 Configuration commands:
17777 $config_commands
17778
17779 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
17780 libsigc++ home page: <http://libsigc.sourceforge.net/>."
17781
17782 _ACEOF
17783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17784 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17785 ac_cs_version="\\
17786 libsigc++ config.status 2.99.2
17787 configured by $0, generated by GNU Autoconf 2.69,
17788   with options \\"\$ac_cs_config\\"
17789
17790 Copyright (C) 2012 Free Software Foundation, Inc.
17791 This config.status script is free software; the Free Software Foundation
17792 gives unlimited permission to copy, distribute and modify it."
17793
17794 ac_pwd='$ac_pwd'
17795 srcdir='$srcdir'
17796 INSTALL='$INSTALL'
17797 MKDIR_P='$MKDIR_P'
17798 AWK='$AWK'
17799 test -n "\$AWK" || AWK=awk
17800 _ACEOF
17801
17802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17803 # The default lists apply if the user does not specify any file.
17804 ac_need_defaults=:
17805 while test $# != 0
17806 do
17807   case $1 in
17808   --*=?*)
17809     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17810     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17811     ac_shift=:
17812     ;;
17813   --*=)
17814     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17815     ac_optarg=
17816     ac_shift=:
17817     ;;
17818   *)
17819     ac_option=$1
17820     ac_optarg=$2
17821     ac_shift=shift
17822     ;;
17823   esac
17824
17825   case $ac_option in
17826   # Handling of the options.
17827   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17828     ac_cs_recheck=: ;;
17829   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17830     $as_echo "$ac_cs_version"; exit ;;
17831   --config | --confi | --conf | --con | --co | --c )
17832     $as_echo "$ac_cs_config"; exit ;;
17833   --debug | --debu | --deb | --de | --d | -d )
17834     debug=: ;;
17835   --file | --fil | --fi | --f )
17836     $ac_shift
17837     case $ac_optarg in
17838     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17839     '') as_fn_error $? "missing file argument" ;;
17840     esac
17841     as_fn_append CONFIG_FILES " '$ac_optarg'"
17842     ac_need_defaults=false;;
17843   --header | --heade | --head | --hea )
17844     $ac_shift
17845     case $ac_optarg in
17846     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17847     esac
17848     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17849     ac_need_defaults=false;;
17850   --he | --h)
17851     # Conflict between --help and --header
17852     as_fn_error $? "ambiguous option: \`$1'
17853 Try \`$0 --help' for more information.";;
17854   --help | --hel | -h )
17855     $as_echo "$ac_cs_usage"; exit ;;
17856   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17857   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17858     ac_cs_silent=: ;;
17859
17860   # This is an error.
17861   -*) as_fn_error $? "unrecognized option: \`$1'
17862 Try \`$0 --help' for more information." ;;
17863
17864   *) as_fn_append ac_config_targets " $1"
17865      ac_need_defaults=false ;;
17866
17867   esac
17868   shift
17869 done
17870
17871 ac_configure_extra_args=
17872
17873 if $ac_cs_silent; then
17874   exec 6>/dev/null
17875   ac_configure_extra_args="$ac_configure_extra_args --silent"
17876 fi
17877
17878 _ACEOF
17879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17880 if \$ac_cs_recheck; then
17881   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17882   shift
17883   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17884   CONFIG_SHELL='$SHELL'
17885   export CONFIG_SHELL
17886   exec "\$@"
17887 fi
17888
17889 _ACEOF
17890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17891 exec 5>>config.log
17892 {
17893   echo
17894   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17895 ## Running $as_me. ##
17896 _ASBOX
17897   $as_echo "$ac_log"
17898 } >&5
17899
17900 _ACEOF
17901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17902 #
17903 # INIT-COMMANDS
17904 #
17905 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17906
17907
17908 # The HP-UX ksh and POSIX shell print the target directory to stdout
17909 # if CDPATH is set.
17910 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17911
17912 sed_quote_subst='$sed_quote_subst'
17913 double_quote_subst='$double_quote_subst'
17914 delay_variable_subst='$delay_variable_subst'
17915 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17916 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17917 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17918 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17919 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17920 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17921 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17922 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17923 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17924 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17925 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17926 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17927 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17928 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17929 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17930 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17931 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17932 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17933 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17934 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17935 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17936 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17937 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17938 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17939 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17940 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17941 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17942 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17943 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17944 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17945 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17946 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17947 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17948 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17949 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17950 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17951 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17952 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17953 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17954 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17955 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17956 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17957 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17958 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17959 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17960 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17961 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17962 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17963 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17964 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17965 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17966 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17967 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17968 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17969 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17970 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17971 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17972 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"`'
17973 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17974 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17975 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17976 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17977 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17978 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17979 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17980 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17981 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17982 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17983 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17984 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17985 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17986 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17987 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17988 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17989 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17990 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17991 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17992 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17993 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17994 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17995 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17996 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17997 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17998 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17999 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18000 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18001 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18002 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18003 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18004 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18005 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18006 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18007 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18008 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18009 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18010 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18011 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18012 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18013 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18014 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18015 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18016 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18017 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18018 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18019 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18020 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18021 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18022 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18023 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18024 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18025 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18026 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18027 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18028 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18029 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18030 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18031 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18032 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18033 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18034 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18035 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18036 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18037 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18038 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18039 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18040 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18041 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18042 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18043 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18044 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18045 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18046 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18047 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18048 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18049 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18050 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18051 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18052 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18053 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18054 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18055 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18056 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18057 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18058 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18059 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18060 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18061 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18062 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18063 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18064 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18065 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18066 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18067 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18068 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18069 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18070 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18071 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18072 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18073 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18074 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18075 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18076 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18077 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18078 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18079 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18080 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18081 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18082 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18083 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18084 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18085 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18086 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18087 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18088 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18089 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18090 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18091 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18092 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18093 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18094 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18095 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18096 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18097 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18098 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18099 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18100
18101 LTCC='$LTCC'
18102 LTCFLAGS='$LTCFLAGS'
18103 compiler='$compiler_DEFAULT'
18104
18105 # A function that is used when there is no print builtin or printf.
18106 func_fallback_echo ()
18107 {
18108   eval 'cat <<_LTECHO_EOF
18109 \$1
18110 _LTECHO_EOF'
18111 }
18112
18113 # Quote evaled strings.
18114 for var in AS \
18115 DLLTOOL \
18116 OBJDUMP \
18117 SHELL \
18118 ECHO \
18119 PATH_SEPARATOR \
18120 SED \
18121 GREP \
18122 EGREP \
18123 FGREP \
18124 LD \
18125 NM \
18126 LN_S \
18127 lt_SP2NL \
18128 lt_NL2SP \
18129 reload_flag \
18130 deplibs_check_method \
18131 file_magic_cmd \
18132 file_magic_glob \
18133 want_nocaseglob \
18134 sharedlib_from_linklib_cmd \
18135 AR \
18136 AR_FLAGS \
18137 archiver_list_spec \
18138 STRIP \
18139 RANLIB \
18140 CC \
18141 CFLAGS \
18142 compiler \
18143 lt_cv_sys_global_symbol_pipe \
18144 lt_cv_sys_global_symbol_to_cdecl \
18145 lt_cv_sys_global_symbol_to_c_name_address \
18146 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18147 nm_file_list_spec \
18148 lt_prog_compiler_no_builtin_flag \
18149 lt_prog_compiler_pic \
18150 lt_prog_compiler_wl \
18151 lt_prog_compiler_static \
18152 lt_cv_prog_compiler_c_o \
18153 need_locks \
18154 MANIFEST_TOOL \
18155 DSYMUTIL \
18156 NMEDIT \
18157 LIPO \
18158 OTOOL \
18159 OTOOL64 \
18160 shrext_cmds \
18161 export_dynamic_flag_spec \
18162 whole_archive_flag_spec \
18163 compiler_needs_object \
18164 with_gnu_ld \
18165 allow_undefined_flag \
18166 no_undefined_flag \
18167 hardcode_libdir_flag_spec \
18168 hardcode_libdir_separator \
18169 exclude_expsyms \
18170 include_expsyms \
18171 file_list_spec \
18172 variables_saved_for_relink \
18173 libname_spec \
18174 library_names_spec \
18175 soname_spec \
18176 install_override_mode \
18177 finish_eval \
18178 old_striplib \
18179 striplib \
18180 compiler_lib_search_dirs \
18181 predep_objects \
18182 postdep_objects \
18183 predeps \
18184 postdeps \
18185 compiler_lib_search_path \
18186 LD_CXX \
18187 reload_flag_CXX \
18188 compiler_CXX \
18189 lt_prog_compiler_no_builtin_flag_CXX \
18190 lt_prog_compiler_pic_CXX \
18191 lt_prog_compiler_wl_CXX \
18192 lt_prog_compiler_static_CXX \
18193 lt_cv_prog_compiler_c_o_CXX \
18194 export_dynamic_flag_spec_CXX \
18195 whole_archive_flag_spec_CXX \
18196 compiler_needs_object_CXX \
18197 with_gnu_ld_CXX \
18198 allow_undefined_flag_CXX \
18199 no_undefined_flag_CXX \
18200 hardcode_libdir_flag_spec_CXX \
18201 hardcode_libdir_separator_CXX \
18202 exclude_expsyms_CXX \
18203 include_expsyms_CXX \
18204 file_list_spec_CXX \
18205 compiler_lib_search_dirs_CXX \
18206 predep_objects_CXX \
18207 postdep_objects_CXX \
18208 predeps_CXX \
18209 postdeps_CXX \
18210 compiler_lib_search_path_CXX; do
18211     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18212     *[\\\\\\\`\\"\\\$]*)
18213       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18214       ;;
18215     *)
18216       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18217       ;;
18218     esac
18219 done
18220
18221 # Double-quote double-evaled strings.
18222 for var in reload_cmds \
18223 old_postinstall_cmds \
18224 old_postuninstall_cmds \
18225 old_archive_cmds \
18226 extract_expsyms_cmds \
18227 old_archive_from_new_cmds \
18228 old_archive_from_expsyms_cmds \
18229 archive_cmds \
18230 archive_expsym_cmds \
18231 module_cmds \
18232 module_expsym_cmds \
18233 export_symbols_cmds \
18234 prelink_cmds \
18235 postlink_cmds \
18236 postinstall_cmds \
18237 postuninstall_cmds \
18238 finish_cmds \
18239 sys_lib_search_path_spec \
18240 sys_lib_dlsearch_path_spec \
18241 reload_cmds_CXX \
18242 old_archive_cmds_CXX \
18243 old_archive_from_new_cmds_CXX \
18244 old_archive_from_expsyms_cmds_CXX \
18245 archive_cmds_CXX \
18246 archive_expsym_cmds_CXX \
18247 module_cmds_CXX \
18248 module_expsym_cmds_CXX \
18249 export_symbols_cmds_CXX \
18250 prelink_cmds_CXX \
18251 postlink_cmds_CXX; do
18252     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18253     *[\\\\\\\`\\"\\\$]*)
18254       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18255       ;;
18256     *)
18257       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18258       ;;
18259     esac
18260 done
18261
18262 ac_aux_dir='$ac_aux_dir'
18263 xsi_shell='$xsi_shell'
18264 lt_shell_append='$lt_shell_append'
18265
18266 # See if we are running on zsh, and set the options which allow our
18267 # commands through without removal of \ escapes INIT.
18268 if test -n "\${ZSH_VERSION+set}" ; then
18269    setopt NO_GLOB_SUBST
18270 fi
18271
18272
18273     PACKAGE='$PACKAGE'
18274     VERSION='$VERSION'
18275     TIMESTAMP='$TIMESTAMP'
18276     RM='$RM'
18277     ofile='$ofile'
18278
18279
18280
18281
18282
18283
18284 _ACEOF
18285
18286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18287
18288 # Handling of arguments.
18289 for ac_config_target in $ac_config_targets
18290 do
18291   case $ac_config_target in
18292     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18293     "sigc++config.h") CONFIG_HEADERS="$CONFIG_HEADERS sigc++config.h" ;;
18294     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18295     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18296     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18297     "${SIGCXX_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in" ;;
18298     "${SIGCXX_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in" ;;
18299     "cmake/Makefile") CONFIG_FILES="$CONFIG_FILES cmake/Makefile" ;;
18300     "sigc++/Makefile") CONFIG_FILES="$CONFIG_FILES sigc++/Makefile" ;;
18301     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
18302     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
18303     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
18304     "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
18305     "MSVC_Net2013/sigc.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2013/sigc.rc" ;;
18306     "MSVC_Net2013/sigc++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2013/sigc++config.h" ;;
18307
18308   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18309   esac
18310 done
18311
18312
18313 # If the user did not use the arguments to specify the items to instantiate,
18314 # then the envvar interface is used.  Set only those that are not.
18315 # We use the long form for the default assignment because of an extremely
18316 # bizarre bug on SunOS 4.1.3.
18317 if $ac_need_defaults; then
18318   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18319   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18320   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18321 fi
18322
18323 # Have a temporary directory for convenience.  Make it in the build tree
18324 # simply because there is no reason against having it here, and in addition,
18325 # creating and moving files from /tmp can sometimes cause problems.
18326 # Hook for its removal unless debugging.
18327 # Note that there is a small window in which the directory will not be cleaned:
18328 # after its creation but before its name has been assigned to `$tmp'.
18329 $debug ||
18330 {
18331   tmp= ac_tmp=
18332   trap 'exit_status=$?
18333   : "${ac_tmp:=$tmp}"
18334   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18335 ' 0
18336   trap 'as_fn_exit 1' 1 2 13 15
18337 }
18338 # Create a (secure) tmp directory for tmp files.
18339
18340 {
18341   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18342   test -d "$tmp"
18343 }  ||
18344 {
18345   tmp=./conf$$-$RANDOM
18346   (umask 077 && mkdir "$tmp")
18347 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18348 ac_tmp=$tmp
18349
18350 # Set up the scripts for CONFIG_FILES section.
18351 # No need to generate them if there are no CONFIG_FILES.
18352 # This happens for instance with `./config.status config.h'.
18353 if test -n "$CONFIG_FILES"; then
18354
18355
18356 ac_cr=`echo X | tr X '\015'`
18357 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18358 # But we know of no other shell where ac_cr would be empty at this
18359 # point, so we can use a bashism as a fallback.
18360 if test "x$ac_cr" = x; then
18361   eval ac_cr=\$\'\\r\'
18362 fi
18363 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18364 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18365   ac_cs_awk_cr='\\r'
18366 else
18367   ac_cs_awk_cr=$ac_cr
18368 fi
18369
18370 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18371 _ACEOF
18372
18373
18374 {
18375   echo "cat >conf$$subs.awk <<_ACEOF" &&
18376   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18377   echo "_ACEOF"
18378 } >conf$$subs.sh ||
18379   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18380 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18381 ac_delim='%!_!# '
18382 for ac_last_try in false false false false false :; do
18383   . ./conf$$subs.sh ||
18384     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18385
18386   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18387   if test $ac_delim_n = $ac_delim_num; then
18388     break
18389   elif $ac_last_try; then
18390     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18391   else
18392     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18393   fi
18394 done
18395 rm -f conf$$subs.sh
18396
18397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18398 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18399 _ACEOF
18400 sed -n '
18401 h
18402 s/^/S["/; s/!.*/"]=/
18403 p
18404 g
18405 s/^[^!]*!//
18406 :repl
18407 t repl
18408 s/'"$ac_delim"'$//
18409 t delim
18410 :nl
18411 h
18412 s/\(.\{148\}\)..*/\1/
18413 t more1
18414 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18415 p
18416 n
18417 b repl
18418 :more1
18419 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18420 p
18421 g
18422 s/.\{148\}//
18423 t nl
18424 :delim
18425 h
18426 s/\(.\{148\}\)..*/\1/
18427 t more2
18428 s/["\\]/\\&/g; s/^/"/; s/$/"/
18429 p
18430 b
18431 :more2
18432 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18433 p
18434 g
18435 s/.\{148\}//
18436 t delim
18437 ' <conf$$subs.awk | sed '
18438 /^[^""]/{
18439   N
18440   s/\n//
18441 }
18442 ' >>$CONFIG_STATUS || ac_write_fail=1
18443 rm -f conf$$subs.awk
18444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18445 _ACAWK
18446 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18447   for (key in S) S_is_set[key] = 1
18448   FS = "\a"
18449
18450 }
18451 {
18452   line = $ 0
18453   nfields = split(line, field, "@")
18454   substed = 0
18455   len = length(field[1])
18456   for (i = 2; i < nfields; i++) {
18457     key = field[i]
18458     keylen = length(key)
18459     if (S_is_set[key]) {
18460       value = S[key]
18461       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18462       len += length(value) + length(field[++i])
18463       substed = 1
18464     } else
18465       len += 1 + keylen
18466   }
18467
18468   print line
18469 }
18470
18471 _ACAWK
18472 _ACEOF
18473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18474 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18475   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18476 else
18477   cat
18478 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18479   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18480 _ACEOF
18481
18482 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18483 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18484 # trailing colons and then remove the whole line if VPATH becomes empty
18485 # (actually we leave an empty line to preserve line numbers).
18486 if test "x$srcdir" = x.; then
18487   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18488 h
18489 s///
18490 s/^/:/
18491 s/[      ]*$/:/
18492 s/:\$(srcdir):/:/g
18493 s/:\${srcdir}:/:/g
18494 s/:@srcdir@:/:/g
18495 s/^:*//
18496 s/:*$//
18497 x
18498 s/\(=[   ]*\).*/\1/
18499 G
18500 s/\n//
18501 s/^[^=]*=[       ]*$//
18502 }'
18503 fi
18504
18505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18506 fi # test -n "$CONFIG_FILES"
18507
18508 # Set up the scripts for CONFIG_HEADERS section.
18509 # No need to generate them if there are no CONFIG_HEADERS.
18510 # This happens for instance with `./config.status Makefile'.
18511 if test -n "$CONFIG_HEADERS"; then
18512 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18513 BEGIN {
18514 _ACEOF
18515
18516 # Transform confdefs.h into an awk script `defines.awk', embedded as
18517 # here-document in config.status, that substitutes the proper values into
18518 # config.h.in to produce config.h.
18519
18520 # Create a delimiter string that does not exist in confdefs.h, to ease
18521 # handling of long lines.
18522 ac_delim='%!_!# '
18523 for ac_last_try in false false :; do
18524   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18525   if test -z "$ac_tt"; then
18526     break
18527   elif $ac_last_try; then
18528     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18529   else
18530     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18531   fi
18532 done
18533
18534 # For the awk script, D is an array of macro values keyed by name,
18535 # likewise P contains macro parameters if any.  Preserve backslash
18536 # newline sequences.
18537
18538 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18539 sed -n '
18540 s/.\{148\}/&'"$ac_delim"'/g
18541 t rset
18542 :rset
18543 s/^[     ]*#[    ]*define[       ][      ]*/ /
18544 t def
18545 d
18546 :def
18547 s/\\$//
18548 t bsnl
18549 s/["\\]/\\&/g
18550 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18551 D["\1"]=" \3"/p
18552 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
18553 d
18554 :bsnl
18555 s/["\\]/\\&/g
18556 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18557 D["\1"]=" \3\\\\\\n"\\/p
18558 t cont
18559 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18560 t cont
18561 d
18562 :cont
18563 n
18564 s/.\{148\}/&'"$ac_delim"'/g
18565 t clear
18566 :clear
18567 s/\\$//
18568 t bsnlc
18569 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18570 d
18571 :bsnlc
18572 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18573 b cont
18574 ' <confdefs.h | sed '
18575 s/'"$ac_delim"'/"\\\
18576 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18577
18578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18579   for (key in D) D_is_set[key] = 1
18580   FS = "\a"
18581 }
18582 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18583   line = \$ 0
18584   split(line, arg, " ")
18585   if (arg[1] == "#") {
18586     defundef = arg[2]
18587     mac1 = arg[3]
18588   } else {
18589     defundef = substr(arg[1], 2)
18590     mac1 = arg[2]
18591   }
18592   split(mac1, mac2, "(") #)
18593   macro = mac2[1]
18594   prefix = substr(line, 1, index(line, defundef) - 1)
18595   if (D_is_set[macro]) {
18596     # Preserve the white space surrounding the "#".
18597     print prefix "define", macro P[macro] D[macro]
18598     next
18599   } else {
18600     # Replace #undef with comments.  This is necessary, for example,
18601     # in the case of _POSIX_SOURCE, which is predefined and required
18602     # on some systems where configure will not decide to define it.
18603     if (defundef == "undef") {
18604       print "/*", prefix defundef, macro, "*/"
18605       next
18606     }
18607   }
18608 }
18609 { print }
18610 _ACAWK
18611 _ACEOF
18612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18613   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18614 fi # test -n "$CONFIG_HEADERS"
18615
18616
18617 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18618 shift
18619 for ac_tag
18620 do
18621   case $ac_tag in
18622   :[FHLC]) ac_mode=$ac_tag; continue;;
18623   esac
18624   case $ac_mode$ac_tag in
18625   :[FHL]*:*);;
18626   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18627   :[FH]-) ac_tag=-:-;;
18628   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18629   esac
18630   ac_save_IFS=$IFS
18631   IFS=:
18632   set x $ac_tag
18633   IFS=$ac_save_IFS
18634   shift
18635   ac_file=$1
18636   shift
18637
18638   case $ac_mode in
18639   :L) ac_source=$1;;
18640   :[FH])
18641     ac_file_inputs=
18642     for ac_f
18643     do
18644       case $ac_f in
18645       -) ac_f="$ac_tmp/stdin";;
18646       *) # Look for the file first in the build tree, then in the source tree
18647          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18648          # because $ac_f cannot contain `:'.
18649          test -f "$ac_f" ||
18650            case $ac_f in
18651            [\\/$]*) false;;
18652            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18653            esac ||
18654            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18655       esac
18656       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18657       as_fn_append ac_file_inputs " '$ac_f'"
18658     done
18659
18660     # Let's still pretend it is `configure' which instantiates (i.e., don't
18661     # use $as_me), people would be surprised to read:
18662     #    /* config.h.  Generated by config.status.  */
18663     configure_input='Generated from '`
18664           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18665         `' by configure.'
18666     if test x"$ac_file" != x-; then
18667       configure_input="$ac_file.  $configure_input"
18668       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18669 $as_echo "$as_me: creating $ac_file" >&6;}
18670     fi
18671     # Neutralize special characters interpreted by sed in replacement strings.
18672     case $configure_input in #(
18673     *\&* | *\|* | *\\* )
18674        ac_sed_conf_input=`$as_echo "$configure_input" |
18675        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18676     *) ac_sed_conf_input=$configure_input;;
18677     esac
18678
18679     case $ac_tag in
18680     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18681       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18682     esac
18683     ;;
18684   esac
18685
18686   ac_dir=`$as_dirname -- "$ac_file" ||
18687 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18688          X"$ac_file" : 'X\(//\)[^/]' \| \
18689          X"$ac_file" : 'X\(//\)$' \| \
18690          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18691 $as_echo X"$ac_file" |
18692     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18693             s//\1/
18694             q
18695           }
18696           /^X\(\/\/\)[^/].*/{
18697             s//\1/
18698             q
18699           }
18700           /^X\(\/\/\)$/{
18701             s//\1/
18702             q
18703           }
18704           /^X\(\/\).*/{
18705             s//\1/
18706             q
18707           }
18708           s/.*/./; q'`
18709   as_dir="$ac_dir"; as_fn_mkdir_p
18710   ac_builddir=.
18711
18712 case "$ac_dir" in
18713 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18714 *)
18715   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18716   # A ".." for each directory in $ac_dir_suffix.
18717   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18718   case $ac_top_builddir_sub in
18719   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18720   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18721   esac ;;
18722 esac
18723 ac_abs_top_builddir=$ac_pwd
18724 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18725 # for backward compatibility:
18726 ac_top_builddir=$ac_top_build_prefix
18727
18728 case $srcdir in
18729   .)  # We are building in place.
18730     ac_srcdir=.
18731     ac_top_srcdir=$ac_top_builddir_sub
18732     ac_abs_top_srcdir=$ac_pwd ;;
18733   [\\/]* | ?:[\\/]* )  # Absolute name.
18734     ac_srcdir=$srcdir$ac_dir_suffix;
18735     ac_top_srcdir=$srcdir
18736     ac_abs_top_srcdir=$srcdir ;;
18737   *) # Relative name.
18738     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18739     ac_top_srcdir=$ac_top_build_prefix$srcdir
18740     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18741 esac
18742 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18743
18744
18745   case $ac_mode in
18746   :F)
18747   #
18748   # CONFIG_FILE
18749   #
18750
18751   case $INSTALL in
18752   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18753   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18754   esac
18755   ac_MKDIR_P=$MKDIR_P
18756   case $MKDIR_P in
18757   [\\/$]* | ?:[\\/]* ) ;;
18758   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18759   esac
18760 _ACEOF
18761
18762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18763 # If the template does not know about datarootdir, expand it.
18764 # FIXME: This hack should be removed a few years after 2.60.
18765 ac_datarootdir_hack=; ac_datarootdir_seen=
18766 ac_sed_dataroot='
18767 /datarootdir/ {
18768   p
18769   q
18770 }
18771 /@datadir@/p
18772 /@docdir@/p
18773 /@infodir@/p
18774 /@localedir@/p
18775 /@mandir@/p'
18776 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18777 *datarootdir*) ac_datarootdir_seen=yes;;
18778 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18779   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18780 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18781 _ACEOF
18782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18783   ac_datarootdir_hack='
18784   s&@datadir@&$datadir&g
18785   s&@docdir@&$docdir&g
18786   s&@infodir@&$infodir&g
18787   s&@localedir@&$localedir&g
18788   s&@mandir@&$mandir&g
18789   s&\\\${datarootdir}&$datarootdir&g' ;;
18790 esac
18791 _ACEOF
18792
18793 # Neutralize VPATH when `$srcdir' = `.'.
18794 # Shell code in configure.ac might set extrasub.
18795 # FIXME: do we really want to maintain this feature?
18796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18797 ac_sed_extra="$ac_vpsub
18798 $extrasub
18799 _ACEOF
18800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18801 :t
18802 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18803 s|@configure_input@|$ac_sed_conf_input|;t t
18804 s&@top_builddir@&$ac_top_builddir_sub&;t t
18805 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18806 s&@srcdir@&$ac_srcdir&;t t
18807 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18808 s&@top_srcdir@&$ac_top_srcdir&;t t
18809 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18810 s&@builddir@&$ac_builddir&;t t
18811 s&@abs_builddir@&$ac_abs_builddir&;t t
18812 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18813 s&@INSTALL@&$ac_INSTALL&;t t
18814 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18815 $ac_datarootdir_hack
18816 "
18817 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18818   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18819
18820 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18821   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18822   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18823       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18824   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18825 which seems to be undefined.  Please make sure it is defined" >&5
18826 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18827 which seems to be undefined.  Please make sure it is defined" >&2;}
18828
18829   rm -f "$ac_tmp/stdin"
18830   case $ac_file in
18831   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18832   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18833   esac \
18834   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18835  ;;
18836   :H)
18837   #
18838   # CONFIG_HEADER
18839   #
18840   if test x"$ac_file" != x-; then
18841     {
18842       $as_echo "/* $configure_input  */" \
18843       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18844     } >"$ac_tmp/config.h" \
18845       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18846     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18847       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18848 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18849     else
18850       rm -f "$ac_file"
18851       mv "$ac_tmp/config.h" "$ac_file" \
18852         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18853     fi
18854   else
18855     $as_echo "/* $configure_input  */" \
18856       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18857       || as_fn_error $? "could not create -" "$LINENO" 5
18858   fi
18859 # Compute "$ac_file"'s index in $config_headers.
18860 _am_arg="$ac_file"
18861 _am_stamp_count=1
18862 for _am_header in $config_headers :; do
18863   case $_am_header in
18864     $_am_arg | $_am_arg:* )
18865       break ;;
18866     * )
18867       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18868   esac
18869 done
18870 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18871 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18872          X"$_am_arg" : 'X\(//\)[^/]' \| \
18873          X"$_am_arg" : 'X\(//\)$' \| \
18874          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18875 $as_echo X"$_am_arg" |
18876     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18877             s//\1/
18878             q
18879           }
18880           /^X\(\/\/\)[^/].*/{
18881             s//\1/
18882             q
18883           }
18884           /^X\(\/\/\)$/{
18885             s//\1/
18886             q
18887           }
18888           /^X\(\/\).*/{
18889             s//\1/
18890             q
18891           }
18892           s/.*/./; q'`/stamp-h$_am_stamp_count
18893  ;;
18894
18895   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18896 $as_echo "$as_me: executing $ac_file commands" >&6;}
18897  ;;
18898   esac
18899
18900
18901   case $ac_file$ac_mode in
18902     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18903   # Older Autoconf quotes --file arguments for eval, but not when files
18904   # are listed without --file.  Let's play safe and only enable the eval
18905   # if we detect the quoting.
18906   case $CONFIG_FILES in
18907   *\'*) eval set x "$CONFIG_FILES" ;;
18908   *)   set x $CONFIG_FILES ;;
18909   esac
18910   shift
18911   for mf
18912   do
18913     # Strip MF so we end up with the name of the file.
18914     mf=`echo "$mf" | sed -e 's/:.*$//'`
18915     # Check whether this is an Automake generated Makefile or not.
18916     # We used to match only the files named 'Makefile.in', but
18917     # some people rename them; so instead we look at the file content.
18918     # Grep'ing the first line is not enough: some people post-process
18919     # each Makefile.in and add a new line on top of each file to say so.
18920     # Grep'ing the whole file is not good either: AIX grep has a line
18921     # limit of 2048, but all sed's we know have understand at least 4000.
18922     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18923       dirpart=`$as_dirname -- "$mf" ||
18924 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18925          X"$mf" : 'X\(//\)[^/]' \| \
18926          X"$mf" : 'X\(//\)$' \| \
18927          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18928 $as_echo X"$mf" |
18929     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18930             s//\1/
18931             q
18932           }
18933           /^X\(\/\/\)[^/].*/{
18934             s//\1/
18935             q
18936           }
18937           /^X\(\/\/\)$/{
18938             s//\1/
18939             q
18940           }
18941           /^X\(\/\).*/{
18942             s//\1/
18943             q
18944           }
18945           s/.*/./; q'`
18946     else
18947       continue
18948     fi
18949     # Extract the definition of DEPDIR, am__include, and am__quote
18950     # from the Makefile without running 'make'.
18951     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18952     test -z "$DEPDIR" && continue
18953     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18954     test -z "$am__include" && continue
18955     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18956     # Find all dependency output files, they are included files with
18957     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18958     # simplest approach to changing $(DEPDIR) to its actual value in the
18959     # expansion.
18960     for file in `sed -n "
18961       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18962          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18963       # Make sure the directory exists.
18964       test -f "$dirpart/$file" && continue
18965       fdir=`$as_dirname -- "$file" ||
18966 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18967          X"$file" : 'X\(//\)[^/]' \| \
18968          X"$file" : 'X\(//\)$' \| \
18969          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18970 $as_echo X"$file" |
18971     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18972             s//\1/
18973             q
18974           }
18975           /^X\(\/\/\)[^/].*/{
18976             s//\1/
18977             q
18978           }
18979           /^X\(\/\/\)$/{
18980             s//\1/
18981             q
18982           }
18983           /^X\(\/\).*/{
18984             s//\1/
18985             q
18986           }
18987           s/.*/./; q'`
18988       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18989       # echo "creating $dirpart/$file"
18990       echo '# dummy' > "$dirpart/$file"
18991     done
18992   done
18993 }
18994  ;;
18995     "libtool":C)
18996
18997     # See if we are running on zsh, and set the options which allow our
18998     # commands through without removal of \ escapes.
18999     if test -n "${ZSH_VERSION+set}" ; then
19000       setopt NO_GLOB_SUBST
19001     fi
19002
19003     cfgfile="${ofile}T"
19004     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19005     $RM "$cfgfile"
19006
19007     cat <<_LT_EOF >> "$cfgfile"
19008 #! $SHELL
19009
19010 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19011 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19012 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19013 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19014 #
19015 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19016 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19017 #                 Foundation, Inc.
19018 #   Written by Gordon Matzigkeit, 1996
19019 #
19020 #   This file is part of GNU Libtool.
19021 #
19022 # GNU Libtool is free software; you can redistribute it and/or
19023 # modify it under the terms of the GNU General Public License as
19024 # published by the Free Software Foundation; either version 2 of
19025 # the License, or (at your option) any later version.
19026 #
19027 # As a special exception to the GNU General Public License,
19028 # if you distribute this file as part of a program or library that
19029 # is built using GNU Libtool, you may include this file under the
19030 # same distribution terms that you use for the rest of that program.
19031 #
19032 # GNU Libtool is distributed in the hope that it will be useful,
19033 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19034 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19035 # GNU General Public License for more details.
19036 #
19037 # You should have received a copy of the GNU General Public License
19038 # along with GNU Libtool; see the file COPYING.  If not, a copy
19039 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19040 # obtained by writing to the Free Software Foundation, Inc.,
19041 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19042
19043
19044 # The names of the tagged configurations supported by this script.
19045 available_tags="CXX "
19046
19047 # ### BEGIN LIBTOOL CONFIG
19048
19049 # Whether or not to build static libraries.
19050 build_old_libs=$enable_static
19051
19052 # Which release of libtool.m4 was used?
19053 macro_version=$macro_version
19054 macro_revision=$macro_revision
19055
19056 # Assembler program.
19057 AS=$lt_AS
19058
19059 # DLL creation program.
19060 DLLTOOL=$lt_DLLTOOL
19061
19062 # Object dumper program.
19063 OBJDUMP=$lt_OBJDUMP
19064
19065 # Whether or not to build shared libraries.
19066 build_libtool_libs=$enable_shared
19067
19068 # What type of objects to build.
19069 pic_mode=$pic_mode
19070
19071 # Whether or not to optimize for fast installation.
19072 fast_install=$enable_fast_install
19073
19074 # Shell to use when invoking shell scripts.
19075 SHELL=$lt_SHELL
19076
19077 # An echo program that protects backslashes.
19078 ECHO=$lt_ECHO
19079
19080 # The PATH separator for the build system.
19081 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19082
19083 # The host system.
19084 host_alias=$host_alias
19085 host=$host
19086 host_os=$host_os
19087
19088 # The build system.
19089 build_alias=$build_alias
19090 build=$build
19091 build_os=$build_os
19092
19093 # A sed program that does not truncate output.
19094 SED=$lt_SED
19095
19096 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19097 Xsed="\$SED -e 1s/^X//"
19098
19099 # A grep program that handles long lines.
19100 GREP=$lt_GREP
19101
19102 # An ERE matcher.
19103 EGREP=$lt_EGREP
19104
19105 # A literal string matcher.
19106 FGREP=$lt_FGREP
19107
19108 # A BSD- or MS-compatible name lister.
19109 NM=$lt_NM
19110
19111 # Whether we need soft or hard links.
19112 LN_S=$lt_LN_S
19113
19114 # What is the maximum length of a command?
19115 max_cmd_len=$max_cmd_len
19116
19117 # Object file suffix (normally "o").
19118 objext=$ac_objext
19119
19120 # Executable file suffix (normally "").
19121 exeext=$exeext
19122
19123 # whether the shell understands "unset".
19124 lt_unset=$lt_unset
19125
19126 # turn spaces into newlines.
19127 SP2NL=$lt_lt_SP2NL
19128
19129 # turn newlines into spaces.
19130 NL2SP=$lt_lt_NL2SP
19131
19132 # convert \$build file names to \$host format.
19133 to_host_file_cmd=$lt_cv_to_host_file_cmd
19134
19135 # convert \$build files to toolchain format.
19136 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19137
19138 # Method to check whether dependent libraries are shared objects.
19139 deplibs_check_method=$lt_deplibs_check_method
19140
19141 # Command to use when deplibs_check_method = "file_magic".
19142 file_magic_cmd=$lt_file_magic_cmd
19143
19144 # How to find potential files when deplibs_check_method = "file_magic".
19145 file_magic_glob=$lt_file_magic_glob
19146
19147 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19148 want_nocaseglob=$lt_want_nocaseglob
19149
19150 # Command to associate shared and link libraries.
19151 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19152
19153 # The archiver.
19154 AR=$lt_AR
19155
19156 # Flags to create an archive.
19157 AR_FLAGS=$lt_AR_FLAGS
19158
19159 # How to feed a file listing to the archiver.
19160 archiver_list_spec=$lt_archiver_list_spec
19161
19162 # A symbol stripping program.
19163 STRIP=$lt_STRIP
19164
19165 # Commands used to install an old-style archive.
19166 RANLIB=$lt_RANLIB
19167 old_postinstall_cmds=$lt_old_postinstall_cmds
19168 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19169
19170 # Whether to use a lock for old archive extraction.
19171 lock_old_archive_extraction=$lock_old_archive_extraction
19172
19173 # A C compiler.
19174 LTCC=$lt_CC
19175
19176 # LTCC compiler flags.
19177 LTCFLAGS=$lt_CFLAGS
19178
19179 # Take the output of nm and produce a listing of raw symbols and C names.
19180 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19181
19182 # Transform the output of nm in a proper C declaration.
19183 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19184
19185 # Transform the output of nm in a C name address pair.
19186 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19187
19188 # Transform the output of nm in a C name address pair when lib prefix is needed.
19189 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19190
19191 # Specify filename containing input files for \$NM.
19192 nm_file_list_spec=$lt_nm_file_list_spec
19193
19194 # The root where to search for dependent libraries,and in which our libraries should be installed.
19195 lt_sysroot=$lt_sysroot
19196
19197 # The name of the directory that contains temporary libtool files.
19198 objdir=$objdir
19199
19200 # Used to examine libraries when file_magic_cmd begins with "file".
19201 MAGIC_CMD=$MAGIC_CMD
19202
19203 # Must we lock files when doing compilation?
19204 need_locks=$lt_need_locks
19205
19206 # Manifest tool.
19207 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19208
19209 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19210 DSYMUTIL=$lt_DSYMUTIL
19211
19212 # Tool to change global to local symbols on Mac OS X.
19213 NMEDIT=$lt_NMEDIT
19214
19215 # Tool to manipulate fat objects and archives on Mac OS X.
19216 LIPO=$lt_LIPO
19217
19218 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19219 OTOOL=$lt_OTOOL
19220
19221 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19222 OTOOL64=$lt_OTOOL64
19223
19224 # Old archive suffix (normally "a").
19225 libext=$libext
19226
19227 # Shared library suffix (normally ".so").
19228 shrext_cmds=$lt_shrext_cmds
19229
19230 # The commands to extract the exported symbol list from a shared archive.
19231 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19232
19233 # Variables whose values should be saved in libtool wrapper scripts and
19234 # restored at link time.
19235 variables_saved_for_relink=$lt_variables_saved_for_relink
19236
19237 # Do we need the "lib" prefix for modules?
19238 need_lib_prefix=$need_lib_prefix
19239
19240 # Do we need a version for libraries?
19241 need_version=$need_version
19242
19243 # Library versioning type.
19244 version_type=$version_type
19245
19246 # Shared library runtime path variable.
19247 runpath_var=$runpath_var
19248
19249 # Shared library path variable.
19250 shlibpath_var=$shlibpath_var
19251
19252 # Is shlibpath searched before the hard-coded library search path?
19253 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19254
19255 # Format of library name prefix.
19256 libname_spec=$lt_libname_spec
19257
19258 # List of archive names.  First name is the real one, the rest are links.
19259 # The last name is the one that the linker finds with -lNAME
19260 library_names_spec=$lt_library_names_spec
19261
19262 # The coded name of the library, if different from the real name.
19263 soname_spec=$lt_soname_spec
19264
19265 # Permission mode override for installation of shared libraries.
19266 install_override_mode=$lt_install_override_mode
19267
19268 # Command to use after installation of a shared archive.
19269 postinstall_cmds=$lt_postinstall_cmds
19270
19271 # Command to use after uninstallation of a shared archive.
19272 postuninstall_cmds=$lt_postuninstall_cmds
19273
19274 # Commands used to finish a libtool library installation in a directory.
19275 finish_cmds=$lt_finish_cmds
19276
19277 # As "finish_cmds", except a single script fragment to be evaled but
19278 # not shown.
19279 finish_eval=$lt_finish_eval
19280
19281 # Whether we should hardcode library paths into libraries.
19282 hardcode_into_libs=$hardcode_into_libs
19283
19284 # Compile-time system search path for libraries.
19285 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19286
19287 # Run-time system search path for libraries.
19288 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19289
19290 # Whether dlopen is supported.
19291 dlopen_support=$enable_dlopen
19292
19293 # Whether dlopen of programs is supported.
19294 dlopen_self=$enable_dlopen_self
19295
19296 # Whether dlopen of statically linked programs is supported.
19297 dlopen_self_static=$enable_dlopen_self_static
19298
19299 # Commands to strip libraries.
19300 old_striplib=$lt_old_striplib
19301 striplib=$lt_striplib
19302
19303
19304 # The linker used to build libraries.
19305 LD=$lt_LD
19306
19307 # How to create reloadable object files.
19308 reload_flag=$lt_reload_flag
19309 reload_cmds=$lt_reload_cmds
19310
19311 # Commands used to build an old-style archive.
19312 old_archive_cmds=$lt_old_archive_cmds
19313
19314 # A language specific compiler.
19315 CC=$lt_compiler
19316
19317 # Is the compiler the GNU compiler?
19318 with_gcc=$GCC
19319
19320 # Compiler flag to turn off builtin functions.
19321 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19322
19323 # Additional compiler flags for building library objects.
19324 pic_flag=$lt_lt_prog_compiler_pic
19325
19326 # How to pass a linker flag through the compiler.
19327 wl=$lt_lt_prog_compiler_wl
19328
19329 # Compiler flag to prevent dynamic linking.
19330 link_static_flag=$lt_lt_prog_compiler_static
19331
19332 # Does compiler simultaneously support -c and -o options?
19333 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19334
19335 # Whether or not to add -lc for building shared libraries.
19336 build_libtool_need_lc=$archive_cmds_need_lc
19337
19338 # Whether or not to disallow shared libs when runtime libs are static.
19339 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19340
19341 # Compiler flag to allow reflexive dlopens.
19342 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19343
19344 # Compiler flag to generate shared objects directly from archives.
19345 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19346
19347 # Whether the compiler copes with passing no objects directly.
19348 compiler_needs_object=$lt_compiler_needs_object
19349
19350 # Create an old-style archive from a shared archive.
19351 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19352
19353 # Create a temporary old-style archive to link instead of a shared archive.
19354 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19355
19356 # Commands used to build a shared archive.
19357 archive_cmds=$lt_archive_cmds
19358 archive_expsym_cmds=$lt_archive_expsym_cmds
19359
19360 # Commands used to build a loadable module if different from building
19361 # a shared archive.
19362 module_cmds=$lt_module_cmds
19363 module_expsym_cmds=$lt_module_expsym_cmds
19364
19365 # Whether we are building with GNU ld or not.
19366 with_gnu_ld=$lt_with_gnu_ld
19367
19368 # Flag that allows shared libraries with undefined symbols to be built.
19369 allow_undefined_flag=$lt_allow_undefined_flag
19370
19371 # Flag that enforces no undefined symbols.
19372 no_undefined_flag=$lt_no_undefined_flag
19373
19374 # Flag to hardcode \$libdir into a binary during linking.
19375 # This must work even if \$libdir does not exist
19376 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19377
19378 # Whether we need a single "-rpath" flag with a separated argument.
19379 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19380
19381 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19382 # DIR into the resulting binary.
19383 hardcode_direct=$hardcode_direct
19384
19385 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19386 # DIR into the resulting binary and the resulting library dependency is
19387 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19388 # library is relocated.
19389 hardcode_direct_absolute=$hardcode_direct_absolute
19390
19391 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19392 # into the resulting binary.
19393 hardcode_minus_L=$hardcode_minus_L
19394
19395 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19396 # into the resulting binary.
19397 hardcode_shlibpath_var=$hardcode_shlibpath_var
19398
19399 # Set to "yes" if building a shared library automatically hardcodes DIR
19400 # into the library and all subsequent libraries and executables linked
19401 # against it.
19402 hardcode_automatic=$hardcode_automatic
19403
19404 # Set to yes if linker adds runtime paths of dependent libraries
19405 # to runtime path list.
19406 inherit_rpath=$inherit_rpath
19407
19408 # Whether libtool must link a program against all its dependency libraries.
19409 link_all_deplibs=$link_all_deplibs
19410
19411 # Set to "yes" if exported symbols are required.
19412 always_export_symbols=$always_export_symbols
19413
19414 # The commands to list exported symbols.
19415 export_symbols_cmds=$lt_export_symbols_cmds
19416
19417 # Symbols that should not be listed in the preloaded symbols.
19418 exclude_expsyms=$lt_exclude_expsyms
19419
19420 # Symbols that must always be exported.
19421 include_expsyms=$lt_include_expsyms
19422
19423 # Commands necessary for linking programs (against libraries) with templates.
19424 prelink_cmds=$lt_prelink_cmds
19425
19426 # Commands necessary for finishing linking programs.
19427 postlink_cmds=$lt_postlink_cmds
19428
19429 # Specify filename containing input files.
19430 file_list_spec=$lt_file_list_spec
19431
19432 # How to hardcode a shared library path into an executable.
19433 hardcode_action=$hardcode_action
19434
19435 # The directories searched by this compiler when creating a shared library.
19436 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19437
19438 # Dependencies to place before and after the objects being linked to
19439 # create a shared library.
19440 predep_objects=$lt_predep_objects
19441 postdep_objects=$lt_postdep_objects
19442 predeps=$lt_predeps
19443 postdeps=$lt_postdeps
19444
19445 # The library search path used internally by the compiler when linking
19446 # a shared library.
19447 compiler_lib_search_path=$lt_compiler_lib_search_path
19448
19449 # ### END LIBTOOL CONFIG
19450
19451 _LT_EOF
19452
19453   case $host_os in
19454   aix3*)
19455     cat <<\_LT_EOF >> "$cfgfile"
19456 # AIX sometimes has problems with the GCC collect2 program.  For some
19457 # reason, if we set the COLLECT_NAMES environment variable, the problems
19458 # vanish in a puff of smoke.
19459 if test "X${COLLECT_NAMES+set}" != Xset; then
19460   COLLECT_NAMES=
19461   export COLLECT_NAMES
19462 fi
19463 _LT_EOF
19464     ;;
19465   esac
19466
19467
19468 ltmain="$ac_aux_dir/ltmain.sh"
19469
19470
19471   # We use sed instead of cat because bash on DJGPP gets confused if
19472   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19473   # text mode, it properly converts lines to CR/LF.  This bash problem
19474   # is reportedly fixed, but why not run on old versions too?
19475   sed '$q' "$ltmain" >> "$cfgfile" \
19476      || (rm -f "$cfgfile"; exit 1)
19477
19478   if test x"$xsi_shell" = xyes; then
19479   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19480 func_dirname ()\
19481 {\
19482 \    case ${1} in\
19483 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19484 \      *  ) func_dirname_result="${3}" ;;\
19485 \    esac\
19486 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19487   && mv -f "$cfgfile.tmp" "$cfgfile" \
19488     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19489 test 0 -eq $? || _lt_function_replace_fail=:
19490
19491
19492   sed -e '/^func_basename ()$/,/^} # func_basename /c\
19493 func_basename ()\
19494 {\
19495 \    func_basename_result="${1##*/}"\
19496 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19497   && mv -f "$cfgfile.tmp" "$cfgfile" \
19498     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19499 test 0 -eq $? || _lt_function_replace_fail=:
19500
19501
19502   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19503 func_dirname_and_basename ()\
19504 {\
19505 \    case ${1} in\
19506 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19507 \      *  ) func_dirname_result="${3}" ;;\
19508 \    esac\
19509 \    func_basename_result="${1##*/}"\
19510 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19511   && mv -f "$cfgfile.tmp" "$cfgfile" \
19512     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19513 test 0 -eq $? || _lt_function_replace_fail=:
19514
19515
19516   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19517 func_stripname ()\
19518 {\
19519 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19520 \    # positional parameters, so assign one to ordinary parameter first.\
19521 \    func_stripname_result=${3}\
19522 \    func_stripname_result=${func_stripname_result#"${1}"}\
19523 \    func_stripname_result=${func_stripname_result%"${2}"}\
19524 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19525   && mv -f "$cfgfile.tmp" "$cfgfile" \
19526     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19527 test 0 -eq $? || _lt_function_replace_fail=:
19528
19529
19530   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19531 func_split_long_opt ()\
19532 {\
19533 \    func_split_long_opt_name=${1%%=*}\
19534 \    func_split_long_opt_arg=${1#*=}\
19535 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19536   && mv -f "$cfgfile.tmp" "$cfgfile" \
19537     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19538 test 0 -eq $? || _lt_function_replace_fail=:
19539
19540
19541   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19542 func_split_short_opt ()\
19543 {\
19544 \    func_split_short_opt_arg=${1#??}\
19545 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19546 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19547   && mv -f "$cfgfile.tmp" "$cfgfile" \
19548     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19549 test 0 -eq $? || _lt_function_replace_fail=:
19550
19551
19552   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19553 func_lo2o ()\
19554 {\
19555 \    case ${1} in\
19556 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19557 \      *)    func_lo2o_result=${1} ;;\
19558 \    esac\
19559 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19560   && mv -f "$cfgfile.tmp" "$cfgfile" \
19561     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19562 test 0 -eq $? || _lt_function_replace_fail=:
19563
19564
19565   sed -e '/^func_xform ()$/,/^} # func_xform /c\
19566 func_xform ()\
19567 {\
19568     func_xform_result=${1%.*}.lo\
19569 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19570   && mv -f "$cfgfile.tmp" "$cfgfile" \
19571     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19572 test 0 -eq $? || _lt_function_replace_fail=:
19573
19574
19575   sed -e '/^func_arith ()$/,/^} # func_arith /c\
19576 func_arith ()\
19577 {\
19578     func_arith_result=$(( $* ))\
19579 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19580   && mv -f "$cfgfile.tmp" "$cfgfile" \
19581     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19582 test 0 -eq $? || _lt_function_replace_fail=:
19583
19584
19585   sed -e '/^func_len ()$/,/^} # func_len /c\
19586 func_len ()\
19587 {\
19588     func_len_result=${#1}\
19589 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19590   && mv -f "$cfgfile.tmp" "$cfgfile" \
19591     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19592 test 0 -eq $? || _lt_function_replace_fail=:
19593
19594 fi
19595
19596 if test x"$lt_shell_append" = xyes; then
19597   sed -e '/^func_append ()$/,/^} # func_append /c\
19598 func_append ()\
19599 {\
19600     eval "${1}+=\\${2}"\
19601 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19602   && mv -f "$cfgfile.tmp" "$cfgfile" \
19603     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19604 test 0 -eq $? || _lt_function_replace_fail=:
19605
19606
19607   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19608 func_append_quoted ()\
19609 {\
19610 \    func_quote_for_eval "${2}"\
19611 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19612 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19613   && mv -f "$cfgfile.tmp" "$cfgfile" \
19614     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19615 test 0 -eq $? || _lt_function_replace_fail=:
19616
19617
19618   # Save a `func_append' function call where possible by direct use of '+='
19619   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19620     && mv -f "$cfgfile.tmp" "$cfgfile" \
19621       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19622   test 0 -eq $? || _lt_function_replace_fail=:
19623 else
19624   # Save a `func_append' function call even when '+=' is not available
19625   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19626     && mv -f "$cfgfile.tmp" "$cfgfile" \
19627       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19628   test 0 -eq $? || _lt_function_replace_fail=:
19629 fi
19630
19631 if test x"$_lt_function_replace_fail" = x":"; then
19632   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19633 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19634 fi
19635
19636
19637    mv -f "$cfgfile" "$ofile" ||
19638     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19639   chmod +x "$ofile"
19640
19641
19642     cat <<_LT_EOF >> "$ofile"
19643
19644 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19645
19646 # The linker used to build libraries.
19647 LD=$lt_LD_CXX
19648
19649 # How to create reloadable object files.
19650 reload_flag=$lt_reload_flag_CXX
19651 reload_cmds=$lt_reload_cmds_CXX
19652
19653 # Commands used to build an old-style archive.
19654 old_archive_cmds=$lt_old_archive_cmds_CXX
19655
19656 # A language specific compiler.
19657 CC=$lt_compiler_CXX
19658
19659 # Is the compiler the GNU compiler?
19660 with_gcc=$GCC_CXX
19661
19662 # Compiler flag to turn off builtin functions.
19663 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19664
19665 # Additional compiler flags for building library objects.
19666 pic_flag=$lt_lt_prog_compiler_pic_CXX
19667
19668 # How to pass a linker flag through the compiler.
19669 wl=$lt_lt_prog_compiler_wl_CXX
19670
19671 # Compiler flag to prevent dynamic linking.
19672 link_static_flag=$lt_lt_prog_compiler_static_CXX
19673
19674 # Does compiler simultaneously support -c and -o options?
19675 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19676
19677 # Whether or not to add -lc for building shared libraries.
19678 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19679
19680 # Whether or not to disallow shared libs when runtime libs are static.
19681 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19682
19683 # Compiler flag to allow reflexive dlopens.
19684 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19685
19686 # Compiler flag to generate shared objects directly from archives.
19687 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19688
19689 # Whether the compiler copes with passing no objects directly.
19690 compiler_needs_object=$lt_compiler_needs_object_CXX
19691
19692 # Create an old-style archive from a shared archive.
19693 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19694
19695 # Create a temporary old-style archive to link instead of a shared archive.
19696 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19697
19698 # Commands used to build a shared archive.
19699 archive_cmds=$lt_archive_cmds_CXX
19700 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19701
19702 # Commands used to build a loadable module if different from building
19703 # a shared archive.
19704 module_cmds=$lt_module_cmds_CXX
19705 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19706
19707 # Whether we are building with GNU ld or not.
19708 with_gnu_ld=$lt_with_gnu_ld_CXX
19709
19710 # Flag that allows shared libraries with undefined symbols to be built.
19711 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19712
19713 # Flag that enforces no undefined symbols.
19714 no_undefined_flag=$lt_no_undefined_flag_CXX
19715
19716 # Flag to hardcode \$libdir into a binary during linking.
19717 # This must work even if \$libdir does not exist
19718 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19719
19720 # Whether we need a single "-rpath" flag with a separated argument.
19721 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19722
19723 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19724 # DIR into the resulting binary.
19725 hardcode_direct=$hardcode_direct_CXX
19726
19727 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19728 # DIR into the resulting binary and the resulting library dependency is
19729 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19730 # library is relocated.
19731 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19732
19733 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19734 # into the resulting binary.
19735 hardcode_minus_L=$hardcode_minus_L_CXX
19736
19737 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19738 # into the resulting binary.
19739 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19740
19741 # Set to "yes" if building a shared library automatically hardcodes DIR
19742 # into the library and all subsequent libraries and executables linked
19743 # against it.
19744 hardcode_automatic=$hardcode_automatic_CXX
19745
19746 # Set to yes if linker adds runtime paths of dependent libraries
19747 # to runtime path list.
19748 inherit_rpath=$inherit_rpath_CXX
19749
19750 # Whether libtool must link a program against all its dependency libraries.
19751 link_all_deplibs=$link_all_deplibs_CXX
19752
19753 # Set to "yes" if exported symbols are required.
19754 always_export_symbols=$always_export_symbols_CXX
19755
19756 # The commands to list exported symbols.
19757 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19758
19759 # Symbols that should not be listed in the preloaded symbols.
19760 exclude_expsyms=$lt_exclude_expsyms_CXX
19761
19762 # Symbols that must always be exported.
19763 include_expsyms=$lt_include_expsyms_CXX
19764
19765 # Commands necessary for linking programs (against libraries) with templates.
19766 prelink_cmds=$lt_prelink_cmds_CXX
19767
19768 # Commands necessary for finishing linking programs.
19769 postlink_cmds=$lt_postlink_cmds_CXX
19770
19771 # Specify filename containing input files.
19772 file_list_spec=$lt_file_list_spec_CXX
19773
19774 # How to hardcode a shared library path into an executable.
19775 hardcode_action=$hardcode_action_CXX
19776
19777 # The directories searched by this compiler when creating a shared library.
19778 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19779
19780 # Dependencies to place before and after the objects being linked to
19781 # create a shared library.
19782 predep_objects=$lt_predep_objects_CXX
19783 postdep_objects=$lt_postdep_objects_CXX
19784 predeps=$lt_predeps_CXX
19785 postdeps=$lt_postdeps_CXX
19786
19787 # The library search path used internally by the compiler when linking
19788 # a shared library.
19789 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19790
19791 # ### END LIBTOOL TAG CONFIG: CXX
19792 _LT_EOF
19793
19794  ;;
19795     "MSVC_Net2013/sigc++config.h":C) cp -f sigc++config.h MSVC_Net2013/sigc++config.h ;;
19796
19797   esac
19798 done # for ac_tag
19799
19800
19801 as_fn_exit 0
19802 _ACEOF
19803 ac_clean_files=$ac_clean_files_save
19804
19805 test $ac_write_fail = 0 ||
19806   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19807
19808
19809 # configure is writing to config.log, and then calls config.status.
19810 # config.status does its own redirection, appending to config.log.
19811 # Unfortunately, on DOS this fails, as config.log is still kept open
19812 # by configure, so config.status won't be able to write to it; its
19813 # output is simply discarded.  So we exec the FD to /dev/null,
19814 # effectively closing config.log, so it can be properly (re)opened and
19815 # appended to by config.status.  When coming back to configure, we
19816 # need to make the FD available again.
19817 if test "$no_create" != yes; then
19818   ac_cs_success=:
19819   ac_config_status_args=
19820   test "$silent" = yes &&
19821     ac_config_status_args="$ac_config_status_args --quiet"
19822   exec 5>/dev/null
19823   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19824   exec 5>>config.log
19825   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19826   # would make configure fail if this is the last instruction.
19827   $ac_cs_success || as_fn_exit 1
19828 fi
19829 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19830   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19831 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19832 fi
19833