re PR ipa/61548 (FAIL: gcc.dg/tls/alias-1.c)
[official-gcc.git] / libvtv / configure
blob64b6f7595579a81871ff0f9685ac3ea1e4ff85ea
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Vtable Verification Runtime Library 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='GNU Vtable Verification Runtime Library'
558 PACKAGE_TARNAME='libvtv'
559 PACKAGE_VERSION='1.0'
560 PACKAGE_STRING='GNU Vtable Verification Runtime Library 1.0'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL='http://www.gnu.org/software/libvtv/'
564 ac_unique_file="vtv_rts.h"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 VTV_CYGMIN_FALSE
606 VTV_CYGMIN_TRUE
607 XCFLAGS
608 libtool_VERSION
609 enable_static
610 enable_shared
611 CXXCPP
612 OTOOL64
613 OTOOL
614 LIPO
615 NMEDIT
616 DSYMUTIL
617 OBJDUMP
618 LN_S
620 ac_ct_DUMPBIN
621 DUMPBIN
623 FGREP
625 LIBTOOL
626 RANLIB
629 CCASFLAGS
630 CCAS
631 am__fastdepCXX_FALSE
632 am__fastdepCXX_TRUE
633 CXXDEPMODE
634 ac_ct_CXX
635 CXXFLAGS
637 EGREP
638 GREP
640 am__fastdepCC_FALSE
641 am__fastdepCC_TRUE
642 CCDEPMODE
643 AMDEPBACKSLASH
644 AMDEP_FALSE
645 AMDEP_TRUE
646 am__quote
647 am__include
648 DEPDIR
649 OBJEXT
650 EXEEXT
651 ac_ct_CC
652 CPPFLAGS
653 LDFLAGS
654 CFLAGS
656 toolexeclibdir
657 toolexecdir
658 toplevel_srcdir
659 toplevel_builddir
660 libvtv_srcdir
661 libvtv_builddir
662 MAINT
663 MAINTAINER_MODE_FALSE
664 MAINTAINER_MODE_TRUE
665 multi_basedir
666 am__untar
667 am__tar
668 AMTAR
669 am__leading_dot
670 SET_MAKE
672 mkdir_p
673 MKDIR_P
674 INSTALL_STRIP_PROGRAM
675 STRIP
676 install_sh
677 MAKEINFO
678 AUTOHEADER
679 AUTOMAKE
680 AUTOCONF
681 ACLOCAL
682 VERSION
683 PACKAGE
684 CYGPATH_W
685 am__isrc
686 INSTALL_DATA
687 INSTALL_SCRIPT
688 INSTALL_PROGRAM
689 ENABLE_VTABLE_VERIFY_FALSE
690 ENABLE_VTABLE_VERIFY_TRUE
691 LIBSTDCXX_RAW_CXX_LDFLAGS
692 LIBSTDCXX_RAW_CXX_CXXFLAGS
693 target_noncanonical
694 target_os
695 target_vendor
696 target_cpu
697 target
698 host_os
699 host_vendor
700 host_cpu
701 host
702 build_os
703 build_vendor
704 build_cpu
705 build
706 target_alias
707 host_alias
708 build_alias
709 LIBS
710 ECHO_T
711 ECHO_N
712 ECHO_C
713 DEFS
714 mandir
715 localedir
716 libdir
717 psdir
718 pdfdir
719 dvidir
720 htmldir
721 infodir
722 docdir
723 oldincludedir
724 includedir
725 localstatedir
726 sharedstatedir
727 sysconfdir
728 datadir
729 datarootdir
730 libexecdir
731 sbindir
732 bindir
733 program_transform_name
734 prefix
735 exec_prefix
736 PACKAGE_URL
737 PACKAGE_BUGREPORT
738 PACKAGE_STRING
739 PACKAGE_VERSION
740 PACKAGE_TARNAME
741 PACKAGE_NAME
742 PATH_SEPARATOR
743 SHELL'
744 ac_subst_files=''
745 ac_user_opts='
746 enable_option_checking
747 enable_version_specific_runtime_libs
748 enable_vtable_verify
749 enable_multilib
750 enable_maintainer_mode
751 enable_dependency_tracking
752 enable_shared
753 enable_static
754 with_pic
755 enable_fast_install
756 with_gnu_ld
757 enable_libtool_lock
759 ac_precious_vars='build_alias
760 host_alias
761 target_alias
763 CFLAGS
764 LDFLAGS
765 LIBS
766 CPPFLAGS
768 CXXCPP'
771 # Initialize some variables set by options.
772 ac_init_help=
773 ac_init_version=false
774 ac_unrecognized_opts=
775 ac_unrecognized_sep=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
778 cache_file=/dev/null
779 exec_prefix=NONE
780 no_create=
781 no_recursion=
782 prefix=NONE
783 program_prefix=NONE
784 program_suffix=NONE
785 program_transform_name=s,x,x,
786 silent=
787 site=
788 srcdir=
789 verbose=
790 x_includes=NONE
791 x_libraries=NONE
793 # Installation directory options.
794 # These are left unexpanded so users can "make install exec_prefix=/foo"
795 # and all the variables that are supposed to be based on exec_prefix
796 # by default will actually change.
797 # Use braces instead of parens because sh, perl, etc. also accept them.
798 # (The list follows the same order as the GNU Coding Standards.)
799 bindir='${exec_prefix}/bin'
800 sbindir='${exec_prefix}/sbin'
801 libexecdir='${exec_prefix}/libexec'
802 datarootdir='${prefix}/share'
803 datadir='${datarootdir}'
804 sysconfdir='${prefix}/etc'
805 sharedstatedir='${prefix}/com'
806 localstatedir='${prefix}/var'
807 includedir='${prefix}/include'
808 oldincludedir='/usr/include'
809 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
810 infodir='${datarootdir}/info'
811 htmldir='${docdir}'
812 dvidir='${docdir}'
813 pdfdir='${docdir}'
814 psdir='${docdir}'
815 libdir='${exec_prefix}/lib'
816 localedir='${datarootdir}/locale'
817 mandir='${datarootdir}/man'
819 ac_prev=
820 ac_dashdash=
821 for ac_option
823 # If the previous option needs an argument, assign it.
824 if test -n "$ac_prev"; then
825 eval $ac_prev=\$ac_option
826 ac_prev=
827 continue
830 case $ac_option in
831 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 *) ac_optarg=yes ;;
833 esac
835 # Accept the important Cygnus configure options, so we can diagnose typos.
837 case $ac_dashdash$ac_option in
839 ac_dashdash=yes ;;
841 -bindir | --bindir | --bindi | --bind | --bin | --bi)
842 ac_prev=bindir ;;
843 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
844 bindir=$ac_optarg ;;
846 -build | --build | --buil | --bui | --bu)
847 ac_prev=build_alias ;;
848 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
849 build_alias=$ac_optarg ;;
851 -cache-file | --cache-file | --cache-fil | --cache-fi \
852 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
853 ac_prev=cache_file ;;
854 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
855 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
856 cache_file=$ac_optarg ;;
858 --config-cache | -C)
859 cache_file=config.cache ;;
861 -datadir | --datadir | --datadi | --datad)
862 ac_prev=datadir ;;
863 -datadir=* | --datadir=* | --datadi=* | --datad=*)
864 datadir=$ac_optarg ;;
866 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
867 | --dataroo | --dataro | --datar)
868 ac_prev=datarootdir ;;
869 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
870 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
871 datarootdir=$ac_optarg ;;
873 -disable-* | --disable-*)
874 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
875 # Reject names that are not valid shell variable names.
876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
877 as_fn_error "invalid feature name: $ac_useropt"
878 ac_useropt_orig=$ac_useropt
879 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
880 case $ac_user_opts in
882 "enable_$ac_useropt"
883 "*) ;;
884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
885 ac_unrecognized_sep=', ';;
886 esac
887 eval enable_$ac_useropt=no ;;
889 -docdir | --docdir | --docdi | --doc | --do)
890 ac_prev=docdir ;;
891 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
892 docdir=$ac_optarg ;;
894 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
895 ac_prev=dvidir ;;
896 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
897 dvidir=$ac_optarg ;;
899 -enable-* | --enable-*)
900 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903 as_fn_error "invalid feature name: $ac_useropt"
904 ac_useropt_orig=$ac_useropt
905 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906 case $ac_user_opts in
908 "enable_$ac_useropt"
909 "*) ;;
910 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
911 ac_unrecognized_sep=', ';;
912 esac
913 eval enable_$ac_useropt=\$ac_optarg ;;
915 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
916 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
917 | --exec | --exe | --ex)
918 ac_prev=exec_prefix ;;
919 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
920 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
921 | --exec=* | --exe=* | --ex=*)
922 exec_prefix=$ac_optarg ;;
924 -gas | --gas | --ga | --g)
925 # Obsolete; use --with-gas.
926 with_gas=yes ;;
928 -help | --help | --hel | --he | -h)
929 ac_init_help=long ;;
930 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
931 ac_init_help=recursive ;;
932 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
933 ac_init_help=short ;;
935 -host | --host | --hos | --ho)
936 ac_prev=host_alias ;;
937 -host=* | --host=* | --hos=* | --ho=*)
938 host_alias=$ac_optarg ;;
940 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
941 ac_prev=htmldir ;;
942 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
943 | --ht=*)
944 htmldir=$ac_optarg ;;
946 -includedir | --includedir | --includedi | --included | --include \
947 | --includ | --inclu | --incl | --inc)
948 ac_prev=includedir ;;
949 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
950 | --includ=* | --inclu=* | --incl=* | --inc=*)
951 includedir=$ac_optarg ;;
953 -infodir | --infodir | --infodi | --infod | --info | --inf)
954 ac_prev=infodir ;;
955 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
956 infodir=$ac_optarg ;;
958 -libdir | --libdir | --libdi | --libd)
959 ac_prev=libdir ;;
960 -libdir=* | --libdir=* | --libdi=* | --libd=*)
961 libdir=$ac_optarg ;;
963 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
964 | --libexe | --libex | --libe)
965 ac_prev=libexecdir ;;
966 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
967 | --libexe=* | --libex=* | --libe=*)
968 libexecdir=$ac_optarg ;;
970 -localedir | --localedir | --localedi | --localed | --locale)
971 ac_prev=localedir ;;
972 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
973 localedir=$ac_optarg ;;
975 -localstatedir | --localstatedir | --localstatedi | --localstated \
976 | --localstate | --localstat | --localsta | --localst | --locals)
977 ac_prev=localstatedir ;;
978 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
979 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
980 localstatedir=$ac_optarg ;;
982 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
983 ac_prev=mandir ;;
984 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
985 mandir=$ac_optarg ;;
987 -nfp | --nfp | --nf)
988 # Obsolete; use --without-fp.
989 with_fp=no ;;
991 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
992 | --no-cr | --no-c | -n)
993 no_create=yes ;;
995 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
996 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
997 no_recursion=yes ;;
999 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1000 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1001 | --oldin | --oldi | --old | --ol | --o)
1002 ac_prev=oldincludedir ;;
1003 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1004 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1005 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1006 oldincludedir=$ac_optarg ;;
1008 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1009 ac_prev=prefix ;;
1010 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1011 prefix=$ac_optarg ;;
1013 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1014 | --program-pre | --program-pr | --program-p)
1015 ac_prev=program_prefix ;;
1016 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1017 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1018 program_prefix=$ac_optarg ;;
1020 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1021 | --program-suf | --program-su | --program-s)
1022 ac_prev=program_suffix ;;
1023 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1024 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1025 program_suffix=$ac_optarg ;;
1027 -program-transform-name | --program-transform-name \
1028 | --program-transform-nam | --program-transform-na \
1029 | --program-transform-n | --program-transform- \
1030 | --program-transform | --program-transfor \
1031 | --program-transfo | --program-transf \
1032 | --program-trans | --program-tran \
1033 | --progr-tra | --program-tr | --program-t)
1034 ac_prev=program_transform_name ;;
1035 -program-transform-name=* | --program-transform-name=* \
1036 | --program-transform-nam=* | --program-transform-na=* \
1037 | --program-transform-n=* | --program-transform-=* \
1038 | --program-transform=* | --program-transfor=* \
1039 | --program-transfo=* | --program-transf=* \
1040 | --program-trans=* | --program-tran=* \
1041 | --progr-tra=* | --program-tr=* | --program-t=*)
1042 program_transform_name=$ac_optarg ;;
1044 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1045 ac_prev=pdfdir ;;
1046 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1047 pdfdir=$ac_optarg ;;
1049 -psdir | --psdir | --psdi | --psd | --ps)
1050 ac_prev=psdir ;;
1051 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1052 psdir=$ac_optarg ;;
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1056 silent=yes ;;
1058 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1059 ac_prev=sbindir ;;
1060 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1061 | --sbi=* | --sb=*)
1062 sbindir=$ac_optarg ;;
1064 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1065 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1066 | --sharedst | --shareds | --shared | --share | --shar \
1067 | --sha | --sh)
1068 ac_prev=sharedstatedir ;;
1069 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1070 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1071 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1072 | --sha=* | --sh=*)
1073 sharedstatedir=$ac_optarg ;;
1075 -site | --site | --sit)
1076 ac_prev=site ;;
1077 -site=* | --site=* | --sit=*)
1078 site=$ac_optarg ;;
1080 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1081 ac_prev=srcdir ;;
1082 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1083 srcdir=$ac_optarg ;;
1085 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1086 | --syscon | --sysco | --sysc | --sys | --sy)
1087 ac_prev=sysconfdir ;;
1088 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1089 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1090 sysconfdir=$ac_optarg ;;
1092 -target | --target | --targe | --targ | --tar | --ta | --t)
1093 ac_prev=target_alias ;;
1094 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1095 target_alias=$ac_optarg ;;
1097 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1098 verbose=yes ;;
1100 -version | --version | --versio | --versi | --vers | -V)
1101 ac_init_version=: ;;
1103 -with-* | --with-*)
1104 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 as_fn_error "invalid package name: $ac_useropt"
1108 ac_useropt_orig=$ac_useropt
1109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1112 "with_$ac_useropt"
1113 "*) ;;
1114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1115 ac_unrecognized_sep=', ';;
1116 esac
1117 eval with_$ac_useropt=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123 as_fn_error "invalid package name: $ac_useropt"
1124 ac_useropt_orig=$ac_useropt
1125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1128 "with_$ac_useropt"
1129 "*) ;;
1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1131 ac_unrecognized_sep=', ';;
1132 esac
1133 eval with_$ac_useropt=no ;;
1135 --x)
1136 # Obsolete; use --with-x.
1137 with_x=yes ;;
1139 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1140 | --x-incl | --x-inc | --x-in | --x-i)
1141 ac_prev=x_includes ;;
1142 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1143 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1144 x_includes=$ac_optarg ;;
1146 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1147 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1148 ac_prev=x_libraries ;;
1149 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1150 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1151 x_libraries=$ac_optarg ;;
1153 -*) as_fn_error "unrecognized option: \`$ac_option'
1154 Try \`$0 --help' for more information."
1157 *=*)
1158 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1159 # Reject names that are not valid shell variable names.
1160 case $ac_envvar in #(
1161 '' | [0-9]* | *[!_$as_cr_alnum]* )
1162 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1163 esac
1164 eval $ac_envvar=\$ac_optarg
1165 export $ac_envvar ;;
1168 # FIXME: should be removed in autoconf 3.0.
1169 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1171 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1172 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1175 esac
1176 done
1178 if test -n "$ac_prev"; then
1179 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1180 as_fn_error "missing argument to $ac_option"
1183 if test -n "$ac_unrecognized_opts"; then
1184 case $enable_option_checking in
1185 no) ;;
1186 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1187 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1188 esac
1191 # Check all directory arguments for consistency.
1192 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1193 datadir sysconfdir sharedstatedir localstatedir includedir \
1194 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1195 libdir localedir mandir
1197 eval ac_val=\$$ac_var
1198 # Remove trailing slashes.
1199 case $ac_val in
1200 */ )
1201 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1202 eval $ac_var=\$ac_val;;
1203 esac
1204 # Be sure to have absolute directory names.
1205 case $ac_val in
1206 [\\/$]* | ?:[\\/]* ) continue;;
1207 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1208 esac
1209 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1210 done
1212 # There might be people who depend on the old broken behavior: `$host'
1213 # used to hold the argument of --host etc.
1214 # FIXME: To remove some day.
1215 build=$build_alias
1216 host=$host_alias
1217 target=$target_alias
1219 # FIXME: To remove some day.
1220 if test "x$host_alias" != x; then
1221 if test "x$build_alias" = x; then
1222 cross_compiling=maybe
1223 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1224 If a cross compiler is detected then cross compile mode will be used." >&2
1225 elif test "x$build_alias" != "x$host_alias"; then
1226 cross_compiling=yes
1230 ac_tool_prefix=
1231 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1233 test "$silent" = yes && exec 6>/dev/null
1236 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1237 ac_ls_di=`ls -di .` &&
1238 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1239 as_fn_error "working directory cannot be determined"
1240 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1241 as_fn_error "pwd does not report name of working directory"
1244 # Find the source files, if location was not specified.
1245 if test -z "$srcdir"; then
1246 ac_srcdir_defaulted=yes
1247 # Try the directory containing this script, then the parent directory.
1248 ac_confdir=`$as_dirname -- "$as_myself" ||
1249 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1250 X"$as_myself" : 'X\(//\)[^/]' \| \
1251 X"$as_myself" : 'X\(//\)$' \| \
1252 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1253 $as_echo X"$as_myself" |
1254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255 s//\1/
1258 /^X\(\/\/\)[^/].*/{
1259 s//\1/
1262 /^X\(\/\/\)$/{
1263 s//\1/
1266 /^X\(\/\).*/{
1267 s//\1/
1270 s/.*/./; q'`
1271 srcdir=$ac_confdir
1272 if test ! -r "$srcdir/$ac_unique_file"; then
1273 srcdir=..
1275 else
1276 ac_srcdir_defaulted=no
1278 if test ! -r "$srcdir/$ac_unique_file"; then
1279 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1280 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1282 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1283 ac_abs_confdir=`(
1284 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1285 pwd)`
1286 # When building in place, set srcdir=.
1287 if test "$ac_abs_confdir" = "$ac_pwd"; then
1288 srcdir=.
1290 # Remove unnecessary trailing slashes from srcdir.
1291 # Double slashes in file names in object file debugging info
1292 # mess up M-x gdb in Emacs.
1293 case $srcdir in
1294 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1295 esac
1296 for ac_var in $ac_precious_vars; do
1297 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1298 eval ac_env_${ac_var}_value=\$${ac_var}
1299 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1300 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1301 done
1304 # Report the --help message.
1306 if test "$ac_init_help" = "long"; then
1307 # Omit some internal or obsolete options to make the list less imposing.
1308 # This message is too long to be a string in the A/UX 3.1 sh.
1309 cat <<_ACEOF
1310 \`configure' configures GNU Vtable Verification Runtime Library 1.0 to adapt to many kinds of systems.
1312 Usage: $0 [OPTION]... [VAR=VALUE]...
1314 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1315 VAR=VALUE. See below for descriptions of some of the useful variables.
1317 Defaults for the options are specified in brackets.
1319 Configuration:
1320 -h, --help display this help and exit
1321 --help=short display options specific to this package
1322 --help=recursive display the short help of all the included packages
1323 -V, --version display version information and exit
1324 -q, --quiet, --silent do not print \`checking...' messages
1325 --cache-file=FILE cache test results in FILE [disabled]
1326 -C, --config-cache alias for \`--cache-file=config.cache'
1327 -n, --no-create do not create output files
1328 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1330 Installation directories:
1331 --prefix=PREFIX install architecture-independent files in PREFIX
1332 [$ac_default_prefix]
1333 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1334 [PREFIX]
1336 By default, \`make install' will install all the files in
1337 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1338 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1339 for instance \`--prefix=\$HOME'.
1341 For better control, use the options below.
1343 Fine tuning of the installation directories:
1344 --bindir=DIR user executables [EPREFIX/bin]
1345 --sbindir=DIR system admin executables [EPREFIX/sbin]
1346 --libexecdir=DIR program executables [EPREFIX/libexec]
1347 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1348 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1349 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1350 --libdir=DIR object code libraries [EPREFIX/lib]
1351 --includedir=DIR C header files [PREFIX/include]
1352 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1353 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1354 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1355 --infodir=DIR info documentation [DATAROOTDIR/info]
1356 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1357 --mandir=DIR man documentation [DATAROOTDIR/man]
1358 --docdir=DIR documentation root [DATAROOTDIR/doc/libvtv]
1359 --htmldir=DIR html documentation [DOCDIR]
1360 --dvidir=DIR dvi documentation [DOCDIR]
1361 --pdfdir=DIR pdf documentation [DOCDIR]
1362 --psdir=DIR ps documentation [DOCDIR]
1363 _ACEOF
1365 cat <<\_ACEOF
1367 Program names:
1368 --program-prefix=PREFIX prepend PREFIX to installed program names
1369 --program-suffix=SUFFIX append SUFFIX to installed program names
1370 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1372 System types:
1373 --build=BUILD configure for building on BUILD [guessed]
1374 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1375 --target=TARGET configure for building compilers for TARGET [HOST]
1376 _ACEOF
1379 if test -n "$ac_init_help"; then
1380 case $ac_init_help in
1381 short | recursive ) echo "Configuration of GNU Vtable Verification Runtime Library 1.0:";;
1382 esac
1383 cat <<\_ACEOF
1385 Optional Features:
1386 --disable-option-checking ignore unrecognized --enable/--with options
1387 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1388 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1389 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1390 --enable-vtable-verify Enable vtable verification feature
1391 --enable-multilib build many library versions (default)
1392 --enable-maintainer-mode enable make rules and dependencies not useful
1393 (and sometimes confusing) to the casual installer
1394 --disable-dependency-tracking speeds up one-time build
1395 --enable-dependency-tracking do not reject slow dependency extractors
1396 --enable-shared[=PKGS] build shared libraries [default=yes]
1397 --enable-static[=PKGS] build static libraries [default=yes]
1398 --enable-fast-install[=PKGS]
1399 optimize for fast installation [default=yes]
1400 --disable-libtool-lock avoid locking (might break parallel builds)
1402 Optional Packages:
1403 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1404 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1405 --with-pic try to use only PIC/non-PIC objects [default=use
1406 both]
1407 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1409 Some influential environment variables:
1410 CC C compiler command
1411 CFLAGS C compiler flags
1412 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1413 nonstandard directory <lib dir>
1414 LIBS libraries to pass to the linker, e.g. -l<library>
1415 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1416 you have headers in a nonstandard directory <include dir>
1417 CPP C preprocessor
1418 CXX C++ compiler command
1419 CXXFLAGS C++ compiler flags
1420 CXXCPP C++ preprocessor
1422 Use these variables to override the choices made by `configure' or to help
1423 it to find libraries and programs with nonstandard names/locations.
1425 Report bugs to the package provider.
1426 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
1427 General help using GNU software: <http://www.gnu.org/gethelp/>.
1428 _ACEOF
1429 ac_status=$?
1432 if test "$ac_init_help" = "recursive"; then
1433 # If there are subdirs, report their specific --help.
1434 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1435 test -d "$ac_dir" ||
1436 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1437 continue
1438 ac_builddir=.
1440 case "$ac_dir" in
1441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1444 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1446 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1449 esac ;;
1450 esac
1451 ac_abs_top_builddir=$ac_pwd
1452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1453 # for backward compatibility:
1454 ac_top_builddir=$ac_top_build_prefix
1456 case $srcdir in
1457 .) # We are building in place.
1458 ac_srcdir=.
1459 ac_top_srcdir=$ac_top_builddir_sub
1460 ac_abs_top_srcdir=$ac_pwd ;;
1461 [\\/]* | ?:[\\/]* ) # Absolute name.
1462 ac_srcdir=$srcdir$ac_dir_suffix;
1463 ac_top_srcdir=$srcdir
1464 ac_abs_top_srcdir=$srcdir ;;
1465 *) # Relative name.
1466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1467 ac_top_srcdir=$ac_top_build_prefix$srcdir
1468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1469 esac
1470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1472 cd "$ac_dir" || { ac_status=$?; continue; }
1473 # Check for guested configure.
1474 if test -f "$ac_srcdir/configure.gnu"; then
1475 echo &&
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1477 elif test -f "$ac_srcdir/configure"; then
1478 echo &&
1479 $SHELL "$ac_srcdir/configure" --help=recursive
1480 else
1481 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1482 fi || ac_status=$?
1483 cd "$ac_pwd" || { ac_status=$?; break; }
1484 done
1487 test -n "$ac_init_help" && exit $ac_status
1488 if $ac_init_version; then
1489 cat <<\_ACEOF
1490 GNU Vtable Verification Runtime Library configure 1.0
1491 generated by GNU Autoconf 2.64
1493 Copyright (C) 2009 Free Software Foundation, Inc.
1494 This configure script is free software; the Free Software Foundation
1495 gives unlimited permission to copy, distribute and modify it.
1496 _ACEOF
1497 exit
1500 ## ------------------------ ##
1501 ## Autoconf initialization. ##
1502 ## ------------------------ ##
1504 # ac_fn_c_try_compile LINENO
1505 # --------------------------
1506 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1507 ac_fn_c_try_compile ()
1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510 rm -f conftest.$ac_objext
1511 if { { ac_try="$ac_compile"
1512 case "(($ac_try" in
1513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1514 *) ac_try_echo=$ac_try;;
1515 esac
1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517 $as_echo "$ac_try_echo"; } >&5
1518 (eval "$ac_compile") 2>conftest.err
1519 ac_status=$?
1520 if test -s conftest.err; then
1521 grep -v '^ *+' conftest.err >conftest.er1
1522 cat conftest.er1 >&5
1523 mv -f conftest.er1 conftest.err
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 test $ac_status = 0; } && {
1527 test -z "$ac_c_werror_flag" ||
1528 test ! -s conftest.err
1529 } && test -s conftest.$ac_objext; then :
1530 ac_retval=0
1531 else
1532 $as_echo "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.$ac_ext >&5
1535 ac_retval=1
1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1538 return $ac_retval
1540 } # ac_fn_c_try_compile
1542 # ac_fn_c_try_cpp LINENO
1543 # ----------------------
1544 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1545 ac_fn_c_try_cpp ()
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 if { { ac_try="$ac_cpp conftest.$ac_ext"
1549 case "(($ac_try" in
1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551 *) ac_try_echo=$ac_try;;
1552 esac
1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1556 ac_status=$?
1557 if test -s conftest.err; then
1558 grep -v '^ *+' conftest.err >conftest.er1
1559 cat conftest.er1 >&5
1560 mv -f conftest.er1 conftest.err
1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563 test $ac_status = 0; } >/dev/null && {
1564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1565 test ! -s conftest.err
1566 }; then :
1567 ac_retval=0
1568 else
1569 $as_echo "$as_me: failed program was:" >&5
1570 sed 's/^/| /' conftest.$ac_ext >&5
1572 ac_retval=1
1574 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1575 return $ac_retval
1577 } # ac_fn_c_try_cpp
1579 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1580 # -------------------------------------------------------
1581 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1582 # the include files in INCLUDES and setting the cache variable VAR
1583 # accordingly.
1584 ac_fn_c_check_header_mongrel ()
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1589 $as_echo_n "checking for $2... " >&6; }
1590 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1591 $as_echo_n "(cached) " >&6
1593 eval ac_res=\$$3
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1595 $as_echo "$ac_res" >&6; }
1596 else
1597 # Is the header compilable?
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1599 $as_echo_n "checking $2 usability... " >&6; }
1600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1601 /* end confdefs.h. */
1603 #include <$2>
1604 _ACEOF
1605 if ac_fn_c_try_compile "$LINENO"; then :
1606 ac_header_compiler=yes
1607 else
1608 ac_header_compiler=no
1610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1612 $as_echo "$ac_header_compiler" >&6; }
1614 # Is the header present?
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1616 $as_echo_n "checking $2 presence... " >&6; }
1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1619 #include <$2>
1620 _ACEOF
1621 if ac_fn_c_try_cpp "$LINENO"; then :
1622 ac_header_preproc=yes
1623 else
1624 ac_header_preproc=no
1626 rm -f conftest.err conftest.$ac_ext
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1628 $as_echo "$ac_header_preproc" >&6; }
1630 # So? What about this header?
1631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1632 yes:no: )
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1634 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1636 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1638 no:yes:* )
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1640 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1642 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1644 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1646 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1648 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1650 esac
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1652 $as_echo_n "checking for $2... " >&6; }
1653 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1654 $as_echo_n "(cached) " >&6
1655 else
1656 eval "$3=\$ac_header_compiler"
1658 eval ac_res=\$$3
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1660 $as_echo "$ac_res" >&6; }
1662 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 } # ac_fn_c_check_header_mongrel
1666 # ac_fn_c_try_run LINENO
1667 # ----------------------
1668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1669 # that executables *can* be run.
1670 ac_fn_c_try_run ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if { { ac_try="$ac_link"
1674 case "(($ac_try" in
1675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1676 *) ac_try_echo=$ac_try;;
1677 esac
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680 (eval "$ac_link") 2>&5
1681 ac_status=$?
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1684 { { case "(($ac_try" in
1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1687 esac
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_try") 2>&5
1691 ac_status=$?
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; }; }; then :
1694 ac_retval=0
1695 else
1696 $as_echo "$as_me: program exited with status $ac_status" >&5
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1700 ac_retval=$ac_status
1702 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1703 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1704 return $ac_retval
1706 } # ac_fn_c_try_run
1708 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1709 # -------------------------------------------------------
1710 # Tests whether HEADER exists and can be compiled using the include files in
1711 # INCLUDES, setting the cache variable VAR accordingly.
1712 ac_fn_c_check_header_compile ()
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1716 $as_echo_n "checking for $2... " >&6; }
1717 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1718 $as_echo_n "(cached) " >&6
1719 else
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h. */
1723 #include <$2>
1724 _ACEOF
1725 if ac_fn_c_try_compile "$LINENO"; then :
1726 eval "$3=yes"
1727 else
1728 eval "$3=no"
1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1732 eval ac_res=\$$3
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1735 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 } # ac_fn_c_check_header_compile
1739 # ac_fn_c_try_link LINENO
1740 # -----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded.
1742 ac_fn_c_try_link ()
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 rm -f conftest.$ac_objext conftest$ac_exeext
1746 if { { ac_try="$ac_link"
1747 case "(($ac_try" in
1748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749 *) ac_try_echo=$ac_try;;
1750 esac
1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_link") 2>conftest.err
1754 ac_status=$?
1755 if test -s conftest.err; then
1756 grep -v '^ *+' conftest.err >conftest.er1
1757 cat conftest.er1 >&5
1758 mv -f conftest.er1 conftest.err
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; } && {
1762 test -z "$ac_c_werror_flag" ||
1763 test ! -s conftest.err
1764 } && test -s conftest$ac_exeext && {
1765 test "$cross_compiling" = yes ||
1766 $as_test_x conftest$ac_exeext
1767 }; then :
1768 ac_retval=0
1769 else
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1773 ac_retval=1
1775 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1776 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1777 # interfere with the next link command; also delete a directory that is
1778 # left behind by Apple's compiler. We do this before executing the actions.
1779 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781 return $ac_retval
1783 } # ac_fn_c_try_link
1785 # ac_fn_c_check_func LINENO FUNC VAR
1786 # ----------------------------------
1787 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1788 ac_fn_c_check_func ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792 $as_echo_n "checking for $2... " >&6; }
1793 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1794 $as_echo_n "(cached) " >&6
1795 else
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1798 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1800 #define $2 innocuous_$2
1802 /* System header to define __stub macros and hopefully few prototypes,
1803 which can conflict with char $2 (); below.
1804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1805 <limits.h> exists even on freestanding compilers. */
1807 #ifdef __STDC__
1808 # include <limits.h>
1809 #else
1810 # include <assert.h>
1811 #endif
1813 #undef $2
1815 /* Override any GCC internal prototype to avoid an error.
1816 Use char because int might match the return type of a GCC
1817 builtin and then its argument prototype would still apply. */
1818 #ifdef __cplusplus
1819 extern "C"
1820 #endif
1821 char $2 ();
1822 /* The GNU C library defines this for functions which it implements
1823 to always fail with ENOSYS. Some functions are actually named
1824 something starting with __ and the normal name is an alias. */
1825 #if defined __stub_$2 || defined __stub___$2
1826 choke me
1827 #endif
1830 main ()
1832 return $2 ();
1834 return 0;
1836 _ACEOF
1837 if ac_fn_c_try_link "$LINENO"; then :
1838 eval "$3=yes"
1839 else
1840 eval "$3=no"
1842 rm -f core conftest.err conftest.$ac_objext \
1843 conftest$ac_exeext conftest.$ac_ext
1845 eval ac_res=\$$3
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1848 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1850 } # ac_fn_c_check_func
1852 # ac_fn_cxx_try_compile LINENO
1853 # ----------------------------
1854 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1855 ac_fn_cxx_try_compile ()
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 rm -f conftest.$ac_objext
1859 if { { ac_try="$ac_compile"
1860 case "(($ac_try" in
1861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862 *) ac_try_echo=$ac_try;;
1863 esac
1864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865 $as_echo "$ac_try_echo"; } >&5
1866 (eval "$ac_compile") 2>conftest.err
1867 ac_status=$?
1868 if test -s conftest.err; then
1869 grep -v '^ *+' conftest.err >conftest.er1
1870 cat conftest.er1 >&5
1871 mv -f conftest.er1 conftest.err
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && {
1875 test -z "$ac_cxx_werror_flag" ||
1876 test ! -s conftest.err
1877 } && test -s conftest.$ac_objext; then :
1878 ac_retval=0
1879 else
1880 $as_echo "$as_me: failed program was:" >&5
1881 sed 's/^/| /' conftest.$ac_ext >&5
1883 ac_retval=1
1885 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886 return $ac_retval
1888 } # ac_fn_cxx_try_compile
1890 # ac_fn_cxx_try_cpp LINENO
1891 # ------------------------
1892 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1893 ac_fn_cxx_try_cpp ()
1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896 if { { ac_try="$ac_cpp conftest.$ac_ext"
1897 case "(($ac_try" in
1898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899 *) ac_try_echo=$ac_try;;
1900 esac
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1904 ac_status=$?
1905 if test -s conftest.err; then
1906 grep -v '^ *+' conftest.err >conftest.er1
1907 cat conftest.er1 >&5
1908 mv -f conftest.er1 conftest.err
1910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911 test $ac_status = 0; } >/dev/null && {
1912 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1913 test ! -s conftest.err
1914 }; then :
1915 ac_retval=0
1916 else
1917 $as_echo "$as_me: failed program was:" >&5
1918 sed 's/^/| /' conftest.$ac_ext >&5
1920 ac_retval=1
1922 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1923 return $ac_retval
1925 } # ac_fn_cxx_try_cpp
1927 # ac_fn_cxx_try_link LINENO
1928 # -------------------------
1929 # Try to link conftest.$ac_ext, and return whether this succeeded.
1930 ac_fn_cxx_try_link ()
1932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1933 rm -f conftest.$ac_objext conftest$ac_exeext
1934 if { { ac_try="$ac_link"
1935 case "(($ac_try" in
1936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1937 *) ac_try_echo=$ac_try;;
1938 esac
1939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1940 $as_echo "$ac_try_echo"; } >&5
1941 (eval "$ac_link") 2>conftest.err
1942 ac_status=$?
1943 if test -s conftest.err; then
1944 grep -v '^ *+' conftest.err >conftest.er1
1945 cat conftest.er1 >&5
1946 mv -f conftest.er1 conftest.err
1948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1949 test $ac_status = 0; } && {
1950 test -z "$ac_cxx_werror_flag" ||
1951 test ! -s conftest.err
1952 } && test -s conftest$ac_exeext && {
1953 test "$cross_compiling" = yes ||
1954 $as_test_x conftest$ac_exeext
1955 }; then :
1956 ac_retval=0
1957 else
1958 $as_echo "$as_me: failed program was:" >&5
1959 sed 's/^/| /' conftest.$ac_ext >&5
1961 ac_retval=1
1963 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1964 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1965 # interfere with the next link command; also delete a directory that is
1966 # left behind by Apple's compiler. We do this before executing the actions.
1967 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1968 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1969 return $ac_retval
1971 } # ac_fn_cxx_try_link
1972 cat >config.log <<_ACEOF
1973 This file contains any messages produced by compilers while
1974 running configure, to aid debugging if configure makes a mistake.
1976 It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
1977 generated by GNU Autoconf 2.64. Invocation command line was
1979 $ $0 $@
1981 _ACEOF
1982 exec 5>>config.log
1984 cat <<_ASUNAME
1985 ## --------- ##
1986 ## Platform. ##
1987 ## --------- ##
1989 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1990 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1991 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1992 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1993 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1995 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1996 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1998 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1999 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2000 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2001 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2002 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2003 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2004 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2006 _ASUNAME
2008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009 for as_dir in $PATH
2011 IFS=$as_save_IFS
2012 test -z "$as_dir" && as_dir=.
2013 $as_echo "PATH: $as_dir"
2014 done
2015 IFS=$as_save_IFS
2017 } >&5
2019 cat >&5 <<_ACEOF
2022 ## ----------- ##
2023 ## Core tests. ##
2024 ## ----------- ##
2026 _ACEOF
2029 # Keep a trace of the command line.
2030 # Strip out --no-create and --no-recursion so they do not pile up.
2031 # Strip out --silent because we don't want to record it for future runs.
2032 # Also quote any args containing shell meta-characters.
2033 # Make two passes to allow for proper duplicate-argument suppression.
2034 ac_configure_args=
2035 ac_configure_args0=
2036 ac_configure_args1=
2037 ac_must_keep_next=false
2038 for ac_pass in 1 2
2040 for ac_arg
2042 case $ac_arg in
2043 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2045 | -silent | --silent | --silen | --sile | --sil)
2046 continue ;;
2047 *\'*)
2048 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2049 esac
2050 case $ac_pass in
2051 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2053 as_fn_append ac_configure_args1 " '$ac_arg'"
2054 if test $ac_must_keep_next = true; then
2055 ac_must_keep_next=false # Got value, back to normal.
2056 else
2057 case $ac_arg in
2058 *=* | --config-cache | -C | -disable-* | --disable-* \
2059 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2060 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2061 | -with-* | --with-* | -without-* | --without-* | --x)
2062 case "$ac_configure_args0 " in
2063 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2064 esac
2066 -* ) ac_must_keep_next=true ;;
2067 esac
2069 as_fn_append ac_configure_args " '$ac_arg'"
2071 esac
2072 done
2073 done
2074 { ac_configure_args0=; unset ac_configure_args0;}
2075 { ac_configure_args1=; unset ac_configure_args1;}
2077 # When interrupted or exit'd, cleanup temporary files, and complete
2078 # config.log. We remove comments because anyway the quotes in there
2079 # would cause problems or look ugly.
2080 # WARNING: Use '\'' to represent an apostrophe within the trap.
2081 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2082 trap 'exit_status=$?
2083 # Save into config.log some information that might help in debugging.
2085 echo
2087 cat <<\_ASBOX
2088 ## ---------------- ##
2089 ## Cache variables. ##
2090 ## ---------------- ##
2091 _ASBOX
2092 echo
2093 # The following way of writing the cache mishandles newlines in values,
2095 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2096 eval ac_val=\$$ac_var
2097 case $ac_val in #(
2098 *${as_nl}*)
2099 case $ac_var in #(
2100 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2101 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2102 esac
2103 case $ac_var in #(
2104 _ | IFS | as_nl) ;; #(
2105 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2106 *) { eval $ac_var=; unset $ac_var;} ;;
2107 esac ;;
2108 esac
2109 done
2110 (set) 2>&1 |
2111 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2112 *${as_nl}ac_space=\ *)
2113 sed -n \
2114 "s/'\''/'\''\\\\'\'''\''/g;
2115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2116 ;; #(
2118 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2120 esac |
2121 sort
2123 echo
2125 cat <<\_ASBOX
2126 ## ----------------- ##
2127 ## Output variables. ##
2128 ## ----------------- ##
2129 _ASBOX
2130 echo
2131 for ac_var in $ac_subst_vars
2133 eval ac_val=\$$ac_var
2134 case $ac_val in
2135 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2136 esac
2137 $as_echo "$ac_var='\''$ac_val'\''"
2138 done | sort
2139 echo
2141 if test -n "$ac_subst_files"; then
2142 cat <<\_ASBOX
2143 ## ------------------- ##
2144 ## File substitutions. ##
2145 ## ------------------- ##
2146 _ASBOX
2147 echo
2148 for ac_var in $ac_subst_files
2150 eval ac_val=\$$ac_var
2151 case $ac_val in
2152 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2153 esac
2154 $as_echo "$ac_var='\''$ac_val'\''"
2155 done | sort
2156 echo
2159 if test -s confdefs.h; then
2160 cat <<\_ASBOX
2161 ## ----------- ##
2162 ## confdefs.h. ##
2163 ## ----------- ##
2164 _ASBOX
2165 echo
2166 cat confdefs.h
2167 echo
2169 test "$ac_signal" != 0 &&
2170 $as_echo "$as_me: caught signal $ac_signal"
2171 $as_echo "$as_me: exit $exit_status"
2172 } >&5
2173 rm -f core *.core core.conftest.* &&
2174 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2175 exit $exit_status
2177 for ac_signal in 1 2 13 15; do
2178 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2179 done
2180 ac_signal=0
2182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2183 rm -f -r conftest* confdefs.h
2185 $as_echo "/* confdefs.h */" > confdefs.h
2187 # Predefined preprocessor variables.
2189 cat >>confdefs.h <<_ACEOF
2190 #define PACKAGE_NAME "$PACKAGE_NAME"
2191 _ACEOF
2193 cat >>confdefs.h <<_ACEOF
2194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2195 _ACEOF
2197 cat >>confdefs.h <<_ACEOF
2198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2199 _ACEOF
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE_STRING "$PACKAGE_STRING"
2203 _ACEOF
2205 cat >>confdefs.h <<_ACEOF
2206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2207 _ACEOF
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_URL "$PACKAGE_URL"
2211 _ACEOF
2214 # Let the site file select an alternate cache file if it wants to.
2215 # Prefer an explicitly selected file to automatically selected ones.
2216 ac_site_file1=NONE
2217 ac_site_file2=NONE
2218 if test -n "$CONFIG_SITE"; then
2219 ac_site_file1=$CONFIG_SITE
2220 elif test "x$prefix" != xNONE; then
2221 ac_site_file1=$prefix/share/config.site
2222 ac_site_file2=$prefix/etc/config.site
2223 else
2224 ac_site_file1=$ac_default_prefix/share/config.site
2225 ac_site_file2=$ac_default_prefix/etc/config.site
2227 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2229 test "x$ac_site_file" = xNONE && continue
2230 if test -r "$ac_site_file"; then
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2232 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2233 sed 's/^/| /' "$ac_site_file" >&5
2234 . "$ac_site_file"
2236 done
2238 if test -r "$cache_file"; then
2239 # Some versions of bash will fail to source /dev/null (special
2240 # files actually), so we avoid doing that.
2241 if test -f "$cache_file"; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2243 $as_echo "$as_me: loading cache $cache_file" >&6;}
2244 case $cache_file in
2245 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2246 *) . "./$cache_file";;
2247 esac
2249 else
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2251 $as_echo "$as_me: creating cache $cache_file" >&6;}
2252 >$cache_file
2255 # Check that the precious variables saved in the cache have kept the same
2256 # value.
2257 ac_cache_corrupted=false
2258 for ac_var in $ac_precious_vars; do
2259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2260 eval ac_new_set=\$ac_env_${ac_var}_set
2261 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2262 eval ac_new_val=\$ac_env_${ac_var}_value
2263 case $ac_old_set,$ac_new_set in
2264 set,)
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2266 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2267 ac_cache_corrupted=: ;;
2268 ,set)
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2270 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2271 ac_cache_corrupted=: ;;
2272 ,);;
2274 if test "x$ac_old_val" != "x$ac_new_val"; then
2275 # differences in whitespace do not lead to failure.
2276 ac_old_val_w=`echo x $ac_old_val`
2277 ac_new_val_w=`echo x $ac_new_val`
2278 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2280 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2281 ac_cache_corrupted=:
2282 else
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2284 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2285 eval $ac_var=\$ac_old_val
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2288 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2290 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2291 fi;;
2292 esac
2293 # Pass precious variables to config.status.
2294 if test "$ac_new_set" = set; then
2295 case $ac_new_val in
2296 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2297 *) ac_arg=$ac_var=$ac_new_val ;;
2298 esac
2299 case " $ac_configure_args " in
2300 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2301 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2302 esac
2304 done
2305 if $ac_cache_corrupted; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2309 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2310 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2312 ## -------------------- ##
2313 ## Main body of script. ##
2314 ## -------------------- ##
2316 ac_ext=c
2317 ac_cpp='$CPP $CPPFLAGS'
2318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2326 #AC_INIT(package-unused, version-unused, libvtv)
2329 # -------
2330 # Options
2331 # -------
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2333 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2334 # Check whether --enable-version-specific-runtime-libs was given.
2335 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2336 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2337 yes) version_specific_libs=yes ;;
2338 no) version_specific_libs=no ;;
2339 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2340 esac
2341 else
2342 version_specific_libs=no
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2346 $as_echo "$version_specific_libs" >&6; }
2348 # Do not delete or change the following two lines. For why, see
2349 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2350 ac_aux_dir=
2351 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2352 for ac_t in install-sh install.sh shtool; do
2353 if test -f "$ac_dir/$ac_t"; then
2354 ac_aux_dir=$ac_dir
2355 ac_install_sh="$ac_aux_dir/$ac_t -c"
2356 break 2
2358 done
2359 done
2360 if test -z "$ac_aux_dir"; then
2361 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2364 # These three variables are undocumented and unsupported,
2365 # and are intended to be withdrawn in a future Autoconf release.
2366 # They can cause serious problems if a builder's source tree is in a directory
2367 # whose full name contains unusual characters.
2368 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2369 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2370 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2373 # Make sure we can run config.sub.
2374 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2375 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2378 $as_echo_n "checking build system type... " >&6; }
2379 if test "${ac_cv_build+set}" = set; then :
2380 $as_echo_n "(cached) " >&6
2381 else
2382 ac_build_alias=$build_alias
2383 test "x$ac_build_alias" = x &&
2384 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2385 test "x$ac_build_alias" = x &&
2386 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2387 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2388 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2392 $as_echo "$ac_cv_build" >&6; }
2393 case $ac_cv_build in
2394 *-*-*) ;;
2395 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2396 esac
2397 build=$ac_cv_build
2398 ac_save_IFS=$IFS; IFS='-'
2399 set x $ac_cv_build
2400 shift
2401 build_cpu=$1
2402 build_vendor=$2
2403 shift; shift
2404 # Remember, the first character of IFS is used to create $*,
2405 # except with old shells:
2406 build_os=$*
2407 IFS=$ac_save_IFS
2408 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2412 $as_echo_n "checking host system type... " >&6; }
2413 if test "${ac_cv_host+set}" = set; then :
2414 $as_echo_n "(cached) " >&6
2415 else
2416 if test "x$host_alias" = x; then
2417 ac_cv_host=$ac_cv_build
2418 else
2419 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2420 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2425 $as_echo "$ac_cv_host" >&6; }
2426 case $ac_cv_host in
2427 *-*-*) ;;
2428 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2429 esac
2430 host=$ac_cv_host
2431 ac_save_IFS=$IFS; IFS='-'
2432 set x $ac_cv_host
2433 shift
2434 host_cpu=$1
2435 host_vendor=$2
2436 shift; shift
2437 # Remember, the first character of IFS is used to create $*,
2438 # except with old shells:
2439 host_os=$*
2440 IFS=$ac_save_IFS
2441 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2445 $as_echo_n "checking target system type... " >&6; }
2446 if test "${ac_cv_target+set}" = set; then :
2447 $as_echo_n "(cached) " >&6
2448 else
2449 if test "x$target_alias" = x; then
2450 ac_cv_target=$ac_cv_host
2451 else
2452 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2453 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2458 $as_echo "$ac_cv_target" >&6; }
2459 case $ac_cv_target in
2460 *-*-*) ;;
2461 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2462 esac
2463 target=$ac_cv_target
2464 ac_save_IFS=$IFS; IFS='-'
2465 set x $ac_cv_target
2466 shift
2467 target_cpu=$1
2468 target_vendor=$2
2469 shift; shift
2470 # Remember, the first character of IFS is used to create $*,
2471 # except with old shells:
2472 target_os=$*
2473 IFS=$ac_save_IFS
2474 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2477 # The aliases save the names the user supplied, while $host etc.
2478 # will get canonicalized.
2479 test -n "$target_alias" &&
2480 test "$program_prefix$program_suffix$program_transform_name" = \
2481 NONENONEs,x,x, &&
2482 program_prefix=${target_alias}-
2484 target_alias=${target_alias-$host_alias}
2486 case ${build_alias} in
2487 "") build_noncanonical=${build} ;;
2488 *) build_noncanonical=${build_alias} ;;
2489 esac
2491 case ${host_alias} in
2492 "") host_noncanonical=${build_noncanonical} ;;
2493 *) host_noncanonical=${host_alias} ;;
2494 esac
2496 case ${target_alias} in
2497 "") target_noncanonical=${host_noncanonical} ;;
2498 *) target_noncanonical=${target_alias} ;;
2499 esac
2505 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2506 -I\$(top_builddir)/../libstdc++-v3/include \
2507 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2508 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2509 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2510 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2515 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
2517 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
2518 # Check whether --enable-vtable-verify was given.
2519 if test "${enable_vtable_verify+set}" = set; then :
2520 enableval=$enable_vtable_verify; case "$enableval" in
2521 yes) enable_vtable_verify=yes ;;
2522 no) enable_vtable_verify=no ;;
2523 *) enable_vtable_verify=no;;
2524 esac
2525 else
2526 enable_vtable_verify=no
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
2530 $as_echo "$enable_vtable_verify" >&6; }
2532 # See if supported.
2533 unset VTV_SUPPORTED
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
2535 $as_echo_n "checking for host support for vtable verification... " >&6; }
2536 . ${srcdir}/configure.tgt
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
2538 $as_echo "$VTV_SUPPORTED" >&6; }
2540 # Decide if it's usable.
2541 use_vtable_verify=no
2542 if test "x$VTV_SUPPORTED" = "xyes"; then
2543 if test "x$enable_vtable_verify" = "xyes"; then
2544 use_vtable_verify=yes
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
2546 $as_echo "$as_me: using vtable verification" >&6;}
2549 if test $use_vtable_verify = yes; then
2550 ENABLE_VTABLE_VERIFY_TRUE=
2551 ENABLE_VTABLE_VERIFY_FALSE='#'
2552 else
2553 ENABLE_VTABLE_VERIFY_TRUE='#'
2554 ENABLE_VTABLE_VERIFY_FALSE=
2558 am__api_version='1.11'
2560 # Find a good install program. We prefer a C program (faster),
2561 # so one script is as good as another. But avoid the broken or
2562 # incompatible versions:
2563 # SysV /etc/install, /usr/sbin/install
2564 # SunOS /usr/etc/install
2565 # IRIX /sbin/install
2566 # AIX /bin/install
2567 # AmigaOS /C/install, which installs bootblocks on floppy discs
2568 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2569 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2570 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2571 # OS/2's system install, which has a completely different semantic
2572 # ./install, which can be erroneously created by make from ./install.sh.
2573 # Reject install programs that cannot install multiple files.
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2575 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2576 if test -z "$INSTALL"; then
2577 if test "${ac_cv_path_install+set}" = set; then :
2578 $as_echo_n "(cached) " >&6
2579 else
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 for as_dir in $PATH
2583 IFS=$as_save_IFS
2584 test -z "$as_dir" && as_dir=.
2585 # Account for people who put trailing slashes in PATH elements.
2586 case $as_dir/ in #((
2587 ./ | .// | /[cC]/* | \
2588 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2589 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2590 /usr/ucb/* ) ;;
2592 # OSF1 and SCO ODT 3.0 have their own names for install.
2593 # Don't use installbsd from OSF since it installs stuff as root
2594 # by default.
2595 for ac_prog in ginstall scoinst install; do
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2598 if test $ac_prog = install &&
2599 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2600 # AIX install. It has an incompatible calling convention.
2602 elif test $ac_prog = install &&
2603 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2604 # program-specific install script used by HP pwplus--don't use.
2606 else
2607 rm -rf conftest.one conftest.two conftest.dir
2608 echo one > conftest.one
2609 echo two > conftest.two
2610 mkdir conftest.dir
2611 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2612 test -s conftest.one && test -s conftest.two &&
2613 test -s conftest.dir/conftest.one &&
2614 test -s conftest.dir/conftest.two
2615 then
2616 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2617 break 3
2621 done
2622 done
2624 esac
2626 done
2627 IFS=$as_save_IFS
2629 rm -rf conftest.one conftest.two conftest.dir
2632 if test "${ac_cv_path_install+set}" = set; then
2633 INSTALL=$ac_cv_path_install
2634 else
2635 # As a last resort, use the slow shell script. Don't cache a
2636 # value for INSTALL within a source directory, because that will
2637 # break other packages using the cache if that directory is
2638 # removed, or if the value is a relative name.
2639 INSTALL=$ac_install_sh
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2643 $as_echo "$INSTALL" >&6; }
2645 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2646 # It thinks the first close brace ends the variable substitution.
2647 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2649 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2651 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2654 $as_echo_n "checking whether build environment is sane... " >&6; }
2655 # Just in case
2656 sleep 1
2657 echo timestamp > conftest.file
2658 # Reject unsafe characters in $srcdir or the absolute working directory
2659 # name. Accept space and tab only in the latter.
2660 am_lf='
2662 case `pwd` in
2663 *[\\\"\#\$\&\'\`$am_lf]*)
2664 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2665 esac
2666 case $srcdir in
2667 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2668 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2669 esac
2671 # Do `set' in a subshell so we don't clobber the current shell's
2672 # arguments. Must try -L first in case configure is actually a
2673 # symlink; some systems play weird games with the mod time of symlinks
2674 # (eg FreeBSD returns the mod time of the symlink's containing
2675 # directory).
2676 if (
2677 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2678 if test "$*" = "X"; then
2679 # -L didn't work.
2680 set X `ls -t "$srcdir/configure" conftest.file`
2682 rm -f conftest.file
2683 if test "$*" != "X $srcdir/configure conftest.file" \
2684 && test "$*" != "X conftest.file $srcdir/configure"; then
2686 # If neither matched, then we have a broken ls. This can happen
2687 # if, for instance, CONFIG_SHELL is bash and it inherits a
2688 # broken ls alias from the environment. This has actually
2689 # happened. Such a system could not be considered "sane".
2690 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2691 alias in your environment" "$LINENO" 5
2694 test "$2" = conftest.file
2696 then
2697 # Ok.
2699 else
2700 as_fn_error "newly created file is older than distributed files!
2701 Check your system clock" "$LINENO" 5
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2704 $as_echo "yes" >&6; }
2705 test "$program_prefix" != NONE &&
2706 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2707 # Use a double $ so make ignores it.
2708 test "$program_suffix" != NONE &&
2709 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2710 # Double any \ or $.
2711 # By default was `s,x,x', remove it if useless.
2712 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2713 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2715 # expand $ac_aux_dir to an absolute path
2716 am_aux_dir=`cd $ac_aux_dir && pwd`
2718 if test x"${MISSING+set}" != xset; then
2719 case $am_aux_dir in
2720 *\ * | *\ *)
2721 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2723 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2724 esac
2726 # Use eval to expand $SHELL
2727 if eval "$MISSING --run true"; then
2728 am_missing_run="$MISSING --run "
2729 else
2730 am_missing_run=
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2732 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2735 if test x"${install_sh}" != xset; then
2736 case $am_aux_dir in
2737 *\ * | *\ *)
2738 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2740 install_sh="\${SHELL} $am_aux_dir/install-sh"
2741 esac
2744 # Installed binaries are usually stripped using `strip' when the user
2745 # run `make install-strip'. However `strip' might not be the right
2746 # tool to use in cross-compilation environments, therefore Automake
2747 # will honor the `STRIP' environment variable to overrule this program.
2748 if test "$cross_compiling" != no; then
2749 if test -n "$ac_tool_prefix"; then
2750 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2751 set dummy ${ac_tool_prefix}strip; ac_word=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if test "${ac_cv_prog_STRIP+set}" = set; then :
2755 $as_echo_n "(cached) " >&6
2756 else
2757 if test -n "$STRIP"; then
2758 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2759 else
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 for as_dir in $PATH
2763 IFS=$as_save_IFS
2764 test -z "$as_dir" && as_dir=.
2765 for ac_exec_ext in '' $ac_executable_extensions; do
2766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2767 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 break 2
2771 done
2772 done
2773 IFS=$as_save_IFS
2777 STRIP=$ac_cv_prog_STRIP
2778 if test -n "$STRIP"; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2780 $as_echo "$STRIP" >&6; }
2781 else
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2788 if test -z "$ac_cv_prog_STRIP"; then
2789 ac_ct_STRIP=$STRIP
2790 # Extract the first word of "strip", so it can be a program name with args.
2791 set dummy strip; ac_word=$2
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793 $as_echo_n "checking for $ac_word... " >&6; }
2794 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2795 $as_echo_n "(cached) " >&6
2796 else
2797 if test -n "$ac_ct_STRIP"; then
2798 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2799 else
2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801 for as_dir in $PATH
2803 IFS=$as_save_IFS
2804 test -z "$as_dir" && as_dir=.
2805 for ac_exec_ext in '' $ac_executable_extensions; do
2806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2807 ac_cv_prog_ac_ct_STRIP="strip"
2808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 break 2
2811 done
2812 done
2813 IFS=$as_save_IFS
2817 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2818 if test -n "$ac_ct_STRIP"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2820 $as_echo "$ac_ct_STRIP" >&6; }
2821 else
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823 $as_echo "no" >&6; }
2826 if test "x$ac_ct_STRIP" = x; then
2827 STRIP=":"
2828 else
2829 case $cross_compiling:$ac_tool_warned in
2830 yes:)
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2833 ac_tool_warned=yes ;;
2834 esac
2835 STRIP=$ac_ct_STRIP
2837 else
2838 STRIP="$ac_cv_prog_STRIP"
2842 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2845 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2846 if test -z "$MKDIR_P"; then
2847 if test "${ac_cv_path_mkdir+set}" = set; then :
2848 $as_echo_n "(cached) " >&6
2849 else
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2853 IFS=$as_save_IFS
2854 test -z "$as_dir" && as_dir=.
2855 for ac_prog in mkdir gmkdir; do
2856 for ac_exec_ext in '' $ac_executable_extensions; do
2857 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2858 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2859 'mkdir (GNU coreutils) '* | \
2860 'mkdir (coreutils) '* | \
2861 'mkdir (fileutils) '4.1*)
2862 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2863 break 3;;
2864 esac
2865 done
2866 done
2867 done
2868 IFS=$as_save_IFS
2872 if test "${ac_cv_path_mkdir+set}" = set; then
2873 MKDIR_P="$ac_cv_path_mkdir -p"
2874 else
2875 # As a last resort, use the slow shell script. Don't cache a
2876 # value for MKDIR_P within a source directory, because that will
2877 # break other packages using the cache if that directory is
2878 # removed, or if the value is a relative name.
2879 test -d ./--version && rmdir ./--version
2880 MKDIR_P="$ac_install_sh -d"
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2884 $as_echo "$MKDIR_P" >&6; }
2886 mkdir_p="$MKDIR_P"
2887 case $mkdir_p in
2888 [\\/$]* | ?:[\\/]*) ;;
2889 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2890 esac
2892 for ac_prog in gawk mawk nawk awk
2894 # Extract the first word of "$ac_prog", so it can be a program name with args.
2895 set dummy $ac_prog; ac_word=$2
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2897 $as_echo_n "checking for $ac_word... " >&6; }
2898 if test "${ac_cv_prog_AWK+set}" = set; then :
2899 $as_echo_n "(cached) " >&6
2900 else
2901 if test -n "$AWK"; then
2902 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2903 else
2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 for as_dir in $PATH
2907 IFS=$as_save_IFS
2908 test -z "$as_dir" && as_dir=.
2909 for ac_exec_ext in '' $ac_executable_extensions; do
2910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2911 ac_cv_prog_AWK="$ac_prog"
2912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 break 2
2915 done
2916 done
2917 IFS=$as_save_IFS
2921 AWK=$ac_cv_prog_AWK
2922 if test -n "$AWK"; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2924 $as_echo "$AWK" >&6; }
2925 else
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2931 test -n "$AWK" && break
2932 done
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2935 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2936 set x ${MAKE-make}
2937 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2938 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2939 $as_echo_n "(cached) " >&6
2940 else
2941 cat >conftest.make <<\_ACEOF
2942 SHELL = /bin/sh
2943 all:
2944 @echo '@@@%%%=$(MAKE)=@@@%%%'
2945 _ACEOF
2946 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2947 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2948 *@@@%%%=?*=@@@%%%*)
2949 eval ac_cv_prog_make_${ac_make}_set=yes;;
2951 eval ac_cv_prog_make_${ac_make}_set=no;;
2952 esac
2953 rm -f conftest.make
2955 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2957 $as_echo "yes" >&6; }
2958 SET_MAKE=
2959 else
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2962 SET_MAKE="MAKE=${MAKE-make}"
2965 rm -rf .tst 2>/dev/null
2966 mkdir .tst 2>/dev/null
2967 if test -d .tst; then
2968 am__leading_dot=.
2969 else
2970 am__leading_dot=_
2972 rmdir .tst 2>/dev/null
2974 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2975 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2976 # is not polluted with repeated "-I."
2977 am__isrc=' -I$(srcdir)'
2978 # test to see if srcdir already configured
2979 if test -f $srcdir/config.status; then
2980 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2984 # test whether we have cygpath
2985 if test -z "$CYGPATH_W"; then
2986 if (cygpath --version) >/dev/null 2>/dev/null; then
2987 CYGPATH_W='cygpath -w'
2988 else
2989 CYGPATH_W=echo
2994 # Define the identity of the package.
2995 PACKAGE='libvtv'
2996 VERSION='1.0'
2999 cat >>confdefs.h <<_ACEOF
3000 #define PACKAGE "$PACKAGE"
3001 _ACEOF
3004 cat >>confdefs.h <<_ACEOF
3005 #define VERSION "$VERSION"
3006 _ACEOF
3008 # Some tools Automake needs.
3010 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3013 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3016 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3019 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3022 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3024 # We need awk for the "check" target. The system "awk" is bad on
3025 # some platforms.
3026 # Always define AMTAR for backward compatibility.
3028 AMTAR=${AMTAR-"${am_missing_run}tar"}
3030 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3036 # Default to --enable-multilib
3037 # Check whether --enable-multilib was given.
3038 if test "${enable_multilib+set}" = set; then :
3039 enableval=$enable_multilib; case "$enableval" in
3040 yes) multilib=yes ;;
3041 no) multilib=no ;;
3042 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3043 esac
3044 else
3045 multilib=yes
3049 # We may get other options which we leave undocumented:
3050 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3051 # See config-ml.in if you want the gory details.
3053 if test "$srcdir" = "."; then
3054 if test "$with_target_subdir" != "."; then
3055 multi_basedir="$srcdir/$with_multisrctop../.."
3056 else
3057 multi_basedir="$srcdir/$with_multisrctop.."
3059 else
3060 multi_basedir="$srcdir/.."
3064 # Even if the default multilib is not a cross compilation,
3065 # it may be that some of the other multilibs are.
3066 if test $cross_compiling = no && test $multilib = yes \
3067 && test "x${with_multisubdir}" != x ; then
3068 cross_compiling=maybe
3071 ac_config_commands="$ac_config_commands default-1"
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3075 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3076 # Check whether --enable-maintainer-mode was given.
3077 if test "${enable_maintainer_mode+set}" = set; then :
3078 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3079 else
3080 USE_MAINTAINER_MODE=no
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3084 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3085 if test $USE_MAINTAINER_MODE = yes; then
3086 MAINTAINER_MODE_TRUE=
3087 MAINTAINER_MODE_FALSE='#'
3088 else
3089 MAINTAINER_MODE_TRUE='#'
3090 MAINTAINER_MODE_FALSE=
3093 MAINT=$MAINTAINER_MODE_TRUE
3099 # These need to be absolute paths, yet at the same time need to
3100 # canonicalize only relative paths, because then amd will not unmount
3101 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
3102 libvtv_builddir=`${PWDCMD-pwd}`
3103 case $srcdir in
3104 \\/$* | ?:\\/*) libvtv_srcdir=${srcdir} ;;
3105 *) libvtv_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
3106 esac
3107 toplevel_builddir=${libvtv_builddir}/..
3108 toplevel_srcdir=${libvtv_srcdir}/..
3115 # Calculate toolexeclibdir
3116 # Also toolexecdir, though it's only used in toolexeclibdir
3117 case ${version_specific_libs} in
3118 yes)
3119 # Need the gcc compiler version to know where to install libraries
3120 # and header files if --enable-version-specific-runtime-libs option
3121 # is selected.
3122 toolexecdir='$(libdir)/gcc/$(target_alias)'
3123 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3126 if test -n "$with_cross_host" &&
3127 test x"$with_cross_host" != x"no"; then
3128 # Install a library built with a cross compiler in tooldir, not libdir.
3129 toolexecdir='$(exec_prefix)/$(target_alias)'
3130 toolexeclibdir='$(toolexecdir)/lib'
3131 else
3132 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3133 toolexeclibdir='$(libdir)'
3135 multi_os_directory=`$CC -print-multi-os-directory`
3136 case $multi_os_directory in
3137 .) ;; # Avoid trailing /.
3138 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3139 esac
3141 esac
3145 DEPDIR="${am__leading_dot}deps"
3147 ac_config_commands="$ac_config_commands depfiles"
3150 am_make=${MAKE-make}
3151 cat > confinc << 'END'
3152 am__doit:
3153 @echo this is the am__doit target
3154 .PHONY: am__doit
3156 # If we don't find an include directive, just comment out the code.
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3158 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3159 am__include="#"
3160 am__quote=
3161 _am_result=none
3162 # First try GNU make style include.
3163 echo "include confinc" > confmf
3164 # Ignore all kinds of additional output from `make'.
3165 case `$am_make -s -f confmf 2> /dev/null` in #(
3166 *the\ am__doit\ target*)
3167 am__include=include
3168 am__quote=
3169 _am_result=GNU
3171 esac
3172 # Now try BSD make style include.
3173 if test "$am__include" = "#"; then
3174 echo '.include "confinc"' > confmf
3175 case `$am_make -s -f confmf 2> /dev/null` in #(
3176 *the\ am__doit\ target*)
3177 am__include=.include
3178 am__quote="\""
3179 _am_result=BSD
3181 esac
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3186 $as_echo "$_am_result" >&6; }
3187 rm -f confinc confmf
3189 # Check whether --enable-dependency-tracking was given.
3190 if test "${enable_dependency_tracking+set}" = set; then :
3191 enableval=$enable_dependency_tracking;
3194 if test "x$enable_dependency_tracking" != xno; then
3195 am_depcomp="$ac_aux_dir/depcomp"
3196 AMDEPBACKSLASH='\'
3198 if test "x$enable_dependency_tracking" != xno; then
3199 AMDEP_TRUE=
3200 AMDEP_FALSE='#'
3201 else
3202 AMDEP_TRUE='#'
3203 AMDEP_FALSE=
3207 ac_ext=c
3208 ac_cpp='$CPP $CPPFLAGS'
3209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3212 if test -n "$ac_tool_prefix"; then
3213 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3214 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216 $as_echo_n "checking for $ac_word... " >&6; }
3217 if test "${ac_cv_prog_CC+set}" = set; then :
3218 $as_echo_n "(cached) " >&6
3219 else
3220 if test -n "$CC"; then
3221 ac_cv_prog_CC="$CC" # Let the user override the test.
3222 else
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224 for as_dir in $PATH
3226 IFS=$as_save_IFS
3227 test -z "$as_dir" && as_dir=.
3228 for ac_exec_ext in '' $ac_executable_extensions; do
3229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3230 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 break 2
3234 done
3235 done
3236 IFS=$as_save_IFS
3240 CC=$ac_cv_prog_CC
3241 if test -n "$CC"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3243 $as_echo "$CC" >&6; }
3244 else
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246 $as_echo "no" >&6; }
3251 if test -z "$ac_cv_prog_CC"; then
3252 ac_ct_CC=$CC
3253 # Extract the first word of "gcc", so it can be a program name with args.
3254 set dummy gcc; ac_word=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3258 $as_echo_n "(cached) " >&6
3259 else
3260 if test -n "$ac_ct_CC"; then
3261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3262 else
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 for as_dir in $PATH
3266 IFS=$as_save_IFS
3267 test -z "$as_dir" && as_dir=.
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270 ac_cv_prog_ac_ct_CC="gcc"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 break 2
3274 done
3275 done
3276 IFS=$as_save_IFS
3280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3281 if test -n "$ac_ct_CC"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3283 $as_echo "$ac_ct_CC" >&6; }
3284 else
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3289 if test "x$ac_ct_CC" = x; then
3290 CC=""
3291 else
3292 case $cross_compiling:$ac_tool_warned in
3293 yes:)
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3296 ac_tool_warned=yes ;;
3297 esac
3298 CC=$ac_ct_CC
3300 else
3301 CC="$ac_cv_prog_CC"
3304 if test -z "$CC"; then
3305 if test -n "$ac_tool_prefix"; then
3306 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3307 set dummy ${ac_tool_prefix}cc; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_CC+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$CC"; then
3314 ac_cv_prog_CC="$CC" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_prog_CC="${ac_tool_prefix}cc"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3327 done
3328 done
3329 IFS=$as_save_IFS
3333 CC=$ac_cv_prog_CC
3334 if test -n "$CC"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3336 $as_echo "$CC" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3345 if test -z "$CC"; then
3346 # Extract the first word of "cc", so it can be a program name with args.
3347 set dummy cc; ac_word=$2
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3349 $as_echo_n "checking for $ac_word... " >&6; }
3350 if test "${ac_cv_prog_CC+set}" = set; then :
3351 $as_echo_n "(cached) " >&6
3352 else
3353 if test -n "$CC"; then
3354 ac_cv_prog_CC="$CC" # Let the user override the test.
3355 else
3356 ac_prog_rejected=no
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3360 IFS=$as_save_IFS
3361 test -z "$as_dir" && as_dir=.
3362 for ac_exec_ext in '' $ac_executable_extensions; do
3363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3364 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3365 ac_prog_rejected=yes
3366 continue
3368 ac_cv_prog_CC="cc"
3369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370 break 2
3372 done
3373 done
3374 IFS=$as_save_IFS
3376 if test $ac_prog_rejected = yes; then
3377 # We found a bogon in the path, so make sure we never use it.
3378 set dummy $ac_cv_prog_CC
3379 shift
3380 if test $# != 0; then
3381 # We chose a different compiler from the bogus one.
3382 # However, it has the same basename, so the bogon will be chosen
3383 # first if we set CC to just the basename; use the full file name.
3384 shift
3385 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3390 CC=$ac_cv_prog_CC
3391 if test -n "$CC"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3393 $as_echo "$CC" >&6; }
3394 else
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3401 if test -z "$CC"; then
3402 if test -n "$ac_tool_prefix"; then
3403 for ac_prog in cl.exe
3405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408 $as_echo_n "checking for $ac_word... " >&6; }
3409 if test "${ac_cv_prog_CC+set}" = set; then :
3410 $as_echo_n "(cached) " >&6
3411 else
3412 if test -n "$CC"; then
3413 ac_cv_prog_CC="$CC" # Let the user override the test.
3414 else
3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3416 for as_dir in $PATH
3418 IFS=$as_save_IFS
3419 test -z "$as_dir" && as_dir=.
3420 for ac_exec_ext in '' $ac_executable_extensions; do
3421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3422 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3424 break 2
3426 done
3427 done
3428 IFS=$as_save_IFS
3432 CC=$ac_cv_prog_CC
3433 if test -n "$CC"; then
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3435 $as_echo "$CC" >&6; }
3436 else
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438 $as_echo "no" >&6; }
3442 test -n "$CC" && break
3443 done
3445 if test -z "$CC"; then
3446 ac_ct_CC=$CC
3447 for ac_prog in cl.exe
3449 # Extract the first word of "$ac_prog", so it can be a program name with args.
3450 set dummy $ac_prog; ac_word=$2
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3452 $as_echo_n "checking for $ac_word... " >&6; }
3453 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3454 $as_echo_n "(cached) " >&6
3455 else
3456 if test -n "$ac_ct_CC"; then
3457 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3458 else
3459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3460 for as_dir in $PATH
3462 IFS=$as_save_IFS
3463 test -z "$as_dir" && as_dir=.
3464 for ac_exec_ext in '' $ac_executable_extensions; do
3465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3466 ac_cv_prog_ac_ct_CC="$ac_prog"
3467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3468 break 2
3470 done
3471 done
3472 IFS=$as_save_IFS
3476 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3477 if test -n "$ac_ct_CC"; then
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3479 $as_echo "$ac_ct_CC" >&6; }
3480 else
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3482 $as_echo "no" >&6; }
3486 test -n "$ac_ct_CC" && break
3487 done
3489 if test "x$ac_ct_CC" = x; then
3490 CC=""
3491 else
3492 case $cross_compiling:$ac_tool_warned in
3493 yes:)
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3496 ac_tool_warned=yes ;;
3497 esac
3498 CC=$ac_ct_CC
3505 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3507 as_fn_error "no acceptable C compiler found in \$PATH
3508 See \`config.log' for more details." "$LINENO" 5; }
3510 # Provide some information about the compiler.
3511 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3512 set X $ac_compile
3513 ac_compiler=$2
3514 for ac_option in --version -v -V -qversion; do
3515 { { ac_try="$ac_compiler $ac_option >&5"
3516 case "(($ac_try" in
3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3519 esac
3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521 $as_echo "$ac_try_echo"; } >&5
3522 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3523 ac_status=$?
3524 if test -s conftest.err; then
3525 sed '10a\
3526 ... rest of stderr output deleted ...
3527 10q' conftest.err >conftest.er1
3528 cat conftest.er1 >&5
3529 rm -f conftest.er1 conftest.err
3531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3532 test $ac_status = 0; }
3533 done
3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536 /* end confdefs.h. */
3539 main ()
3543 return 0;
3545 _ACEOF
3546 ac_clean_files_save=$ac_clean_files
3547 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3548 # Try to create an executable without -o first, disregard a.out.
3549 # It will help us diagnose broken compilers, and finding out an intuition
3550 # of exeext.
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3552 $as_echo_n "checking for C compiler default output file name... " >&6; }
3553 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3555 # The possible output files:
3556 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3558 ac_rmfiles=
3559 for ac_file in $ac_files
3561 case $ac_file in
3562 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3563 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3564 esac
3565 done
3566 rm -f $ac_rmfiles
3568 if { { ac_try="$ac_link_default"
3569 case "(($ac_try" in
3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3572 esac
3573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3574 $as_echo "$ac_try_echo"; } >&5
3575 (eval "$ac_link_default") 2>&5
3576 ac_status=$?
3577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3578 test $ac_status = 0; }; then :
3579 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3580 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3581 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3582 # so that the user can short-circuit this test for compilers unknown to
3583 # Autoconf.
3584 for ac_file in $ac_files ''
3586 test -f "$ac_file" || continue
3587 case $ac_file in
3588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3590 [ab].out )
3591 # We found the default executable, but exeext='' is most
3592 # certainly right.
3593 break;;
3594 *.* )
3595 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3596 then :; else
3597 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3599 # We set ac_cv_exeext here because the later test for it is not
3600 # safe: cross compilers may not add the suffix if given an `-o'
3601 # argument, so we may need to know it at that point already.
3602 # Even if this section looks crufty: it has the advantage of
3603 # actually working.
3604 break;;
3606 break;;
3607 esac
3608 done
3609 test "$ac_cv_exeext" = no && ac_cv_exeext=
3611 else
3612 ac_file=''
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3615 $as_echo "$ac_file" >&6; }
3616 if test -z "$ac_file"; then :
3617 $as_echo "$as_me: failed program was:" >&5
3618 sed 's/^/| /' conftest.$ac_ext >&5
3620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3622 { as_fn_set_status 77
3623 as_fn_error "C compiler cannot create executables
3624 See \`config.log' for more details." "$LINENO" 5; }; }
3626 ac_exeext=$ac_cv_exeext
3628 # Check that the compiler produces executables we can run. If not, either
3629 # the compiler is broken, or we cross compile.
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3631 $as_echo_n "checking whether the C compiler works... " >&6; }
3632 # If not cross compiling, check that we can run a simple program.
3633 if test "$cross_compiling" != yes; then
3634 if { ac_try='./$ac_file'
3635 { { case "(($ac_try" in
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3638 esac
3639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640 $as_echo "$ac_try_echo"; } >&5
3641 (eval "$ac_try") 2>&5
3642 ac_status=$?
3643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644 test $ac_status = 0; }; }; then
3645 cross_compiling=no
3646 else
3647 if test "$cross_compiling" = maybe; then
3648 cross_compiling=yes
3649 else
3650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3652 as_fn_error "cannot run C compiled programs.
3653 If you meant to cross compile, use \`--host'.
3654 See \`config.log' for more details." "$LINENO" 5; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3659 $as_echo "yes" >&6; }
3661 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3662 ac_clean_files=$ac_clean_files_save
3663 # Check that the compiler produces executables we can run. If not, either
3664 # the compiler is broken, or we cross compile.
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3666 $as_echo_n "checking whether we are cross compiling... " >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3668 $as_echo "$cross_compiling" >&6; }
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3671 $as_echo_n "checking for suffix of executables... " >&6; }
3672 if { { ac_try="$ac_link"
3673 case "(($ac_try" in
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3676 esac
3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3678 $as_echo "$ac_try_echo"; } >&5
3679 (eval "$ac_link") 2>&5
3680 ac_status=$?
3681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3682 test $ac_status = 0; }; then :
3683 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3684 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3685 # work properly (i.e., refer to `conftest.exe'), while it won't with
3686 # `rm'.
3687 for ac_file in conftest.exe conftest conftest.*; do
3688 test -f "$ac_file" || continue
3689 case $ac_file in
3690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3691 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3692 break;;
3693 * ) break;;
3694 esac
3695 done
3696 else
3697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3699 as_fn_error "cannot compute suffix of executables: cannot compile and link
3700 See \`config.log' for more details." "$LINENO" 5; }
3702 rm -f conftest$ac_cv_exeext
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3704 $as_echo "$ac_cv_exeext" >&6; }
3706 rm -f conftest.$ac_ext
3707 EXEEXT=$ac_cv_exeext
3708 ac_exeext=$EXEEXT
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3710 $as_echo_n "checking for suffix of object files... " >&6; }
3711 if test "${ac_cv_objext+set}" = set; then :
3712 $as_echo_n "(cached) " >&6
3713 else
3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715 /* end confdefs.h. */
3718 main ()
3722 return 0;
3724 _ACEOF
3725 rm -f conftest.o conftest.obj
3726 if { { ac_try="$ac_compile"
3727 case "(($ac_try" in
3728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3729 *) ac_try_echo=$ac_try;;
3730 esac
3731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3732 $as_echo "$ac_try_echo"; } >&5
3733 (eval "$ac_compile") 2>&5
3734 ac_status=$?
3735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3736 test $ac_status = 0; }; then :
3737 for ac_file in conftest.o conftest.obj conftest.*; do
3738 test -f "$ac_file" || continue;
3739 case $ac_file in
3740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3741 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3742 break;;
3743 esac
3744 done
3745 else
3746 $as_echo "$as_me: failed program was:" >&5
3747 sed 's/^/| /' conftest.$ac_ext >&5
3749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3751 as_fn_error "cannot compute suffix of object files: cannot compile
3752 See \`config.log' for more details." "$LINENO" 5; }
3754 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3757 $as_echo "$ac_cv_objext" >&6; }
3758 OBJEXT=$ac_cv_objext
3759 ac_objext=$OBJEXT
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3761 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3762 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3763 $as_echo_n "(cached) " >&6
3764 else
3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766 /* end confdefs.h. */
3769 main ()
3771 #ifndef __GNUC__
3772 choke me
3773 #endif
3776 return 0;
3778 _ACEOF
3779 if ac_fn_c_try_compile "$LINENO"; then :
3780 ac_compiler_gnu=yes
3781 else
3782 ac_compiler_gnu=no
3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3785 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3789 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3790 if test $ac_compiler_gnu = yes; then
3791 GCC=yes
3792 else
3793 GCC=
3795 ac_test_CFLAGS=${CFLAGS+set}
3796 ac_save_CFLAGS=$CFLAGS
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3798 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3799 if test "${ac_cv_prog_cc_g+set}" = set; then :
3800 $as_echo_n "(cached) " >&6
3801 else
3802 ac_save_c_werror_flag=$ac_c_werror_flag
3803 ac_c_werror_flag=yes
3804 ac_cv_prog_cc_g=no
3805 CFLAGS="-g"
3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3810 main ()
3814 return 0;
3816 _ACEOF
3817 if ac_fn_c_try_compile "$LINENO"; then :
3818 ac_cv_prog_cc_g=yes
3819 else
3820 CFLAGS=""
3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3825 main ()
3829 return 0;
3831 _ACEOF
3832 if ac_fn_c_try_compile "$LINENO"; then :
3834 else
3835 ac_c_werror_flag=$ac_save_c_werror_flag
3836 CFLAGS="-g"
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3841 main ()
3845 return 0;
3847 _ACEOF
3848 if ac_fn_c_try_compile "$LINENO"; then :
3849 ac_cv_prog_cc_g=yes
3851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3856 ac_c_werror_flag=$ac_save_c_werror_flag
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3859 $as_echo "$ac_cv_prog_cc_g" >&6; }
3860 if test "$ac_test_CFLAGS" = set; then
3861 CFLAGS=$ac_save_CFLAGS
3862 elif test $ac_cv_prog_cc_g = yes; then
3863 if test "$GCC" = yes; then
3864 CFLAGS="-g -O2"
3865 else
3866 CFLAGS="-g"
3868 else
3869 if test "$GCC" = yes; then
3870 CFLAGS="-O2"
3871 else
3872 CFLAGS=
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3876 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3877 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3878 $as_echo_n "(cached) " >&6
3879 else
3880 ac_cv_prog_cc_c89=no
3881 ac_save_CC=$CC
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3884 #include <stdarg.h>
3885 #include <stdio.h>
3886 #include <sys/types.h>
3887 #include <sys/stat.h>
3888 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3889 struct buf { int x; };
3890 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3891 static char *e (p, i)
3892 char **p;
3893 int i;
3895 return p[i];
3897 static char *f (char * (*g) (char **, int), char **p, ...)
3899 char *s;
3900 va_list v;
3901 va_start (v,p);
3902 s = g (p, va_arg (v,int));
3903 va_end (v);
3904 return s;
3907 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3908 function prototypes and stuff, but not '\xHH' hex character constants.
3909 These don't provoke an error unfortunately, instead are silently treated
3910 as 'x'. The following induces an error, until -std is added to get
3911 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3912 array size at least. It's necessary to write '\x00'==0 to get something
3913 that's true only with -std. */
3914 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3916 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3917 inside strings and character constants. */
3918 #define FOO(x) 'x'
3919 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3921 int test (int i, double x);
3922 struct s1 {int (*f) (int a);};
3923 struct s2 {int (*f) (double a);};
3924 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3925 int argc;
3926 char **argv;
3928 main ()
3930 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3932 return 0;
3934 _ACEOF
3935 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3936 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3938 CC="$ac_save_CC $ac_arg"
3939 if ac_fn_c_try_compile "$LINENO"; then :
3940 ac_cv_prog_cc_c89=$ac_arg
3942 rm -f core conftest.err conftest.$ac_objext
3943 test "x$ac_cv_prog_cc_c89" != "xno" && break
3944 done
3945 rm -f conftest.$ac_ext
3946 CC=$ac_save_CC
3949 # AC_CACHE_VAL
3950 case "x$ac_cv_prog_cc_c89" in
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3953 $as_echo "none needed" >&6; } ;;
3954 xno)
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3956 $as_echo "unsupported" >&6; } ;;
3958 CC="$CC $ac_cv_prog_cc_c89"
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3960 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3961 esac
3962 if test "x$ac_cv_prog_cc_c89" != xno; then :
3966 ac_ext=c
3967 ac_cpp='$CPP $CPPFLAGS'
3968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3972 depcc="$CC" am_compiler_list=
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3975 $as_echo_n "checking dependency style of $depcc... " >&6; }
3976 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3977 $as_echo_n "(cached) " >&6
3978 else
3979 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3980 # We make a subdir and do the tests there. Otherwise we can end up
3981 # making bogus files that we don't know about and never remove. For
3982 # instance it was reported that on HP-UX the gcc test will end up
3983 # making a dummy file named `D' -- because `-MD' means `put the output
3984 # in D'.
3985 mkdir conftest.dir
3986 # Copy depcomp to subdir because otherwise we won't find it if we're
3987 # using a relative directory.
3988 cp "$am_depcomp" conftest.dir
3989 cd conftest.dir
3990 # We will build objects and dependencies in a subdirectory because
3991 # it helps to detect inapplicable dependency modes. For instance
3992 # both Tru64's cc and ICC support -MD to output dependencies as a
3993 # side effect of compilation, but ICC will put the dependencies in
3994 # the current directory while Tru64 will put them in the object
3995 # directory.
3996 mkdir sub
3998 am_cv_CC_dependencies_compiler_type=none
3999 if test "$am_compiler_list" = ""; then
4000 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4002 am__universal=false
4003 case " $depcc " in #(
4004 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4005 esac
4007 for depmode in $am_compiler_list; do
4008 # Setup a source with many dependencies, because some compilers
4009 # like to wrap large dependency lists on column 80 (with \), and
4010 # we should not choose a depcomp mode which is confused by this.
4012 # We need to recreate these files for each test, as the compiler may
4013 # overwrite some of them when testing with obscure command lines.
4014 # This happens at least with the AIX C compiler.
4015 : > sub/conftest.c
4016 for i in 1 2 3 4 5 6; do
4017 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4018 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4019 # Solaris 8's {/usr,}/bin/sh.
4020 touch sub/conftst$i.h
4021 done
4022 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4024 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4025 # mode. It turns out that the SunPro C++ compiler does not properly
4026 # handle `-M -o', and we need to detect this. Also, some Intel
4027 # versions had trouble with output in subdirs
4028 am__obj=sub/conftest.${OBJEXT-o}
4029 am__minus_obj="-o $am__obj"
4030 case $depmode in
4031 gcc)
4032 # This depmode causes a compiler race in universal mode.
4033 test "$am__universal" = false || continue
4035 nosideeffect)
4036 # after this tag, mechanisms are not by side-effect, so they'll
4037 # only be used when explicitly requested
4038 if test "x$enable_dependency_tracking" = xyes; then
4039 continue
4040 else
4041 break
4044 msvisualcpp | msvcmsys)
4045 # This compiler won't grok `-c -o', but also, the minuso test has
4046 # not run yet. These depmodes are late enough in the game, and
4047 # so weak that their functioning should not be impacted.
4048 am__obj=conftest.${OBJEXT-o}
4049 am__minus_obj=
4051 none) break ;;
4052 esac
4053 if depmode=$depmode \
4054 source=sub/conftest.c object=$am__obj \
4055 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4056 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4057 >/dev/null 2>conftest.err &&
4058 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4059 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4060 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4061 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4062 # icc doesn't choke on unknown options, it will just issue warnings
4063 # or remarks (even with -Werror). So we grep stderr for any message
4064 # that says an option was ignored or not supported.
4065 # When given -MP, icc 7.0 and 7.1 complain thusly:
4066 # icc: Command line warning: ignoring option '-M'; no argument required
4067 # The diagnosis changed in icc 8.0:
4068 # icc: Command line remark: option '-MP' not supported
4069 if (grep 'ignoring option' conftest.err ||
4070 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4071 am_cv_CC_dependencies_compiler_type=$depmode
4072 break
4075 done
4077 cd ..
4078 rm -rf conftest.dir
4079 else
4080 am_cv_CC_dependencies_compiler_type=none
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4085 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4086 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4089 test "x$enable_dependency_tracking" != xno \
4090 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4091 am__fastdepCC_TRUE=
4092 am__fastdepCC_FALSE='#'
4093 else
4094 am__fastdepCC_TRUE='#'
4095 am__fastdepCC_FALSE=
4100 ac_ext=c
4101 ac_cpp='$CPP $CPPFLAGS'
4102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4106 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4107 # On Suns, sometimes $CPP names a directory.
4108 if test -n "$CPP" && test -d "$CPP"; then
4109 CPP=
4111 if test -z "$CPP"; then
4112 if test "${ac_cv_prog_CPP+set}" = set; then :
4113 $as_echo_n "(cached) " >&6
4114 else
4115 # Double quotes because CPP needs to be expanded
4116 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4118 ac_preproc_ok=false
4119 for ac_c_preproc_warn_flag in '' yes
4121 # Use a header file that comes with gcc, so configuring glibc
4122 # with a fresh cross-compiler works.
4123 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4124 # <limits.h> exists even on freestanding compilers.
4125 # On the NeXT, cc -E runs the code through the compiler's parser,
4126 # not just through cpp. "Syntax error" is here to catch this case.
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4129 #ifdef __STDC__
4130 # include <limits.h>
4131 #else
4132 # include <assert.h>
4133 #endif
4134 Syntax error
4135 _ACEOF
4136 if ac_fn_c_try_cpp "$LINENO"; then :
4138 else
4139 # Broken: fails on valid input.
4140 continue
4142 rm -f conftest.err conftest.$ac_ext
4144 # OK, works on sane cases. Now check whether nonexistent headers
4145 # can be detected and how.
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4148 #include <ac_nonexistent.h>
4149 _ACEOF
4150 if ac_fn_c_try_cpp "$LINENO"; then :
4151 # Broken: success on invalid input.
4152 continue
4153 else
4154 # Passes both tests.
4155 ac_preproc_ok=:
4156 break
4158 rm -f conftest.err conftest.$ac_ext
4160 done
4161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4162 rm -f conftest.err conftest.$ac_ext
4163 if $ac_preproc_ok; then :
4164 break
4167 done
4168 ac_cv_prog_CPP=$CPP
4171 CPP=$ac_cv_prog_CPP
4172 else
4173 ac_cv_prog_CPP=$CPP
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4176 $as_echo "$CPP" >&6; }
4177 ac_preproc_ok=false
4178 for ac_c_preproc_warn_flag in '' yes
4180 # Use a header file that comes with gcc, so configuring glibc
4181 # with a fresh cross-compiler works.
4182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4183 # <limits.h> exists even on freestanding compilers.
4184 # On the NeXT, cc -E runs the code through the compiler's parser,
4185 # not just through cpp. "Syntax error" is here to catch this case.
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4188 #ifdef __STDC__
4189 # include <limits.h>
4190 #else
4191 # include <assert.h>
4192 #endif
4193 Syntax error
4194 _ACEOF
4195 if ac_fn_c_try_cpp "$LINENO"; then :
4197 else
4198 # Broken: fails on valid input.
4199 continue
4201 rm -f conftest.err conftest.$ac_ext
4203 # OK, works on sane cases. Now check whether nonexistent headers
4204 # can be detected and how.
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4207 #include <ac_nonexistent.h>
4208 _ACEOF
4209 if ac_fn_c_try_cpp "$LINENO"; then :
4210 # Broken: success on invalid input.
4211 continue
4212 else
4213 # Passes both tests.
4214 ac_preproc_ok=:
4215 break
4217 rm -f conftest.err conftest.$ac_ext
4219 done
4220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4221 rm -f conftest.err conftest.$ac_ext
4222 if $ac_preproc_ok; then :
4224 else
4225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4227 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4228 See \`config.log' for more details." "$LINENO" 5; }
4231 ac_ext=c
4232 ac_cpp='$CPP $CPPFLAGS'
4233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4239 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4240 if test "${ac_cv_path_GREP+set}" = set; then :
4241 $as_echo_n "(cached) " >&6
4242 else
4243 if test -z "$GREP"; then
4244 ac_path_GREP_found=false
4245 # Loop through the user's path and test for each of PROGNAME-LIST
4246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4249 IFS=$as_save_IFS
4250 test -z "$as_dir" && as_dir=.
4251 for ac_prog in grep ggrep; do
4252 for ac_exec_ext in '' $ac_executable_extensions; do
4253 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4254 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4255 # Check for GNU ac_path_GREP and select it if it is found.
4256 # Check for GNU $ac_path_GREP
4257 case `"$ac_path_GREP" --version 2>&1` in
4258 *GNU*)
4259 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4261 ac_count=0
4262 $as_echo_n 0123456789 >"conftest.in"
4263 while :
4265 cat "conftest.in" "conftest.in" >"conftest.tmp"
4266 mv "conftest.tmp" "conftest.in"
4267 cp "conftest.in" "conftest.nl"
4268 $as_echo 'GREP' >> "conftest.nl"
4269 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4270 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4271 as_fn_arith $ac_count + 1 && ac_count=$as_val
4272 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4273 # Best one so far, save it but keep looking for a better one
4274 ac_cv_path_GREP="$ac_path_GREP"
4275 ac_path_GREP_max=$ac_count
4277 # 10*(2^10) chars as input seems more than enough
4278 test $ac_count -gt 10 && break
4279 done
4280 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4281 esac
4283 $ac_path_GREP_found && break 3
4284 done
4285 done
4286 done
4287 IFS=$as_save_IFS
4288 if test -z "$ac_cv_path_GREP"; then
4289 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4291 else
4292 ac_cv_path_GREP=$GREP
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4297 $as_echo "$ac_cv_path_GREP" >&6; }
4298 GREP="$ac_cv_path_GREP"
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4302 $as_echo_n "checking for egrep... " >&6; }
4303 if test "${ac_cv_path_EGREP+set}" = set; then :
4304 $as_echo_n "(cached) " >&6
4305 else
4306 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4307 then ac_cv_path_EGREP="$GREP -E"
4308 else
4309 if test -z "$EGREP"; then
4310 ac_path_EGREP_found=false
4311 # Loop through the user's path and test for each of PROGNAME-LIST
4312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4315 IFS=$as_save_IFS
4316 test -z "$as_dir" && as_dir=.
4317 for ac_prog in egrep; do
4318 for ac_exec_ext in '' $ac_executable_extensions; do
4319 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4320 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4321 # Check for GNU ac_path_EGREP and select it if it is found.
4322 # Check for GNU $ac_path_EGREP
4323 case `"$ac_path_EGREP" --version 2>&1` in
4324 *GNU*)
4325 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4327 ac_count=0
4328 $as_echo_n 0123456789 >"conftest.in"
4329 while :
4331 cat "conftest.in" "conftest.in" >"conftest.tmp"
4332 mv "conftest.tmp" "conftest.in"
4333 cp "conftest.in" "conftest.nl"
4334 $as_echo 'EGREP' >> "conftest.nl"
4335 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4336 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4337 as_fn_arith $ac_count + 1 && ac_count=$as_val
4338 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4339 # Best one so far, save it but keep looking for a better one
4340 ac_cv_path_EGREP="$ac_path_EGREP"
4341 ac_path_EGREP_max=$ac_count
4343 # 10*(2^10) chars as input seems more than enough
4344 test $ac_count -gt 10 && break
4345 done
4346 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4347 esac
4349 $ac_path_EGREP_found && break 3
4350 done
4351 done
4352 done
4353 IFS=$as_save_IFS
4354 if test -z "$ac_cv_path_EGREP"; then
4355 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4357 else
4358 ac_cv_path_EGREP=$EGREP
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4364 $as_echo "$ac_cv_path_EGREP" >&6; }
4365 EGREP="$ac_cv_path_EGREP"
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4369 $as_echo_n "checking for ANSI C header files... " >&6; }
4370 if test "${ac_cv_header_stdc+set}" = set; then :
4371 $as_echo_n "(cached) " >&6
4372 else
4373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4375 #include <stdlib.h>
4376 #include <stdarg.h>
4377 #include <string.h>
4378 #include <float.h>
4381 main ()
4385 return 0;
4387 _ACEOF
4388 if ac_fn_c_try_compile "$LINENO"; then :
4389 ac_cv_header_stdc=yes
4390 else
4391 ac_cv_header_stdc=no
4393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4395 if test $ac_cv_header_stdc = yes; then
4396 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4399 #include <string.h>
4401 _ACEOF
4402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4403 $EGREP "memchr" >/dev/null 2>&1; then :
4405 else
4406 ac_cv_header_stdc=no
4408 rm -f conftest*
4412 if test $ac_cv_header_stdc = yes; then
4413 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4415 /* end confdefs.h. */
4416 #include <stdlib.h>
4418 _ACEOF
4419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4420 $EGREP "free" >/dev/null 2>&1; then :
4422 else
4423 ac_cv_header_stdc=no
4425 rm -f conftest*
4429 if test $ac_cv_header_stdc = yes; then
4430 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4431 if test "$cross_compiling" = yes; then :
4433 else
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4436 #include <ctype.h>
4437 #include <stdlib.h>
4438 #if ((' ' & 0x0FF) == 0x020)
4439 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4440 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4441 #else
4442 # define ISLOWER(c) \
4443 (('a' <= (c) && (c) <= 'i') \
4444 || ('j' <= (c) && (c) <= 'r') \
4445 || ('s' <= (c) && (c) <= 'z'))
4446 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4447 #endif
4449 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4451 main ()
4453 int i;
4454 for (i = 0; i < 256; i++)
4455 if (XOR (islower (i), ISLOWER (i))
4456 || toupper (i) != TOUPPER (i))
4457 return 2;
4458 return 0;
4460 _ACEOF
4461 if ac_fn_c_try_run "$LINENO"; then :
4463 else
4464 ac_cv_header_stdc=no
4466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4467 conftest.$ac_objext conftest.beam conftest.$ac_ext
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4473 $as_echo "$ac_cv_header_stdc" >&6; }
4474 if test $ac_cv_header_stdc = yes; then
4476 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4480 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4481 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4482 inttypes.h stdint.h unistd.h
4483 do :
4484 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4485 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4487 eval as_val=\$$as_ac_Header
4488 if test "x$as_val" = x""yes; then :
4489 cat >>confdefs.h <<_ACEOF
4490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4491 _ACEOF
4495 done
4499 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4500 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4501 MINIX=yes
4502 else
4503 MINIX=
4507 if test "$MINIX" = yes; then
4509 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4512 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4515 $as_echo "#define _MINIX 1" >>confdefs.h
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4521 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4522 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4528 # define __EXTENSIONS__ 1
4529 $ac_includes_default
4531 main ()
4535 return 0;
4537 _ACEOF
4538 if ac_fn_c_try_compile "$LINENO"; then :
4539 ac_cv_safe_to_define___extensions__=yes
4540 else
4541 ac_cv_safe_to_define___extensions__=no
4543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4546 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4547 test $ac_cv_safe_to_define___extensions__ = yes &&
4548 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4550 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4552 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4554 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4556 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4560 for ac_func in __secure_getenv
4561 do :
4562 ac_fn_c_check_func "$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
4563 if test "x$ac_cv_func___secure_getenv" = x""yes; then :
4564 cat >>confdefs.h <<_ACEOF
4565 #define HAVE___SECURE_GETENV 1
4566 _ACEOF
4569 done
4573 for ac_func in secure_getenv
4574 do :
4575 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4576 if test "x$ac_cv_func_secure_getenv" = x""yes; then :
4577 cat >>confdefs.h <<_ACEOF
4578 #define HAVE_SECURE_GETENV 1
4579 _ACEOF
4582 done
4585 # Check for programs.
4588 ac_ext=c
4589 ac_cpp='$CPP $CPPFLAGS'
4590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4593 if test -n "$ac_tool_prefix"; then
4594 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4595 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597 $as_echo_n "checking for $ac_word... " >&6; }
4598 if test "${ac_cv_prog_CC+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4600 else
4601 if test -n "$CC"; then
4602 ac_cv_prog_CC="$CC" # Let the user override the test.
4603 else
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605 for as_dir in $PATH
4607 IFS=$as_save_IFS
4608 test -z "$as_dir" && as_dir=.
4609 for ac_exec_ext in '' $ac_executable_extensions; do
4610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4611 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4613 break 2
4615 done
4616 done
4617 IFS=$as_save_IFS
4621 CC=$ac_cv_prog_CC
4622 if test -n "$CC"; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4624 $as_echo "$CC" >&6; }
4625 else
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 $as_echo "no" >&6; }
4632 if test -z "$ac_cv_prog_CC"; then
4633 ac_ct_CC=$CC
4634 # Extract the first word of "gcc", so it can be a program name with args.
4635 set dummy gcc; ac_word=$2
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4637 $as_echo_n "checking for $ac_word... " >&6; }
4638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4639 $as_echo_n "(cached) " >&6
4640 else
4641 if test -n "$ac_ct_CC"; then
4642 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4643 else
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4645 for as_dir in $PATH
4647 IFS=$as_save_IFS
4648 test -z "$as_dir" && as_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4651 ac_cv_prog_ac_ct_CC="gcc"
4652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 break 2
4655 done
4656 done
4657 IFS=$as_save_IFS
4661 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4662 if test -n "$ac_ct_CC"; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4664 $as_echo "$ac_ct_CC" >&6; }
4665 else
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 $as_echo "no" >&6; }
4670 if test "x$ac_ct_CC" = x; then
4671 CC=""
4672 else
4673 case $cross_compiling:$ac_tool_warned in
4674 yes:)
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4677 ac_tool_warned=yes ;;
4678 esac
4679 CC=$ac_ct_CC
4681 else
4682 CC="$ac_cv_prog_CC"
4685 if test -z "$CC"; then
4686 if test -n "$ac_tool_prefix"; then
4687 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4688 set dummy ${ac_tool_prefix}cc; ac_word=$2
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4690 $as_echo_n "checking for $ac_word... " >&6; }
4691 if test "${ac_cv_prog_CC+set}" = set; then :
4692 $as_echo_n "(cached) " >&6
4693 else
4694 if test -n "$CC"; then
4695 ac_cv_prog_CC="$CC" # Let the user override the test.
4696 else
4697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 for as_dir in $PATH
4700 IFS=$as_save_IFS
4701 test -z "$as_dir" && as_dir=.
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4704 ac_cv_prog_CC="${ac_tool_prefix}cc"
4705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 break 2
4708 done
4709 done
4710 IFS=$as_save_IFS
4714 CC=$ac_cv_prog_CC
4715 if test -n "$CC"; then
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4717 $as_echo "$CC" >&6; }
4718 else
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4720 $as_echo "no" >&6; }
4726 if test -z "$CC"; then
4727 # Extract the first word of "cc", so it can be a program name with args.
4728 set dummy cc; ac_word=$2
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4730 $as_echo_n "checking for $ac_word... " >&6; }
4731 if test "${ac_cv_prog_CC+set}" = set; then :
4732 $as_echo_n "(cached) " >&6
4733 else
4734 if test -n "$CC"; then
4735 ac_cv_prog_CC="$CC" # Let the user override the test.
4736 else
4737 ac_prog_rejected=no
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739 for as_dir in $PATH
4741 IFS=$as_save_IFS
4742 test -z "$as_dir" && as_dir=.
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4745 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4746 ac_prog_rejected=yes
4747 continue
4749 ac_cv_prog_CC="cc"
4750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4751 break 2
4753 done
4754 done
4755 IFS=$as_save_IFS
4757 if test $ac_prog_rejected = yes; then
4758 # We found a bogon in the path, so make sure we never use it.
4759 set dummy $ac_cv_prog_CC
4760 shift
4761 if test $# != 0; then
4762 # We chose a different compiler from the bogus one.
4763 # However, it has the same basename, so the bogon will be chosen
4764 # first if we set CC to just the basename; use the full file name.
4765 shift
4766 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4771 CC=$ac_cv_prog_CC
4772 if test -n "$CC"; then
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4774 $as_echo "$CC" >&6; }
4775 else
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
4782 if test -z "$CC"; then
4783 if test -n "$ac_tool_prefix"; then
4784 for ac_prog in cl.exe
4786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4787 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789 $as_echo_n "checking for $ac_word... " >&6; }
4790 if test "${ac_cv_prog_CC+set}" = set; then :
4791 $as_echo_n "(cached) " >&6
4792 else
4793 if test -n "$CC"; then
4794 ac_cv_prog_CC="$CC" # Let the user override the test.
4795 else
4796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4797 for as_dir in $PATH
4799 IFS=$as_save_IFS
4800 test -z "$as_dir" && as_dir=.
4801 for ac_exec_ext in '' $ac_executable_extensions; do
4802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4803 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 break 2
4807 done
4808 done
4809 IFS=$as_save_IFS
4813 CC=$ac_cv_prog_CC
4814 if test -n "$CC"; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4816 $as_echo "$CC" >&6; }
4817 else
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4823 test -n "$CC" && break
4824 done
4826 if test -z "$CC"; then
4827 ac_ct_CC=$CC
4828 for ac_prog in cl.exe
4830 # Extract the first word of "$ac_prog", so it can be a program name with args.
4831 set dummy $ac_prog; ac_word=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4835 $as_echo_n "(cached) " >&6
4836 else
4837 if test -n "$ac_ct_CC"; then
4838 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4839 else
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH
4843 IFS=$as_save_IFS
4844 test -z "$as_dir" && as_dir=.
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4847 ac_cv_prog_ac_ct_CC="$ac_prog"
4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 break 2
4851 done
4852 done
4853 IFS=$as_save_IFS
4857 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4858 if test -n "$ac_ct_CC"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4860 $as_echo "$ac_ct_CC" >&6; }
4861 else
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4867 test -n "$ac_ct_CC" && break
4868 done
4870 if test "x$ac_ct_CC" = x; then
4871 CC=""
4872 else
4873 case $cross_compiling:$ac_tool_warned in
4874 yes:)
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4877 ac_tool_warned=yes ;;
4878 esac
4879 CC=$ac_ct_CC
4886 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4888 as_fn_error "no acceptable C compiler found in \$PATH
4889 See \`config.log' for more details." "$LINENO" 5; }
4891 # Provide some information about the compiler.
4892 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4893 set X $ac_compile
4894 ac_compiler=$2
4895 for ac_option in --version -v -V -qversion; do
4896 { { ac_try="$ac_compiler $ac_option >&5"
4897 case "(($ac_try" in
4898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4899 *) ac_try_echo=$ac_try;;
4900 esac
4901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4902 $as_echo "$ac_try_echo"; } >&5
4903 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4904 ac_status=$?
4905 if test -s conftest.err; then
4906 sed '10a\
4907 ... rest of stderr output deleted ...
4908 10q' conftest.err >conftest.er1
4909 cat conftest.er1 >&5
4910 rm -f conftest.er1 conftest.err
4912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4913 test $ac_status = 0; }
4914 done
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4917 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4918 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4919 $as_echo_n "(cached) " >&6
4920 else
4921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4925 main ()
4927 #ifndef __GNUC__
4928 choke me
4929 #endif
4932 return 0;
4934 _ACEOF
4935 if ac_fn_c_try_compile "$LINENO"; then :
4936 ac_compiler_gnu=yes
4937 else
4938 ac_compiler_gnu=no
4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4941 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4945 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4946 if test $ac_compiler_gnu = yes; then
4947 GCC=yes
4948 else
4949 GCC=
4951 ac_test_CFLAGS=${CFLAGS+set}
4952 ac_save_CFLAGS=$CFLAGS
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4954 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4955 if test "${ac_cv_prog_cc_g+set}" = set; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 ac_save_c_werror_flag=$ac_c_werror_flag
4959 ac_c_werror_flag=yes
4960 ac_cv_prog_cc_g=no
4961 CFLAGS="-g"
4962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4966 main ()
4970 return 0;
4972 _ACEOF
4973 if ac_fn_c_try_compile "$LINENO"; then :
4974 ac_cv_prog_cc_g=yes
4975 else
4976 CFLAGS=""
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4981 main ()
4985 return 0;
4987 _ACEOF
4988 if ac_fn_c_try_compile "$LINENO"; then :
4990 else
4991 ac_c_werror_flag=$ac_save_c_werror_flag
4992 CFLAGS="-g"
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4997 main ()
5001 return 0;
5003 _ACEOF
5004 if ac_fn_c_try_compile "$LINENO"; then :
5005 ac_cv_prog_cc_g=yes
5007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5012 ac_c_werror_flag=$ac_save_c_werror_flag
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5015 $as_echo "$ac_cv_prog_cc_g" >&6; }
5016 if test "$ac_test_CFLAGS" = set; then
5017 CFLAGS=$ac_save_CFLAGS
5018 elif test $ac_cv_prog_cc_g = yes; then
5019 if test "$GCC" = yes; then
5020 CFLAGS="-g -O2"
5021 else
5022 CFLAGS="-g"
5024 else
5025 if test "$GCC" = yes; then
5026 CFLAGS="-O2"
5027 else
5028 CFLAGS=
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5032 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5033 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 ac_cv_prog_cc_c89=no
5037 ac_save_CC=$CC
5038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5039 /* end confdefs.h. */
5040 #include <stdarg.h>
5041 #include <stdio.h>
5042 #include <sys/types.h>
5043 #include <sys/stat.h>
5044 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5045 struct buf { int x; };
5046 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5047 static char *e (p, i)
5048 char **p;
5049 int i;
5051 return p[i];
5053 static char *f (char * (*g) (char **, int), char **p, ...)
5055 char *s;
5056 va_list v;
5057 va_start (v,p);
5058 s = g (p, va_arg (v,int));
5059 va_end (v);
5060 return s;
5063 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5064 function prototypes and stuff, but not '\xHH' hex character constants.
5065 These don't provoke an error unfortunately, instead are silently treated
5066 as 'x'. The following induces an error, until -std is added to get
5067 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5068 array size at least. It's necessary to write '\x00'==0 to get something
5069 that's true only with -std. */
5070 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5072 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5073 inside strings and character constants. */
5074 #define FOO(x) 'x'
5075 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5077 int test (int i, double x);
5078 struct s1 {int (*f) (int a);};
5079 struct s2 {int (*f) (double a);};
5080 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5081 int argc;
5082 char **argv;
5084 main ()
5086 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5088 return 0;
5090 _ACEOF
5091 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5092 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5094 CC="$ac_save_CC $ac_arg"
5095 if ac_fn_c_try_compile "$LINENO"; then :
5096 ac_cv_prog_cc_c89=$ac_arg
5098 rm -f core conftest.err conftest.$ac_objext
5099 test "x$ac_cv_prog_cc_c89" != "xno" && break
5100 done
5101 rm -f conftest.$ac_ext
5102 CC=$ac_save_CC
5105 # AC_CACHE_VAL
5106 case "x$ac_cv_prog_cc_c89" in
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5109 $as_echo "none needed" >&6; } ;;
5110 xno)
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5112 $as_echo "unsupported" >&6; } ;;
5114 CC="$CC $ac_cv_prog_cc_c89"
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5116 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5117 esac
5118 if test "x$ac_cv_prog_cc_c89" != xno; then :
5122 ac_ext=c
5123 ac_cpp='$CPP $CPPFLAGS'
5124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5128 depcc="$CC" am_compiler_list=
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5131 $as_echo_n "checking dependency style of $depcc... " >&6; }
5132 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5133 $as_echo_n "(cached) " >&6
5134 else
5135 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5136 # We make a subdir and do the tests there. Otherwise we can end up
5137 # making bogus files that we don't know about and never remove. For
5138 # instance it was reported that on HP-UX the gcc test will end up
5139 # making a dummy file named `D' -- because `-MD' means `put the output
5140 # in D'.
5141 mkdir conftest.dir
5142 # Copy depcomp to subdir because otherwise we won't find it if we're
5143 # using a relative directory.
5144 cp "$am_depcomp" conftest.dir
5145 cd conftest.dir
5146 # We will build objects and dependencies in a subdirectory because
5147 # it helps to detect inapplicable dependency modes. For instance
5148 # both Tru64's cc and ICC support -MD to output dependencies as a
5149 # side effect of compilation, but ICC will put the dependencies in
5150 # the current directory while Tru64 will put them in the object
5151 # directory.
5152 mkdir sub
5154 am_cv_CC_dependencies_compiler_type=none
5155 if test "$am_compiler_list" = ""; then
5156 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5158 am__universal=false
5159 case " $depcc " in #(
5160 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5161 esac
5163 for depmode in $am_compiler_list; do
5164 # Setup a source with many dependencies, because some compilers
5165 # like to wrap large dependency lists on column 80 (with \), and
5166 # we should not choose a depcomp mode which is confused by this.
5168 # We need to recreate these files for each test, as the compiler may
5169 # overwrite some of them when testing with obscure command lines.
5170 # This happens at least with the AIX C compiler.
5171 : > sub/conftest.c
5172 for i in 1 2 3 4 5 6; do
5173 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5174 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5175 # Solaris 8's {/usr,}/bin/sh.
5176 touch sub/conftst$i.h
5177 done
5178 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5180 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5181 # mode. It turns out that the SunPro C++ compiler does not properly
5182 # handle `-M -o', and we need to detect this. Also, some Intel
5183 # versions had trouble with output in subdirs
5184 am__obj=sub/conftest.${OBJEXT-o}
5185 am__minus_obj="-o $am__obj"
5186 case $depmode in
5187 gcc)
5188 # This depmode causes a compiler race in universal mode.
5189 test "$am__universal" = false || continue
5191 nosideeffect)
5192 # after this tag, mechanisms are not by side-effect, so they'll
5193 # only be used when explicitly requested
5194 if test "x$enable_dependency_tracking" = xyes; then
5195 continue
5196 else
5197 break
5200 msvisualcpp | msvcmsys)
5201 # This compiler won't grok `-c -o', but also, the minuso test has
5202 # not run yet. These depmodes are late enough in the game, and
5203 # so weak that their functioning should not be impacted.
5204 am__obj=conftest.${OBJEXT-o}
5205 am__minus_obj=
5207 none) break ;;
5208 esac
5209 if depmode=$depmode \
5210 source=sub/conftest.c object=$am__obj \
5211 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5212 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5213 >/dev/null 2>conftest.err &&
5214 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5215 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5216 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5217 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5218 # icc doesn't choke on unknown options, it will just issue warnings
5219 # or remarks (even with -Werror). So we grep stderr for any message
5220 # that says an option was ignored or not supported.
5221 # When given -MP, icc 7.0 and 7.1 complain thusly:
5222 # icc: Command line warning: ignoring option '-M'; no argument required
5223 # The diagnosis changed in icc 8.0:
5224 # icc: Command line remark: option '-MP' not supported
5225 if (grep 'ignoring option' conftest.err ||
5226 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5227 am_cv_CC_dependencies_compiler_type=$depmode
5228 break
5231 done
5233 cd ..
5234 rm -rf conftest.dir
5235 else
5236 am_cv_CC_dependencies_compiler_type=none
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5241 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5242 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5245 test "x$enable_dependency_tracking" != xno \
5246 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5247 am__fastdepCC_TRUE=
5248 am__fastdepCC_FALSE='#'
5249 else
5250 am__fastdepCC_TRUE='#'
5251 am__fastdepCC_FALSE=
5255 ac_ext=cpp
5256 ac_cpp='$CXXCPP $CPPFLAGS'
5257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5260 if test -z "$CXX"; then
5261 if test -n "$CCC"; then
5262 CXX=$CCC
5263 else
5264 if test -n "$ac_tool_prefix"; then
5265 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if test "${ac_cv_prog_CXX+set}" = set; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 if test -n "$CXX"; then
5275 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5276 else
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278 for as_dir in $PATH
5280 IFS=$as_save_IFS
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5284 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286 break 2
5288 done
5289 done
5290 IFS=$as_save_IFS
5294 CXX=$ac_cv_prog_CXX
5295 if test -n "$CXX"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5297 $as_echo "$CXX" >&6; }
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5304 test -n "$CXX" && break
5305 done
5307 if test -z "$CXX"; then
5308 ac_ct_CXX=$CXX
5309 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5311 # Extract the first word of "$ac_prog", so it can be a program name with args.
5312 set dummy $ac_prog; ac_word=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5316 $as_echo_n "(cached) " >&6
5317 else
5318 if test -n "$ac_ct_CXX"; then
5319 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5320 else
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 for as_dir in $PATH
5324 IFS=$as_save_IFS
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5328 ac_cv_prog_ac_ct_CXX="$ac_prog"
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 break 2
5332 done
5333 done
5334 IFS=$as_save_IFS
5338 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5339 if test -n "$ac_ct_CXX"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5341 $as_echo "$ac_ct_CXX" >&6; }
5342 else
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5348 test -n "$ac_ct_CXX" && break
5349 done
5351 if test "x$ac_ct_CXX" = x; then
5352 CXX="g++"
5353 else
5354 case $cross_compiling:$ac_tool_warned in
5355 yes:)
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5358 ac_tool_warned=yes ;;
5359 esac
5360 CXX=$ac_ct_CXX
5366 # Provide some information about the compiler.
5367 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5368 set X $ac_compile
5369 ac_compiler=$2
5370 for ac_option in --version -v -V -qversion; do
5371 { { ac_try="$ac_compiler $ac_option >&5"
5372 case "(($ac_try" in
5373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5374 *) ac_try_echo=$ac_try;;
5375 esac
5376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5377 $as_echo "$ac_try_echo"; } >&5
5378 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5379 ac_status=$?
5380 if test -s conftest.err; then
5381 sed '10a\
5382 ... rest of stderr output deleted ...
5383 10q' conftest.err >conftest.er1
5384 cat conftest.er1 >&5
5385 rm -f conftest.er1 conftest.err
5387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5388 test $ac_status = 0; }
5389 done
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5392 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5393 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5400 main ()
5402 #ifndef __GNUC__
5403 choke me
5404 #endif
5407 return 0;
5409 _ACEOF
5410 if ac_fn_cxx_try_compile "$LINENO"; then :
5411 ac_compiler_gnu=yes
5412 else
5413 ac_compiler_gnu=no
5415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5416 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5420 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5421 if test $ac_compiler_gnu = yes; then
5422 GXX=yes
5423 else
5424 GXX=
5426 ac_test_CXXFLAGS=${CXXFLAGS+set}
5427 ac_save_CXXFLAGS=$CXXFLAGS
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5429 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5430 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5434 ac_cxx_werror_flag=yes
5435 ac_cv_prog_cxx_g=no
5436 CXXFLAGS="-g"
5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5441 main ()
5445 return 0;
5447 _ACEOF
5448 if ac_fn_cxx_try_compile "$LINENO"; then :
5449 ac_cv_prog_cxx_g=yes
5450 else
5451 CXXFLAGS=""
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5456 main ()
5460 return 0;
5462 _ACEOF
5463 if ac_fn_cxx_try_compile "$LINENO"; then :
5465 else
5466 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5467 CXXFLAGS="-g"
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5469 /* end confdefs.h. */
5472 main ()
5476 return 0;
5478 _ACEOF
5479 if ac_fn_cxx_try_compile "$LINENO"; then :
5480 ac_cv_prog_cxx_g=yes
5482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5487 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5490 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5491 if test "$ac_test_CXXFLAGS" = set; then
5492 CXXFLAGS=$ac_save_CXXFLAGS
5493 elif test $ac_cv_prog_cxx_g = yes; then
5494 if test "$GXX" = yes; then
5495 CXXFLAGS="-g -O2"
5496 else
5497 CXXFLAGS="-g"
5499 else
5500 if test "$GXX" = yes; then
5501 CXXFLAGS="-O2"
5502 else
5503 CXXFLAGS=
5506 ac_ext=c
5507 ac_cpp='$CPP $CPPFLAGS'
5508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5512 depcc="$CXX" am_compiler_list=
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5515 $as_echo_n "checking dependency style of $depcc... " >&6; }
5516 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5517 $as_echo_n "(cached) " >&6
5518 else
5519 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5520 # We make a subdir and do the tests there. Otherwise we can end up
5521 # making bogus files that we don't know about and never remove. For
5522 # instance it was reported that on HP-UX the gcc test will end up
5523 # making a dummy file named `D' -- because `-MD' means `put the output
5524 # in D'.
5525 mkdir conftest.dir
5526 # Copy depcomp to subdir because otherwise we won't find it if we're
5527 # using a relative directory.
5528 cp "$am_depcomp" conftest.dir
5529 cd conftest.dir
5530 # We will build objects and dependencies in a subdirectory because
5531 # it helps to detect inapplicable dependency modes. For instance
5532 # both Tru64's cc and ICC support -MD to output dependencies as a
5533 # side effect of compilation, but ICC will put the dependencies in
5534 # the current directory while Tru64 will put them in the object
5535 # directory.
5536 mkdir sub
5538 am_cv_CXX_dependencies_compiler_type=none
5539 if test "$am_compiler_list" = ""; then
5540 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5542 am__universal=false
5543 case " $depcc " in #(
5544 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5545 esac
5547 for depmode in $am_compiler_list; do
5548 # Setup a source with many dependencies, because some compilers
5549 # like to wrap large dependency lists on column 80 (with \), and
5550 # we should not choose a depcomp mode which is confused by this.
5552 # We need to recreate these files for each test, as the compiler may
5553 # overwrite some of them when testing with obscure command lines.
5554 # This happens at least with the AIX C compiler.
5555 : > sub/conftest.c
5556 for i in 1 2 3 4 5 6; do
5557 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5558 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5559 # Solaris 8's {/usr,}/bin/sh.
5560 touch sub/conftst$i.h
5561 done
5562 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5564 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5565 # mode. It turns out that the SunPro C++ compiler does not properly
5566 # handle `-M -o', and we need to detect this. Also, some Intel
5567 # versions had trouble with output in subdirs
5568 am__obj=sub/conftest.${OBJEXT-o}
5569 am__minus_obj="-o $am__obj"
5570 case $depmode in
5571 gcc)
5572 # This depmode causes a compiler race in universal mode.
5573 test "$am__universal" = false || continue
5575 nosideeffect)
5576 # after this tag, mechanisms are not by side-effect, so they'll
5577 # only be used when explicitly requested
5578 if test "x$enable_dependency_tracking" = xyes; then
5579 continue
5580 else
5581 break
5584 msvisualcpp | msvcmsys)
5585 # This compiler won't grok `-c -o', but also, the minuso test has
5586 # not run yet. These depmodes are late enough in the game, and
5587 # so weak that their functioning should not be impacted.
5588 am__obj=conftest.${OBJEXT-o}
5589 am__minus_obj=
5591 none) break ;;
5592 esac
5593 if depmode=$depmode \
5594 source=sub/conftest.c object=$am__obj \
5595 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5596 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5597 >/dev/null 2>conftest.err &&
5598 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5599 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5600 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5601 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5602 # icc doesn't choke on unknown options, it will just issue warnings
5603 # or remarks (even with -Werror). So we grep stderr for any message
5604 # that says an option was ignored or not supported.
5605 # When given -MP, icc 7.0 and 7.1 complain thusly:
5606 # icc: Command line warning: ignoring option '-M'; no argument required
5607 # The diagnosis changed in icc 8.0:
5608 # icc: Command line remark: option '-MP' not supported
5609 if (grep 'ignoring option' conftest.err ||
5610 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5611 am_cv_CXX_dependencies_compiler_type=$depmode
5612 break
5615 done
5617 cd ..
5618 rm -rf conftest.dir
5619 else
5620 am_cv_CXX_dependencies_compiler_type=none
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5625 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5626 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5629 test "x$enable_dependency_tracking" != xno \
5630 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5631 am__fastdepCXX_TRUE=
5632 am__fastdepCXX_FALSE='#'
5633 else
5634 am__fastdepCXX_TRUE='#'
5635 am__fastdepCXX_FALSE=
5641 if test "x$CC" != xcc; then
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5643 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5644 else
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5646 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5648 set dummy $CC; ac_cc=`$as_echo "$2" |
5649 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5650 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5651 $as_echo_n "(cached) " >&6
5652 else
5653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5654 /* end confdefs.h. */
5657 main ()
5661 return 0;
5663 _ACEOF
5664 # Make sure it works both with $CC and with simple cc.
5665 # We do the test twice because some compilers refuse to overwrite an
5666 # existing .o file with -o, though they will create one.
5667 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5668 rm -f conftest2.*
5669 if { { case "(($ac_try" in
5670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5671 *) ac_try_echo=$ac_try;;
5672 esac
5673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5674 $as_echo "$ac_try_echo"; } >&5
5675 (eval "$ac_try") 2>&5
5676 ac_status=$?
5677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5678 test $ac_status = 0; } &&
5679 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5681 *) ac_try_echo=$ac_try;;
5682 esac
5683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5684 $as_echo "$ac_try_echo"; } >&5
5685 (eval "$ac_try") 2>&5
5686 ac_status=$?
5687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5688 test $ac_status = 0; };
5689 then
5690 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5691 if test "x$CC" != xcc; then
5692 # Test first that cc exists at all.
5693 if { ac_try='cc -c conftest.$ac_ext >&5'
5694 { { case "(($ac_try" in
5695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5696 *) ac_try_echo=$ac_try;;
5697 esac
5698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5699 $as_echo "$ac_try_echo"; } >&5
5700 (eval "$ac_try") 2>&5
5701 ac_status=$?
5702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5703 test $ac_status = 0; }; }; then
5704 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5705 rm -f conftest2.*
5706 if { { case "(($ac_try" in
5707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5708 *) ac_try_echo=$ac_try;;
5709 esac
5710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5711 $as_echo "$ac_try_echo"; } >&5
5712 (eval "$ac_try") 2>&5
5713 ac_status=$?
5714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5715 test $ac_status = 0; } &&
5716 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5718 *) ac_try_echo=$ac_try;;
5719 esac
5720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5721 $as_echo "$ac_try_echo"; } >&5
5722 (eval "$ac_try") 2>&5
5723 ac_status=$?
5724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5725 test $ac_status = 0; };
5726 then
5727 # cc works too.
5729 else
5730 # cc exists but doesn't like -o.
5731 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5735 else
5736 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5738 rm -f core conftest*
5741 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5743 $as_echo "yes" >&6; }
5744 else
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5748 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5752 # FIXME: we rely on the cache variable name because
5753 # there is no other way.
5754 set dummy $CC
5755 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5756 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5757 if test "$am_t" != yes; then
5758 # Losing compiler, so override with the script.
5759 # FIXME: It is wrong to rewrite CC.
5760 # But if we don't then we get into trouble of one sort or another.
5761 # A longer-term fix would be to have automake use am__CC in this case,
5762 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5763 CC="$am_aux_dir/compile $CC"
5771 # Newer automakes demand CCAS and CCASFLAGS.
5772 : ${CCAS='$(CC)'}
5773 : ${CCASFLAGS='$(CFLAGS)'}
5777 if test -n "$ac_tool_prefix"; then
5778 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5779 set dummy ${ac_tool_prefix}as; ac_word=$2
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5781 $as_echo_n "checking for $ac_word... " >&6; }
5782 if test "${ac_cv_prog_AS+set}" = set; then :
5783 $as_echo_n "(cached) " >&6
5784 else
5785 if test -n "$AS"; then
5786 ac_cv_prog_AS="$AS" # Let the user override the test.
5787 else
5788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5789 for as_dir in $PATH
5791 IFS=$as_save_IFS
5792 test -z "$as_dir" && as_dir=.
5793 for ac_exec_ext in '' $ac_executable_extensions; do
5794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5795 ac_cv_prog_AS="${ac_tool_prefix}as"
5796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5797 break 2
5799 done
5800 done
5801 IFS=$as_save_IFS
5805 AS=$ac_cv_prog_AS
5806 if test -n "$AS"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5808 $as_echo "$AS" >&6; }
5809 else
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5811 $as_echo "no" >&6; }
5816 if test -z "$ac_cv_prog_AS"; then
5817 ac_ct_AS=$AS
5818 # Extract the first word of "as", so it can be a program name with args.
5819 set dummy as; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 if test -n "$ac_ct_AS"; then
5826 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5827 else
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 for as_dir in $PATH
5831 IFS=$as_save_IFS
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5835 ac_cv_prog_ac_ct_AS="as"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 break 2
5839 done
5840 done
5841 IFS=$as_save_IFS
5845 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5846 if test -n "$ac_ct_AS"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5848 $as_echo "$ac_ct_AS" >&6; }
5849 else
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5854 if test "x$ac_ct_AS" = x; then
5855 AS=""
5856 else
5857 case $cross_compiling:$ac_tool_warned in
5858 yes:)
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5861 ac_tool_warned=yes ;;
5862 esac
5863 AS=$ac_ct_AS
5865 else
5866 AS="$ac_cv_prog_AS"
5869 if test -n "$ac_tool_prefix"; then
5870 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5871 set dummy ${ac_tool_prefix}ar; ac_word=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 $as_echo_n "checking for $ac_word... " >&6; }
5874 if test "${ac_cv_prog_AR+set}" = set; then :
5875 $as_echo_n "(cached) " >&6
5876 else
5877 if test -n "$AR"; then
5878 ac_cv_prog_AR="$AR" # Let the user override the test.
5879 else
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in $PATH
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_prog_AR="${ac_tool_prefix}ar"
5888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5891 done
5892 done
5893 IFS=$as_save_IFS
5897 AR=$ac_cv_prog_AR
5898 if test -n "$AR"; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5900 $as_echo "$AR" >&6; }
5901 else
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903 $as_echo "no" >&6; }
5908 if test -z "$ac_cv_prog_AR"; then
5909 ac_ct_AR=$AR
5910 # Extract the first word of "ar", so it can be a program name with args.
5911 set dummy ar; ac_word=$2
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913 $as_echo_n "checking for $ac_word... " >&6; }
5914 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5915 $as_echo_n "(cached) " >&6
5916 else
5917 if test -n "$ac_ct_AR"; then
5918 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5919 else
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 for as_dir in $PATH
5923 IFS=$as_save_IFS
5924 test -z "$as_dir" && as_dir=.
5925 for ac_exec_ext in '' $ac_executable_extensions; do
5926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5927 ac_cv_prog_ac_ct_AR="ar"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 break 2
5931 done
5932 done
5933 IFS=$as_save_IFS
5937 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5938 if test -n "$ac_ct_AR"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5940 $as_echo "$ac_ct_AR" >&6; }
5941 else
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943 $as_echo "no" >&6; }
5946 if test "x$ac_ct_AR" = x; then
5947 AR=""
5948 else
5949 case $cross_compiling:$ac_tool_warned in
5950 yes:)
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5953 ac_tool_warned=yes ;;
5954 esac
5955 AR=$ac_ct_AR
5957 else
5958 AR="$ac_cv_prog_AR"
5961 if test -n "$ac_tool_prefix"; then
5962 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5963 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 $as_echo_n "checking for $ac_word... " >&6; }
5966 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5967 $as_echo_n "(cached) " >&6
5968 else
5969 if test -n "$RANLIB"; then
5970 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5971 else
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 for as_dir in $PATH
5975 IFS=$as_save_IFS
5976 test -z "$as_dir" && as_dir=.
5977 for ac_exec_ext in '' $ac_executable_extensions; do
5978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5979 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 break 2
5983 done
5984 done
5985 IFS=$as_save_IFS
5989 RANLIB=$ac_cv_prog_RANLIB
5990 if test -n "$RANLIB"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5992 $as_echo "$RANLIB" >&6; }
5993 else
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995 $as_echo "no" >&6; }
6000 if test -z "$ac_cv_prog_RANLIB"; then
6001 ac_ct_RANLIB=$RANLIB
6002 # Extract the first word of "ranlib", so it can be a program name with args.
6003 set dummy ranlib; ac_word=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 $as_echo_n "checking for $ac_word... " >&6; }
6006 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6007 $as_echo_n "(cached) " >&6
6008 else
6009 if test -n "$ac_ct_RANLIB"; then
6010 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6011 else
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in $PATH
6015 IFS=$as_save_IFS
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019 ac_cv_prog_ac_ct_RANLIB="ranlib"
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 break 2
6023 done
6024 done
6025 IFS=$as_save_IFS
6029 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6030 if test -n "$ac_ct_RANLIB"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6032 $as_echo "$ac_ct_RANLIB" >&6; }
6033 else
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6038 if test "x$ac_ct_RANLIB" = x; then
6039 RANLIB=":"
6040 else
6041 case $cross_compiling:$ac_tool_warned in
6042 yes:)
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6045 ac_tool_warned=yes ;;
6046 esac
6047 RANLIB=$ac_ct_RANLIB
6049 else
6050 RANLIB="$ac_cv_prog_RANLIB"
6054 # Configure libtool
6055 enable_dlopen=yes
6059 case `pwd` in
6060 *\ * | *\ *)
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6062 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6063 esac
6067 macro_version='2.2.7a'
6068 macro_revision='1.3134'
6082 ltmain="$ac_aux_dir/ltmain.sh"
6084 # Backslashify metacharacters that are still active within
6085 # double-quoted strings.
6086 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6088 # Same as above, but do not quote variable references.
6089 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6091 # Sed substitution to delay expansion of an escaped shell variable in a
6092 # double_quote_subst'ed string.
6093 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6095 # Sed substitution to delay expansion of an escaped single quote.
6096 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6098 # Sed substitution to avoid accidental globbing in evaled expressions
6099 no_glob_subst='s/\*/\\\*/g'
6101 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6102 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6103 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6106 $as_echo_n "checking how to print strings... " >&6; }
6107 # Test print first, because it will be a builtin if present.
6108 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6109 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6110 ECHO='print -r --'
6111 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6112 ECHO='printf %s\n'
6113 else
6114 # Use this function as a fallback that always works.
6115 func_fallback_echo ()
6117 eval 'cat <<_LTECHO_EOF
6119 _LTECHO_EOF'
6121 ECHO='func_fallback_echo'
6124 # func_echo_all arg...
6125 # Invoke $ECHO with all args, space-separated.
6126 func_echo_all ()
6128 $ECHO ""
6131 case "$ECHO" in
6132 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6133 $as_echo "printf" >&6; } ;;
6134 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6135 $as_echo "print -r" >&6; } ;;
6136 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6137 $as_echo "cat" >&6; } ;;
6138 esac
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6154 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6155 if test "${ac_cv_path_SED+set}" = set; then :
6156 $as_echo_n "(cached) " >&6
6157 else
6158 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6159 for ac_i in 1 2 3 4 5 6 7; do
6160 ac_script="$ac_script$as_nl$ac_script"
6161 done
6162 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6163 { ac_script=; unset ac_script;}
6164 if test -z "$SED"; then
6165 ac_path_SED_found=false
6166 # Loop through the user's path and test for each of PROGNAME-LIST
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 for as_dir in $PATH
6170 IFS=$as_save_IFS
6171 test -z "$as_dir" && as_dir=.
6172 for ac_prog in sed gsed; do
6173 for ac_exec_ext in '' $ac_executable_extensions; do
6174 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6175 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6176 # Check for GNU ac_path_SED and select it if it is found.
6177 # Check for GNU $ac_path_SED
6178 case `"$ac_path_SED" --version 2>&1` in
6179 *GNU*)
6180 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6182 ac_count=0
6183 $as_echo_n 0123456789 >"conftest.in"
6184 while :
6186 cat "conftest.in" "conftest.in" >"conftest.tmp"
6187 mv "conftest.tmp" "conftest.in"
6188 cp "conftest.in" "conftest.nl"
6189 $as_echo '' >> "conftest.nl"
6190 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6191 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6192 as_fn_arith $ac_count + 1 && ac_count=$as_val
6193 if test $ac_count -gt ${ac_path_SED_max-0}; then
6194 # Best one so far, save it but keep looking for a better one
6195 ac_cv_path_SED="$ac_path_SED"
6196 ac_path_SED_max=$ac_count
6198 # 10*(2^10) chars as input seems more than enough
6199 test $ac_count -gt 10 && break
6200 done
6201 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6202 esac
6204 $ac_path_SED_found && break 3
6205 done
6206 done
6207 done
6208 IFS=$as_save_IFS
6209 if test -z "$ac_cv_path_SED"; then
6210 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6212 else
6213 ac_cv_path_SED=$SED
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6218 $as_echo "$ac_cv_path_SED" >&6; }
6219 SED="$ac_cv_path_SED"
6220 rm -f conftest.sed
6222 test -z "$SED" && SED=sed
6223 Xsed="$SED -e 1s/^X//"
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6236 $as_echo_n "checking for fgrep... " >&6; }
6237 if test "${ac_cv_path_FGREP+set}" = set; then :
6238 $as_echo_n "(cached) " >&6
6239 else
6240 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6241 then ac_cv_path_FGREP="$GREP -F"
6242 else
6243 if test -z "$FGREP"; then
6244 ac_path_FGREP_found=false
6245 # Loop through the user's path and test for each of PROGNAME-LIST
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6249 IFS=$as_save_IFS
6250 test -z "$as_dir" && as_dir=.
6251 for ac_prog in fgrep; do
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6254 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6255 # Check for GNU ac_path_FGREP and select it if it is found.
6256 # Check for GNU $ac_path_FGREP
6257 case `"$ac_path_FGREP" --version 2>&1` in
6258 *GNU*)
6259 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6261 ac_count=0
6262 $as_echo_n 0123456789 >"conftest.in"
6263 while :
6265 cat "conftest.in" "conftest.in" >"conftest.tmp"
6266 mv "conftest.tmp" "conftest.in"
6267 cp "conftest.in" "conftest.nl"
6268 $as_echo 'FGREP' >> "conftest.nl"
6269 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6270 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6271 as_fn_arith $ac_count + 1 && ac_count=$as_val
6272 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6273 # Best one so far, save it but keep looking for a better one
6274 ac_cv_path_FGREP="$ac_path_FGREP"
6275 ac_path_FGREP_max=$ac_count
6277 # 10*(2^10) chars as input seems more than enough
6278 test $ac_count -gt 10 && break
6279 done
6280 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6281 esac
6283 $ac_path_FGREP_found && break 3
6284 done
6285 done
6286 done
6287 IFS=$as_save_IFS
6288 if test -z "$ac_cv_path_FGREP"; then
6289 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6291 else
6292 ac_cv_path_FGREP=$FGREP
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6298 $as_echo "$ac_cv_path_FGREP" >&6; }
6299 FGREP="$ac_cv_path_FGREP"
6302 test -z "$GREP" && GREP=grep
6322 # Check whether --with-gnu-ld was given.
6323 if test "${with_gnu_ld+set}" = set; then :
6324 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6325 else
6326 with_gnu_ld=no
6329 ac_prog=ld
6330 if test "$GCC" = yes; then
6331 # Check if gcc -print-prog-name=ld gives a path.
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6333 $as_echo_n "checking for ld used by $CC... " >&6; }
6334 case $host in
6335 *-*-mingw*)
6336 # gcc leaves a trailing carriage return which upsets mingw
6337 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6339 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6340 esac
6341 case $ac_prog in
6342 # Accept absolute paths.
6343 [\\/]* | ?:[\\/]*)
6344 re_direlt='/[^/][^/]*/\.\./'
6345 # Canonicalize the pathname of ld
6346 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6347 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6348 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6349 done
6350 test -z "$LD" && LD="$ac_prog"
6353 # If it fails, then pretend we aren't using GCC.
6354 ac_prog=ld
6357 # If it is relative, then search for the first ld in PATH.
6358 with_gnu_ld=unknown
6360 esac
6361 elif test "$with_gnu_ld" = yes; then
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6363 $as_echo_n "checking for GNU ld... " >&6; }
6364 else
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6366 $as_echo_n "checking for non-GNU ld... " >&6; }
6368 if test "${lt_cv_path_LD+set}" = set; then :
6369 $as_echo_n "(cached) " >&6
6370 else
6371 if test -z "$LD"; then
6372 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6373 for ac_dir in $PATH; do
6374 IFS="$lt_save_ifs"
6375 test -z "$ac_dir" && ac_dir=.
6376 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6377 lt_cv_path_LD="$ac_dir/$ac_prog"
6378 # Check to see if the program is GNU ld. I'd rather use --version,
6379 # but apparently some variants of GNU ld only accept -v.
6380 # Break only if it was the GNU/non-GNU ld that we prefer.
6381 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6382 *GNU* | *'with BFD'*)
6383 test "$with_gnu_ld" != no && break
6386 test "$with_gnu_ld" != yes && break
6388 esac
6390 done
6391 IFS="$lt_save_ifs"
6392 else
6393 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6397 LD="$lt_cv_path_LD"
6398 if test -n "$LD"; then
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6400 $as_echo "$LD" >&6; }
6401 else
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6403 $as_echo "no" >&6; }
6405 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6407 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6408 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6409 $as_echo_n "(cached) " >&6
6410 else
6411 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6412 case `$LD -v 2>&1 </dev/null` in
6413 *GNU* | *'with BFD'*)
6414 lt_cv_prog_gnu_ld=yes
6417 lt_cv_prog_gnu_ld=no
6419 esac
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6422 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6423 with_gnu_ld=$lt_cv_prog_gnu_ld
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6434 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6435 if test "${lt_cv_path_NM+set}" = set; then :
6436 $as_echo_n "(cached) " >&6
6437 else
6438 if test -n "$NM"; then
6439 # Let the user override the test.
6440 lt_cv_path_NM="$NM"
6441 else
6442 lt_nm_to_check="${ac_tool_prefix}nm"
6443 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6444 lt_nm_to_check="$lt_nm_to_check nm"
6446 for lt_tmp_nm in $lt_nm_to_check; do
6447 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6448 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6449 IFS="$lt_save_ifs"
6450 test -z "$ac_dir" && ac_dir=.
6451 tmp_nm="$ac_dir/$lt_tmp_nm"
6452 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6453 # Check to see if the nm accepts a BSD-compat flag.
6454 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6455 # nm: unknown option "B" ignored
6456 # Tru64's nm complains that /dev/null is an invalid object file
6457 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6458 */dev/null* | *'Invalid file or object type'*)
6459 lt_cv_path_NM="$tmp_nm -B"
6460 break
6463 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6464 */dev/null*)
6465 lt_cv_path_NM="$tmp_nm -p"
6466 break
6469 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6470 continue # so that we can try to find one that supports BSD flags
6472 esac
6474 esac
6476 done
6477 IFS="$lt_save_ifs"
6478 done
6479 : ${lt_cv_path_NM=no}
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6483 $as_echo "$lt_cv_path_NM" >&6; }
6484 if test "$lt_cv_path_NM" != "no"; then
6485 NM="$lt_cv_path_NM"
6486 else
6487 # Didn't find any BSD compatible name lister, look for dumpbin.
6488 if test -n "$DUMPBIN"; then :
6489 # Let the user override the test.
6490 else
6491 if test -n "$ac_tool_prefix"; then
6492 for ac_prog in dumpbin "link -dump"
6494 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6495 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497 $as_echo_n "checking for $ac_word... " >&6; }
6498 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6499 $as_echo_n "(cached) " >&6
6500 else
6501 if test -n "$DUMPBIN"; then
6502 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6503 else
6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505 for as_dir in $PATH
6507 IFS=$as_save_IFS
6508 test -z "$as_dir" && as_dir=.
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6511 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6513 break 2
6515 done
6516 done
6517 IFS=$as_save_IFS
6521 DUMPBIN=$ac_cv_prog_DUMPBIN
6522 if test -n "$DUMPBIN"; then
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6524 $as_echo "$DUMPBIN" >&6; }
6525 else
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 $as_echo "no" >&6; }
6531 test -n "$DUMPBIN" && break
6532 done
6534 if test -z "$DUMPBIN"; then
6535 ac_ct_DUMPBIN=$DUMPBIN
6536 for ac_prog in dumpbin "link -dump"
6538 # Extract the first word of "$ac_prog", so it can be a program name with args.
6539 set dummy $ac_prog; ac_word=$2
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541 $as_echo_n "checking for $ac_word... " >&6; }
6542 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6543 $as_echo_n "(cached) " >&6
6544 else
6545 if test -n "$ac_ct_DUMPBIN"; then
6546 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6547 else
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 for as_dir in $PATH
6551 IFS=$as_save_IFS
6552 test -z "$as_dir" && as_dir=.
6553 for ac_exec_ext in '' $ac_executable_extensions; do
6554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557 break 2
6559 done
6560 done
6561 IFS=$as_save_IFS
6565 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6566 if test -n "$ac_ct_DUMPBIN"; then
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6568 $as_echo "$ac_ct_DUMPBIN" >&6; }
6569 else
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571 $as_echo "no" >&6; }
6575 test -n "$ac_ct_DUMPBIN" && break
6576 done
6578 if test "x$ac_ct_DUMPBIN" = x; then
6579 DUMPBIN=":"
6580 else
6581 case $cross_compiling:$ac_tool_warned in
6582 yes:)
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6585 ac_tool_warned=yes ;;
6586 esac
6587 DUMPBIN=$ac_ct_DUMPBIN
6591 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6592 *COFF*)
6593 DUMPBIN="$DUMPBIN -symbols"
6596 DUMPBIN=:
6598 esac
6601 if test "$DUMPBIN" != ":"; then
6602 NM="$DUMPBIN"
6605 test -z "$NM" && NM=nm
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6613 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6614 if test "${lt_cv_nm_interface+set}" = set; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 lt_cv_nm_interface="BSD nm"
6618 echo "int some_variable = 0;" > conftest.$ac_ext
6619 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6620 (eval "$ac_compile" 2>conftest.err)
6621 cat conftest.err >&5
6622 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6623 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6624 cat conftest.err >&5
6625 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6626 cat conftest.out >&5
6627 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6628 lt_cv_nm_interface="MS dumpbin"
6630 rm -f conftest*
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6633 $as_echo "$lt_cv_nm_interface" >&6; }
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6636 $as_echo_n "checking whether ln -s works... " >&6; }
6637 LN_S=$as_ln_s
6638 if test "$LN_S" = "ln -s"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6640 $as_echo "yes" >&6; }
6641 else
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6643 $as_echo "no, using $LN_S" >&6; }
6646 # find the maximum length of command line arguments
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6648 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6649 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6653 teststring="ABCD"
6655 case $build_os in
6656 msdosdjgpp*)
6657 # On DJGPP, this test can blow up pretty badly due to problems in libc
6658 # (any single argument exceeding 2000 bytes causes a buffer overrun
6659 # during glob expansion). Even if it were fixed, the result of this
6660 # check would be larger than it should be.
6661 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6664 gnu*)
6665 # Under GNU Hurd, this test is not required because there is
6666 # no limit to the length of command line arguments.
6667 # Libtool will interpret -1 as no limit whatsoever
6668 lt_cv_sys_max_cmd_len=-1;
6671 cygwin* | mingw* | cegcc*)
6672 # On Win9x/ME, this test blows up -- it succeeds, but takes
6673 # about 5 minutes as the teststring grows exponentially.
6674 # Worse, since 9x/ME are not pre-emptively multitasking,
6675 # you end up with a "frozen" computer, even though with patience
6676 # the test eventually succeeds (with a max line length of 256k).
6677 # Instead, let's just punt: use the minimum linelength reported by
6678 # all of the supported platforms: 8192 (on NT/2K/XP).
6679 lt_cv_sys_max_cmd_len=8192;
6682 mint*)
6683 # On MiNT this can take a long time and run out of memory.
6684 lt_cv_sys_max_cmd_len=8192;
6687 amigaos*)
6688 # On AmigaOS with pdksh, this test takes hours, literally.
6689 # So we just punt and use a minimum line length of 8192.
6690 lt_cv_sys_max_cmd_len=8192;
6693 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6694 # This has been around since 386BSD, at least. Likely further.
6695 if test -x /sbin/sysctl; then
6696 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6697 elif test -x /usr/sbin/sysctl; then
6698 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6699 else
6700 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6702 # And add a safety zone
6703 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6704 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6707 interix*)
6708 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6709 lt_cv_sys_max_cmd_len=196608
6712 osf*)
6713 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6714 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6715 # nice to cause kernel panics so lets avoid the loop below.
6716 # First set a reasonable default.
6717 lt_cv_sys_max_cmd_len=16384
6719 if test -x /sbin/sysconfig; then
6720 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6721 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6722 esac
6725 sco3.2v5*)
6726 lt_cv_sys_max_cmd_len=102400
6728 sysv5* | sco5v6* | sysv4.2uw2*)
6729 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6730 if test -n "$kargmax"; then
6731 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6732 else
6733 lt_cv_sys_max_cmd_len=32768
6737 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6738 if test -n "$lt_cv_sys_max_cmd_len"; then
6739 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6740 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6741 else
6742 # Make teststring a little bigger before we do anything with it.
6743 # a 1K string should be a reasonable start.
6744 for i in 1 2 3 4 5 6 7 8 ; do
6745 teststring=$teststring$teststring
6746 done
6747 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6748 # If test is not a shell built-in, we'll probably end up computing a
6749 # maximum length that is only half of the actual maximum length, but
6750 # we can't tell.
6751 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6752 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6753 test $i != 17 # 1/2 MB should be enough
6755 i=`expr $i + 1`
6756 teststring=$teststring$teststring
6757 done
6758 # Only check the string length outside the loop.
6759 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6760 teststring=
6761 # Add a significant safety factor because C++ compilers can tack on
6762 # massive amounts of additional arguments before passing them to the
6763 # linker. It appears as though 1/2 is a usable value.
6764 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6767 esac
6771 if test -n $lt_cv_sys_max_cmd_len ; then
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6773 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6774 else
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6776 $as_echo "none" >&6; }
6778 max_cmd_len=$lt_cv_sys_max_cmd_len
6785 : ${CP="cp -f"}
6786 : ${MV="mv -f"}
6787 : ${RM="rm -f"}
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6790 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6791 # Try some XSI features
6792 xsi_shell=no
6793 ( _lt_dummy="a/b/c"
6794 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6795 = c,a/b,, \
6796 && eval 'test $(( 1 + 1 )) -eq 2 \
6797 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6798 && xsi_shell=yes
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6800 $as_echo "$xsi_shell" >&6; }
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6804 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6805 lt_shell_append=no
6806 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6807 >/dev/null 2>&1 \
6808 && lt_shell_append=yes
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6810 $as_echo "$lt_shell_append" >&6; }
6813 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6814 lt_unset=unset
6815 else
6816 lt_unset=false
6823 # test EBCDIC or ASCII
6824 case `echo X|tr X '\101'` in
6825 A) # ASCII based system
6826 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6827 lt_SP2NL='tr \040 \012'
6828 lt_NL2SP='tr \015\012 \040\040'
6830 *) # EBCDIC based system
6831 lt_SP2NL='tr \100 \n'
6832 lt_NL2SP='tr \r\n \100\100'
6834 esac
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6845 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6846 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6847 $as_echo_n "(cached) " >&6
6848 else
6849 lt_cv_ld_reload_flag='-r'
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6852 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6853 reload_flag=$lt_cv_ld_reload_flag
6854 case $reload_flag in
6855 "" | " "*) ;;
6856 *) reload_flag=" $reload_flag" ;;
6857 esac
6858 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6859 case $host_os in
6860 darwin*)
6861 if test "$GCC" = yes; then
6862 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6863 else
6864 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6867 esac
6877 if test -n "$ac_tool_prefix"; then
6878 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6879 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6883 $as_echo_n "(cached) " >&6
6884 else
6885 if test -n "$OBJDUMP"; then
6886 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6887 else
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 for as_dir in $PATH
6891 IFS=$as_save_IFS
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6895 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897 break 2
6899 done
6900 done
6901 IFS=$as_save_IFS
6905 OBJDUMP=$ac_cv_prog_OBJDUMP
6906 if test -n "$OBJDUMP"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6908 $as_echo "$OBJDUMP" >&6; }
6909 else
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6916 if test -z "$ac_cv_prog_OBJDUMP"; then
6917 ac_ct_OBJDUMP=$OBJDUMP
6918 # Extract the first word of "objdump", so it can be a program name with args.
6919 set dummy objdump; ac_word=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6923 $as_echo_n "(cached) " >&6
6924 else
6925 if test -n "$ac_ct_OBJDUMP"; then
6926 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6927 else
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 for as_dir in $PATH
6931 IFS=$as_save_IFS
6932 test -z "$as_dir" && as_dir=.
6933 for ac_exec_ext in '' $ac_executable_extensions; do
6934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6935 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937 break 2
6939 done
6940 done
6941 IFS=$as_save_IFS
6945 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6946 if test -n "$ac_ct_OBJDUMP"; then
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6948 $as_echo "$ac_ct_OBJDUMP" >&6; }
6949 else
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 $as_echo "no" >&6; }
6954 if test "x$ac_ct_OBJDUMP" = x; then
6955 OBJDUMP="false"
6956 else
6957 case $cross_compiling:$ac_tool_warned in
6958 yes:)
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6961 ac_tool_warned=yes ;;
6962 esac
6963 OBJDUMP=$ac_ct_OBJDUMP
6965 else
6966 OBJDUMP="$ac_cv_prog_OBJDUMP"
6969 test -z "$OBJDUMP" && OBJDUMP=objdump
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6980 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6981 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6982 $as_echo_n "(cached) " >&6
6983 else
6984 lt_cv_file_magic_cmd='$MAGIC_CMD'
6985 lt_cv_file_magic_test_file=
6986 lt_cv_deplibs_check_method='unknown'
6987 # Need to set the preceding variable on all platforms that support
6988 # interlibrary dependencies.
6989 # 'none' -- dependencies not supported.
6990 # `unknown' -- same as none, but documents that we really don't know.
6991 # 'pass_all' -- all dependencies passed with no checks.
6992 # 'test_compile' -- check by making test program.
6993 # 'file_magic [[regex]]' -- check by looking for files in library path
6994 # which responds to the $file_magic_cmd with a given extended regex.
6995 # If you have `file' or equivalent on your system and you're not sure
6996 # whether `pass_all' will *always* work, you probably want this one.
6998 case $host_os in
6999 aix[4-9]*)
7000 lt_cv_deplibs_check_method=pass_all
7003 beos*)
7004 lt_cv_deplibs_check_method=pass_all
7007 bsdi[45]*)
7008 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7009 lt_cv_file_magic_cmd='/usr/bin/file -L'
7010 lt_cv_file_magic_test_file=/shlib/libc.so
7013 cygwin*)
7014 # func_win32_libid is a shell function defined in ltmain.sh
7015 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7016 lt_cv_file_magic_cmd='func_win32_libid'
7019 mingw* | pw32*)
7020 # Base MSYS/MinGW do not provide the 'file' command needed by
7021 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7022 # unless we find 'file', for example because we are cross-compiling.
7023 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7024 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7025 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7026 lt_cv_file_magic_cmd='func_win32_libid'
7027 else
7028 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7029 lt_cv_file_magic_cmd='$OBJDUMP -f'
7033 cegcc*)
7034 # use the weaker test based on 'objdump'. See mingw*.
7035 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7036 lt_cv_file_magic_cmd='$OBJDUMP -f'
7039 darwin* | rhapsody*)
7040 lt_cv_deplibs_check_method=pass_all
7043 freebsd* | dragonfly*)
7044 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7045 case $host_cpu in
7046 i*86 )
7047 # Not sure whether the presence of OpenBSD here was a mistake.
7048 # Let's accept both of them until this is cleared up.
7049 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7050 lt_cv_file_magic_cmd=/usr/bin/file
7051 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7053 esac
7054 else
7055 lt_cv_deplibs_check_method=pass_all
7059 gnu*)
7060 lt_cv_deplibs_check_method=pass_all
7063 haiku*)
7064 lt_cv_deplibs_check_method=pass_all
7067 hpux10.20* | hpux11*)
7068 lt_cv_file_magic_cmd=/usr/bin/file
7069 case $host_cpu in
7070 ia64*)
7071 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7072 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7074 hppa*64*)
7075 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]'
7076 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7079 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7080 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7082 esac
7085 interix[3-9]*)
7086 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7087 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7090 irix5* | irix6* | nonstopux*)
7091 case $LD in
7092 *-32|*"-32 ") libmagic=32-bit;;
7093 *-n32|*"-n32 ") libmagic=N32;;
7094 *-64|*"-64 ") libmagic=64-bit;;
7095 *) libmagic=never-match;;
7096 esac
7097 lt_cv_deplibs_check_method=pass_all
7100 # This must be Linux ELF.
7101 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7102 lt_cv_deplibs_check_method=pass_all
7105 netbsd*)
7106 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7107 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7108 else
7109 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7113 newos6*)
7114 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7115 lt_cv_file_magic_cmd=/usr/bin/file
7116 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7119 *nto* | *qnx*)
7120 lt_cv_deplibs_check_method=pass_all
7123 openbsd*)
7124 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7125 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7126 else
7127 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7131 osf3* | osf4* | osf5*)
7132 lt_cv_deplibs_check_method=pass_all
7135 rdos*)
7136 lt_cv_deplibs_check_method=pass_all
7139 solaris*)
7140 lt_cv_deplibs_check_method=pass_all
7143 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7144 lt_cv_deplibs_check_method=pass_all
7147 sysv4 | sysv4.3*)
7148 case $host_vendor in
7149 motorola)
7150 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]'
7151 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7153 ncr)
7154 lt_cv_deplibs_check_method=pass_all
7156 sequent)
7157 lt_cv_file_magic_cmd='/bin/file'
7158 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7160 sni)
7161 lt_cv_file_magic_cmd='/bin/file'
7162 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7163 lt_cv_file_magic_test_file=/lib/libc.so
7165 siemens)
7166 lt_cv_deplibs_check_method=pass_all
7169 lt_cv_deplibs_check_method=pass_all
7171 esac
7174 tpf*)
7175 lt_cv_deplibs_check_method=pass_all
7177 esac
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7181 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7182 file_magic_cmd=$lt_cv_file_magic_cmd
7183 deplibs_check_method=$lt_cv_deplibs_check_method
7184 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7197 if test -n "$ac_tool_prefix"; then
7198 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7199 set dummy ${ac_tool_prefix}ar; ac_word=$2
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7201 $as_echo_n "checking for $ac_word... " >&6; }
7202 if test "${ac_cv_prog_AR+set}" = set; then :
7203 $as_echo_n "(cached) " >&6
7204 else
7205 if test -n "$AR"; then
7206 ac_cv_prog_AR="$AR" # Let the user override the test.
7207 else
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 for as_dir in $PATH
7211 IFS=$as_save_IFS
7212 test -z "$as_dir" && as_dir=.
7213 for ac_exec_ext in '' $ac_executable_extensions; do
7214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7215 ac_cv_prog_AR="${ac_tool_prefix}ar"
7216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7217 break 2
7219 done
7220 done
7221 IFS=$as_save_IFS
7225 AR=$ac_cv_prog_AR
7226 if test -n "$AR"; then
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7228 $as_echo "$AR" >&6; }
7229 else
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 $as_echo "no" >&6; }
7236 if test -z "$ac_cv_prog_AR"; then
7237 ac_ct_AR=$AR
7238 # Extract the first word of "ar", so it can be a program name with args.
7239 set dummy ar; ac_word=$2
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7241 $as_echo_n "checking for $ac_word... " >&6; }
7242 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7243 $as_echo_n "(cached) " >&6
7244 else
7245 if test -n "$ac_ct_AR"; then
7246 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7247 else
7248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 for as_dir in $PATH
7251 IFS=$as_save_IFS
7252 test -z "$as_dir" && as_dir=.
7253 for ac_exec_ext in '' $ac_executable_extensions; do
7254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7255 ac_cv_prog_ac_ct_AR="ar"
7256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7257 break 2
7259 done
7260 done
7261 IFS=$as_save_IFS
7265 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7266 if test -n "$ac_ct_AR"; then
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7268 $as_echo "$ac_ct_AR" >&6; }
7269 else
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7271 $as_echo "no" >&6; }
7274 if test "x$ac_ct_AR" = x; then
7275 AR="false"
7276 else
7277 case $cross_compiling:$ac_tool_warned in
7278 yes:)
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7281 ac_tool_warned=yes ;;
7282 esac
7283 AR=$ac_ct_AR
7285 else
7286 AR="$ac_cv_prog_AR"
7289 test -z "$AR" && AR=ar
7290 test -z "$AR_FLAGS" && AR_FLAGS=cru
7302 if test -n "$ac_tool_prefix"; then
7303 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7304 set dummy ${ac_tool_prefix}strip; ac_word=$2
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7306 $as_echo_n "checking for $ac_word... " >&6; }
7307 if test "${ac_cv_prog_STRIP+set}" = set; then :
7308 $as_echo_n "(cached) " >&6
7309 else
7310 if test -n "$STRIP"; then
7311 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7312 else
7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 for as_dir in $PATH
7316 IFS=$as_save_IFS
7317 test -z "$as_dir" && as_dir=.
7318 for ac_exec_ext in '' $ac_executable_extensions; do
7319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7320 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7322 break 2
7324 done
7325 done
7326 IFS=$as_save_IFS
7330 STRIP=$ac_cv_prog_STRIP
7331 if test -n "$STRIP"; then
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7333 $as_echo "$STRIP" >&6; }
7334 else
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336 $as_echo "no" >&6; }
7341 if test -z "$ac_cv_prog_STRIP"; then
7342 ac_ct_STRIP=$STRIP
7343 # Extract the first word of "strip", so it can be a program name with args.
7344 set dummy strip; ac_word=$2
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7346 $as_echo_n "checking for $ac_word... " >&6; }
7347 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7348 $as_echo_n "(cached) " >&6
7349 else
7350 if test -n "$ac_ct_STRIP"; then
7351 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7352 else
7353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 for as_dir in $PATH
7356 IFS=$as_save_IFS
7357 test -z "$as_dir" && as_dir=.
7358 for ac_exec_ext in '' $ac_executable_extensions; do
7359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7360 ac_cv_prog_ac_ct_STRIP="strip"
7361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7362 break 2
7364 done
7365 done
7366 IFS=$as_save_IFS
7370 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7371 if test -n "$ac_ct_STRIP"; then
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7373 $as_echo "$ac_ct_STRIP" >&6; }
7374 else
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7376 $as_echo "no" >&6; }
7379 if test "x$ac_ct_STRIP" = x; then
7380 STRIP=":"
7381 else
7382 case $cross_compiling:$ac_tool_warned in
7383 yes:)
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7386 ac_tool_warned=yes ;;
7387 esac
7388 STRIP=$ac_ct_STRIP
7390 else
7391 STRIP="$ac_cv_prog_STRIP"
7394 test -z "$STRIP" && STRIP=:
7401 if test -n "$ac_tool_prefix"; then
7402 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7403 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405 $as_echo_n "checking for $ac_word... " >&6; }
7406 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7407 $as_echo_n "(cached) " >&6
7408 else
7409 if test -n "$RANLIB"; then
7410 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7411 else
7412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7413 for as_dir in $PATH
7415 IFS=$as_save_IFS
7416 test -z "$as_dir" && as_dir=.
7417 for ac_exec_ext in '' $ac_executable_extensions; do
7418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7419 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7421 break 2
7423 done
7424 done
7425 IFS=$as_save_IFS
7429 RANLIB=$ac_cv_prog_RANLIB
7430 if test -n "$RANLIB"; then
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7432 $as_echo "$RANLIB" >&6; }
7433 else
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7435 $as_echo "no" >&6; }
7440 if test -z "$ac_cv_prog_RANLIB"; then
7441 ac_ct_RANLIB=$RANLIB
7442 # Extract the first word of "ranlib", so it can be a program name with args.
7443 set dummy ranlib; ac_word=$2
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445 $as_echo_n "checking for $ac_word... " >&6; }
7446 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7447 $as_echo_n "(cached) " >&6
7448 else
7449 if test -n "$ac_ct_RANLIB"; then
7450 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7451 else
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453 for as_dir in $PATH
7455 IFS=$as_save_IFS
7456 test -z "$as_dir" && as_dir=.
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7459 ac_cv_prog_ac_ct_RANLIB="ranlib"
7460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461 break 2
7463 done
7464 done
7465 IFS=$as_save_IFS
7469 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7470 if test -n "$ac_ct_RANLIB"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7472 $as_echo "$ac_ct_RANLIB" >&6; }
7473 else
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 $as_echo "no" >&6; }
7478 if test "x$ac_ct_RANLIB" = x; then
7479 RANLIB=":"
7480 else
7481 case $cross_compiling:$ac_tool_warned in
7482 yes:)
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7485 ac_tool_warned=yes ;;
7486 esac
7487 RANLIB=$ac_ct_RANLIB
7489 else
7490 RANLIB="$ac_cv_prog_RANLIB"
7493 test -z "$RANLIB" && RANLIB=:
7500 # Determine commands to create old-style static archives.
7501 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7502 old_postinstall_cmds='chmod 644 $oldlib'
7503 old_postuninstall_cmds=
7505 if test -n "$RANLIB"; then
7506 case $host_os in
7507 openbsd*)
7508 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7511 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7513 esac
7514 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7517 case $host_os in
7518 darwin*)
7519 lock_old_archive_extraction=yes ;;
7521 lock_old_archive_extraction=no ;;
7522 esac
7562 # If no C compiler was specified, use CC.
7563 LTCC=${LTCC-"$CC"}
7565 # If no C compiler flags were specified, use CFLAGS.
7566 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7568 # Allow CC to be a program name with arguments.
7569 compiler=$CC
7572 # Check for command to grab the raw symbol name followed by C symbol from nm.
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7574 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7575 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7579 # These are sane defaults that work on at least a few old systems.
7580 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7582 # Character class describing NM global symbol codes.
7583 symcode='[BCDEGRST]'
7585 # Regexp to match symbols that can be accessed directly from C.
7586 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7588 # Define system-specific variables.
7589 case $host_os in
7590 aix*)
7591 symcode='[BCDT]'
7593 cygwin* | mingw* | pw32* | cegcc*)
7594 symcode='[ABCDGISTW]'
7596 hpux*)
7597 if test "$host_cpu" = ia64; then
7598 symcode='[ABCDEGRST]'
7601 irix* | nonstopux*)
7602 symcode='[BCDEGRST]'
7604 osf*)
7605 symcode='[BCDEGQRST]'
7607 solaris*)
7608 symcode='[BDRT]'
7610 sco3.2v5*)
7611 symcode='[DT]'
7613 sysv4.2uw2*)
7614 symcode='[DT]'
7616 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7617 symcode='[ABDT]'
7619 sysv4)
7620 symcode='[DFNSTU]'
7622 esac
7624 # If we're using GNU nm, then use its standard symbol codes.
7625 case `$NM -V 2>&1` in
7626 *GNU* | *'with BFD'*)
7627 symcode='[ABCDGIRSTW]' ;;
7628 esac
7630 # Transform an extracted symbol line into a proper C declaration.
7631 # Some systems (esp. on ia64) link data and code symbols differently,
7632 # so use this general approach.
7633 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7635 # Transform an extracted symbol line into symbol name and symbol address
7636 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7637 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'"
7639 # Handle CRLF in mingw tool chain
7640 opt_cr=
7641 case $build_os in
7642 mingw*)
7643 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7645 esac
7647 # Try without a prefix underscore, then with it.
7648 for ac_symprfx in "" "_"; do
7650 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7651 symxfrm="\\1 $ac_symprfx\\2 \\2"
7653 # Write the raw and C identifiers.
7654 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7655 # Fake it for dumpbin and say T for any non-static function
7656 # and D for any global variable.
7657 # Also find C++ and __fastcall symbols from MSVC++,
7658 # which start with @ or ?.
7659 lt_cv_sys_global_symbol_pipe="$AWK '"\
7660 " {last_section=section; section=\$ 3};"\
7661 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7662 " \$ 0!~/External *\|/{next};"\
7663 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7664 " {if(hide[section]) next};"\
7665 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7666 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7667 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7668 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7669 " ' prfx=^$ac_symprfx"
7670 else
7671 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7674 # Check to see that the pipe works correctly.
7675 pipe_works=no
7677 rm -f conftest*
7678 cat > conftest.$ac_ext <<_LT_EOF
7679 #ifdef __cplusplus
7680 extern "C" {
7681 #endif
7682 char nm_test_var;
7683 void nm_test_func(void);
7684 void nm_test_func(void){}
7685 #ifdef __cplusplus
7687 #endif
7688 int main(){nm_test_var='a';nm_test_func();return(0);}
7689 _LT_EOF
7691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7692 (eval $ac_compile) 2>&5
7693 ac_status=$?
7694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7695 test $ac_status = 0; }; then
7696 # Now try to grab the symbols.
7697 nlist=conftest.nm
7698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7699 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7700 ac_status=$?
7701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7702 test $ac_status = 0; } && test -s "$nlist"; then
7703 # Try sorting and uniquifying the output.
7704 if sort "$nlist" | uniq > "$nlist"T; then
7705 mv -f "$nlist"T "$nlist"
7706 else
7707 rm -f "$nlist"T
7710 # Make sure that we snagged all the symbols we need.
7711 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7712 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7713 cat <<_LT_EOF > conftest.$ac_ext
7714 #ifdef __cplusplus
7715 extern "C" {
7716 #endif
7718 _LT_EOF
7719 # Now generate the symbol file.
7720 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7722 cat <<_LT_EOF >> conftest.$ac_ext
7724 /* The mapping between symbol names and symbols. */
7725 const struct {
7726 const char *name;
7727 void *address;
7729 lt__PROGRAM__LTX_preloaded_symbols[] =
7731 { "@PROGRAM@", (void *) 0 },
7732 _LT_EOF
7733 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7734 cat <<\_LT_EOF >> conftest.$ac_ext
7735 {0, (void *) 0}
7738 /* This works around a problem in FreeBSD linker */
7739 #ifdef FREEBSD_WORKAROUND
7740 static const void *lt_preloaded_setup() {
7741 return lt__PROGRAM__LTX_preloaded_symbols;
7743 #endif
7745 #ifdef __cplusplus
7747 #endif
7748 _LT_EOF
7749 # Now try linking the two files.
7750 mv conftest.$ac_objext conftstm.$ac_objext
7751 lt_save_LIBS="$LIBS"
7752 lt_save_CFLAGS="$CFLAGS"
7753 LIBS="conftstm.$ac_objext"
7754 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7756 (eval $ac_link) 2>&5
7757 ac_status=$?
7758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7759 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7760 pipe_works=yes
7762 LIBS="$lt_save_LIBS"
7763 CFLAGS="$lt_save_CFLAGS"
7764 else
7765 echo "cannot find nm_test_func in $nlist" >&5
7767 else
7768 echo "cannot find nm_test_var in $nlist" >&5
7770 else
7771 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7773 else
7774 echo "$progname: failed program was:" >&5
7775 cat conftest.$ac_ext >&5
7777 rm -rf conftest* conftst*
7779 # Do not use the global_symbol_pipe unless it works.
7780 if test "$pipe_works" = yes; then
7781 break
7782 else
7783 lt_cv_sys_global_symbol_pipe=
7785 done
7789 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7790 lt_cv_sys_global_symbol_to_cdecl=
7792 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7794 $as_echo "failed" >&6; }
7795 else
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7797 $as_echo "ok" >&6; }
7821 # Check whether --enable-libtool-lock was given.
7822 if test "${enable_libtool_lock+set}" = set; then :
7823 enableval=$enable_libtool_lock;
7826 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7828 # Some flags need to be propagated to the compiler or linker for good
7829 # libtool support.
7830 case $host in
7831 ia64-*-hpux*)
7832 # Find out which ABI we are using.
7833 echo 'int i;' > conftest.$ac_ext
7834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7835 (eval $ac_compile) 2>&5
7836 ac_status=$?
7837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7838 test $ac_status = 0; }; then
7839 case `/usr/bin/file conftest.$ac_objext` in
7840 *ELF-32*)
7841 HPUX_IA64_MODE="32"
7843 *ELF-64*)
7844 HPUX_IA64_MODE="64"
7846 esac
7848 rm -rf conftest*
7850 *-*-irix6*)
7851 # Find out which ABI we are using.
7852 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7853 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7854 (eval $ac_compile) 2>&5
7855 ac_status=$?
7856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7857 test $ac_status = 0; }; then
7858 if test "$lt_cv_prog_gnu_ld" = yes; then
7859 case `/usr/bin/file conftest.$ac_objext` in
7860 *32-bit*)
7861 LD="${LD-ld} -melf32bsmip"
7863 *N32*)
7864 LD="${LD-ld} -melf32bmipn32"
7866 *64-bit*)
7867 LD="${LD-ld} -melf64bmip"
7869 esac
7870 else
7871 case `/usr/bin/file conftest.$ac_objext` in
7872 *32-bit*)
7873 LD="${LD-ld} -32"
7875 *N32*)
7876 LD="${LD-ld} -n32"
7878 *64-bit*)
7879 LD="${LD-ld} -64"
7881 esac
7884 rm -rf conftest*
7887 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7888 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7889 # Find out which ABI we are using.
7890 echo 'int i;' > conftest.$ac_ext
7891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7892 (eval $ac_compile) 2>&5
7893 ac_status=$?
7894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7895 test $ac_status = 0; }; then
7896 case `/usr/bin/file conftest.o` in
7897 *32-bit*)
7898 case $host in
7899 x86_64-*kfreebsd*-gnu)
7900 LD="${LD-ld} -m elf_i386_fbsd"
7902 x86_64-*linux*)
7903 case `/usr/bin/file conftest.o` in
7904 *x86-64*)
7905 LD="${LD-ld} -m elf32_x86_64"
7908 LD="${LD-ld} -m elf_i386"
7910 esac
7912 powerpc64le-*linux*)
7913 LD="${LD-ld} -m elf32lppclinux"
7915 powerpc64-*linux*)
7916 LD="${LD-ld} -m elf32ppclinux"
7918 s390x-*linux*)
7919 LD="${LD-ld} -m elf_s390"
7921 sparc64-*linux*)
7922 LD="${LD-ld} -m elf32_sparc"
7924 esac
7926 *64-bit*)
7927 case $host in
7928 x86_64-*kfreebsd*-gnu)
7929 LD="${LD-ld} -m elf_x86_64_fbsd"
7931 x86_64-*linux*)
7932 LD="${LD-ld} -m elf_x86_64"
7934 powerpcle-*linux*)
7935 LD="${LD-ld} -m elf64lppc"
7937 powerpc-*linux*)
7938 LD="${LD-ld} -m elf64ppc"
7940 s390*-*linux*|s390*-*tpf*)
7941 LD="${LD-ld} -m elf64_s390"
7943 sparc*-*linux*)
7944 LD="${LD-ld} -m elf64_sparc"
7946 esac
7948 esac
7950 rm -rf conftest*
7953 *-*-sco3.2v5*)
7954 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7955 SAVE_CFLAGS="$CFLAGS"
7956 CFLAGS="$CFLAGS -belf"
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7958 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7959 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7960 $as_echo_n "(cached) " >&6
7961 else
7962 ac_ext=c
7963 ac_cpp='$CPP $CPPFLAGS'
7964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7972 main ()
7976 return 0;
7978 _ACEOF
7979 if ac_fn_c_try_link "$LINENO"; then :
7980 lt_cv_cc_needs_belf=yes
7981 else
7982 lt_cv_cc_needs_belf=no
7984 rm -f core conftest.err conftest.$ac_objext \
7985 conftest$ac_exeext conftest.$ac_ext
7986 ac_ext=c
7987 ac_cpp='$CPP $CPPFLAGS'
7988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7994 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7995 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7996 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7997 CFLAGS="$SAVE_CFLAGS"
8000 sparc*-*solaris*)
8001 # Find out which ABI we are using.
8002 echo 'int i;' > conftest.$ac_ext
8003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8004 (eval $ac_compile) 2>&5
8005 ac_status=$?
8006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8007 test $ac_status = 0; }; then
8008 case `/usr/bin/file conftest.o` in
8009 *64-bit*)
8010 case $lt_cv_prog_gnu_ld in
8011 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8013 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8014 LD="${LD-ld} -64"
8017 esac
8019 esac
8021 rm -rf conftest*
8023 esac
8025 need_locks="$enable_libtool_lock"
8028 case $host_os in
8029 rhapsody* | darwin*)
8030 if test -n "$ac_tool_prefix"; then
8031 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8032 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8034 $as_echo_n "checking for $ac_word... " >&6; }
8035 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8036 $as_echo_n "(cached) " >&6
8037 else
8038 if test -n "$DSYMUTIL"; then
8039 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8040 else
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8042 for as_dir in $PATH
8044 IFS=$as_save_IFS
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8048 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8050 break 2
8052 done
8053 done
8054 IFS=$as_save_IFS
8058 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8059 if test -n "$DSYMUTIL"; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8061 $as_echo "$DSYMUTIL" >&6; }
8062 else
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8064 $as_echo "no" >&6; }
8069 if test -z "$ac_cv_prog_DSYMUTIL"; then
8070 ac_ct_DSYMUTIL=$DSYMUTIL
8071 # Extract the first word of "dsymutil", so it can be a program name with args.
8072 set dummy dsymutil; ac_word=$2
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8074 $as_echo_n "checking for $ac_word... " >&6; }
8075 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8076 $as_echo_n "(cached) " >&6
8077 else
8078 if test -n "$ac_ct_DSYMUTIL"; then
8079 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8080 else
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8082 for as_dir in $PATH
8084 IFS=$as_save_IFS
8085 test -z "$as_dir" && as_dir=.
8086 for ac_exec_ext in '' $ac_executable_extensions; do
8087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8088 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8090 break 2
8092 done
8093 done
8094 IFS=$as_save_IFS
8098 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8099 if test -n "$ac_ct_DSYMUTIL"; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8101 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8102 else
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8104 $as_echo "no" >&6; }
8107 if test "x$ac_ct_DSYMUTIL" = x; then
8108 DSYMUTIL=":"
8109 else
8110 case $cross_compiling:$ac_tool_warned in
8111 yes:)
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8114 ac_tool_warned=yes ;;
8115 esac
8116 DSYMUTIL=$ac_ct_DSYMUTIL
8118 else
8119 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8122 if test -n "$ac_tool_prefix"; then
8123 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8124 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8126 $as_echo_n "checking for $ac_word... " >&6; }
8127 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8128 $as_echo_n "(cached) " >&6
8129 else
8130 if test -n "$NMEDIT"; then
8131 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8132 else
8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 for as_dir in $PATH
8136 IFS=$as_save_IFS
8137 test -z "$as_dir" && as_dir=.
8138 for ac_exec_ext in '' $ac_executable_extensions; do
8139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8140 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8142 break 2
8144 done
8145 done
8146 IFS=$as_save_IFS
8150 NMEDIT=$ac_cv_prog_NMEDIT
8151 if test -n "$NMEDIT"; then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8153 $as_echo "$NMEDIT" >&6; }
8154 else
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8161 if test -z "$ac_cv_prog_NMEDIT"; then
8162 ac_ct_NMEDIT=$NMEDIT
8163 # Extract the first word of "nmedit", so it can be a program name with args.
8164 set dummy nmedit; ac_word=$2
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8166 $as_echo_n "checking for $ac_word... " >&6; }
8167 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8168 $as_echo_n "(cached) " >&6
8169 else
8170 if test -n "$ac_ct_NMEDIT"; then
8171 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8172 else
8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8174 for as_dir in $PATH
8176 IFS=$as_save_IFS
8177 test -z "$as_dir" && as_dir=.
8178 for ac_exec_ext in '' $ac_executable_extensions; do
8179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8180 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8182 break 2
8184 done
8185 done
8186 IFS=$as_save_IFS
8190 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8191 if test -n "$ac_ct_NMEDIT"; then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8193 $as_echo "$ac_ct_NMEDIT" >&6; }
8194 else
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8196 $as_echo "no" >&6; }
8199 if test "x$ac_ct_NMEDIT" = x; then
8200 NMEDIT=":"
8201 else
8202 case $cross_compiling:$ac_tool_warned in
8203 yes:)
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8206 ac_tool_warned=yes ;;
8207 esac
8208 NMEDIT=$ac_ct_NMEDIT
8210 else
8211 NMEDIT="$ac_cv_prog_NMEDIT"
8214 if test -n "$ac_tool_prefix"; then
8215 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8216 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8218 $as_echo_n "checking for $ac_word... " >&6; }
8219 if test "${ac_cv_prog_LIPO+set}" = set; then :
8220 $as_echo_n "(cached) " >&6
8221 else
8222 if test -n "$LIPO"; then
8223 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8224 else
8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8226 for as_dir in $PATH
8228 IFS=$as_save_IFS
8229 test -z "$as_dir" && as_dir=.
8230 for ac_exec_ext in '' $ac_executable_extensions; do
8231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8232 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8234 break 2
8236 done
8237 done
8238 IFS=$as_save_IFS
8242 LIPO=$ac_cv_prog_LIPO
8243 if test -n "$LIPO"; then
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8245 $as_echo "$LIPO" >&6; }
8246 else
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8248 $as_echo "no" >&6; }
8253 if test -z "$ac_cv_prog_LIPO"; then
8254 ac_ct_LIPO=$LIPO
8255 # Extract the first word of "lipo", so it can be a program name with args.
8256 set dummy lipo; ac_word=$2
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8258 $as_echo_n "checking for $ac_word... " >&6; }
8259 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 if test -n "$ac_ct_LIPO"; then
8263 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8264 else
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8266 for as_dir in $PATH
8268 IFS=$as_save_IFS
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8272 ac_cv_prog_ac_ct_LIPO="lipo"
8273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8274 break 2
8276 done
8277 done
8278 IFS=$as_save_IFS
8282 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8283 if test -n "$ac_ct_LIPO"; then
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8285 $as_echo "$ac_ct_LIPO" >&6; }
8286 else
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8288 $as_echo "no" >&6; }
8291 if test "x$ac_ct_LIPO" = x; then
8292 LIPO=":"
8293 else
8294 case $cross_compiling:$ac_tool_warned in
8295 yes:)
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8298 ac_tool_warned=yes ;;
8299 esac
8300 LIPO=$ac_ct_LIPO
8302 else
8303 LIPO="$ac_cv_prog_LIPO"
8306 if test -n "$ac_tool_prefix"; then
8307 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8308 set dummy ${ac_tool_prefix}otool; ac_word=$2
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8310 $as_echo_n "checking for $ac_word... " >&6; }
8311 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8312 $as_echo_n "(cached) " >&6
8313 else
8314 if test -n "$OTOOL"; then
8315 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8316 else
8317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8318 for as_dir in $PATH
8320 IFS=$as_save_IFS
8321 test -z "$as_dir" && as_dir=.
8322 for ac_exec_ext in '' $ac_executable_extensions; do
8323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8324 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8326 break 2
8328 done
8329 done
8330 IFS=$as_save_IFS
8334 OTOOL=$ac_cv_prog_OTOOL
8335 if test -n "$OTOOL"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8337 $as_echo "$OTOOL" >&6; }
8338 else
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 $as_echo "no" >&6; }
8345 if test -z "$ac_cv_prog_OTOOL"; then
8346 ac_ct_OTOOL=$OTOOL
8347 # Extract the first word of "otool", so it can be a program name with args.
8348 set dummy otool; ac_word=$2
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8350 $as_echo_n "checking for $ac_word... " >&6; }
8351 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 if test -n "$ac_ct_OTOOL"; then
8355 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8356 else
8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8358 for as_dir in $PATH
8360 IFS=$as_save_IFS
8361 test -z "$as_dir" && as_dir=.
8362 for ac_exec_ext in '' $ac_executable_extensions; do
8363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8364 ac_cv_prog_ac_ct_OTOOL="otool"
8365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8366 break 2
8368 done
8369 done
8370 IFS=$as_save_IFS
8374 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8375 if test -n "$ac_ct_OTOOL"; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8377 $as_echo "$ac_ct_OTOOL" >&6; }
8378 else
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8380 $as_echo "no" >&6; }
8383 if test "x$ac_ct_OTOOL" = x; then
8384 OTOOL=":"
8385 else
8386 case $cross_compiling:$ac_tool_warned in
8387 yes:)
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8390 ac_tool_warned=yes ;;
8391 esac
8392 OTOOL=$ac_ct_OTOOL
8394 else
8395 OTOOL="$ac_cv_prog_OTOOL"
8398 if test -n "$ac_tool_prefix"; then
8399 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8400 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8402 $as_echo_n "checking for $ac_word... " >&6; }
8403 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8404 $as_echo_n "(cached) " >&6
8405 else
8406 if test -n "$OTOOL64"; then
8407 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8408 else
8409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8410 for as_dir in $PATH
8412 IFS=$as_save_IFS
8413 test -z "$as_dir" && as_dir=.
8414 for ac_exec_ext in '' $ac_executable_extensions; do
8415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8416 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8418 break 2
8420 done
8421 done
8422 IFS=$as_save_IFS
8426 OTOOL64=$ac_cv_prog_OTOOL64
8427 if test -n "$OTOOL64"; then
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8429 $as_echo "$OTOOL64" >&6; }
8430 else
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8432 $as_echo "no" >&6; }
8437 if test -z "$ac_cv_prog_OTOOL64"; then
8438 ac_ct_OTOOL64=$OTOOL64
8439 # Extract the first word of "otool64", so it can be a program name with args.
8440 set dummy otool64; ac_word=$2
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8442 $as_echo_n "checking for $ac_word... " >&6; }
8443 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 if test -n "$ac_ct_OTOOL64"; then
8447 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8448 else
8449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8450 for as_dir in $PATH
8452 IFS=$as_save_IFS
8453 test -z "$as_dir" && as_dir=.
8454 for ac_exec_ext in '' $ac_executable_extensions; do
8455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8456 ac_cv_prog_ac_ct_OTOOL64="otool64"
8457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8458 break 2
8460 done
8461 done
8462 IFS=$as_save_IFS
8466 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8467 if test -n "$ac_ct_OTOOL64"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8469 $as_echo "$ac_ct_OTOOL64" >&6; }
8470 else
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8472 $as_echo "no" >&6; }
8475 if test "x$ac_ct_OTOOL64" = x; then
8476 OTOOL64=":"
8477 else
8478 case $cross_compiling:$ac_tool_warned in
8479 yes:)
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8482 ac_tool_warned=yes ;;
8483 esac
8484 OTOOL64=$ac_ct_OTOOL64
8486 else
8487 OTOOL64="$ac_cv_prog_OTOOL64"
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8517 $as_echo_n "checking for -single_module linker flag... " >&6; }
8518 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8519 $as_echo_n "(cached) " >&6
8520 else
8521 lt_cv_apple_cc_single_mod=no
8522 if test -z "${LT_MULTI_MODULE}"; then
8523 # By default we will add the -single_module flag. You can override
8524 # by either setting the environment variable LT_MULTI_MODULE
8525 # non-empty at configure time, or by adding -multi_module to the
8526 # link flags.
8527 rm -rf libconftest.dylib*
8528 echo "int foo(void){return 1;}" > conftest.c
8529 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8530 -dynamiclib -Wl,-single_module conftest.c" >&5
8531 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8532 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8533 _lt_result=$?
8534 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8535 lt_cv_apple_cc_single_mod=yes
8536 else
8537 cat conftest.err >&5
8539 rm -rf libconftest.dylib*
8540 rm -f conftest.*
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8544 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8546 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8547 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8548 $as_echo_n "(cached) " >&6
8549 else
8550 lt_cv_ld_exported_symbols_list=no
8551 save_LDFLAGS=$LDFLAGS
8552 echo "_main" > conftest.sym
8553 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8558 main ()
8562 return 0;
8564 _ACEOF
8565 if ac_fn_c_try_link "$LINENO"; then :
8566 lt_cv_ld_exported_symbols_list=yes
8567 else
8568 lt_cv_ld_exported_symbols_list=no
8570 rm -f core conftest.err conftest.$ac_objext \
8571 conftest$ac_exeext conftest.$ac_ext
8572 LDFLAGS="$save_LDFLAGS"
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8576 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8578 $as_echo_n "checking for -force_load linker flag... " >&6; }
8579 if test "${lt_cv_ld_force_load+set}" = set; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 lt_cv_ld_force_load=no
8583 cat > conftest.c << _LT_EOF
8584 int forced_loaded() { return 2;}
8585 _LT_EOF
8586 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8587 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8588 echo "$AR cru libconftest.a conftest.o" >&5
8589 $AR cru libconftest.a conftest.o 2>&5
8590 cat > conftest.c << _LT_EOF
8591 int main() { return 0;}
8592 _LT_EOF
8593 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8594 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8595 _lt_result=$?
8596 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8597 lt_cv_ld_force_load=yes
8598 else
8599 cat conftest.err >&5
8601 rm -f conftest.err libconftest.a conftest conftest.c
8602 rm -rf conftest.dSYM
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8606 $as_echo "$lt_cv_ld_force_load" >&6; }
8607 case $host_os in
8608 rhapsody* | darwin1.[012])
8609 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8610 darwin1.*)
8611 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8612 darwin*) # darwin 5.x on
8613 # if running on 10.5 or later, the deployment target defaults
8614 # to the OS version, if on x86, and 10.4, the deployment
8615 # target defaults to 10.4. Don't you love it?
8616 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8617 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8618 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8619 10.[012][,.]*)
8620 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8621 10.*)
8622 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8623 esac
8625 esac
8626 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8627 _lt_dar_single_mod='$single_module'
8629 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8630 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8631 else
8632 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8634 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8635 _lt_dsymutil='~$DSYMUTIL $lib || :'
8636 else
8637 _lt_dsymutil=
8640 esac
8642 for ac_header in dlfcn.h
8643 do :
8644 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8646 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8647 cat >>confdefs.h <<_ACEOF
8648 #define HAVE_DLFCN_H 1
8649 _ACEOF
8653 done
8660 # Set options
8665 enable_win32_dll=no
8668 # Check whether --enable-shared was given.
8669 if test "${enable_shared+set}" = set; then :
8670 enableval=$enable_shared; p=${PACKAGE-default}
8671 case $enableval in
8672 yes) enable_shared=yes ;;
8673 no) enable_shared=no ;;
8675 enable_shared=no
8676 # Look at the argument we got. We use all the common list separators.
8677 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8678 for pkg in $enableval; do
8679 IFS="$lt_save_ifs"
8680 if test "X$pkg" = "X$p"; then
8681 enable_shared=yes
8683 done
8684 IFS="$lt_save_ifs"
8686 esac
8687 else
8688 enable_shared=yes
8699 # Check whether --enable-static was given.
8700 if test "${enable_static+set}" = set; then :
8701 enableval=$enable_static; p=${PACKAGE-default}
8702 case $enableval in
8703 yes) enable_static=yes ;;
8704 no) enable_static=no ;;
8706 enable_static=no
8707 # Look at the argument we got. We use all the common list separators.
8708 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8709 for pkg in $enableval; do
8710 IFS="$lt_save_ifs"
8711 if test "X$pkg" = "X$p"; then
8712 enable_static=yes
8714 done
8715 IFS="$lt_save_ifs"
8717 esac
8718 else
8719 enable_static=yes
8731 # Check whether --with-pic was given.
8732 if test "${with_pic+set}" = set; then :
8733 withval=$with_pic; pic_mode="$withval"
8734 else
8735 pic_mode=default
8739 test -z "$pic_mode" && pic_mode=default
8747 # Check whether --enable-fast-install was given.
8748 if test "${enable_fast_install+set}" = set; then :
8749 enableval=$enable_fast_install; p=${PACKAGE-default}
8750 case $enableval in
8751 yes) enable_fast_install=yes ;;
8752 no) enable_fast_install=no ;;
8754 enable_fast_install=no
8755 # Look at the argument we got. We use all the common list separators.
8756 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8757 for pkg in $enableval; do
8758 IFS="$lt_save_ifs"
8759 if test "X$pkg" = "X$p"; then
8760 enable_fast_install=yes
8762 done
8763 IFS="$lt_save_ifs"
8765 esac
8766 else
8767 enable_fast_install=yes
8780 # This can be used to rebuild libtool when needed
8781 LIBTOOL_DEPS="$ltmain"
8783 # Always use our own libtool.
8784 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8811 test -z "$LN_S" && LN_S="ln -s"
8826 if test -n "${ZSH_VERSION+set}" ; then
8827 setopt NO_GLOB_SUBST
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8831 $as_echo_n "checking for objdir... " >&6; }
8832 if test "${lt_cv_objdir+set}" = set; then :
8833 $as_echo_n "(cached) " >&6
8834 else
8835 rm -f .libs 2>/dev/null
8836 mkdir .libs 2>/dev/null
8837 if test -d .libs; then
8838 lt_cv_objdir=.libs
8839 else
8840 # MS-DOS does not allow filenames that begin with a dot.
8841 lt_cv_objdir=_libs
8843 rmdir .libs 2>/dev/null
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8846 $as_echo "$lt_cv_objdir" >&6; }
8847 objdir=$lt_cv_objdir
8853 cat >>confdefs.h <<_ACEOF
8854 #define LT_OBJDIR "$lt_cv_objdir/"
8855 _ACEOF
8860 case $host_os in
8861 aix3*)
8862 # AIX sometimes has problems with the GCC collect2 program. For some
8863 # reason, if we set the COLLECT_NAMES environment variable, the problems
8864 # vanish in a puff of smoke.
8865 if test "X${COLLECT_NAMES+set}" != Xset; then
8866 COLLECT_NAMES=
8867 export COLLECT_NAMES
8870 esac
8872 # Global variables:
8873 ofile=libtool
8874 can_build_shared=yes
8876 # All known linkers require a `.a' archive for static linking (except MSVC,
8877 # which needs '.lib').
8878 libext=a
8880 with_gnu_ld="$lt_cv_prog_gnu_ld"
8882 old_CC="$CC"
8883 old_CFLAGS="$CFLAGS"
8885 # Set sane defaults for various variables
8886 test -z "$CC" && CC=cc
8887 test -z "$LTCC" && LTCC=$CC
8888 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8889 test -z "$LD" && LD=ld
8890 test -z "$ac_objext" && ac_objext=o
8892 for cc_temp in $compiler""; do
8893 case $cc_temp in
8894 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8895 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8896 \-*) ;;
8897 *) break;;
8898 esac
8899 done
8900 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8903 # Only perform the check for file, if the check method requires it
8904 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8905 case $deplibs_check_method in
8906 file_magic*)
8907 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8909 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8910 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8911 $as_echo_n "(cached) " >&6
8912 else
8913 case $MAGIC_CMD in
8914 [\\/*] | ?:[\\/]*)
8915 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8918 lt_save_MAGIC_CMD="$MAGIC_CMD"
8919 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8920 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8921 for ac_dir in $ac_dummy; do
8922 IFS="$lt_save_ifs"
8923 test -z "$ac_dir" && ac_dir=.
8924 if test -f $ac_dir/${ac_tool_prefix}file; then
8925 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8926 if test -n "$file_magic_test_file"; then
8927 case $deplibs_check_method in
8928 "file_magic "*)
8929 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8930 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8931 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8932 $EGREP "$file_magic_regex" > /dev/null; then
8934 else
8935 cat <<_LT_EOF 1>&2
8937 *** Warning: the command libtool uses to detect shared libraries,
8938 *** $file_magic_cmd, produces output that libtool cannot recognize.
8939 *** The result is that libtool may fail to recognize shared libraries
8940 *** as such. This will affect the creation of libtool libraries that
8941 *** depend on shared libraries, but programs linked with such libtool
8942 *** libraries will work regardless of this problem. Nevertheless, you
8943 *** may want to report the problem to your system manager and/or to
8944 *** bug-libtool@gnu.org
8946 _LT_EOF
8947 fi ;;
8948 esac
8950 break
8952 done
8953 IFS="$lt_save_ifs"
8954 MAGIC_CMD="$lt_save_MAGIC_CMD"
8956 esac
8959 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8960 if test -n "$MAGIC_CMD"; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8962 $as_echo "$MAGIC_CMD" >&6; }
8963 else
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8965 $as_echo "no" >&6; }
8972 if test -z "$lt_cv_path_MAGIC_CMD"; then
8973 if test -n "$ac_tool_prefix"; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8975 $as_echo_n "checking for file... " >&6; }
8976 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8977 $as_echo_n "(cached) " >&6
8978 else
8979 case $MAGIC_CMD in
8980 [\\/*] | ?:[\\/]*)
8981 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8984 lt_save_MAGIC_CMD="$MAGIC_CMD"
8985 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8986 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8987 for ac_dir in $ac_dummy; do
8988 IFS="$lt_save_ifs"
8989 test -z "$ac_dir" && ac_dir=.
8990 if test -f $ac_dir/file; then
8991 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8992 if test -n "$file_magic_test_file"; then
8993 case $deplibs_check_method in
8994 "file_magic "*)
8995 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8996 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8997 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8998 $EGREP "$file_magic_regex" > /dev/null; then
9000 else
9001 cat <<_LT_EOF 1>&2
9003 *** Warning: the command libtool uses to detect shared libraries,
9004 *** $file_magic_cmd, produces output that libtool cannot recognize.
9005 *** The result is that libtool may fail to recognize shared libraries
9006 *** as such. This will affect the creation of libtool libraries that
9007 *** depend on shared libraries, but programs linked with such libtool
9008 *** libraries will work regardless of this problem. Nevertheless, you
9009 *** may want to report the problem to your system manager and/or to
9010 *** bug-libtool@gnu.org
9012 _LT_EOF
9013 fi ;;
9014 esac
9016 break
9018 done
9019 IFS="$lt_save_ifs"
9020 MAGIC_CMD="$lt_save_MAGIC_CMD"
9022 esac
9025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9026 if test -n "$MAGIC_CMD"; then
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9028 $as_echo "$MAGIC_CMD" >&6; }
9029 else
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9031 $as_echo "no" >&6; }
9035 else
9036 MAGIC_CMD=:
9042 esac
9044 # Use C for the default configuration in the libtool script
9046 lt_save_CC="$CC"
9047 ac_ext=c
9048 ac_cpp='$CPP $CPPFLAGS'
9049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9054 # Source file extension for C test sources.
9055 ac_ext=c
9057 # Object file extension for compiled C test sources.
9058 objext=o
9059 objext=$objext
9061 # Code to be used in simple compile tests
9062 lt_simple_compile_test_code="int some_variable = 0;"
9064 # Code to be used in simple link tests
9065 lt_simple_link_test_code='int main(){return(0);}'
9073 # If no C compiler was specified, use CC.
9074 LTCC=${LTCC-"$CC"}
9076 # If no C compiler flags were specified, use CFLAGS.
9077 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9079 # Allow CC to be a program name with arguments.
9080 compiler=$CC
9082 # Save the default compiler, since it gets overwritten when the other
9083 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9084 compiler_DEFAULT=$CC
9086 # save warnings/boilerplate of simple test code
9087 ac_outfile=conftest.$ac_objext
9088 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9089 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9090 _lt_compiler_boilerplate=`cat conftest.err`
9091 $RM conftest*
9093 ac_outfile=conftest.$ac_objext
9094 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9095 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9096 _lt_linker_boilerplate=`cat conftest.err`
9097 $RM -r conftest*
9100 ## CAVEAT EMPTOR:
9101 ## There is no encapsulation within the following macros, do not change
9102 ## the running order or otherwise move them around unless you know exactly
9103 ## what you are doing...
9104 if test -n "$compiler"; then
9106 lt_prog_compiler_no_builtin_flag=
9108 if test "$GCC" = yes; then
9109 case $cc_basename in
9110 nvcc*)
9111 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9113 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9114 esac
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9117 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9118 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9119 $as_echo_n "(cached) " >&6
9120 else
9121 lt_cv_prog_compiler_rtti_exceptions=no
9122 ac_outfile=conftest.$ac_objext
9123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9124 lt_compiler_flag="-fno-rtti -fno-exceptions"
9125 # Insert the option either (1) after the last *FLAGS variable, or
9126 # (2) before a word containing "conftest.", or (3) at the end.
9127 # Note that $ac_compile itself does not contain backslashes and begins
9128 # with a dollar sign (not a hyphen), so the echo should work correctly.
9129 # The option is referenced via a variable to avoid confusing sed.
9130 lt_compile=`echo "$ac_compile" | $SED \
9131 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9132 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9133 -e 's:$: $lt_compiler_flag:'`
9134 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9135 (eval "$lt_compile" 2>conftest.err)
9136 ac_status=$?
9137 cat conftest.err >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 if (exit $ac_status) && test -s "$ac_outfile"; then
9140 # The compiler can only warn and ignore the option if not recognized
9141 # So say no if there are warnings other than the usual output.
9142 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9143 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9144 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9145 lt_cv_prog_compiler_rtti_exceptions=yes
9148 $RM conftest*
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9152 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9154 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9155 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9156 else
9167 lt_prog_compiler_wl=
9168 lt_prog_compiler_pic=
9169 lt_prog_compiler_static=
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9172 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9174 if test "$GCC" = yes; then
9175 lt_prog_compiler_wl='-Wl,'
9176 lt_prog_compiler_static='-static'
9178 case $host_os in
9179 aix*)
9180 # All AIX code is PIC.
9181 if test "$host_cpu" = ia64; then
9182 # AIX 5 now supports IA64 processor
9183 lt_prog_compiler_static='-Bstatic'
9185 lt_prog_compiler_pic='-fPIC'
9188 amigaos*)
9189 case $host_cpu in
9190 powerpc)
9191 # see comment about AmigaOS4 .so support
9192 lt_prog_compiler_pic='-fPIC'
9194 m68k)
9195 # FIXME: we need at least 68020 code to build shared libraries, but
9196 # adding the `-m68020' flag to GCC prevents building anything better,
9197 # like `-m68040'.
9198 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9200 esac
9203 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9204 # PIC is the default for these OSes.
9207 mingw* | cygwin* | pw32* | os2* | cegcc*)
9208 # This hack is so that the source file can tell whether it is being
9209 # built for inclusion in a dll (and should export symbols for example).
9210 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9211 # (--disable-auto-import) libraries
9212 lt_prog_compiler_pic='-DDLL_EXPORT'
9215 darwin* | rhapsody*)
9216 # PIC is the default on this platform
9217 # Common symbols not allowed in MH_DYLIB files
9218 lt_prog_compiler_pic='-fno-common'
9221 haiku*)
9222 # PIC is the default for Haiku.
9223 # The "-static" flag exists, but is broken.
9224 lt_prog_compiler_static=
9227 hpux*)
9228 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9229 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9230 # sets the default TLS model and affects inlining.
9231 case $host_cpu in
9232 hppa*64*)
9233 # +Z the default
9236 lt_prog_compiler_pic='-fPIC'
9238 esac
9241 interix[3-9]*)
9242 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9243 # Instead, we relocate shared libraries at runtime.
9246 msdosdjgpp*)
9247 # Just because we use GCC doesn't mean we suddenly get shared libraries
9248 # on systems that don't support them.
9249 lt_prog_compiler_can_build_shared=no
9250 enable_shared=no
9253 *nto* | *qnx*)
9254 # QNX uses GNU C++, but need to define -shared option too, otherwise
9255 # it will coredump.
9256 lt_prog_compiler_pic='-fPIC -shared'
9259 sysv4*MP*)
9260 if test -d /usr/nec; then
9261 lt_prog_compiler_pic=-Kconform_pic
9266 lt_prog_compiler_pic='-fPIC'
9268 esac
9270 case $cc_basename in
9271 nvcc*) # Cuda Compiler Driver 2.2
9272 lt_prog_compiler_wl='-Xlinker '
9273 lt_prog_compiler_pic='-Xcompiler -fPIC'
9275 esac
9276 else
9277 # PORTME Check for flag to pass linker flags through the system compiler.
9278 case $host_os in
9279 aix*)
9280 lt_prog_compiler_wl='-Wl,'
9281 if test "$host_cpu" = ia64; then
9282 # AIX 5 now supports IA64 processor
9283 lt_prog_compiler_static='-Bstatic'
9284 else
9285 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9289 mingw* | cygwin* | pw32* | os2* | cegcc*)
9290 # This hack is so that the source file can tell whether it is being
9291 # built for inclusion in a dll (and should export symbols for example).
9292 lt_prog_compiler_pic='-DDLL_EXPORT'
9295 hpux9* | hpux10* | hpux11*)
9296 lt_prog_compiler_wl='-Wl,'
9297 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9298 # not for PA HP-UX.
9299 case $host_cpu in
9300 hppa*64*|ia64*)
9301 # +Z the default
9304 lt_prog_compiler_pic='+Z'
9306 esac
9307 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9308 lt_prog_compiler_static='${wl}-a ${wl}archive'
9311 irix5* | irix6* | nonstopux*)
9312 lt_prog_compiler_wl='-Wl,'
9313 # PIC (with -KPIC) is the default.
9314 lt_prog_compiler_static='-non_shared'
9317 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9318 case $cc_basename in
9319 # old Intel for x86_64 which still supported -KPIC.
9320 ecc*)
9321 lt_prog_compiler_wl='-Wl,'
9322 lt_prog_compiler_pic='-KPIC'
9323 lt_prog_compiler_static='-static'
9325 # icc used to be incompatible with GCC.
9326 # ICC 10 doesn't accept -KPIC any more.
9327 icc* | ifort*)
9328 lt_prog_compiler_wl='-Wl,'
9329 lt_prog_compiler_pic='-fPIC'
9330 lt_prog_compiler_static='-static'
9332 # Lahey Fortran 8.1.
9333 lf95*)
9334 lt_prog_compiler_wl='-Wl,'
9335 lt_prog_compiler_pic='--shared'
9336 lt_prog_compiler_static='--static'
9338 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9339 # Portland Group compilers (*not* the Pentium gcc compiler,
9340 # which looks to be a dead project)
9341 lt_prog_compiler_wl='-Wl,'
9342 lt_prog_compiler_pic='-fpic'
9343 lt_prog_compiler_static='-Bstatic'
9345 ccc*)
9346 lt_prog_compiler_wl='-Wl,'
9347 # All Alpha code is PIC.
9348 lt_prog_compiler_static='-non_shared'
9350 xl* | bgxl* | bgf* | mpixl*)
9351 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9352 lt_prog_compiler_wl='-Wl,'
9353 lt_prog_compiler_pic='-qpic'
9354 lt_prog_compiler_static='-qstaticlink'
9357 case `$CC -V 2>&1 | sed 5q` in
9358 *Sun\ F* | *Sun*Fortran*)
9359 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9360 lt_prog_compiler_pic='-KPIC'
9361 lt_prog_compiler_static='-Bstatic'
9362 lt_prog_compiler_wl=''
9364 *Sun\ C*)
9365 # Sun C 5.9
9366 lt_prog_compiler_pic='-KPIC'
9367 lt_prog_compiler_static='-Bstatic'
9368 lt_prog_compiler_wl='-Wl,'
9370 esac
9372 esac
9375 newsos6)
9376 lt_prog_compiler_pic='-KPIC'
9377 lt_prog_compiler_static='-Bstatic'
9380 *nto* | *qnx*)
9381 # QNX uses GNU C++, but need to define -shared option too, otherwise
9382 # it will coredump.
9383 lt_prog_compiler_pic='-fPIC -shared'
9386 osf3* | osf4* | osf5*)
9387 lt_prog_compiler_wl='-Wl,'
9388 # All OSF/1 code is PIC.
9389 lt_prog_compiler_static='-non_shared'
9392 rdos*)
9393 lt_prog_compiler_static='-non_shared'
9396 solaris*)
9397 lt_prog_compiler_pic='-KPIC'
9398 lt_prog_compiler_static='-Bstatic'
9399 case $cc_basename in
9400 f77* | f90* | f95*)
9401 lt_prog_compiler_wl='-Qoption ld ';;
9403 lt_prog_compiler_wl='-Wl,';;
9404 esac
9407 sunos4*)
9408 lt_prog_compiler_wl='-Qoption ld '
9409 lt_prog_compiler_pic='-PIC'
9410 lt_prog_compiler_static='-Bstatic'
9413 sysv4 | sysv4.2uw2* | sysv4.3*)
9414 lt_prog_compiler_wl='-Wl,'
9415 lt_prog_compiler_pic='-KPIC'
9416 lt_prog_compiler_static='-Bstatic'
9419 sysv4*MP*)
9420 if test -d /usr/nec ;then
9421 lt_prog_compiler_pic='-Kconform_pic'
9422 lt_prog_compiler_static='-Bstatic'
9426 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9427 lt_prog_compiler_wl='-Wl,'
9428 lt_prog_compiler_pic='-KPIC'
9429 lt_prog_compiler_static='-Bstatic'
9432 unicos*)
9433 lt_prog_compiler_wl='-Wl,'
9434 lt_prog_compiler_can_build_shared=no
9437 uts4*)
9438 lt_prog_compiler_pic='-pic'
9439 lt_prog_compiler_static='-Bstatic'
9443 lt_prog_compiler_can_build_shared=no
9445 esac
9448 case $host_os in
9449 # For platforms which do not support PIC, -DPIC is meaningless:
9450 *djgpp*)
9451 lt_prog_compiler_pic=
9454 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9456 esac
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9458 $as_echo "$lt_prog_compiler_pic" >&6; }
9466 # Check to make sure the PIC flag actually works.
9468 if test -n "$lt_prog_compiler_pic"; then
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9470 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9471 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 lt_cv_prog_compiler_pic_works=no
9475 ac_outfile=conftest.$ac_objext
9476 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9477 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9478 # Insert the option either (1) after the last *FLAGS variable, or
9479 # (2) before a word containing "conftest.", or (3) at the end.
9480 # Note that $ac_compile itself does not contain backslashes and begins
9481 # with a dollar sign (not a hyphen), so the echo should work correctly.
9482 # The option is referenced via a variable to avoid confusing sed.
9483 lt_compile=`echo "$ac_compile" | $SED \
9484 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9485 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9486 -e 's:$: $lt_compiler_flag:'`
9487 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9488 (eval "$lt_compile" 2>conftest.err)
9489 ac_status=$?
9490 cat conftest.err >&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 if (exit $ac_status) && test -s "$ac_outfile"; then
9493 # The compiler can only warn and ignore the option if not recognized
9494 # So say no if there are warnings other than the usual output.
9495 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9496 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9497 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9498 lt_cv_prog_compiler_pic_works=yes
9501 $RM conftest*
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9505 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9507 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9508 case $lt_prog_compiler_pic in
9509 "" | " "*) ;;
9510 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9511 esac
9512 else
9513 lt_prog_compiler_pic=
9514 lt_prog_compiler_can_build_shared=no
9525 # Check to make sure the static flag actually works.
9527 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9529 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9530 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 lt_cv_prog_compiler_static_works=no
9534 save_LDFLAGS="$LDFLAGS"
9535 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9536 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9537 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9538 # The linker can only warn and ignore the option if not recognized
9539 # So say no if there are warnings
9540 if test -s conftest.err; then
9541 # Append any errors to the config.log.
9542 cat conftest.err 1>&5
9543 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9544 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9545 if diff conftest.exp conftest.er2 >/dev/null; then
9546 lt_cv_prog_compiler_static_works=yes
9548 else
9549 lt_cv_prog_compiler_static_works=yes
9552 $RM -r conftest*
9553 LDFLAGS="$save_LDFLAGS"
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9557 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9559 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9561 else
9562 lt_prog_compiler_static=
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9572 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9573 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9574 $as_echo_n "(cached) " >&6
9575 else
9576 lt_cv_prog_compiler_c_o=no
9577 $RM -r conftest 2>/dev/null
9578 mkdir conftest
9579 cd conftest
9580 mkdir out
9581 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9583 lt_compiler_flag="-o out/conftest2.$ac_objext"
9584 # Insert the option either (1) after the last *FLAGS variable, or
9585 # (2) before a word containing "conftest.", or (3) at the end.
9586 # Note that $ac_compile itself does not contain backslashes and begins
9587 # with a dollar sign (not a hyphen), so the echo should work correctly.
9588 lt_compile=`echo "$ac_compile" | $SED \
9589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9591 -e 's:$: $lt_compiler_flag:'`
9592 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9593 (eval "$lt_compile" 2>out/conftest.err)
9594 ac_status=$?
9595 cat out/conftest.err >&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9598 then
9599 # The compiler can only warn and ignore the option if not recognized
9600 # So say no if there are warnings
9601 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9602 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9603 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9604 lt_cv_prog_compiler_c_o=yes
9607 chmod u+w . 2>&5
9608 $RM conftest*
9609 # SGI C++ compiler will create directory out/ii_files/ for
9610 # template instantiation
9611 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9612 $RM out/* && rmdir out
9613 cd ..
9614 $RM -r conftest
9615 $RM conftest*
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9619 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9627 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9628 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9629 $as_echo_n "(cached) " >&6
9630 else
9631 lt_cv_prog_compiler_c_o=no
9632 $RM -r conftest 2>/dev/null
9633 mkdir conftest
9634 cd conftest
9635 mkdir out
9636 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9638 lt_compiler_flag="-o out/conftest2.$ac_objext"
9639 # Insert the option either (1) after the last *FLAGS variable, or
9640 # (2) before a word containing "conftest.", or (3) at the end.
9641 # Note that $ac_compile itself does not contain backslashes and begins
9642 # with a dollar sign (not a hyphen), so the echo should work correctly.
9643 lt_compile=`echo "$ac_compile" | $SED \
9644 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9646 -e 's:$: $lt_compiler_flag:'`
9647 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9648 (eval "$lt_compile" 2>out/conftest.err)
9649 ac_status=$?
9650 cat out/conftest.err >&5
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9653 then
9654 # The compiler can only warn and ignore the option if not recognized
9655 # So say no if there are warnings
9656 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9657 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9658 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9659 lt_cv_prog_compiler_c_o=yes
9662 chmod u+w . 2>&5
9663 $RM conftest*
9664 # SGI C++ compiler will create directory out/ii_files/ for
9665 # template instantiation
9666 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9667 $RM out/* && rmdir out
9668 cd ..
9669 $RM -r conftest
9670 $RM conftest*
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9674 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9679 hard_links="nottested"
9680 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9681 # do not overwrite the value of need_locks provided by the user
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9683 $as_echo_n "checking if we can lock with hard links... " >&6; }
9684 hard_links=yes
9685 $RM conftest*
9686 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9687 touch conftest.a
9688 ln conftest.a conftest.b 2>&5 || hard_links=no
9689 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9691 $as_echo "$hard_links" >&6; }
9692 if test "$hard_links" = no; then
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9694 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9695 need_locks=warn
9697 else
9698 need_locks=no
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9707 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9709 runpath_var=
9710 allow_undefined_flag=
9711 always_export_symbols=no
9712 archive_cmds=
9713 archive_expsym_cmds=
9714 compiler_needs_object=no
9715 enable_shared_with_static_runtimes=no
9716 export_dynamic_flag_spec=
9717 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9718 hardcode_automatic=no
9719 hardcode_direct=no
9720 hardcode_direct_absolute=no
9721 hardcode_libdir_flag_spec=
9722 hardcode_libdir_flag_spec_ld=
9723 hardcode_libdir_separator=
9724 hardcode_minus_L=no
9725 hardcode_shlibpath_var=unsupported
9726 inherit_rpath=no
9727 link_all_deplibs=unknown
9728 module_cmds=
9729 module_expsym_cmds=
9730 old_archive_from_new_cmds=
9731 old_archive_from_expsyms_cmds=
9732 thread_safe_flag_spec=
9733 whole_archive_flag_spec=
9734 # include_expsyms should be a list of space-separated symbols to be *always*
9735 # included in the symbol list
9736 include_expsyms=
9737 # exclude_expsyms can be an extended regexp of symbols to exclude
9738 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9739 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9740 # as well as any symbol that contains `d'.
9741 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9742 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9743 # platforms (ab)use it in PIC code, but their linkers get confused if
9744 # the symbol is explicitly referenced. Since portable code cannot
9745 # rely on this symbol name, it's probably fine to never include it in
9746 # preloaded symbol tables.
9747 # Exclude shared library initialization/finalization symbols.
9748 extract_expsyms_cmds=
9750 case $host_os in
9751 cygwin* | mingw* | pw32* | cegcc*)
9752 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9753 # When not using gcc, we currently assume that we are using
9754 # Microsoft Visual C++.
9755 if test "$GCC" != yes; then
9756 with_gnu_ld=no
9759 interix*)
9760 # we just hope/assume this is gcc and not c89 (= MSVC++)
9761 with_gnu_ld=yes
9763 openbsd*)
9764 with_gnu_ld=no
9766 esac
9768 ld_shlibs=yes
9770 # On some targets, GNU ld is compatible enough with the native linker
9771 # that we're better off using the native interface for both.
9772 lt_use_gnu_ld_interface=no
9773 if test "$with_gnu_ld" = yes; then
9774 case $host_os in
9775 aix*)
9776 # The AIX port of GNU ld has always aspired to compatibility
9777 # with the native linker. However, as the warning in the GNU ld
9778 # block says, versions before 2.19.5* couldn't really create working
9779 # shared libraries, regardless of the interface used.
9780 case `$LD -v 2>&1` in
9781 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9782 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9783 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9785 lt_use_gnu_ld_interface=yes
9787 esac
9790 lt_use_gnu_ld_interface=yes
9792 esac
9795 if test "$lt_use_gnu_ld_interface" = yes; then
9796 # If archive_cmds runs LD, not CC, wlarc should be empty
9797 wlarc='${wl}'
9799 # Set some defaults for GNU ld with shared library support. These
9800 # are reset later if shared libraries are not supported. Putting them
9801 # here allows them to be overridden if necessary.
9802 runpath_var=LD_RUN_PATH
9803 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9804 export_dynamic_flag_spec='${wl}--export-dynamic'
9805 # ancient GNU ld didn't support --whole-archive et. al.
9806 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9807 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9808 else
9809 whole_archive_flag_spec=
9811 supports_anon_versioning=no
9812 case `$LD -v 2>&1` in
9813 *GNU\ gold*) supports_anon_versioning=yes ;;
9814 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9815 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9816 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9817 *\ 2.11.*) ;; # other 2.11 versions
9818 *) supports_anon_versioning=yes ;;
9819 esac
9821 # See if GNU ld supports shared libraries.
9822 case $host_os in
9823 aix[3-9]*)
9824 # On AIX/PPC, the GNU linker is very broken
9825 if test "$host_cpu" != ia64; then
9826 ld_shlibs=no
9827 cat <<_LT_EOF 1>&2
9829 *** Warning: the GNU linker, at least up to release 2.19, is reported
9830 *** to be unable to reliably create shared libraries on AIX.
9831 *** Therefore, libtool is disabling shared libraries support. If you
9832 *** really care for shared libraries, you may want to install binutils
9833 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9834 *** You will then need to restart the configuration process.
9836 _LT_EOF
9840 amigaos*)
9841 case $host_cpu in
9842 powerpc)
9843 # see comment about AmigaOS4 .so support
9844 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9845 archive_expsym_cmds=''
9847 m68k)
9848 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)'
9849 hardcode_libdir_flag_spec='-L$libdir'
9850 hardcode_minus_L=yes
9852 esac
9855 beos*)
9856 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9857 allow_undefined_flag=unsupported
9858 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9859 # support --undefined. This deserves some investigation. FIXME
9860 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9861 else
9862 ld_shlibs=no
9866 cygwin* | mingw* | pw32* | cegcc*)
9867 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9868 # as there is no search path for DLLs.
9869 hardcode_libdir_flag_spec='-L$libdir'
9870 export_dynamic_flag_spec='${wl}--export-all-symbols'
9871 allow_undefined_flag=unsupported
9872 always_export_symbols=no
9873 enable_shared_with_static_runtimes=yes
9874 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9876 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9877 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9878 # If the export-symbols file already is a .def file (1st line
9879 # is EXPORTS), use it as is; otherwise, prepend...
9880 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9881 cp $export_symbols $output_objdir/$soname.def;
9882 else
9883 echo EXPORTS > $output_objdir/$soname.def;
9884 cat $export_symbols >> $output_objdir/$soname.def;
9886 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9887 else
9888 ld_shlibs=no
9892 haiku*)
9893 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9894 link_all_deplibs=yes
9897 interix[3-9]*)
9898 hardcode_direct=no
9899 hardcode_shlibpath_var=no
9900 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9901 export_dynamic_flag_spec='${wl}-E'
9902 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9903 # Instead, shared libraries are loaded at an image base (0x10000000 by
9904 # default) and relocated if they conflict, which is a slow very memory
9905 # consuming and fragmenting process. To avoid this, we pick a random,
9906 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9907 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9908 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9909 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'
9912 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9913 tmp_diet=no
9914 if test "$host_os" = linux-dietlibc; then
9915 case $cc_basename in
9916 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9917 esac
9919 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9920 && test "$tmp_diet" = no
9921 then
9922 tmp_addflag=' $pic_flag'
9923 tmp_sharedflag='-shared'
9924 case $cc_basename,$host_cpu in
9925 pgcc*) # Portland Group C compiler
9926 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'
9927 tmp_addflag=' $pic_flag'
9929 pgf77* | pgf90* | pgf95* | pgfortran*)
9930 # Portland Group f77 and f90 compilers
9931 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'
9932 tmp_addflag=' $pic_flag -Mnomain' ;;
9933 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9934 tmp_addflag=' -i_dynamic' ;;
9935 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9936 tmp_addflag=' -i_dynamic -nofor_main' ;;
9937 ifc* | ifort*) # Intel Fortran compiler
9938 tmp_addflag=' -nofor_main' ;;
9939 lf95*) # Lahey Fortran 8.1
9940 whole_archive_flag_spec=
9941 tmp_sharedflag='--shared' ;;
9942 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9943 tmp_sharedflag='-qmkshrobj'
9944 tmp_addflag= ;;
9945 nvcc*) # Cuda Compiler Driver 2.2
9946 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'
9947 compiler_needs_object=yes
9949 esac
9950 case `$CC -V 2>&1 | sed 5q` in
9951 *Sun\ C*) # Sun C 5.9
9952 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'
9953 compiler_needs_object=yes
9954 tmp_sharedflag='-G' ;;
9955 *Sun\ F*) # Sun Fortran 8.3
9956 tmp_sharedflag='-G' ;;
9957 esac
9958 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9960 if test "x$supports_anon_versioning" = xyes; then
9961 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9962 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9963 echo "local: *; };" >> $output_objdir/$libname.ver~
9964 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9967 case $cc_basename in
9968 xlf* | bgf* | bgxlf* | mpixlf*)
9969 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9970 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9971 hardcode_libdir_flag_spec=
9972 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9973 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9974 if test "x$supports_anon_versioning" = xyes; then
9975 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9976 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9977 echo "local: *; };" >> $output_objdir/$libname.ver~
9978 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9981 esac
9982 else
9983 ld_shlibs=no
9987 netbsd*)
9988 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9989 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9990 wlarc=
9991 else
9992 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9993 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9997 solaris*)
9998 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9999 ld_shlibs=no
10000 cat <<_LT_EOF 1>&2
10002 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10003 *** create shared libraries on Solaris systems. Therefore, libtool
10004 *** is disabling shared libraries support. We urge you to upgrade GNU
10005 *** binutils to release 2.9.1 or newer. Another option is to modify
10006 *** your PATH or compiler configuration so that the native linker is
10007 *** used, and then restart.
10009 _LT_EOF
10010 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10011 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10012 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10013 else
10014 ld_shlibs=no
10018 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10019 case `$LD -v 2>&1` in
10020 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10021 ld_shlibs=no
10022 cat <<_LT_EOF 1>&2
10024 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10025 *** reliably create shared libraries on SCO systems. Therefore, libtool
10026 *** is disabling shared libraries support. We urge you to upgrade GNU
10027 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10028 *** your PATH or compiler configuration so that the native linker is
10029 *** used, and then restart.
10031 _LT_EOF
10034 # For security reasons, it is highly recommended that you always
10035 # use absolute paths for naming shared libraries, and exclude the
10036 # DT_RUNPATH tag from executables and libraries. But doing so
10037 # requires that you compile everything twice, which is a pain.
10038 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10039 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10040 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10041 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10042 else
10043 ld_shlibs=no
10046 esac
10049 sunos4*)
10050 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10051 wlarc=
10052 hardcode_direct=yes
10053 hardcode_shlibpath_var=no
10057 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10058 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10059 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10060 else
10061 ld_shlibs=no
10064 esac
10066 if test "$ld_shlibs" = no; then
10067 runpath_var=
10068 hardcode_libdir_flag_spec=
10069 export_dynamic_flag_spec=
10070 whole_archive_flag_spec=
10072 else
10073 # PORTME fill in a description of your system's linker (not GNU ld)
10074 case $host_os in
10075 aix3*)
10076 allow_undefined_flag=unsupported
10077 always_export_symbols=yes
10078 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'
10079 # Note: this linker hardcodes the directories in LIBPATH if there
10080 # are no directories specified by -L.
10081 hardcode_minus_L=yes
10082 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10083 # Neither direct hardcoding nor static linking is supported with a
10084 # broken collect2.
10085 hardcode_direct=unsupported
10089 aix[4-9]*)
10090 if test "$host_cpu" = ia64; then
10091 # On IA64, the linker does run time linking by default, so we don't
10092 # have to do anything special.
10093 aix_use_runtimelinking=no
10094 exp_sym_flag='-Bexport'
10095 no_entry_flag=""
10096 else
10097 # If we're using GNU nm, then we don't want the "-C" option.
10098 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10099 # Also, AIX nm treats weak defined symbols like other global
10100 # defined symbols, whereas GNU nm marks them as "W".
10101 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10102 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'
10103 else
10104 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'
10106 aix_use_runtimelinking=no
10108 # Test if we are trying to use run time linking or normal
10109 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10110 # need to do runtime linking.
10111 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10112 for ld_flag in $LDFLAGS; do
10113 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10114 aix_use_runtimelinking=yes
10115 break
10117 done
10119 esac
10121 exp_sym_flag='-bexport'
10122 no_entry_flag='-bnoentry'
10125 # When large executables or shared objects are built, AIX ld can
10126 # have problems creating the table of contents. If linking a library
10127 # or program results in "error TOC overflow" add -mminimal-toc to
10128 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10129 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10131 archive_cmds=''
10132 hardcode_direct=yes
10133 hardcode_direct_absolute=yes
10134 hardcode_libdir_separator=':'
10135 link_all_deplibs=yes
10136 file_list_spec='${wl}-f,'
10138 if test "$GCC" = yes; then
10139 case $host_os in aix4.[012]|aix4.[012].*)
10140 # We only want to do this on AIX 4.2 and lower, the check
10141 # below for broken collect2 doesn't work under 4.3+
10142 collect2name=`${CC} -print-prog-name=collect2`
10143 if test -f "$collect2name" &&
10144 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10145 then
10146 # We have reworked collect2
10148 else
10149 # We have old collect2
10150 hardcode_direct=unsupported
10151 # It fails to find uninstalled libraries when the uninstalled
10152 # path is not listed in the libpath. Setting hardcode_minus_L
10153 # to unsupported forces relinking
10154 hardcode_minus_L=yes
10155 hardcode_libdir_flag_spec='-L$libdir'
10156 hardcode_libdir_separator=
10159 esac
10160 shared_flag='-shared'
10161 if test "$aix_use_runtimelinking" = yes; then
10162 shared_flag="$shared_flag "'${wl}-G'
10164 else
10165 # not using gcc
10166 if test "$host_cpu" = ia64; then
10167 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10168 # chokes on -Wl,-G. The following line is correct:
10169 shared_flag='-G'
10170 else
10171 if test "$aix_use_runtimelinking" = yes; then
10172 shared_flag='${wl}-G'
10173 else
10174 shared_flag='${wl}-bM:SRE'
10179 export_dynamic_flag_spec='${wl}-bexpall'
10180 # It seems that -bexpall does not export symbols beginning with
10181 # underscore (_), so it is better to generate a list of symbols to export.
10182 always_export_symbols=yes
10183 if test "$aix_use_runtimelinking" = yes; then
10184 # Warning - without using the other runtime loading flags (-brtl),
10185 # -berok will link without error, but may produce a broken library.
10186 allow_undefined_flag='-berok'
10187 # Determine the default libpath from the value encoded in an
10188 # empty executable.
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10193 main ()
10197 return 0;
10199 _ACEOF
10200 if ac_fn_c_try_link "$LINENO"; then :
10202 lt_aix_libpath_sed='
10203 /Import File Strings/,/^$/ {
10204 /^0/ {
10205 s/^0 *\(.*\)$/\1/
10209 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10210 # Check for a 64-bit object if we didn't find anything.
10211 if test -z "$aix_libpath"; then
10212 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10215 rm -f core conftest.err conftest.$ac_objext \
10216 conftest$ac_exeext conftest.$ac_ext
10217 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10219 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10220 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"
10221 else
10222 if test "$host_cpu" = ia64; then
10223 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10224 allow_undefined_flag="-z nodefs"
10225 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"
10226 else
10227 # Determine the default libpath from the value encoded in an
10228 # empty executable.
10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
10233 main ()
10237 return 0;
10239 _ACEOF
10240 if ac_fn_c_try_link "$LINENO"; then :
10242 lt_aix_libpath_sed='
10243 /Import File Strings/,/^$/ {
10244 /^0/ {
10245 s/^0 *\(.*\)$/\1/
10249 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10250 # Check for a 64-bit object if we didn't find anything.
10251 if test -z "$aix_libpath"; then
10252 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10259 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10260 # Warning - without using the other run time loading flags,
10261 # -berok will link without error, but may produce a broken library.
10262 no_undefined_flag=' ${wl}-bernotok'
10263 allow_undefined_flag=' ${wl}-berok'
10264 if test "$with_gnu_ld" = yes; then
10265 # We only use this code for GNU lds that support --whole-archive.
10266 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10267 else
10268 # Exported symbols can be pulled into shared objects from archives
10269 whole_archive_flag_spec='$convenience'
10271 archive_cmds_need_lc=yes
10272 # This is similar to how AIX traditionally builds its shared libraries.
10273 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'
10278 amigaos*)
10279 case $host_cpu in
10280 powerpc)
10281 # see comment about AmigaOS4 .so support
10282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10283 archive_expsym_cmds=''
10285 m68k)
10286 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)'
10287 hardcode_libdir_flag_spec='-L$libdir'
10288 hardcode_minus_L=yes
10290 esac
10293 bsdi[45]*)
10294 export_dynamic_flag_spec=-rdynamic
10297 cygwin* | mingw* | pw32* | cegcc*)
10298 # When not using gcc, we currently assume that we are using
10299 # Microsoft Visual C++.
10300 # hardcode_libdir_flag_spec is actually meaningless, as there is
10301 # no search path for DLLs.
10302 hardcode_libdir_flag_spec=' '
10303 allow_undefined_flag=unsupported
10304 # Tell ltmain to make .lib files, not .a files.
10305 libext=lib
10306 # Tell ltmain to make .dll files, not .so files.
10307 shrext_cmds=".dll"
10308 # FIXME: Setting linknames here is a bad hack.
10309 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10310 # The linker will automatically build a .lib file if we build a DLL.
10311 old_archive_from_new_cmds='true'
10312 # FIXME: Should let the user specify the lib program.
10313 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10314 fix_srcfile_path='`cygpath -w "$srcfile"`'
10315 enable_shared_with_static_runtimes=yes
10318 darwin* | rhapsody*)
10321 archive_cmds_need_lc=no
10322 hardcode_direct=no
10323 hardcode_automatic=yes
10324 hardcode_shlibpath_var=unsupported
10325 if test "$lt_cv_ld_force_load" = "yes"; then
10326 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\"`'
10327 else
10328 whole_archive_flag_spec=''
10330 link_all_deplibs=yes
10331 allow_undefined_flag="$_lt_dar_allow_undefined"
10332 case $cc_basename in
10333 ifort*) _lt_dar_can_shared=yes ;;
10334 *) _lt_dar_can_shared=$GCC ;;
10335 esac
10336 if test "$_lt_dar_can_shared" = "yes"; then
10337 output_verbose_link_cmd=func_echo_all
10338 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10339 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10340 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}"
10341 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}"
10343 else
10344 ld_shlibs=no
10349 dgux*)
10350 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10351 hardcode_libdir_flag_spec='-L$libdir'
10352 hardcode_shlibpath_var=no
10355 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10356 # support. Future versions do this automatically, but an explicit c++rt0.o
10357 # does not break anything, and helps significantly (at the cost of a little
10358 # extra space).
10359 freebsd2.2*)
10360 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10361 hardcode_libdir_flag_spec='-R$libdir'
10362 hardcode_direct=yes
10363 hardcode_shlibpath_var=no
10366 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10367 freebsd2.*)
10368 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10369 hardcode_direct=yes
10370 hardcode_minus_L=yes
10371 hardcode_shlibpath_var=no
10374 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10375 freebsd* | dragonfly*)
10376 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10377 hardcode_libdir_flag_spec='-R$libdir'
10378 hardcode_direct=yes
10379 hardcode_shlibpath_var=no
10382 hpux9*)
10383 if test "$GCC" = yes; then
10384 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10385 else
10386 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'
10388 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10389 hardcode_libdir_separator=:
10390 hardcode_direct=yes
10392 # hardcode_minus_L: Not really in the search PATH,
10393 # but as the default location of the library.
10394 hardcode_minus_L=yes
10395 export_dynamic_flag_spec='${wl}-E'
10398 hpux10*)
10399 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10400 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10401 else
10402 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10404 if test "$with_gnu_ld" = no; then
10405 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10406 hardcode_libdir_flag_spec_ld='+b $libdir'
10407 hardcode_libdir_separator=:
10408 hardcode_direct=yes
10409 hardcode_direct_absolute=yes
10410 export_dynamic_flag_spec='${wl}-E'
10411 # hardcode_minus_L: Not really in the search PATH,
10412 # but as the default location of the library.
10413 hardcode_minus_L=yes
10417 hpux11*)
10418 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10419 case $host_cpu in
10420 hppa*64*)
10421 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10423 ia64*)
10424 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10427 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10429 esac
10430 else
10431 case $host_cpu in
10432 hppa*64*)
10433 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10435 ia64*)
10436 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10440 # Older versions of the 11.00 compiler do not understand -b yet
10441 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10443 $as_echo_n "checking if $CC understands -b... " >&6; }
10444 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10445 $as_echo_n "(cached) " >&6
10446 else
10447 lt_cv_prog_compiler__b=no
10448 save_LDFLAGS="$LDFLAGS"
10449 LDFLAGS="$LDFLAGS -b"
10450 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10451 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10452 # The linker can only warn and ignore the option if not recognized
10453 # So say no if there are warnings
10454 if test -s conftest.err; then
10455 # Append any errors to the config.log.
10456 cat conftest.err 1>&5
10457 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10458 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10459 if diff conftest.exp conftest.er2 >/dev/null; then
10460 lt_cv_prog_compiler__b=yes
10462 else
10463 lt_cv_prog_compiler__b=yes
10466 $RM -r conftest*
10467 LDFLAGS="$save_LDFLAGS"
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10471 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10473 if test x"$lt_cv_prog_compiler__b" = xyes; then
10474 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10475 else
10476 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10480 esac
10482 if test "$with_gnu_ld" = no; then
10483 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10484 hardcode_libdir_separator=:
10486 case $host_cpu in
10487 hppa*64*|ia64*)
10488 hardcode_direct=no
10489 hardcode_shlibpath_var=no
10492 hardcode_direct=yes
10493 hardcode_direct_absolute=yes
10494 export_dynamic_flag_spec='${wl}-E'
10496 # hardcode_minus_L: Not really in the search PATH,
10497 # but as the default location of the library.
10498 hardcode_minus_L=yes
10500 esac
10504 irix5* | irix6* | nonstopux*)
10505 if test "$GCC" = yes; then
10506 archive_cmds='$CC -shared $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'
10507 # Try to use the -exported_symbol ld option, if it does not
10508 # work, assume that -exports_file does not work either and
10509 # implicitly export all symbols.
10510 save_LDFLAGS="$LDFLAGS"
10511 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10513 /* end confdefs.h. */
10514 int foo(void) {}
10515 _ACEOF
10516 if ac_fn_c_try_link "$LINENO"; then :
10517 archive_expsym_cmds='$CC -shared $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'
10520 rm -f core conftest.err conftest.$ac_objext \
10521 conftest$ac_exeext conftest.$ac_ext
10522 LDFLAGS="$save_LDFLAGS"
10523 else
10524 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'
10525 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'
10527 archive_cmds_need_lc='no'
10528 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10529 hardcode_libdir_separator=:
10530 inherit_rpath=yes
10531 link_all_deplibs=yes
10534 netbsd*)
10535 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10536 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10537 else
10538 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10540 hardcode_libdir_flag_spec='-R$libdir'
10541 hardcode_direct=yes
10542 hardcode_shlibpath_var=no
10545 newsos6)
10546 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10547 hardcode_direct=yes
10548 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10549 hardcode_libdir_separator=:
10550 hardcode_shlibpath_var=no
10553 *nto* | *qnx*)
10556 openbsd*)
10557 if test -f /usr/libexec/ld.so; then
10558 hardcode_direct=yes
10559 hardcode_shlibpath_var=no
10560 hardcode_direct_absolute=yes
10561 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10562 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10563 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10564 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10565 export_dynamic_flag_spec='${wl}-E'
10566 else
10567 case $host_os in
10568 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10569 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10570 hardcode_libdir_flag_spec='-R$libdir'
10573 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10574 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10576 esac
10578 else
10579 ld_shlibs=no
10583 os2*)
10584 hardcode_libdir_flag_spec='-L$libdir'
10585 hardcode_minus_L=yes
10586 allow_undefined_flag=unsupported
10587 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'
10588 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10591 osf3*)
10592 if test "$GCC" = yes; then
10593 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10594 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'
10595 else
10596 allow_undefined_flag=' -expect_unresolved \*'
10597 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'
10599 archive_cmds_need_lc='no'
10600 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10601 hardcode_libdir_separator=:
10604 osf4* | osf5*) # as osf3* with the addition of -msym flag
10605 if test "$GCC" = yes; then
10606 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10607 archive_cmds='$CC -shared${allow_undefined_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'
10608 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10609 else
10610 allow_undefined_flag=' -expect_unresolved \*'
10611 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'
10612 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~
10613 $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'
10615 # Both c and cxx compiler support -rpath directly
10616 hardcode_libdir_flag_spec='-rpath $libdir'
10618 archive_cmds_need_lc='no'
10619 hardcode_libdir_separator=:
10622 solaris*)
10623 no_undefined_flag=' -z defs'
10624 if test "$GCC" = yes; then
10625 wlarc='${wl}'
10626 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10627 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10628 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10629 else
10630 case `$CC -V 2>&1` in
10631 *"Compilers 5.0"*)
10632 wlarc=''
10633 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10634 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10635 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10638 wlarc='${wl}'
10639 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10640 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10641 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10643 esac
10645 hardcode_libdir_flag_spec='-R$libdir'
10646 hardcode_shlibpath_var=no
10647 case $host_os in
10648 solaris2.[0-5] | solaris2.[0-5].*) ;;
10650 # The compiler driver will combine and reorder linker options,
10651 # but understands `-z linker_flag'. GCC discards it without `$wl',
10652 # but is careful enough not to reorder.
10653 # Supported since Solaris 2.6 (maybe 2.5.1?)
10654 if test "$GCC" = yes; then
10655 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10656 else
10657 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10660 esac
10661 link_all_deplibs=yes
10664 sunos4*)
10665 if test "x$host_vendor" = xsequent; then
10666 # Use $CC to link under sequent, because it throws in some extra .o
10667 # files that make .init and .fini sections work.
10668 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10669 else
10670 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10672 hardcode_libdir_flag_spec='-L$libdir'
10673 hardcode_direct=yes
10674 hardcode_minus_L=yes
10675 hardcode_shlibpath_var=no
10678 sysv4)
10679 case $host_vendor in
10680 sni)
10681 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10682 hardcode_direct=yes # is this really true???
10684 siemens)
10685 ## LD is ld it makes a PLAMLIB
10686 ## CC just makes a GrossModule.
10687 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10688 reload_cmds='$CC -r -o $output$reload_objs'
10689 hardcode_direct=no
10691 motorola)
10692 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10693 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10695 esac
10696 runpath_var='LD_RUN_PATH'
10697 hardcode_shlibpath_var=no
10700 sysv4.3*)
10701 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10702 hardcode_shlibpath_var=no
10703 export_dynamic_flag_spec='-Bexport'
10706 sysv4*MP*)
10707 if test -d /usr/nec; then
10708 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10709 hardcode_shlibpath_var=no
10710 runpath_var=LD_RUN_PATH
10711 hardcode_runpath_var=yes
10712 ld_shlibs=yes
10716 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10717 no_undefined_flag='${wl}-z,text'
10718 archive_cmds_need_lc=no
10719 hardcode_shlibpath_var=no
10720 runpath_var='LD_RUN_PATH'
10722 if test "$GCC" = yes; then
10723 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10724 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10725 else
10726 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10727 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10731 sysv5* | sco3.2v5* | sco5v6*)
10732 # Note: We can NOT use -z defs as we might desire, because we do not
10733 # link with -lc, and that would cause any symbols used from libc to
10734 # always be unresolved, which means just about no library would
10735 # ever link correctly. If we're not using GNU ld we use -z text
10736 # though, which does catch some bad symbols but isn't as heavy-handed
10737 # as -z defs.
10738 no_undefined_flag='${wl}-z,text'
10739 allow_undefined_flag='${wl}-z,nodefs'
10740 archive_cmds_need_lc=no
10741 hardcode_shlibpath_var=no
10742 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10743 hardcode_libdir_separator=':'
10744 link_all_deplibs=yes
10745 export_dynamic_flag_spec='${wl}-Bexport'
10746 runpath_var='LD_RUN_PATH'
10748 if test "$GCC" = yes; then
10749 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10750 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10751 else
10752 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10753 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10757 uts4*)
10758 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10759 hardcode_libdir_flag_spec='-L$libdir'
10760 hardcode_shlibpath_var=no
10764 ld_shlibs=no
10766 esac
10768 if test x$host_vendor = xsni; then
10769 case $host in
10770 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10771 export_dynamic_flag_spec='${wl}-Blargedynsym'
10773 esac
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10778 $as_echo "$ld_shlibs" >&6; }
10779 test "$ld_shlibs" = no && can_build_shared=no
10781 with_gnu_ld=$with_gnu_ld
10798 # Do we need to explicitly link libc?
10800 case "x$archive_cmds_need_lc" in
10801 x|xyes)
10802 # Assume -lc should be added
10803 archive_cmds_need_lc=yes
10805 if test "$enable_shared" = yes && test "$GCC" = yes; then
10806 case $archive_cmds in
10807 *'~'*)
10808 # FIXME: we may have to deal with multi-command sequences.
10810 '$CC '*)
10811 # Test whether the compiler implicitly links with -lc since on some
10812 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10813 # to ld, don't add -lc before -lgcc.
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10815 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10816 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10817 $as_echo_n "(cached) " >&6
10818 else
10819 $RM conftest*
10820 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10822 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10823 (eval $ac_compile) 2>&5
10824 ac_status=$?
10825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10826 test $ac_status = 0; } 2>conftest.err; then
10827 soname=conftest
10828 lib=conftest
10829 libobjs=conftest.$ac_objext
10830 deplibs=
10831 wl=$lt_prog_compiler_wl
10832 pic_flag=$lt_prog_compiler_pic
10833 compiler_flags=-v
10834 linker_flags=-v
10835 verstring=
10836 output_objdir=.
10837 libname=conftest
10838 lt_save_allow_undefined_flag=$allow_undefined_flag
10839 allow_undefined_flag=
10840 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10841 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10842 ac_status=$?
10843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10844 test $ac_status = 0; }
10845 then
10846 lt_cv_archive_cmds_need_lc=no
10847 else
10848 lt_cv_archive_cmds_need_lc=yes
10850 allow_undefined_flag=$lt_save_allow_undefined_flag
10851 else
10852 cat conftest.err 1>&5
10854 $RM conftest*
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10858 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10859 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10861 esac
10864 esac
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11023 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11025 if test "$GCC" = yes; then
11026 case $host_os in
11027 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11028 *) lt_awk_arg="/^libraries:/" ;;
11029 esac
11030 case $host_os in
11031 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11032 *) lt_sed_strip_eq="s,=/,/,g" ;;
11033 esac
11034 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11035 case $lt_search_path_spec in
11036 *\;*)
11037 # if the path contains ";" then we assume it to be the separator
11038 # otherwise default to the standard path separator (i.e. ":") - it is
11039 # assumed that no part of a normal pathname contains ";" but that should
11040 # okay in the real world where ";" in dirpaths is itself problematic.
11041 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11044 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11046 esac
11047 # Ok, now we have the path, separated by spaces, we can step through it
11048 # and add multilib dir if necessary.
11049 lt_tmp_lt_search_path_spec=
11050 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11051 for lt_sys_path in $lt_search_path_spec; do
11052 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11053 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11054 else
11055 test -d "$lt_sys_path" && \
11056 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11058 done
11059 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11060 BEGIN {RS=" "; FS="/|\n";} {
11061 lt_foo="";
11062 lt_count=0;
11063 for (lt_i = NF; lt_i > 0; lt_i--) {
11064 if ($lt_i != "" && $lt_i != ".") {
11065 if ($lt_i == "..") {
11066 lt_count++;
11067 } else {
11068 if (lt_count == 0) {
11069 lt_foo="/" $lt_i lt_foo;
11070 } else {
11071 lt_count--;
11076 if (lt_foo != "") { lt_freq[lt_foo]++; }
11077 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11079 # AWK program above erroneously prepends '/' to C:/dos/paths
11080 # for these hosts.
11081 case $host_os in
11082 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11083 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11084 esac
11085 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11086 else
11087 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11089 library_names_spec=
11090 libname_spec='lib$name'
11091 soname_spec=
11092 shrext_cmds=".so"
11093 postinstall_cmds=
11094 postuninstall_cmds=
11095 finish_cmds=
11096 finish_eval=
11097 shlibpath_var=
11098 shlibpath_overrides_runpath=unknown
11099 version_type=none
11100 dynamic_linker="$host_os ld.so"
11101 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11102 need_lib_prefix=unknown
11103 hardcode_into_libs=no
11105 # when you set need_version to no, make sure it does not cause -set_version
11106 # flags to be left without arguments
11107 need_version=unknown
11109 case $host_os in
11110 aix3*)
11111 version_type=linux
11112 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11113 shlibpath_var=LIBPATH
11115 # AIX 3 has no versioning support, so we append a major version to the name.
11116 soname_spec='${libname}${release}${shared_ext}$major'
11119 aix[4-9]*)
11120 version_type=linux
11121 need_lib_prefix=no
11122 need_version=no
11123 hardcode_into_libs=yes
11124 if test "$host_cpu" = ia64; then
11125 # AIX 5 supports IA64
11126 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11127 shlibpath_var=LD_LIBRARY_PATH
11128 else
11129 # With GCC up to 2.95.x, collect2 would create an import file
11130 # for dependence libraries. The import file would start with
11131 # the line `#! .'. This would cause the generated library to
11132 # depend on `.', always an invalid library. This was fixed in
11133 # development snapshots of GCC prior to 3.0.
11134 case $host_os in
11135 aix4 | aix4.[01] | aix4.[01].*)
11136 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11137 echo ' yes '
11138 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11140 else
11141 can_build_shared=no
11144 esac
11145 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11146 # soname into executable. Probably we can add versioning support to
11147 # collect2, so additional links can be useful in future.
11148 if test "$aix_use_runtimelinking" = yes; then
11149 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11150 # instead of lib<name>.a to let people know that these are not
11151 # typical AIX shared libraries.
11152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153 else
11154 # We preserve .a as extension for shared libraries through AIX4.2
11155 # and later when we are not doing run time linking.
11156 library_names_spec='${libname}${release}.a $libname.a'
11157 soname_spec='${libname}${release}${shared_ext}$major'
11159 shlibpath_var=LIBPATH
11163 amigaos*)
11164 case $host_cpu in
11165 powerpc)
11166 # Since July 2007 AmigaOS4 officially supports .so libraries.
11167 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11170 m68k)
11171 library_names_spec='$libname.ixlibrary $libname.a'
11172 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11173 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'
11175 esac
11178 beos*)
11179 library_names_spec='${libname}${shared_ext}'
11180 dynamic_linker="$host_os ld.so"
11181 shlibpath_var=LIBRARY_PATH
11184 bsdi[45]*)
11185 version_type=linux
11186 need_version=no
11187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11188 soname_spec='${libname}${release}${shared_ext}$major'
11189 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11190 shlibpath_var=LD_LIBRARY_PATH
11191 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11192 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11193 # the default ld.so.conf also contains /usr/contrib/lib and
11194 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11195 # libtool to hard-code these into programs
11198 cygwin* | mingw* | pw32* | cegcc*)
11199 version_type=windows
11200 shrext_cmds=".dll"
11201 need_version=no
11202 need_lib_prefix=no
11204 case $GCC,$host_os in
11205 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11206 library_names_spec='$libname.dll.a'
11207 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11208 postinstall_cmds='base_file=`basename \${file}`~
11209 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11210 dldir=$destdir/`dirname \$dlpath`~
11211 test -d \$dldir || mkdir -p \$dldir~
11212 $install_prog $dir/$dlname \$dldir/$dlname~
11213 chmod a+x \$dldir/$dlname~
11214 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11215 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11217 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11218 dlpath=$dir/\$dldll~
11219 $RM \$dlpath'
11220 shlibpath_overrides_runpath=yes
11222 case $host_os in
11223 cygwin*)
11224 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11225 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11227 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11229 mingw* | cegcc*)
11230 # MinGW DLLs use traditional 'lib' prefix
11231 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11233 pw32*)
11234 # pw32 DLLs use 'pw' prefix rather than 'lib'
11235 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11237 esac
11241 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11243 esac
11244 dynamic_linker='Win32 ld.exe'
11245 # FIXME: first we should search . and the directory the executable is in
11246 shlibpath_var=PATH
11249 darwin* | rhapsody*)
11250 dynamic_linker="$host_os dyld"
11251 version_type=darwin
11252 need_lib_prefix=no
11253 need_version=no
11254 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11255 soname_spec='${libname}${release}${major}$shared_ext'
11256 shlibpath_overrides_runpath=yes
11257 shlibpath_var=DYLD_LIBRARY_PATH
11258 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11260 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11261 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11264 dgux*)
11265 version_type=linux
11266 need_lib_prefix=no
11267 need_version=no
11268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11269 soname_spec='${libname}${release}${shared_ext}$major'
11270 shlibpath_var=LD_LIBRARY_PATH
11273 freebsd* | dragonfly*)
11274 # DragonFly does not have aout. When/if they implement a new
11275 # versioning mechanism, adjust this.
11276 if test -x /usr/bin/objformat; then
11277 objformat=`/usr/bin/objformat`
11278 else
11279 case $host_os in
11280 freebsd[23].*) objformat=aout ;;
11281 *) objformat=elf ;;
11282 esac
11284 version_type=freebsd-$objformat
11285 case $version_type in
11286 freebsd-elf*)
11287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11288 need_version=no
11289 need_lib_prefix=no
11291 freebsd-*)
11292 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11293 need_version=yes
11295 esac
11296 shlibpath_var=LD_LIBRARY_PATH
11297 case $host_os in
11298 freebsd2.*)
11299 shlibpath_overrides_runpath=yes
11301 freebsd3.[01]* | freebsdelf3.[01]*)
11302 shlibpath_overrides_runpath=yes
11303 hardcode_into_libs=yes
11305 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11306 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11307 shlibpath_overrides_runpath=no
11308 hardcode_into_libs=yes
11310 *) # from 4.6 on, and DragonFly
11311 shlibpath_overrides_runpath=yes
11312 hardcode_into_libs=yes
11314 esac
11317 gnu*)
11318 version_type=linux
11319 need_lib_prefix=no
11320 need_version=no
11321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11322 soname_spec='${libname}${release}${shared_ext}$major'
11323 shlibpath_var=LD_LIBRARY_PATH
11324 hardcode_into_libs=yes
11327 haiku*)
11328 version_type=linux
11329 need_lib_prefix=no
11330 need_version=no
11331 dynamic_linker="$host_os runtime_loader"
11332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11333 soname_spec='${libname}${release}${shared_ext}$major'
11334 shlibpath_var=LIBRARY_PATH
11335 shlibpath_overrides_runpath=yes
11336 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11337 hardcode_into_libs=yes
11340 hpux9* | hpux10* | hpux11*)
11341 # Give a soname corresponding to the major version so that dld.sl refuses to
11342 # link against other versions.
11343 version_type=sunos
11344 need_lib_prefix=no
11345 need_version=no
11346 case $host_cpu in
11347 ia64*)
11348 shrext_cmds='.so'
11349 hardcode_into_libs=yes
11350 dynamic_linker="$host_os dld.so"
11351 shlibpath_var=LD_LIBRARY_PATH
11352 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11354 soname_spec='${libname}${release}${shared_ext}$major'
11355 if test "X$HPUX_IA64_MODE" = X32; then
11356 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11357 else
11358 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11360 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11362 hppa*64*)
11363 shrext_cmds='.sl'
11364 hardcode_into_libs=yes
11365 dynamic_linker="$host_os dld.sl"
11366 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11367 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11369 soname_spec='${libname}${release}${shared_ext}$major'
11370 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11371 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11374 shrext_cmds='.sl'
11375 dynamic_linker="$host_os dld.sl"
11376 shlibpath_var=SHLIB_PATH
11377 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11379 soname_spec='${libname}${release}${shared_ext}$major'
11381 esac
11382 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11383 postinstall_cmds='chmod 555 $lib'
11384 # or fails outright, so override atomically:
11385 install_override_mode=555
11388 interix[3-9]*)
11389 version_type=linux
11390 need_lib_prefix=no
11391 need_version=no
11392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11393 soname_spec='${libname}${release}${shared_ext}$major'
11394 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11395 shlibpath_var=LD_LIBRARY_PATH
11396 shlibpath_overrides_runpath=no
11397 hardcode_into_libs=yes
11400 irix5* | irix6* | nonstopux*)
11401 case $host_os in
11402 nonstopux*) version_type=nonstopux ;;
11404 if test "$lt_cv_prog_gnu_ld" = yes; then
11405 version_type=linux
11406 else
11407 version_type=irix
11408 fi ;;
11409 esac
11410 need_lib_prefix=no
11411 need_version=no
11412 soname_spec='${libname}${release}${shared_ext}$major'
11413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11414 case $host_os in
11415 irix5* | nonstopux*)
11416 libsuff= shlibsuff=
11419 case $LD in # libtool.m4 will add one of these switches to LD
11420 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11421 libsuff= shlibsuff= libmagic=32-bit;;
11422 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11423 libsuff=32 shlibsuff=N32 libmagic=N32;;
11424 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11425 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11426 *) libsuff= shlibsuff= libmagic=never-match;;
11427 esac
11429 esac
11430 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11431 shlibpath_overrides_runpath=no
11432 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11433 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11434 hardcode_into_libs=yes
11437 # No shared lib support for Linux oldld, aout, or coff.
11438 linux*oldld* | linux*aout* | linux*coff*)
11439 dynamic_linker=no
11442 # This must be Linux ELF.
11443 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11444 version_type=linux
11445 need_lib_prefix=no
11446 need_version=no
11447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11448 soname_spec='${libname}${release}${shared_ext}$major'
11449 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11450 shlibpath_var=LD_LIBRARY_PATH
11451 shlibpath_overrides_runpath=no
11453 # Some binutils ld are patched to set DT_RUNPATH
11454 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11455 $as_echo_n "(cached) " >&6
11456 else
11457 lt_cv_shlibpath_overrides_runpath=no
11458 save_LDFLAGS=$LDFLAGS
11459 save_libdir=$libdir
11460 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11461 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11463 /* end confdefs.h. */
11466 main ()
11470 return 0;
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"; then :
11474 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11475 lt_cv_shlibpath_overrides_runpath=yes
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LDFLAGS=$save_LDFLAGS
11481 libdir=$save_libdir
11485 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11487 # This implies no fast_install, which is unacceptable.
11488 # Some rework will be needed to allow for fast_install
11489 # before this can be enabled.
11490 hardcode_into_libs=yes
11492 # Append ld.so.conf contents to the search path
11493 if test -f /etc/ld.so.conf; then
11494 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' ' '`
11495 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11498 # We used to test for /lib/ld.so.1 and disable shared libraries on
11499 # powerpc, because MkLinux only supported shared libraries with the
11500 # GNU dynamic linker. Since this was broken with cross compilers,
11501 # most powerpc-linux boxes support dynamic linking these days and
11502 # people can always --disable-shared, the test was removed, and we
11503 # assume the GNU/Linux dynamic linker is in use.
11504 dynamic_linker='GNU/Linux ld.so'
11507 netbsd*)
11508 version_type=sunos
11509 need_lib_prefix=no
11510 need_version=no
11511 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11513 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11514 dynamic_linker='NetBSD (a.out) ld.so'
11515 else
11516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11517 soname_spec='${libname}${release}${shared_ext}$major'
11518 dynamic_linker='NetBSD ld.elf_so'
11520 shlibpath_var=LD_LIBRARY_PATH
11521 shlibpath_overrides_runpath=yes
11522 hardcode_into_libs=yes
11525 newsos6)
11526 version_type=linux
11527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11528 shlibpath_var=LD_LIBRARY_PATH
11529 shlibpath_overrides_runpath=yes
11532 *nto* | *qnx*)
11533 version_type=qnx
11534 need_lib_prefix=no
11535 need_version=no
11536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11537 soname_spec='${libname}${release}${shared_ext}$major'
11538 shlibpath_var=LD_LIBRARY_PATH
11539 shlibpath_overrides_runpath=no
11540 hardcode_into_libs=yes
11541 dynamic_linker='ldqnx.so'
11544 openbsd*)
11545 version_type=sunos
11546 sys_lib_dlsearch_path_spec="/usr/lib"
11547 need_lib_prefix=no
11548 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11549 case $host_os in
11550 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11551 *) need_version=no ;;
11552 esac
11553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11554 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11555 shlibpath_var=LD_LIBRARY_PATH
11556 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11557 case $host_os in
11558 openbsd2.[89] | openbsd2.[89].*)
11559 shlibpath_overrides_runpath=no
11562 shlibpath_overrides_runpath=yes
11564 esac
11565 else
11566 shlibpath_overrides_runpath=yes
11570 os2*)
11571 libname_spec='$name'
11572 shrext_cmds=".dll"
11573 need_lib_prefix=no
11574 library_names_spec='$libname${shared_ext} $libname.a'
11575 dynamic_linker='OS/2 ld.exe'
11576 shlibpath_var=LIBPATH
11579 osf3* | osf4* | osf5*)
11580 version_type=osf
11581 need_lib_prefix=no
11582 need_version=no
11583 soname_spec='${libname}${release}${shared_ext}$major'
11584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585 shlibpath_var=LD_LIBRARY_PATH
11586 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11587 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11590 rdos*)
11591 dynamic_linker=no
11594 solaris*)
11595 version_type=linux
11596 need_lib_prefix=no
11597 need_version=no
11598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11599 soname_spec='${libname}${release}${shared_ext}$major'
11600 shlibpath_var=LD_LIBRARY_PATH
11601 shlibpath_overrides_runpath=yes
11602 hardcode_into_libs=yes
11603 # ldd complains unless libraries are executable
11604 postinstall_cmds='chmod +x $lib'
11607 sunos4*)
11608 version_type=sunos
11609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11610 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11611 shlibpath_var=LD_LIBRARY_PATH
11612 shlibpath_overrides_runpath=yes
11613 if test "$with_gnu_ld" = yes; then
11614 need_lib_prefix=no
11616 need_version=yes
11619 sysv4 | sysv4.3*)
11620 version_type=linux
11621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11622 soname_spec='${libname}${release}${shared_ext}$major'
11623 shlibpath_var=LD_LIBRARY_PATH
11624 case $host_vendor in
11625 sni)
11626 shlibpath_overrides_runpath=no
11627 need_lib_prefix=no
11628 runpath_var=LD_RUN_PATH
11630 siemens)
11631 need_lib_prefix=no
11633 motorola)
11634 need_lib_prefix=no
11635 need_version=no
11636 shlibpath_overrides_runpath=no
11637 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11639 esac
11642 sysv4*MP*)
11643 if test -d /usr/nec ;then
11644 version_type=linux
11645 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11646 soname_spec='$libname${shared_ext}.$major'
11647 shlibpath_var=LD_LIBRARY_PATH
11651 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11652 version_type=freebsd-elf
11653 need_lib_prefix=no
11654 need_version=no
11655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11656 soname_spec='${libname}${release}${shared_ext}$major'
11657 shlibpath_var=LD_LIBRARY_PATH
11658 shlibpath_overrides_runpath=yes
11659 hardcode_into_libs=yes
11660 if test "$with_gnu_ld" = yes; then
11661 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11662 else
11663 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11664 case $host_os in
11665 sco3.2v5*)
11666 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11668 esac
11670 sys_lib_dlsearch_path_spec='/usr/lib'
11673 tpf*)
11674 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11675 version_type=linux
11676 need_lib_prefix=no
11677 need_version=no
11678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11679 shlibpath_var=LD_LIBRARY_PATH
11680 shlibpath_overrides_runpath=no
11681 hardcode_into_libs=yes
11684 uts4*)
11685 version_type=linux
11686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11687 soname_spec='${libname}${release}${shared_ext}$major'
11688 shlibpath_var=LD_LIBRARY_PATH
11692 dynamic_linker=no
11694 esac
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11696 $as_echo "$dynamic_linker" >&6; }
11697 test "$dynamic_linker" = no && can_build_shared=no
11699 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11700 if test "$GCC" = yes; then
11701 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11704 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11705 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11707 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11708 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11803 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11804 hardcode_action=
11805 if test -n "$hardcode_libdir_flag_spec" ||
11806 test -n "$runpath_var" ||
11807 test "X$hardcode_automatic" = "Xyes" ; then
11809 # We can hardcode non-existent directories.
11810 if test "$hardcode_direct" != no &&
11811 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11812 # have to relink, otherwise we might link with an installed library
11813 # when we should be linking with a yet-to-be-installed one
11814 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11815 test "$hardcode_minus_L" != no; then
11816 # Linking always hardcodes the temporary library directory.
11817 hardcode_action=relink
11818 else
11819 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11820 hardcode_action=immediate
11822 else
11823 # We cannot hardcode anything, or else we can only hardcode existing
11824 # directories.
11825 hardcode_action=unsupported
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11828 $as_echo "$hardcode_action" >&6; }
11830 if test "$hardcode_action" = relink ||
11831 test "$inherit_rpath" = yes; then
11832 # Fast installation is not supported
11833 enable_fast_install=no
11834 elif test "$shlibpath_overrides_runpath" = yes ||
11835 test "$enable_shared" = no; then
11836 # Fast installation is not necessary
11837 enable_fast_install=needless
11845 if test "x$enable_dlopen" != xyes; then
11846 enable_dlopen=unknown
11847 enable_dlopen_self=unknown
11848 enable_dlopen_self_static=unknown
11849 else
11850 lt_cv_dlopen=no
11851 lt_cv_dlopen_libs=
11853 case $host_os in
11854 beos*)
11855 lt_cv_dlopen="load_add_on"
11856 lt_cv_dlopen_libs=
11857 lt_cv_dlopen_self=yes
11860 mingw* | pw32* | cegcc*)
11861 lt_cv_dlopen="LoadLibrary"
11862 lt_cv_dlopen_libs=
11865 cygwin*)
11866 lt_cv_dlopen="dlopen"
11867 lt_cv_dlopen_libs=
11870 darwin*)
11871 # if libdl is installed we need to link against it
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11873 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11874 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11875 $as_echo_n "(cached) " >&6
11876 else
11877 ac_check_lib_save_LIBS=$LIBS
11878 LIBS="-ldl $LIBS"
11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11882 /* Override any GCC internal prototype to avoid an error.
11883 Use char because int might match the return type of a GCC
11884 builtin and then its argument prototype would still apply. */
11885 #ifdef __cplusplus
11886 extern "C"
11887 #endif
11888 char dlopen ();
11890 main ()
11892 return dlopen ();
11894 return 0;
11896 _ACEOF
11897 if ac_fn_c_try_link "$LINENO"; then :
11898 ac_cv_lib_dl_dlopen=yes
11899 else
11900 ac_cv_lib_dl_dlopen=no
11902 rm -f core conftest.err conftest.$ac_objext \
11903 conftest$ac_exeext conftest.$ac_ext
11904 LIBS=$ac_check_lib_save_LIBS
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11907 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11908 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11909 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11910 else
11912 lt_cv_dlopen="dyld"
11913 lt_cv_dlopen_libs=
11914 lt_cv_dlopen_self=yes
11921 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11922 if test "x$ac_cv_func_shl_load" = x""yes; then :
11923 lt_cv_dlopen="shl_load"
11924 else
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11926 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11927 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11928 $as_echo_n "(cached) " >&6
11929 else
11930 ac_check_lib_save_LIBS=$LIBS
11931 LIBS="-ldld $LIBS"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11938 #ifdef __cplusplus
11939 extern "C"
11940 #endif
11941 char shl_load ();
11943 main ()
11945 return shl_load ();
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_link "$LINENO"; then :
11951 ac_cv_lib_dld_shl_load=yes
11952 else
11953 ac_cv_lib_dld_shl_load=no
11955 rm -f core conftest.err conftest.$ac_objext \
11956 conftest$ac_exeext conftest.$ac_ext
11957 LIBS=$ac_check_lib_save_LIBS
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11960 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11961 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11962 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11963 else
11964 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11965 if test "x$ac_cv_func_dlopen" = x""yes; then :
11966 lt_cv_dlopen="dlopen"
11967 else
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11969 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11970 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11971 $as_echo_n "(cached) " >&6
11972 else
11973 ac_check_lib_save_LIBS=$LIBS
11974 LIBS="-ldl $LIBS"
11975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11976 /* end confdefs.h. */
11978 /* Override any GCC internal prototype to avoid an error.
11979 Use char because int might match the return type of a GCC
11980 builtin and then its argument prototype would still apply. */
11981 #ifdef __cplusplus
11982 extern "C"
11983 #endif
11984 char dlopen ();
11986 main ()
11988 return dlopen ();
11990 return 0;
11992 _ACEOF
11993 if ac_fn_c_try_link "$LINENO"; then :
11994 ac_cv_lib_dl_dlopen=yes
11995 else
11996 ac_cv_lib_dl_dlopen=no
11998 rm -f core conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12000 LIBS=$ac_check_lib_save_LIBS
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12003 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12004 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12005 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12006 else
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12008 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12009 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12010 $as_echo_n "(cached) " >&6
12011 else
12012 ac_check_lib_save_LIBS=$LIBS
12013 LIBS="-lsvld $LIBS"
12014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12017 /* Override any GCC internal prototype to avoid an error.
12018 Use char because int might match the return type of a GCC
12019 builtin and then its argument prototype would still apply. */
12020 #ifdef __cplusplus
12021 extern "C"
12022 #endif
12023 char dlopen ();
12025 main ()
12027 return dlopen ();
12029 return 0;
12031 _ACEOF
12032 if ac_fn_c_try_link "$LINENO"; then :
12033 ac_cv_lib_svld_dlopen=yes
12034 else
12035 ac_cv_lib_svld_dlopen=no
12037 rm -f core conftest.err conftest.$ac_objext \
12038 conftest$ac_exeext conftest.$ac_ext
12039 LIBS=$ac_check_lib_save_LIBS
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12042 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12043 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12044 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12045 else
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12047 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12048 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12049 $as_echo_n "(cached) " >&6
12050 else
12051 ac_check_lib_save_LIBS=$LIBS
12052 LIBS="-ldld $LIBS"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12059 #ifdef __cplusplus
12060 extern "C"
12061 #endif
12062 char dld_link ();
12064 main ()
12066 return dld_link ();
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_link "$LINENO"; then :
12072 ac_cv_lib_dld_dld_link=yes
12073 else
12074 ac_cv_lib_dld_dld_link=no
12076 rm -f core conftest.err conftest.$ac_objext \
12077 conftest$ac_exeext conftest.$ac_ext
12078 LIBS=$ac_check_lib_save_LIBS
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12081 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12082 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12083 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12102 esac
12104 if test "x$lt_cv_dlopen" != xno; then
12105 enable_dlopen=yes
12106 else
12107 enable_dlopen=no
12110 case $lt_cv_dlopen in
12111 dlopen)
12112 save_CPPFLAGS="$CPPFLAGS"
12113 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12115 save_LDFLAGS="$LDFLAGS"
12116 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12118 save_LIBS="$LIBS"
12119 LIBS="$lt_cv_dlopen_libs $LIBS"
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12122 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12123 if test "${lt_cv_dlopen_self+set}" = set; then :
12124 $as_echo_n "(cached) " >&6
12125 else
12126 if test "$cross_compiling" = yes; then :
12127 lt_cv_dlopen_self=cross
12128 else
12129 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12130 lt_status=$lt_dlunknown
12131 cat > conftest.$ac_ext <<_LT_EOF
12132 #line 12132 "configure"
12133 #include "confdefs.h"
12135 #if HAVE_DLFCN_H
12136 #include <dlfcn.h>
12137 #endif
12139 #include <stdio.h>
12141 #ifdef RTLD_GLOBAL
12142 # define LT_DLGLOBAL RTLD_GLOBAL
12143 #else
12144 # ifdef DL_GLOBAL
12145 # define LT_DLGLOBAL DL_GLOBAL
12146 # else
12147 # define LT_DLGLOBAL 0
12148 # endif
12149 #endif
12151 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12152 find out it does not work in some platform. */
12153 #ifndef LT_DLLAZY_OR_NOW
12154 # ifdef RTLD_LAZY
12155 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12156 # else
12157 # ifdef DL_LAZY
12158 # define LT_DLLAZY_OR_NOW DL_LAZY
12159 # else
12160 # ifdef RTLD_NOW
12161 # define LT_DLLAZY_OR_NOW RTLD_NOW
12162 # else
12163 # ifdef DL_NOW
12164 # define LT_DLLAZY_OR_NOW DL_NOW
12165 # else
12166 # define LT_DLLAZY_OR_NOW 0
12167 # endif
12168 # endif
12169 # endif
12170 # endif
12171 #endif
12173 /* When -fvisbility=hidden is used, assume the code has been annotated
12174 correspondingly for the symbols needed. */
12175 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12176 void fnord () __attribute__((visibility("default")));
12177 #endif
12179 void fnord () { int i=42; }
12180 int main ()
12182 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12183 int status = $lt_dlunknown;
12185 if (self)
12187 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12188 else
12190 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12191 else puts (dlerror ());
12193 /* dlclose (self); */
12195 else
12196 puts (dlerror ());
12198 return status;
12200 _LT_EOF
12201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12202 (eval $ac_link) 2>&5
12203 ac_status=$?
12204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12205 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12206 (./conftest; exit; ) >&5 2>/dev/null
12207 lt_status=$?
12208 case x$lt_status in
12209 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12210 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12211 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12212 esac
12213 else :
12214 # compilation failed
12215 lt_cv_dlopen_self=no
12218 rm -fr conftest*
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12223 $as_echo "$lt_cv_dlopen_self" >&6; }
12225 if test "x$lt_cv_dlopen_self" = xyes; then
12226 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12228 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12229 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12230 $as_echo_n "(cached) " >&6
12231 else
12232 if test "$cross_compiling" = yes; then :
12233 lt_cv_dlopen_self_static=cross
12234 else
12235 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12236 lt_status=$lt_dlunknown
12237 cat > conftest.$ac_ext <<_LT_EOF
12238 #line 12238 "configure"
12239 #include "confdefs.h"
12241 #if HAVE_DLFCN_H
12242 #include <dlfcn.h>
12243 #endif
12245 #include <stdio.h>
12247 #ifdef RTLD_GLOBAL
12248 # define LT_DLGLOBAL RTLD_GLOBAL
12249 #else
12250 # ifdef DL_GLOBAL
12251 # define LT_DLGLOBAL DL_GLOBAL
12252 # else
12253 # define LT_DLGLOBAL 0
12254 # endif
12255 #endif
12257 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12258 find out it does not work in some platform. */
12259 #ifndef LT_DLLAZY_OR_NOW
12260 # ifdef RTLD_LAZY
12261 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12262 # else
12263 # ifdef DL_LAZY
12264 # define LT_DLLAZY_OR_NOW DL_LAZY
12265 # else
12266 # ifdef RTLD_NOW
12267 # define LT_DLLAZY_OR_NOW RTLD_NOW
12268 # else
12269 # ifdef DL_NOW
12270 # define LT_DLLAZY_OR_NOW DL_NOW
12271 # else
12272 # define LT_DLLAZY_OR_NOW 0
12273 # endif
12274 # endif
12275 # endif
12276 # endif
12277 #endif
12279 /* When -fvisbility=hidden is used, assume the code has been annotated
12280 correspondingly for the symbols needed. */
12281 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12282 void fnord () __attribute__((visibility("default")));
12283 #endif
12285 void fnord () { int i=42; }
12286 int main ()
12288 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12289 int status = $lt_dlunknown;
12291 if (self)
12293 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12294 else
12296 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12297 else puts (dlerror ());
12299 /* dlclose (self); */
12301 else
12302 puts (dlerror ());
12304 return status;
12306 _LT_EOF
12307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12308 (eval $ac_link) 2>&5
12309 ac_status=$?
12310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12311 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12312 (./conftest; exit; ) >&5 2>/dev/null
12313 lt_status=$?
12314 case x$lt_status in
12315 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12316 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12317 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12318 esac
12319 else :
12320 # compilation failed
12321 lt_cv_dlopen_self_static=no
12324 rm -fr conftest*
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12329 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12332 CPPFLAGS="$save_CPPFLAGS"
12333 LDFLAGS="$save_LDFLAGS"
12334 LIBS="$save_LIBS"
12336 esac
12338 case $lt_cv_dlopen_self in
12339 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12340 *) enable_dlopen_self=unknown ;;
12341 esac
12343 case $lt_cv_dlopen_self_static in
12344 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12345 *) enable_dlopen_self_static=unknown ;;
12346 esac
12365 striplib=
12366 old_striplib=
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12368 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12369 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12370 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12371 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12373 $as_echo "yes" >&6; }
12374 else
12375 # FIXME - insert some real tests, host_os isn't really good enough
12376 case $host_os in
12377 darwin*)
12378 if test -n "$STRIP" ; then
12379 striplib="$STRIP -x"
12380 old_striplib="$STRIP -S"
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12382 $as_echo "yes" >&6; }
12383 else
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12385 $as_echo "no" >&6; }
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12390 $as_echo "no" >&6; }
12392 esac
12406 # Report which library types will actually be built
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12408 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12410 $as_echo "$can_build_shared" >&6; }
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12413 $as_echo_n "checking whether to build shared libraries... " >&6; }
12414 test "$can_build_shared" = "no" && enable_shared=no
12416 # On AIX, shared libraries and static libraries use the same namespace, and
12417 # are all built from PIC.
12418 case $host_os in
12419 aix3*)
12420 test "$enable_shared" = yes && enable_static=no
12421 if test -n "$RANLIB"; then
12422 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12423 postinstall_cmds='$RANLIB $lib'
12427 aix[4-9]*)
12428 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12429 test "$enable_shared" = yes && enable_static=no
12432 esac
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12434 $as_echo "$enable_shared" >&6; }
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12437 $as_echo_n "checking whether to build static libraries... " >&6; }
12438 # Make sure either enable_shared or enable_static is yes.
12439 test "$enable_shared" = yes || enable_static=yes
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12441 $as_echo "$enable_static" >&6; }
12447 ac_ext=c
12448 ac_cpp='$CPP $CPPFLAGS'
12449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12453 CC="$lt_save_CC"
12455 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12456 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12457 (test "X$CXX" != "Xg++"))) ; then
12458 ac_ext=cpp
12459 ac_cpp='$CXXCPP $CPPFLAGS'
12460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12464 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12465 if test -z "$CXXCPP"; then
12466 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12467 $as_echo_n "(cached) " >&6
12468 else
12469 # Double quotes because CXXCPP needs to be expanded
12470 for CXXCPP in "$CXX -E" "/lib/cpp"
12472 ac_preproc_ok=false
12473 for ac_cxx_preproc_warn_flag in '' yes
12475 # Use a header file that comes with gcc, so configuring glibc
12476 # with a fresh cross-compiler works.
12477 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12478 # <limits.h> exists even on freestanding compilers.
12479 # On the NeXT, cc -E runs the code through the compiler's parser,
12480 # not just through cpp. "Syntax error" is here to catch this case.
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12483 #ifdef __STDC__
12484 # include <limits.h>
12485 #else
12486 # include <assert.h>
12487 #endif
12488 Syntax error
12489 _ACEOF
12490 if ac_fn_cxx_try_cpp "$LINENO"; then :
12492 else
12493 # Broken: fails on valid input.
12494 continue
12496 rm -f conftest.err conftest.$ac_ext
12498 # OK, works on sane cases. Now check whether nonexistent headers
12499 # can be detected and how.
12500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12502 #include <ac_nonexistent.h>
12503 _ACEOF
12504 if ac_fn_cxx_try_cpp "$LINENO"; then :
12505 # Broken: success on invalid input.
12506 continue
12507 else
12508 # Passes both tests.
12509 ac_preproc_ok=:
12510 break
12512 rm -f conftest.err conftest.$ac_ext
12514 done
12515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12516 rm -f conftest.err conftest.$ac_ext
12517 if $ac_preproc_ok; then :
12518 break
12521 done
12522 ac_cv_prog_CXXCPP=$CXXCPP
12525 CXXCPP=$ac_cv_prog_CXXCPP
12526 else
12527 ac_cv_prog_CXXCPP=$CXXCPP
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12530 $as_echo "$CXXCPP" >&6; }
12531 ac_preproc_ok=false
12532 for ac_cxx_preproc_warn_flag in '' yes
12534 # Use a header file that comes with gcc, so configuring glibc
12535 # with a fresh cross-compiler works.
12536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12537 # <limits.h> exists even on freestanding compilers.
12538 # On the NeXT, cc -E runs the code through the compiler's parser,
12539 # not just through cpp. "Syntax error" is here to catch this case.
12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12542 #ifdef __STDC__
12543 # include <limits.h>
12544 #else
12545 # include <assert.h>
12546 #endif
12547 Syntax error
12548 _ACEOF
12549 if ac_fn_cxx_try_cpp "$LINENO"; then :
12551 else
12552 # Broken: fails on valid input.
12553 continue
12555 rm -f conftest.err conftest.$ac_ext
12557 # OK, works on sane cases. Now check whether nonexistent headers
12558 # can be detected and how.
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12561 #include <ac_nonexistent.h>
12562 _ACEOF
12563 if ac_fn_cxx_try_cpp "$LINENO"; then :
12564 # Broken: success on invalid input.
12565 continue
12566 else
12567 # Passes both tests.
12568 ac_preproc_ok=:
12569 break
12571 rm -f conftest.err conftest.$ac_ext
12573 done
12574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12575 rm -f conftest.err conftest.$ac_ext
12576 if $ac_preproc_ok; then :
12578 else
12579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12581 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12582 See \`config.log' for more details." "$LINENO" 5; }
12585 ac_ext=c
12586 ac_cpp='$CPP $CPPFLAGS'
12587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12591 else
12592 _lt_caught_CXX_error=yes
12595 ac_ext=cpp
12596 ac_cpp='$CXXCPP $CPPFLAGS'
12597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12601 archive_cmds_need_lc_CXX=no
12602 allow_undefined_flag_CXX=
12603 always_export_symbols_CXX=no
12604 archive_expsym_cmds_CXX=
12605 compiler_needs_object_CXX=no
12606 export_dynamic_flag_spec_CXX=
12607 hardcode_direct_CXX=no
12608 hardcode_direct_absolute_CXX=no
12609 hardcode_libdir_flag_spec_CXX=
12610 hardcode_libdir_flag_spec_ld_CXX=
12611 hardcode_libdir_separator_CXX=
12612 hardcode_minus_L_CXX=no
12613 hardcode_shlibpath_var_CXX=unsupported
12614 hardcode_automatic_CXX=no
12615 inherit_rpath_CXX=no
12616 module_cmds_CXX=
12617 module_expsym_cmds_CXX=
12618 link_all_deplibs_CXX=unknown
12619 old_archive_cmds_CXX=$old_archive_cmds
12620 reload_flag_CXX=$reload_flag
12621 reload_cmds_CXX=$reload_cmds
12622 no_undefined_flag_CXX=
12623 whole_archive_flag_spec_CXX=
12624 enable_shared_with_static_runtimes_CXX=no
12626 # Source file extension for C++ test sources.
12627 ac_ext=cpp
12629 # Object file extension for compiled C++ test sources.
12630 objext=o
12631 objext_CXX=$objext
12633 # No sense in running all these tests if we already determined that
12634 # the CXX compiler isn't working. Some variables (like enable_shared)
12635 # are currently assumed to apply to all compilers on this platform,
12636 # and will be corrupted by setting them based on a non-working compiler.
12637 if test "$_lt_caught_CXX_error" != yes; then
12638 # Code to be used in simple compile tests
12639 lt_simple_compile_test_code="int some_variable = 0;"
12641 # Code to be used in simple link tests
12642 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12644 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12651 # If no C compiler was specified, use CC.
12652 LTCC=${LTCC-"$CC"}
12654 # If no C compiler flags were specified, use CFLAGS.
12655 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12657 # Allow CC to be a program name with arguments.
12658 compiler=$CC
12661 # save warnings/boilerplate of simple test code
12662 ac_outfile=conftest.$ac_objext
12663 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12664 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12665 _lt_compiler_boilerplate=`cat conftest.err`
12666 $RM conftest*
12668 ac_outfile=conftest.$ac_objext
12669 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12670 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12671 _lt_linker_boilerplate=`cat conftest.err`
12672 $RM -r conftest*
12675 # Allow CC to be a program name with arguments.
12676 lt_save_CC=$CC
12677 lt_save_LD=$LD
12678 lt_save_GCC=$GCC
12679 GCC=$GXX
12680 lt_save_with_gnu_ld=$with_gnu_ld
12681 lt_save_path_LD=$lt_cv_path_LD
12682 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12683 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12684 else
12685 $as_unset lt_cv_prog_gnu_ld
12687 if test -n "${lt_cv_path_LDCXX+set}"; then
12688 lt_cv_path_LD=$lt_cv_path_LDCXX
12689 else
12690 $as_unset lt_cv_path_LD
12692 test -z "${LDCXX+set}" || LD=$LDCXX
12693 CC=${CXX-"c++"}
12694 compiler=$CC
12695 compiler_CXX=$CC
12696 for cc_temp in $compiler""; do
12697 case $cc_temp in
12698 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12699 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12700 \-*) ;;
12701 *) break;;
12702 esac
12703 done
12704 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12707 if test -n "$compiler"; then
12708 # We don't want -fno-exception when compiling C++ code, so set the
12709 # no_builtin_flag separately
12710 if test "$GXX" = yes; then
12711 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12712 else
12713 lt_prog_compiler_no_builtin_flag_CXX=
12716 if test "$GXX" = yes; then
12717 # Set up default GNU C++ configuration
12721 # Check whether --with-gnu-ld was given.
12722 if test "${with_gnu_ld+set}" = set; then :
12723 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12724 else
12725 with_gnu_ld=no
12728 ac_prog=ld
12729 if test "$GCC" = yes; then
12730 # Check if gcc -print-prog-name=ld gives a path.
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12732 $as_echo_n "checking for ld used by $CC... " >&6; }
12733 case $host in
12734 *-*-mingw*)
12735 # gcc leaves a trailing carriage return which upsets mingw
12736 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12738 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12739 esac
12740 case $ac_prog in
12741 # Accept absolute paths.
12742 [\\/]* | ?:[\\/]*)
12743 re_direlt='/[^/][^/]*/\.\./'
12744 # Canonicalize the pathname of ld
12745 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12746 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12747 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12748 done
12749 test -z "$LD" && LD="$ac_prog"
12752 # If it fails, then pretend we aren't using GCC.
12753 ac_prog=ld
12756 # If it is relative, then search for the first ld in PATH.
12757 with_gnu_ld=unknown
12759 esac
12760 elif test "$with_gnu_ld" = yes; then
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12762 $as_echo_n "checking for GNU ld... " >&6; }
12763 else
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12765 $as_echo_n "checking for non-GNU ld... " >&6; }
12767 if test "${lt_cv_path_LD+set}" = set; then :
12768 $as_echo_n "(cached) " >&6
12769 else
12770 if test -z "$LD"; then
12771 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12772 for ac_dir in $PATH; do
12773 IFS="$lt_save_ifs"
12774 test -z "$ac_dir" && ac_dir=.
12775 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12776 lt_cv_path_LD="$ac_dir/$ac_prog"
12777 # Check to see if the program is GNU ld. I'd rather use --version,
12778 # but apparently some variants of GNU ld only accept -v.
12779 # Break only if it was the GNU/non-GNU ld that we prefer.
12780 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12781 *GNU* | *'with BFD'*)
12782 test "$with_gnu_ld" != no && break
12785 test "$with_gnu_ld" != yes && break
12787 esac
12789 done
12790 IFS="$lt_save_ifs"
12791 else
12792 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12796 LD="$lt_cv_path_LD"
12797 if test -n "$LD"; then
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12799 $as_echo "$LD" >&6; }
12800 else
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12802 $as_echo "no" >&6; }
12804 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12806 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12807 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12808 $as_echo_n "(cached) " >&6
12809 else
12810 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12811 case `$LD -v 2>&1 </dev/null` in
12812 *GNU* | *'with BFD'*)
12813 lt_cv_prog_gnu_ld=yes
12816 lt_cv_prog_gnu_ld=no
12818 esac
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12821 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12822 with_gnu_ld=$lt_cv_prog_gnu_ld
12830 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12831 # archiving commands below assume that GNU ld is being used.
12832 if test "$with_gnu_ld" = yes; then
12833 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834 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'
12836 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12837 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12839 # If archive_cmds runs LD, not CC, wlarc should be empty
12840 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12841 # investigate it a little bit more. (MM)
12842 wlarc='${wl}'
12844 # ancient GNU ld didn't support --whole-archive et. al.
12845 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12846 $GREP 'no-whole-archive' > /dev/null; then
12847 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12848 else
12849 whole_archive_flag_spec_CXX=
12851 else
12852 with_gnu_ld=no
12853 wlarc=
12855 # A generic and very simple default shared library creation
12856 # command for GNU C++ for the case where it uses the native
12857 # linker, instead of GNU ld. If possible, this setting should
12858 # overridden to take advantage of the native linker features on
12859 # the platform it is being used on.
12860 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12863 # Commands to make compiler produce verbose output that lists
12864 # what "hidden" libraries, object files and flags are used when
12865 # linking a shared library.
12866 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12868 else
12869 GXX=no
12870 with_gnu_ld=no
12871 wlarc=
12874 # PORTME: fill in a description of your system's C++ link characteristics
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12876 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12877 ld_shlibs_CXX=yes
12878 case $host_os in
12879 aix3*)
12880 # FIXME: insert proper C++ library support
12881 ld_shlibs_CXX=no
12883 aix[4-9]*)
12884 if test "$host_cpu" = ia64; then
12885 # On IA64, the linker does run time linking by default, so we don't
12886 # have to do anything special.
12887 aix_use_runtimelinking=no
12888 exp_sym_flag='-Bexport'
12889 no_entry_flag=""
12890 else
12891 aix_use_runtimelinking=no
12893 # Test if we are trying to use run time linking or normal
12894 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12895 # need to do runtime linking.
12896 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12897 for ld_flag in $LDFLAGS; do
12898 case $ld_flag in
12899 *-brtl*)
12900 aix_use_runtimelinking=yes
12901 break
12903 esac
12904 done
12906 esac
12908 exp_sym_flag='-bexport'
12909 no_entry_flag='-bnoentry'
12912 # When large executables or shared objects are built, AIX ld can
12913 # have problems creating the table of contents. If linking a library
12914 # or program results in "error TOC overflow" add -mminimal-toc to
12915 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12916 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12918 archive_cmds_CXX=''
12919 hardcode_direct_CXX=yes
12920 hardcode_direct_absolute_CXX=yes
12921 hardcode_libdir_separator_CXX=':'
12922 link_all_deplibs_CXX=yes
12923 file_list_spec_CXX='${wl}-f,'
12925 if test "$GXX" = yes; then
12926 case $host_os in aix4.[012]|aix4.[012].*)
12927 # We only want to do this on AIX 4.2 and lower, the check
12928 # below for broken collect2 doesn't work under 4.3+
12929 collect2name=`${CC} -print-prog-name=collect2`
12930 if test -f "$collect2name" &&
12931 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12932 then
12933 # We have reworked collect2
12935 else
12936 # We have old collect2
12937 hardcode_direct_CXX=unsupported
12938 # It fails to find uninstalled libraries when the uninstalled
12939 # path is not listed in the libpath. Setting hardcode_minus_L
12940 # to unsupported forces relinking
12941 hardcode_minus_L_CXX=yes
12942 hardcode_libdir_flag_spec_CXX='-L$libdir'
12943 hardcode_libdir_separator_CXX=
12945 esac
12946 shared_flag='-shared'
12947 if test "$aix_use_runtimelinking" = yes; then
12948 shared_flag="$shared_flag "'${wl}-G'
12950 else
12951 # not using gcc
12952 if test "$host_cpu" = ia64; then
12953 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12954 # chokes on -Wl,-G. The following line is correct:
12955 shared_flag='-G'
12956 else
12957 if test "$aix_use_runtimelinking" = yes; then
12958 shared_flag='${wl}-G'
12959 else
12960 shared_flag='${wl}-bM:SRE'
12965 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12966 # It seems that -bexpall does not export symbols beginning with
12967 # underscore (_), so it is better to generate a list of symbols to
12968 # export.
12969 always_export_symbols_CXX=yes
12970 if test "$aix_use_runtimelinking" = yes; then
12971 # Warning - without using the other runtime loading flags (-brtl),
12972 # -berok will link without error, but may produce a broken library.
12973 allow_undefined_flag_CXX='-berok'
12974 # Determine the default libpath from the value encoded in an empty
12975 # executable.
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12980 main ()
12984 return 0;
12986 _ACEOF
12987 if ac_fn_cxx_try_link "$LINENO"; then :
12989 lt_aix_libpath_sed='
12990 /Import File Strings/,/^$/ {
12991 /^0/ {
12992 s/^0 *\(.*\)$/\1/
12996 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12997 # Check for a 64-bit object if we didn't find anything.
12998 if test -z "$aix_libpath"; then
12999 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13002 rm -f core conftest.err conftest.$ac_objext \
13003 conftest$ac_exeext conftest.$ac_ext
13004 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13006 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13008 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"
13009 else
13010 if test "$host_cpu" = ia64; then
13011 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13012 allow_undefined_flag_CXX="-z nodefs"
13013 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"
13014 else
13015 # Determine the default libpath from the value encoded in an
13016 # empty executable.
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13021 main ()
13025 return 0;
13027 _ACEOF
13028 if ac_fn_cxx_try_link "$LINENO"; then :
13030 lt_aix_libpath_sed='
13031 /Import File Strings/,/^$/ {
13032 /^0/ {
13033 s/^0 *\(.*\)$/\1/
13037 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13038 # Check for a 64-bit object if we didn't find anything.
13039 if test -z "$aix_libpath"; then
13040 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13045 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13047 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13048 # Warning - without using the other run time loading flags,
13049 # -berok will link without error, but may produce a broken library.
13050 no_undefined_flag_CXX=' ${wl}-bernotok'
13051 allow_undefined_flag_CXX=' ${wl}-berok'
13052 if test "$with_gnu_ld" = yes; then
13053 # We only use this code for GNU lds that support --whole-archive.
13054 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13055 else
13056 # Exported symbols can be pulled into shared objects from archives
13057 whole_archive_flag_spec_CXX='$convenience'
13059 archive_cmds_need_lc_CXX=yes
13060 # This is similar to how AIX traditionally builds its shared
13061 # libraries.
13062 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'
13067 beos*)
13068 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13069 allow_undefined_flag_CXX=unsupported
13070 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13071 # support --undefined. This deserves some investigation. FIXME
13072 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13073 else
13074 ld_shlibs_CXX=no
13078 chorus*)
13079 case $cc_basename in
13081 # FIXME: insert proper C++ library support
13082 ld_shlibs_CXX=no
13084 esac
13087 cygwin* | mingw* | pw32* | cegcc*)
13088 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13089 # as there is no search path for DLLs.
13090 hardcode_libdir_flag_spec_CXX='-L$libdir'
13091 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13092 allow_undefined_flag_CXX=unsupported
13093 always_export_symbols_CXX=no
13094 enable_shared_with_static_runtimes_CXX=yes
13096 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13097 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'
13098 # If the export-symbols file already is a .def file (1st line
13099 # is EXPORTS), use it as is; otherwise, prepend...
13100 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13101 cp $export_symbols $output_objdir/$soname.def;
13102 else
13103 echo EXPORTS > $output_objdir/$soname.def;
13104 cat $export_symbols >> $output_objdir/$soname.def;
13106 $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'
13107 else
13108 ld_shlibs_CXX=no
13111 darwin* | rhapsody*)
13114 archive_cmds_need_lc_CXX=no
13115 hardcode_direct_CXX=no
13116 hardcode_automatic_CXX=yes
13117 hardcode_shlibpath_var_CXX=unsupported
13118 if test "$lt_cv_ld_force_load" = "yes"; then
13119 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\"`'
13120 else
13121 whole_archive_flag_spec_CXX=''
13123 link_all_deplibs_CXX=yes
13124 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13125 case $cc_basename in
13126 ifort*) _lt_dar_can_shared=yes ;;
13127 *) _lt_dar_can_shared=$GCC ;;
13128 esac
13129 if test "$_lt_dar_can_shared" = "yes"; then
13130 output_verbose_link_cmd=func_echo_all
13131 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}"
13132 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13133 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}"
13134 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}"
13135 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13136 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}"
13137 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}"
13140 else
13141 ld_shlibs_CXX=no
13146 dgux*)
13147 case $cc_basename in
13148 ec++*)
13149 # FIXME: insert proper C++ library support
13150 ld_shlibs_CXX=no
13152 ghcx*)
13153 # Green Hills C++ Compiler
13154 # FIXME: insert proper C++ library support
13155 ld_shlibs_CXX=no
13158 # FIXME: insert proper C++ library support
13159 ld_shlibs_CXX=no
13161 esac
13164 freebsd2.*)
13165 # C++ shared libraries reported to be fairly broken before
13166 # switch to ELF
13167 ld_shlibs_CXX=no
13170 freebsd-elf*)
13171 archive_cmds_need_lc_CXX=no
13174 freebsd* | dragonfly*)
13175 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13176 # conventions
13177 ld_shlibs_CXX=yes
13180 gnu*)
13183 haiku*)
13184 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13185 link_all_deplibs_CXX=yes
13188 hpux9*)
13189 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13190 hardcode_libdir_separator_CXX=:
13191 export_dynamic_flag_spec_CXX='${wl}-E'
13192 hardcode_direct_CXX=yes
13193 hardcode_minus_L_CXX=yes # Not in the search PATH,
13194 # but as the default
13195 # location of the library.
13197 case $cc_basename in
13198 CC*)
13199 # FIXME: insert proper C++ library support
13200 ld_shlibs_CXX=no
13202 aCC*)
13203 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'
13204 # Commands to make compiler produce verbose output that lists
13205 # what "hidden" libraries, object files and flags are used when
13206 # linking a shared library.
13208 # There doesn't appear to be a way to prevent this compiler from
13209 # explicitly linking system object files so we need to strip them
13210 # from the output so that they don't get included in the library
13211 # dependencies.
13212 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"'
13215 if test "$GXX" = yes; then
13216 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
13217 else
13218 # FIXME: insert proper C++ library support
13219 ld_shlibs_CXX=no
13222 esac
13225 hpux10*|hpux11*)
13226 if test $with_gnu_ld = no; then
13227 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13228 hardcode_libdir_separator_CXX=:
13230 case $host_cpu in
13231 hppa*64*|ia64*)
13234 export_dynamic_flag_spec_CXX='${wl}-E'
13236 esac
13238 case $host_cpu in
13239 hppa*64*|ia64*)
13240 hardcode_direct_CXX=no
13241 hardcode_shlibpath_var_CXX=no
13244 hardcode_direct_CXX=yes
13245 hardcode_direct_absolute_CXX=yes
13246 hardcode_minus_L_CXX=yes # Not in the search PATH,
13247 # but as the default
13248 # location of the library.
13250 esac
13252 case $cc_basename in
13253 CC*)
13254 # FIXME: insert proper C++ library support
13255 ld_shlibs_CXX=no
13257 aCC*)
13258 case $host_cpu in
13259 hppa*64*)
13260 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13262 ia64*)
13263 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13266 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13268 esac
13269 # Commands to make compiler produce verbose output that lists
13270 # what "hidden" libraries, object files and flags are used when
13271 # linking a shared library.
13273 # There doesn't appear to be a way to prevent this compiler from
13274 # explicitly linking system object files so we need to strip them
13275 # from the output so that they don't get included in the library
13276 # dependencies.
13277 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"'
13280 if test "$GXX" = yes; then
13281 if test $with_gnu_ld = no; then
13282 case $host_cpu in
13283 hppa*64*)
13284 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13286 ia64*)
13287 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13290 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13292 esac
13294 else
13295 # FIXME: insert proper C++ library support
13296 ld_shlibs_CXX=no
13299 esac
13302 interix[3-9]*)
13303 hardcode_direct_CXX=no
13304 hardcode_shlibpath_var_CXX=no
13305 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13306 export_dynamic_flag_spec_CXX='${wl}-E'
13307 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13308 # Instead, shared libraries are loaded at an image base (0x10000000 by
13309 # default) and relocated if they conflict, which is a slow very memory
13310 # consuming and fragmenting process. To avoid this, we pick a random,
13311 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13312 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13313 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'
13314 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'
13316 irix5* | irix6*)
13317 case $cc_basename in
13318 CC*)
13319 # SGI C++
13320 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'
13322 # Archives containing C++ object files must be created using
13323 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13324 # necessary to make sure instantiated templates are included
13325 # in the archive.
13326 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13329 if test "$GXX" = yes; then
13330 if test "$with_gnu_ld" = no; then
13331 archive_cmds_CXX='$CC -shared -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'
13332 else
13333 archive_cmds_CXX='$CC -shared -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'
13336 link_all_deplibs_CXX=yes
13338 esac
13339 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13340 hardcode_libdir_separator_CXX=:
13341 inherit_rpath_CXX=yes
13344 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13345 case $cc_basename in
13346 KCC*)
13347 # Kuck and Associates, Inc. (KAI) C++ Compiler
13349 # KCC will only create a shared library if the output file
13350 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13351 # to its proper name (with version) after linking.
13352 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'
13353 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'
13354 # Commands to make compiler produce verbose output that lists
13355 # what "hidden" libraries, object files and flags are used when
13356 # linking a shared library.
13358 # There doesn't appear to be a way to prevent this compiler from
13359 # explicitly linking system object files so we need to strip them
13360 # from the output so that they don't get included in the library
13361 # dependencies.
13362 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"'
13364 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13365 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13367 # Archives containing C++ object files must be created using
13368 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13369 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13371 icpc* | ecpc* )
13372 # Intel C++
13373 with_gnu_ld=yes
13374 # version 8.0 and above of icpc choke on multiply defined symbols
13375 # if we add $predep_objects and $postdep_objects, however 7.1 and
13376 # earlier do not add the objects themselves.
13377 case `$CC -V 2>&1` in
13378 *"Version 7."*)
13379 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13380 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'
13382 *) # Version 8.0 or newer
13383 tmp_idyn=
13384 case $host_cpu in
13385 ia64*) tmp_idyn=' -i_dynamic';;
13386 esac
13387 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13388 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'
13390 esac
13391 archive_cmds_need_lc_CXX=no
13392 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13393 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13394 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13396 pgCC* | pgcpp*)
13397 # Portland Group C++ compiler
13398 case `$CC -V` in
13399 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13400 prelink_cmds_CXX='tpldir=Template.dir~
13401 rm -rf $tpldir~
13402 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13403 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13404 old_archive_cmds_CXX='tpldir=Template.dir~
13405 rm -rf $tpldir~
13406 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13407 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13408 $RANLIB $oldlib'
13409 archive_cmds_CXX='tpldir=Template.dir~
13410 rm -rf $tpldir~
13411 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13412 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13413 archive_expsym_cmds_CXX='tpldir=Template.dir~
13414 rm -rf $tpldir~
13415 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13416 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13418 *) # Version 6 and above use weak symbols
13419 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13420 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'
13422 esac
13424 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13425 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13426 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'
13428 cxx*)
13429 # Compaq C++
13430 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13431 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'
13433 runpath_var=LD_RUN_PATH
13434 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13435 hardcode_libdir_separator_CXX=:
13437 # Commands to make compiler produce verbose output that lists
13438 # what "hidden" libraries, object files and flags are used when
13439 # linking a shared library.
13441 # There doesn't appear to be a way to prevent this compiler from
13442 # explicitly linking system object files so we need to strip them
13443 # from the output so that they don't get included in the library
13444 # dependencies.
13445 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'
13447 xl* | mpixl* | bgxl*)
13448 # IBM XL 8.0 on PPC, with GNU ld
13449 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13450 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13451 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13452 if test "x$supports_anon_versioning" = xyes; then
13453 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13454 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13455 echo "local: *; };" >> $output_objdir/$libname.ver~
13456 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13460 case `$CC -V 2>&1 | sed 5q` in
13461 *Sun\ C*)
13462 # Sun C++ 5.9
13463 no_undefined_flag_CXX=' -zdefs'
13464 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13465 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'
13466 hardcode_libdir_flag_spec_CXX='-R$libdir'
13467 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'
13468 compiler_needs_object_CXX=yes
13470 # Not sure whether something based on
13471 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13472 # would be better.
13473 output_verbose_link_cmd='func_echo_all'
13475 # Archives containing C++ object files must be created using
13476 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13477 # necessary to make sure instantiated templates are included
13478 # in the archive.
13479 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13481 esac
13483 esac
13486 lynxos*)
13487 # FIXME: insert proper C++ library support
13488 ld_shlibs_CXX=no
13491 m88k*)
13492 # FIXME: insert proper C++ library support
13493 ld_shlibs_CXX=no
13496 mvs*)
13497 case $cc_basename in
13498 cxx*)
13499 # FIXME: insert proper C++ library support
13500 ld_shlibs_CXX=no
13503 # FIXME: insert proper C++ library support
13504 ld_shlibs_CXX=no
13506 esac
13509 netbsd*)
13510 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13511 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13512 wlarc=
13513 hardcode_libdir_flag_spec_CXX='-R$libdir'
13514 hardcode_direct_CXX=yes
13515 hardcode_shlibpath_var_CXX=no
13517 # Workaround some broken pre-1.5 toolchains
13518 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13521 *nto* | *qnx*)
13522 ld_shlibs_CXX=yes
13525 openbsd2*)
13526 # C++ shared libraries are fairly broken
13527 ld_shlibs_CXX=no
13530 openbsd*)
13531 if test -f /usr/libexec/ld.so; then
13532 hardcode_direct_CXX=yes
13533 hardcode_shlibpath_var_CXX=no
13534 hardcode_direct_absolute_CXX=yes
13535 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13536 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13537 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13538 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13539 export_dynamic_flag_spec_CXX='${wl}-E'
13540 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13542 output_verbose_link_cmd=func_echo_all
13543 else
13544 ld_shlibs_CXX=no
13548 osf3* | osf4* | osf5*)
13549 case $cc_basename in
13550 KCC*)
13551 # Kuck and Associates, Inc. (KAI) C++ Compiler
13553 # KCC will only create a shared library if the output file
13554 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13555 # to its proper name (with version) after linking.
13556 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'
13558 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13559 hardcode_libdir_separator_CXX=:
13561 # Archives containing C++ object files must be created using
13562 # the KAI C++ compiler.
13563 case $host in
13564 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13565 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13566 esac
13568 RCC*)
13569 # Rational C++ 2.4.1
13570 # FIXME: insert proper C++ library support
13571 ld_shlibs_CXX=no
13573 cxx*)
13574 case $host in
13575 osf3*)
13576 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13577 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'
13578 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13581 allow_undefined_flag_CXX=' -expect_unresolved \*'
13582 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'
13583 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13584 echo "-hidden">> $lib.exp~
13585 $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~
13586 $RM $lib.exp'
13587 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13589 esac
13591 hardcode_libdir_separator_CXX=:
13593 # Commands to make compiler produce verbose output that lists
13594 # what "hidden" libraries, object files and flags are used when
13595 # linking a shared library.
13597 # There doesn't appear to be a way to prevent this compiler from
13598 # explicitly linking system object files so we need to strip them
13599 # from the output so that they don't get included in the library
13600 # dependencies.
13601 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"'
13604 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13605 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13606 case $host in
13607 osf3*)
13608 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'
13611 archive_cmds_CXX='$CC -shared -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'
13613 esac
13615 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13616 hardcode_libdir_separator_CXX=:
13618 # Commands to make compiler produce verbose output that lists
13619 # what "hidden" libraries, object files and flags are used when
13620 # linking a shared library.
13621 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13623 else
13624 # FIXME: insert proper C++ library support
13625 ld_shlibs_CXX=no
13628 esac
13631 psos*)
13632 # FIXME: insert proper C++ library support
13633 ld_shlibs_CXX=no
13636 sunos4*)
13637 case $cc_basename in
13638 CC*)
13639 # Sun C++ 4.x
13640 # FIXME: insert proper C++ library support
13641 ld_shlibs_CXX=no
13643 lcc*)
13644 # Lucid
13645 # FIXME: insert proper C++ library support
13646 ld_shlibs_CXX=no
13649 # FIXME: insert proper C++ library support
13650 ld_shlibs_CXX=no
13652 esac
13655 solaris*)
13656 case $cc_basename in
13657 CC*)
13658 # Sun C++ 4.2, 5.x and Centerline C++
13659 archive_cmds_need_lc_CXX=yes
13660 no_undefined_flag_CXX=' -zdefs'
13661 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13662 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13663 $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'
13665 hardcode_libdir_flag_spec_CXX='-R$libdir'
13666 hardcode_shlibpath_var_CXX=no
13667 case $host_os in
13668 solaris2.[0-5] | solaris2.[0-5].*) ;;
13670 # The compiler driver will combine and reorder linker options,
13671 # but understands `-z linker_flag'.
13672 # Supported since Solaris 2.6 (maybe 2.5.1?)
13673 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13675 esac
13676 link_all_deplibs_CXX=yes
13678 output_verbose_link_cmd='func_echo_all'
13680 # Archives containing C++ object files must be created using
13681 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13682 # necessary to make sure instantiated templates are included
13683 # in the archive.
13684 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13686 gcx*)
13687 # Green Hills C++ Compiler
13688 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13690 # The C++ compiler must be used to create the archive.
13691 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13694 # GNU C++ compiler with Solaris linker
13695 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13696 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13697 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13698 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13699 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13700 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13702 # Commands to make compiler produce verbose output that lists
13703 # what "hidden" libraries, object files and flags are used when
13704 # linking a shared library.
13705 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13706 else
13707 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13708 # platform.
13709 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13710 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13711 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13713 # Commands to make compiler produce verbose output that lists
13714 # what "hidden" libraries, object files and flags are used when
13715 # linking a shared library.
13716 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13719 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13720 case $host_os in
13721 solaris2.[0-5] | solaris2.[0-5].*) ;;
13723 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13725 esac
13728 esac
13731 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13732 no_undefined_flag_CXX='${wl}-z,text'
13733 archive_cmds_need_lc_CXX=no
13734 hardcode_shlibpath_var_CXX=no
13735 runpath_var='LD_RUN_PATH'
13737 case $cc_basename in
13738 CC*)
13739 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13740 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13743 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13744 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13746 esac
13749 sysv5* | sco3.2v5* | sco5v6*)
13750 # Note: We can NOT use -z defs as we might desire, because we do not
13751 # link with -lc, and that would cause any symbols used from libc to
13752 # always be unresolved, which means just about no library would
13753 # ever link correctly. If we're not using GNU ld we use -z text
13754 # though, which does catch some bad symbols but isn't as heavy-handed
13755 # as -z defs.
13756 no_undefined_flag_CXX='${wl}-z,text'
13757 allow_undefined_flag_CXX='${wl}-z,nodefs'
13758 archive_cmds_need_lc_CXX=no
13759 hardcode_shlibpath_var_CXX=no
13760 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13761 hardcode_libdir_separator_CXX=':'
13762 link_all_deplibs_CXX=yes
13763 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13764 runpath_var='LD_RUN_PATH'
13766 case $cc_basename in
13767 CC*)
13768 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13769 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13770 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13771 '"$old_archive_cmds_CXX"
13772 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13773 '"$reload_cmds_CXX"
13776 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13777 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13779 esac
13782 tandem*)
13783 case $cc_basename in
13784 NCC*)
13785 # NonStop-UX NCC 3.20
13786 # FIXME: insert proper C++ library support
13787 ld_shlibs_CXX=no
13790 # FIXME: insert proper C++ library support
13791 ld_shlibs_CXX=no
13793 esac
13796 vxworks*)
13797 # FIXME: insert proper C++ library support
13798 ld_shlibs_CXX=no
13802 # FIXME: insert proper C++ library support
13803 ld_shlibs_CXX=no
13805 esac
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13808 $as_echo "$ld_shlibs_CXX" >&6; }
13809 test "$ld_shlibs_CXX" = no && can_build_shared=no
13811 GCC_CXX="$GXX"
13812 LD_CXX="$LD"
13814 ## CAVEAT EMPTOR:
13815 ## There is no encapsulation within the following macros, do not change
13816 ## the running order or otherwise move them around unless you know exactly
13817 ## what you are doing...
13818 # Dependencies to place before and after the object being linked:
13819 predep_objects_CXX=
13820 postdep_objects_CXX=
13821 predeps_CXX=
13822 postdeps_CXX=
13823 compiler_lib_search_path_CXX=
13825 cat > conftest.$ac_ext <<_LT_EOF
13826 class Foo
13828 public:
13829 Foo (void) { a = 0; }
13830 private:
13831 int a;
13833 _LT_EOF
13835 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13836 (eval $ac_compile) 2>&5
13837 ac_status=$?
13838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13839 test $ac_status = 0; }; then
13840 # Parse the compiler output and extract the necessary
13841 # objects, libraries and library flags.
13843 # Sentinel used to keep track of whether or not we are before
13844 # the conftest object file.
13845 pre_test_object_deps_done=no
13847 for p in `eval "$output_verbose_link_cmd"`; do
13848 case $p in
13850 -L* | -R* | -l*)
13851 # Some compilers place space between "-{L,R}" and the path.
13852 # Remove the space.
13853 if test $p = "-L" ||
13854 test $p = "-R"; then
13855 prev=$p
13856 continue
13857 else
13858 prev=
13861 if test "$pre_test_object_deps_done" = no; then
13862 case $p in
13863 -L* | -R*)
13864 # Internal compiler library paths should come after those
13865 # provided the user. The postdeps already come after the
13866 # user supplied libs so there is no need to process them.
13867 if test -z "$compiler_lib_search_path_CXX"; then
13868 compiler_lib_search_path_CXX="${prev}${p}"
13869 else
13870 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13873 # The "-l" case would never come before the object being
13874 # linked, so don't bother handling this case.
13875 esac
13876 else
13877 if test -z "$postdeps_CXX"; then
13878 postdeps_CXX="${prev}${p}"
13879 else
13880 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13885 *.$objext)
13886 # This assumes that the test object file only shows up
13887 # once in the compiler output.
13888 if test "$p" = "conftest.$objext"; then
13889 pre_test_object_deps_done=yes
13890 continue
13893 if test "$pre_test_object_deps_done" = no; then
13894 if test -z "$predep_objects_CXX"; then
13895 predep_objects_CXX="$p"
13896 else
13897 predep_objects_CXX="$predep_objects_CXX $p"
13899 else
13900 if test -z "$postdep_objects_CXX"; then
13901 postdep_objects_CXX="$p"
13902 else
13903 postdep_objects_CXX="$postdep_objects_CXX $p"
13908 *) ;; # Ignore the rest.
13910 esac
13911 done
13913 # Clean up.
13914 rm -f a.out a.exe
13915 else
13916 echo "libtool.m4: error: problem compiling CXX test program"
13919 $RM -f confest.$objext
13921 # PORTME: override above test on systems where it is broken
13922 case $host_os in
13923 interix[3-9]*)
13924 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13925 # hack all around it, let's just trust "g++" to DTRT.
13926 predep_objects_CXX=
13927 postdep_objects_CXX=
13928 postdeps_CXX=
13931 linux*)
13932 case `$CC -V 2>&1 | sed 5q` in
13933 *Sun\ C*)
13934 # Sun C++ 5.9
13936 # The more standards-conforming stlport4 library is
13937 # incompatible with the Cstd library. Avoid specifying
13938 # it if it's in CXXFLAGS. Ignore libCrun as
13939 # -library=stlport4 depends on it.
13940 case " $CXX $CXXFLAGS " in
13941 *" -library=stlport4 "*)
13942 solaris_use_stlport4=yes
13944 esac
13946 if test "$solaris_use_stlport4" != yes; then
13947 postdeps_CXX='-library=Cstd -library=Crun'
13950 esac
13953 solaris*)
13954 case $cc_basename in
13955 CC*)
13956 # The more standards-conforming stlport4 library is
13957 # incompatible with the Cstd library. Avoid specifying
13958 # it if it's in CXXFLAGS. Ignore libCrun as
13959 # -library=stlport4 depends on it.
13960 case " $CXX $CXXFLAGS " in
13961 *" -library=stlport4 "*)
13962 solaris_use_stlport4=yes
13964 esac
13966 # Adding this requires a known-good setup of shared libraries for
13967 # Sun compiler versions before 5.6, else PIC objects from an old
13968 # archive will be linked into the output, leading to subtle bugs.
13969 if test "$solaris_use_stlport4" != yes; then
13970 postdeps_CXX='-library=Cstd -library=Crun'
13973 esac
13975 esac
13978 case " $postdeps_CXX " in
13979 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13980 esac
13981 compiler_lib_search_dirs_CXX=
13982 if test -n "${compiler_lib_search_path_CXX}"; then
13983 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14016 lt_prog_compiler_wl_CXX=
14017 lt_prog_compiler_pic_CXX=
14018 lt_prog_compiler_static_CXX=
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14021 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14023 # C++ specific cases for pic, static, wl, etc.
14024 if test "$GXX" = yes; then
14025 lt_prog_compiler_wl_CXX='-Wl,'
14026 lt_prog_compiler_static_CXX='-static'
14028 case $host_os in
14029 aix*)
14030 # All AIX code is PIC.
14031 if test "$host_cpu" = ia64; then
14032 # AIX 5 now supports IA64 processor
14033 lt_prog_compiler_static_CXX='-Bstatic'
14035 lt_prog_compiler_pic_CXX='-fPIC'
14038 amigaos*)
14039 case $host_cpu in
14040 powerpc)
14041 # see comment about AmigaOS4 .so support
14042 lt_prog_compiler_pic_CXX='-fPIC'
14044 m68k)
14045 # FIXME: we need at least 68020 code to build shared libraries, but
14046 # adding the `-m68020' flag to GCC prevents building anything better,
14047 # like `-m68040'.
14048 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14050 esac
14053 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14054 # PIC is the default for these OSes.
14056 mingw* | cygwin* | os2* | pw32* | cegcc*)
14057 # This hack is so that the source file can tell whether it is being
14058 # built for inclusion in a dll (and should export symbols for example).
14059 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14060 # (--disable-auto-import) libraries
14061 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14063 darwin* | rhapsody*)
14064 # PIC is the default on this platform
14065 # Common symbols not allowed in MH_DYLIB files
14066 lt_prog_compiler_pic_CXX='-fno-common'
14068 *djgpp*)
14069 # DJGPP does not support shared libraries at all
14070 lt_prog_compiler_pic_CXX=
14072 haiku*)
14073 # PIC is the default for Haiku.
14074 # The "-static" flag exists, but is broken.
14075 lt_prog_compiler_static_CXX=
14077 interix[3-9]*)
14078 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14079 # Instead, we relocate shared libraries at runtime.
14081 sysv4*MP*)
14082 if test -d /usr/nec; then
14083 lt_prog_compiler_pic_CXX=-Kconform_pic
14086 hpux*)
14087 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14088 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14089 # sets the default TLS model and affects inlining.
14090 case $host_cpu in
14091 hppa*64*)
14094 lt_prog_compiler_pic_CXX='-fPIC'
14096 esac
14098 *qnx* | *nto*)
14099 # QNX uses GNU C++, but need to define -shared option too, otherwise
14100 # it will coredump.
14101 lt_prog_compiler_pic_CXX='-fPIC -shared'
14104 lt_prog_compiler_pic_CXX='-fPIC'
14106 esac
14107 else
14108 case $host_os in
14109 aix[4-9]*)
14110 # All AIX code is PIC.
14111 if test "$host_cpu" = ia64; then
14112 # AIX 5 now supports IA64 processor
14113 lt_prog_compiler_static_CXX='-Bstatic'
14114 else
14115 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14118 chorus*)
14119 case $cc_basename in
14120 cxch68*)
14121 # Green Hills C++ Compiler
14122 # _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"
14124 esac
14126 dgux*)
14127 case $cc_basename in
14128 ec++*)
14129 lt_prog_compiler_pic_CXX='-KPIC'
14131 ghcx*)
14132 # Green Hills C++ Compiler
14133 lt_prog_compiler_pic_CXX='-pic'
14137 esac
14139 freebsd* | dragonfly*)
14140 # FreeBSD uses GNU C++
14142 hpux9* | hpux10* | hpux11*)
14143 case $cc_basename in
14144 CC*)
14145 lt_prog_compiler_wl_CXX='-Wl,'
14146 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14147 if test "$host_cpu" != ia64; then
14148 lt_prog_compiler_pic_CXX='+Z'
14151 aCC*)
14152 lt_prog_compiler_wl_CXX='-Wl,'
14153 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14154 case $host_cpu in
14155 hppa*64*|ia64*)
14156 # +Z the default
14159 lt_prog_compiler_pic_CXX='+Z'
14161 esac
14165 esac
14167 interix*)
14168 # This is c89, which is MS Visual C++ (no shared libs)
14169 # Anyone wants to do a port?
14171 irix5* | irix6* | nonstopux*)
14172 case $cc_basename in
14173 CC*)
14174 lt_prog_compiler_wl_CXX='-Wl,'
14175 lt_prog_compiler_static_CXX='-non_shared'
14176 # CC pic flag -KPIC is the default.
14180 esac
14182 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14183 case $cc_basename in
14184 KCC*)
14185 # KAI C++ Compiler
14186 lt_prog_compiler_wl_CXX='--backend -Wl,'
14187 lt_prog_compiler_pic_CXX='-fPIC'
14189 ecpc* )
14190 # old Intel C++ for x86_64 which still supported -KPIC.
14191 lt_prog_compiler_wl_CXX='-Wl,'
14192 lt_prog_compiler_pic_CXX='-KPIC'
14193 lt_prog_compiler_static_CXX='-static'
14195 icpc* )
14196 # Intel C++, used to be incompatible with GCC.
14197 # ICC 10 doesn't accept -KPIC any more.
14198 lt_prog_compiler_wl_CXX='-Wl,'
14199 lt_prog_compiler_pic_CXX='-fPIC'
14200 lt_prog_compiler_static_CXX='-static'
14202 pgCC* | pgcpp*)
14203 # Portland Group C++ compiler
14204 lt_prog_compiler_wl_CXX='-Wl,'
14205 lt_prog_compiler_pic_CXX='-fpic'
14206 lt_prog_compiler_static_CXX='-Bstatic'
14208 cxx*)
14209 # Compaq C++
14210 # Make sure the PIC flag is empty. It appears that all Alpha
14211 # Linux and Compaq Tru64 Unix objects are PIC.
14212 lt_prog_compiler_pic_CXX=
14213 lt_prog_compiler_static_CXX='-non_shared'
14215 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14216 # IBM XL 8.0, 9.0 on PPC and BlueGene
14217 lt_prog_compiler_wl_CXX='-Wl,'
14218 lt_prog_compiler_pic_CXX='-qpic'
14219 lt_prog_compiler_static_CXX='-qstaticlink'
14222 case `$CC -V 2>&1 | sed 5q` in
14223 *Sun\ C*)
14224 # Sun C++ 5.9
14225 lt_prog_compiler_pic_CXX='-KPIC'
14226 lt_prog_compiler_static_CXX='-Bstatic'
14227 lt_prog_compiler_wl_CXX='-Qoption ld '
14229 esac
14231 esac
14233 lynxos*)
14235 m88k*)
14237 mvs*)
14238 case $cc_basename in
14239 cxx*)
14240 lt_prog_compiler_pic_CXX='-W c,exportall'
14244 esac
14246 netbsd*)
14248 *qnx* | *nto*)
14249 # QNX uses GNU C++, but need to define -shared option too, otherwise
14250 # it will coredump.
14251 lt_prog_compiler_pic_CXX='-fPIC -shared'
14253 osf3* | osf4* | osf5*)
14254 case $cc_basename in
14255 KCC*)
14256 lt_prog_compiler_wl_CXX='--backend -Wl,'
14258 RCC*)
14259 # Rational C++ 2.4.1
14260 lt_prog_compiler_pic_CXX='-pic'
14262 cxx*)
14263 # Digital/Compaq C++
14264 lt_prog_compiler_wl_CXX='-Wl,'
14265 # Make sure the PIC flag is empty. It appears that all Alpha
14266 # Linux and Compaq Tru64 Unix objects are PIC.
14267 lt_prog_compiler_pic_CXX=
14268 lt_prog_compiler_static_CXX='-non_shared'
14272 esac
14274 psos*)
14276 solaris*)
14277 case $cc_basename in
14278 CC*)
14279 # Sun C++ 4.2, 5.x and Centerline C++
14280 lt_prog_compiler_pic_CXX='-KPIC'
14281 lt_prog_compiler_static_CXX='-Bstatic'
14282 lt_prog_compiler_wl_CXX='-Qoption ld '
14284 gcx*)
14285 # Green Hills C++ Compiler
14286 lt_prog_compiler_pic_CXX='-PIC'
14290 esac
14292 sunos4*)
14293 case $cc_basename in
14294 CC*)
14295 # Sun C++ 4.x
14296 lt_prog_compiler_pic_CXX='-pic'
14297 lt_prog_compiler_static_CXX='-Bstatic'
14299 lcc*)
14300 # Lucid
14301 lt_prog_compiler_pic_CXX='-pic'
14305 esac
14307 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14308 case $cc_basename in
14309 CC*)
14310 lt_prog_compiler_wl_CXX='-Wl,'
14311 lt_prog_compiler_pic_CXX='-KPIC'
14312 lt_prog_compiler_static_CXX='-Bstatic'
14314 esac
14316 tandem*)
14317 case $cc_basename in
14318 NCC*)
14319 # NonStop-UX NCC 3.20
14320 lt_prog_compiler_pic_CXX='-KPIC'
14324 esac
14326 vxworks*)
14329 lt_prog_compiler_can_build_shared_CXX=no
14331 esac
14334 case $host_os in
14335 # For platforms which do not support PIC, -DPIC is meaningless:
14336 *djgpp*)
14337 lt_prog_compiler_pic_CXX=
14340 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14342 esac
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14344 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14349 # Check to make sure the PIC flag actually works.
14351 if test -n "$lt_prog_compiler_pic_CXX"; then
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14353 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14354 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14355 $as_echo_n "(cached) " >&6
14356 else
14357 lt_cv_prog_compiler_pic_works_CXX=no
14358 ac_outfile=conftest.$ac_objext
14359 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14360 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14361 # Insert the option either (1) after the last *FLAGS variable, or
14362 # (2) before a word containing "conftest.", or (3) at the end.
14363 # Note that $ac_compile itself does not contain backslashes and begins
14364 # with a dollar sign (not a hyphen), so the echo should work correctly.
14365 # The option is referenced via a variable to avoid confusing sed.
14366 lt_compile=`echo "$ac_compile" | $SED \
14367 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14368 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14369 -e 's:$: $lt_compiler_flag:'`
14370 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14371 (eval "$lt_compile" 2>conftest.err)
14372 ac_status=$?
14373 cat conftest.err >&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 if (exit $ac_status) && test -s "$ac_outfile"; then
14376 # The compiler can only warn and ignore the option if not recognized
14377 # So say no if there are warnings other than the usual output.
14378 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14379 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14380 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14381 lt_cv_prog_compiler_pic_works_CXX=yes
14384 $RM conftest*
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14388 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14390 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14391 case $lt_prog_compiler_pic_CXX in
14392 "" | " "*) ;;
14393 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14394 esac
14395 else
14396 lt_prog_compiler_pic_CXX=
14397 lt_prog_compiler_can_build_shared_CXX=no
14405 # Check to make sure the static flag actually works.
14407 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14409 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14410 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14411 $as_echo_n "(cached) " >&6
14412 else
14413 lt_cv_prog_compiler_static_works_CXX=no
14414 save_LDFLAGS="$LDFLAGS"
14415 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14416 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14417 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14418 # The linker can only warn and ignore the option if not recognized
14419 # So say no if there are warnings
14420 if test -s conftest.err; then
14421 # Append any errors to the config.log.
14422 cat conftest.err 1>&5
14423 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14424 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14425 if diff conftest.exp conftest.er2 >/dev/null; then
14426 lt_cv_prog_compiler_static_works_CXX=yes
14428 else
14429 lt_cv_prog_compiler_static_works_CXX=yes
14432 $RM -r conftest*
14433 LDFLAGS="$save_LDFLAGS"
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14437 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14439 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14441 else
14442 lt_prog_compiler_static_CXX=
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14449 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14450 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14451 $as_echo_n "(cached) " >&6
14452 else
14453 lt_cv_prog_compiler_c_o_CXX=no
14454 $RM -r conftest 2>/dev/null
14455 mkdir conftest
14456 cd conftest
14457 mkdir out
14458 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14460 lt_compiler_flag="-o out/conftest2.$ac_objext"
14461 # Insert the option either (1) after the last *FLAGS variable, or
14462 # (2) before a word containing "conftest.", or (3) at the end.
14463 # Note that $ac_compile itself does not contain backslashes and begins
14464 # with a dollar sign (not a hyphen), so the echo should work correctly.
14465 lt_compile=`echo "$ac_compile" | $SED \
14466 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14467 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14468 -e 's:$: $lt_compiler_flag:'`
14469 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14470 (eval "$lt_compile" 2>out/conftest.err)
14471 ac_status=$?
14472 cat out/conftest.err >&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14475 then
14476 # The compiler can only warn and ignore the option if not recognized
14477 # So say no if there are warnings
14478 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14479 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14480 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14481 lt_cv_prog_compiler_c_o_CXX=yes
14484 chmod u+w . 2>&5
14485 $RM conftest*
14486 # SGI C++ compiler will create directory out/ii_files/ for
14487 # template instantiation
14488 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14489 $RM out/* && rmdir out
14490 cd ..
14491 $RM -r conftest
14492 $RM conftest*
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14496 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14501 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14502 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14503 $as_echo_n "(cached) " >&6
14504 else
14505 lt_cv_prog_compiler_c_o_CXX=no
14506 $RM -r conftest 2>/dev/null
14507 mkdir conftest
14508 cd conftest
14509 mkdir out
14510 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14512 lt_compiler_flag="-o out/conftest2.$ac_objext"
14513 # Insert the option either (1) after the last *FLAGS variable, or
14514 # (2) before a word containing "conftest.", or (3) at the end.
14515 # Note that $ac_compile itself does not contain backslashes and begins
14516 # with a dollar sign (not a hyphen), so the echo should work correctly.
14517 lt_compile=`echo "$ac_compile" | $SED \
14518 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14519 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14520 -e 's:$: $lt_compiler_flag:'`
14521 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14522 (eval "$lt_compile" 2>out/conftest.err)
14523 ac_status=$?
14524 cat out/conftest.err >&5
14525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14527 then
14528 # The compiler can only warn and ignore the option if not recognized
14529 # So say no if there are warnings
14530 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14531 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14532 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14533 lt_cv_prog_compiler_c_o_CXX=yes
14536 chmod u+w . 2>&5
14537 $RM conftest*
14538 # SGI C++ compiler will create directory out/ii_files/ for
14539 # template instantiation
14540 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14541 $RM out/* && rmdir out
14542 cd ..
14543 $RM -r conftest
14544 $RM conftest*
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14548 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14553 hard_links="nottested"
14554 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14555 # do not overwrite the value of need_locks provided by the user
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14557 $as_echo_n "checking if we can lock with hard links... " >&6; }
14558 hard_links=yes
14559 $RM conftest*
14560 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14561 touch conftest.a
14562 ln conftest.a conftest.b 2>&5 || hard_links=no
14563 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14565 $as_echo "$hard_links" >&6; }
14566 if test "$hard_links" = no; then
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14568 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14569 need_locks=warn
14571 else
14572 need_locks=no
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14578 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14580 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14581 case $host_os in
14582 aix[4-9]*)
14583 # If we're using GNU nm, then we don't want the "-C" option.
14584 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14585 # Also, AIX nm treats weak defined symbols like other global defined
14586 # symbols, whereas GNU nm marks them as "W".
14587 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14588 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'
14589 else
14590 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'
14593 pw32*)
14594 export_symbols_cmds_CXX="$ltdll_cmds"
14596 cygwin* | mingw* | cegcc*)
14597 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14600 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14602 esac
14603 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14606 $as_echo "$ld_shlibs_CXX" >&6; }
14607 test "$ld_shlibs_CXX" = no && can_build_shared=no
14609 with_gnu_ld_CXX=$with_gnu_ld
14617 # Do we need to explicitly link libc?
14619 case "x$archive_cmds_need_lc_CXX" in
14620 x|xyes)
14621 # Assume -lc should be added
14622 archive_cmds_need_lc_CXX=yes
14624 if test "$enable_shared" = yes && test "$GCC" = yes; then
14625 case $archive_cmds_CXX in
14626 *'~'*)
14627 # FIXME: we may have to deal with multi-command sequences.
14629 '$CC '*)
14630 # Test whether the compiler implicitly links with -lc since on some
14631 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14632 # to ld, don't add -lc before -lgcc.
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14634 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14635 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14636 $as_echo_n "(cached) " >&6
14637 else
14638 $RM conftest*
14639 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14642 (eval $ac_compile) 2>&5
14643 ac_status=$?
14644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14645 test $ac_status = 0; } 2>conftest.err; then
14646 soname=conftest
14647 lib=conftest
14648 libobjs=conftest.$ac_objext
14649 deplibs=
14650 wl=$lt_prog_compiler_wl_CXX
14651 pic_flag=$lt_prog_compiler_pic_CXX
14652 compiler_flags=-v
14653 linker_flags=-v
14654 verstring=
14655 output_objdir=.
14656 libname=conftest
14657 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14658 allow_undefined_flag_CXX=
14659 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14660 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14661 ac_status=$?
14662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14663 test $ac_status = 0; }
14664 then
14665 lt_cv_archive_cmds_need_lc_CXX=no
14666 else
14667 lt_cv_archive_cmds_need_lc_CXX=yes
14669 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14670 else
14671 cat conftest.err 1>&5
14673 $RM conftest*
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14677 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14678 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14680 esac
14683 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14749 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14751 library_names_spec=
14752 libname_spec='lib$name'
14753 soname_spec=
14754 shrext_cmds=".so"
14755 postinstall_cmds=
14756 postuninstall_cmds=
14757 finish_cmds=
14758 finish_eval=
14759 shlibpath_var=
14760 shlibpath_overrides_runpath=unknown
14761 version_type=none
14762 dynamic_linker="$host_os ld.so"
14763 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14764 need_lib_prefix=unknown
14765 hardcode_into_libs=no
14767 # when you set need_version to no, make sure it does not cause -set_version
14768 # flags to be left without arguments
14769 need_version=unknown
14771 case $host_os in
14772 aix3*)
14773 version_type=linux
14774 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14775 shlibpath_var=LIBPATH
14777 # AIX 3 has no versioning support, so we append a major version to the name.
14778 soname_spec='${libname}${release}${shared_ext}$major'
14781 aix[4-9]*)
14782 version_type=linux
14783 need_lib_prefix=no
14784 need_version=no
14785 hardcode_into_libs=yes
14786 if test "$host_cpu" = ia64; then
14787 # AIX 5 supports IA64
14788 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14789 shlibpath_var=LD_LIBRARY_PATH
14790 else
14791 # With GCC up to 2.95.x, collect2 would create an import file
14792 # for dependence libraries. The import file would start with
14793 # the line `#! .'. This would cause the generated library to
14794 # depend on `.', always an invalid library. This was fixed in
14795 # development snapshots of GCC prior to 3.0.
14796 case $host_os in
14797 aix4 | aix4.[01] | aix4.[01].*)
14798 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14799 echo ' yes '
14800 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14802 else
14803 can_build_shared=no
14806 esac
14807 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14808 # soname into executable. Probably we can add versioning support to
14809 # collect2, so additional links can be useful in future.
14810 if test "$aix_use_runtimelinking" = yes; then
14811 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14812 # instead of lib<name>.a to let people know that these are not
14813 # typical AIX shared libraries.
14814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14815 else
14816 # We preserve .a as extension for shared libraries through AIX4.2
14817 # and later when we are not doing run time linking.
14818 library_names_spec='${libname}${release}.a $libname.a'
14819 soname_spec='${libname}${release}${shared_ext}$major'
14821 shlibpath_var=LIBPATH
14825 amigaos*)
14826 case $host_cpu in
14827 powerpc)
14828 # Since July 2007 AmigaOS4 officially supports .so libraries.
14829 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14832 m68k)
14833 library_names_spec='$libname.ixlibrary $libname.a'
14834 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14835 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'
14837 esac
14840 beos*)
14841 library_names_spec='${libname}${shared_ext}'
14842 dynamic_linker="$host_os ld.so"
14843 shlibpath_var=LIBRARY_PATH
14846 bsdi[45]*)
14847 version_type=linux
14848 need_version=no
14849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14850 soname_spec='${libname}${release}${shared_ext}$major'
14851 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14852 shlibpath_var=LD_LIBRARY_PATH
14853 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14854 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14855 # the default ld.so.conf also contains /usr/contrib/lib and
14856 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14857 # libtool to hard-code these into programs
14860 cygwin* | mingw* | pw32* | cegcc*)
14861 version_type=windows
14862 shrext_cmds=".dll"
14863 need_version=no
14864 need_lib_prefix=no
14866 case $GCC,$host_os in
14867 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14868 library_names_spec='$libname.dll.a'
14869 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14870 postinstall_cmds='base_file=`basename \${file}`~
14871 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14872 dldir=$destdir/`dirname \$dlpath`~
14873 test -d \$dldir || mkdir -p \$dldir~
14874 $install_prog $dir/$dlname \$dldir/$dlname~
14875 chmod a+x \$dldir/$dlname~
14876 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14877 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14879 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14880 dlpath=$dir/\$dldll~
14881 $RM \$dlpath'
14882 shlibpath_overrides_runpath=yes
14884 case $host_os in
14885 cygwin*)
14886 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14887 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14890 mingw* | cegcc*)
14891 # MinGW DLLs use traditional 'lib' prefix
14892 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14894 pw32*)
14895 # pw32 DLLs use 'pw' prefix rather than 'lib'
14896 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14898 esac
14902 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14904 esac
14905 dynamic_linker='Win32 ld.exe'
14906 # FIXME: first we should search . and the directory the executable is in
14907 shlibpath_var=PATH
14910 darwin* | rhapsody*)
14911 dynamic_linker="$host_os dyld"
14912 version_type=darwin
14913 need_lib_prefix=no
14914 need_version=no
14915 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14916 soname_spec='${libname}${release}${major}$shared_ext'
14917 shlibpath_overrides_runpath=yes
14918 shlibpath_var=DYLD_LIBRARY_PATH
14919 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14921 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14924 dgux*)
14925 version_type=linux
14926 need_lib_prefix=no
14927 need_version=no
14928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14929 soname_spec='${libname}${release}${shared_ext}$major'
14930 shlibpath_var=LD_LIBRARY_PATH
14933 freebsd* | dragonfly*)
14934 # DragonFly does not have aout. When/if they implement a new
14935 # versioning mechanism, adjust this.
14936 if test -x /usr/bin/objformat; then
14937 objformat=`/usr/bin/objformat`
14938 else
14939 case $host_os in
14940 freebsd[23].*) objformat=aout ;;
14941 *) objformat=elf ;;
14942 esac
14944 version_type=freebsd-$objformat
14945 case $version_type in
14946 freebsd-elf*)
14947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14948 need_version=no
14949 need_lib_prefix=no
14951 freebsd-*)
14952 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14953 need_version=yes
14955 esac
14956 shlibpath_var=LD_LIBRARY_PATH
14957 case $host_os in
14958 freebsd2.*)
14959 shlibpath_overrides_runpath=yes
14961 freebsd3.[01]* | freebsdelf3.[01]*)
14962 shlibpath_overrides_runpath=yes
14963 hardcode_into_libs=yes
14965 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14966 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14967 shlibpath_overrides_runpath=no
14968 hardcode_into_libs=yes
14970 *) # from 4.6 on, and DragonFly
14971 shlibpath_overrides_runpath=yes
14972 hardcode_into_libs=yes
14974 esac
14977 gnu*)
14978 version_type=linux
14979 need_lib_prefix=no
14980 need_version=no
14981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14982 soname_spec='${libname}${release}${shared_ext}$major'
14983 shlibpath_var=LD_LIBRARY_PATH
14984 hardcode_into_libs=yes
14987 haiku*)
14988 version_type=linux
14989 need_lib_prefix=no
14990 need_version=no
14991 dynamic_linker="$host_os runtime_loader"
14992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14993 soname_spec='${libname}${release}${shared_ext}$major'
14994 shlibpath_var=LIBRARY_PATH
14995 shlibpath_overrides_runpath=yes
14996 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14997 hardcode_into_libs=yes
15000 hpux9* | hpux10* | hpux11*)
15001 # Give a soname corresponding to the major version so that dld.sl refuses to
15002 # link against other versions.
15003 version_type=sunos
15004 need_lib_prefix=no
15005 need_version=no
15006 case $host_cpu in
15007 ia64*)
15008 shrext_cmds='.so'
15009 hardcode_into_libs=yes
15010 dynamic_linker="$host_os dld.so"
15011 shlibpath_var=LD_LIBRARY_PATH
15012 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15014 soname_spec='${libname}${release}${shared_ext}$major'
15015 if test "X$HPUX_IA64_MODE" = X32; then
15016 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15017 else
15018 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15020 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15022 hppa*64*)
15023 shrext_cmds='.sl'
15024 hardcode_into_libs=yes
15025 dynamic_linker="$host_os dld.sl"
15026 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15027 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15029 soname_spec='${libname}${release}${shared_ext}$major'
15030 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15031 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15034 shrext_cmds='.sl'
15035 dynamic_linker="$host_os dld.sl"
15036 shlibpath_var=SHLIB_PATH
15037 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15039 soname_spec='${libname}${release}${shared_ext}$major'
15041 esac
15042 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15043 postinstall_cmds='chmod 555 $lib'
15044 # or fails outright, so override atomically:
15045 install_override_mode=555
15048 interix[3-9]*)
15049 version_type=linux
15050 need_lib_prefix=no
15051 need_version=no
15052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15053 soname_spec='${libname}${release}${shared_ext}$major'
15054 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15055 shlibpath_var=LD_LIBRARY_PATH
15056 shlibpath_overrides_runpath=no
15057 hardcode_into_libs=yes
15060 irix5* | irix6* | nonstopux*)
15061 case $host_os in
15062 nonstopux*) version_type=nonstopux ;;
15064 if test "$lt_cv_prog_gnu_ld" = yes; then
15065 version_type=linux
15066 else
15067 version_type=irix
15068 fi ;;
15069 esac
15070 need_lib_prefix=no
15071 need_version=no
15072 soname_spec='${libname}${release}${shared_ext}$major'
15073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15074 case $host_os in
15075 irix5* | nonstopux*)
15076 libsuff= shlibsuff=
15079 case $LD in # libtool.m4 will add one of these switches to LD
15080 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15081 libsuff= shlibsuff= libmagic=32-bit;;
15082 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15083 libsuff=32 shlibsuff=N32 libmagic=N32;;
15084 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15085 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15086 *) libsuff= shlibsuff= libmagic=never-match;;
15087 esac
15089 esac
15090 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15091 shlibpath_overrides_runpath=no
15092 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15093 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15094 hardcode_into_libs=yes
15097 # No shared lib support for Linux oldld, aout, or coff.
15098 linux*oldld* | linux*aout* | linux*coff*)
15099 dynamic_linker=no
15102 # This must be Linux ELF.
15103 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15104 version_type=linux
15105 need_lib_prefix=no
15106 need_version=no
15107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15108 soname_spec='${libname}${release}${shared_ext}$major'
15109 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15110 shlibpath_var=LD_LIBRARY_PATH
15111 shlibpath_overrides_runpath=no
15113 # Some binutils ld are patched to set DT_RUNPATH
15114 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15115 $as_echo_n "(cached) " >&6
15116 else
15117 lt_cv_shlibpath_overrides_runpath=no
15118 save_LDFLAGS=$LDFLAGS
15119 save_libdir=$libdir
15120 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15121 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15123 /* end confdefs.h. */
15126 main ()
15130 return 0;
15132 _ACEOF
15133 if ac_fn_cxx_try_link "$LINENO"; then :
15134 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15135 lt_cv_shlibpath_overrides_runpath=yes
15138 rm -f core conftest.err conftest.$ac_objext \
15139 conftest$ac_exeext conftest.$ac_ext
15140 LDFLAGS=$save_LDFLAGS
15141 libdir=$save_libdir
15145 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15147 # This implies no fast_install, which is unacceptable.
15148 # Some rework will be needed to allow for fast_install
15149 # before this can be enabled.
15150 hardcode_into_libs=yes
15152 # Append ld.so.conf contents to the search path
15153 if test -f /etc/ld.so.conf; then
15154 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' ' '`
15155 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15158 # We used to test for /lib/ld.so.1 and disable shared libraries on
15159 # powerpc, because MkLinux only supported shared libraries with the
15160 # GNU dynamic linker. Since this was broken with cross compilers,
15161 # most powerpc-linux boxes support dynamic linking these days and
15162 # people can always --disable-shared, the test was removed, and we
15163 # assume the GNU/Linux dynamic linker is in use.
15164 dynamic_linker='GNU/Linux ld.so'
15167 netbsd*)
15168 version_type=sunos
15169 need_lib_prefix=no
15170 need_version=no
15171 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15173 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15174 dynamic_linker='NetBSD (a.out) ld.so'
15175 else
15176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15177 soname_spec='${libname}${release}${shared_ext}$major'
15178 dynamic_linker='NetBSD ld.elf_so'
15180 shlibpath_var=LD_LIBRARY_PATH
15181 shlibpath_overrides_runpath=yes
15182 hardcode_into_libs=yes
15185 newsos6)
15186 version_type=linux
15187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15188 shlibpath_var=LD_LIBRARY_PATH
15189 shlibpath_overrides_runpath=yes
15192 *nto* | *qnx*)
15193 version_type=qnx
15194 need_lib_prefix=no
15195 need_version=no
15196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15197 soname_spec='${libname}${release}${shared_ext}$major'
15198 shlibpath_var=LD_LIBRARY_PATH
15199 shlibpath_overrides_runpath=no
15200 hardcode_into_libs=yes
15201 dynamic_linker='ldqnx.so'
15204 openbsd*)
15205 version_type=sunos
15206 sys_lib_dlsearch_path_spec="/usr/lib"
15207 need_lib_prefix=no
15208 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15209 case $host_os in
15210 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15211 *) need_version=no ;;
15212 esac
15213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15214 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15215 shlibpath_var=LD_LIBRARY_PATH
15216 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15217 case $host_os in
15218 openbsd2.[89] | openbsd2.[89].*)
15219 shlibpath_overrides_runpath=no
15222 shlibpath_overrides_runpath=yes
15224 esac
15225 else
15226 shlibpath_overrides_runpath=yes
15230 os2*)
15231 libname_spec='$name'
15232 shrext_cmds=".dll"
15233 need_lib_prefix=no
15234 library_names_spec='$libname${shared_ext} $libname.a'
15235 dynamic_linker='OS/2 ld.exe'
15236 shlibpath_var=LIBPATH
15239 osf3* | osf4* | osf5*)
15240 version_type=osf
15241 need_lib_prefix=no
15242 need_version=no
15243 soname_spec='${libname}${release}${shared_ext}$major'
15244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15245 shlibpath_var=LD_LIBRARY_PATH
15246 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15247 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15250 rdos*)
15251 dynamic_linker=no
15254 solaris*)
15255 version_type=linux
15256 need_lib_prefix=no
15257 need_version=no
15258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15259 soname_spec='${libname}${release}${shared_ext}$major'
15260 shlibpath_var=LD_LIBRARY_PATH
15261 shlibpath_overrides_runpath=yes
15262 hardcode_into_libs=yes
15263 # ldd complains unless libraries are executable
15264 postinstall_cmds='chmod +x $lib'
15267 sunos4*)
15268 version_type=sunos
15269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15270 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15271 shlibpath_var=LD_LIBRARY_PATH
15272 shlibpath_overrides_runpath=yes
15273 if test "$with_gnu_ld" = yes; then
15274 need_lib_prefix=no
15276 need_version=yes
15279 sysv4 | sysv4.3*)
15280 version_type=linux
15281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15282 soname_spec='${libname}${release}${shared_ext}$major'
15283 shlibpath_var=LD_LIBRARY_PATH
15284 case $host_vendor in
15285 sni)
15286 shlibpath_overrides_runpath=no
15287 need_lib_prefix=no
15288 runpath_var=LD_RUN_PATH
15290 siemens)
15291 need_lib_prefix=no
15293 motorola)
15294 need_lib_prefix=no
15295 need_version=no
15296 shlibpath_overrides_runpath=no
15297 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15299 esac
15302 sysv4*MP*)
15303 if test -d /usr/nec ;then
15304 version_type=linux
15305 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15306 soname_spec='$libname${shared_ext}.$major'
15307 shlibpath_var=LD_LIBRARY_PATH
15311 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15312 version_type=freebsd-elf
15313 need_lib_prefix=no
15314 need_version=no
15315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15316 soname_spec='${libname}${release}${shared_ext}$major'
15317 shlibpath_var=LD_LIBRARY_PATH
15318 shlibpath_overrides_runpath=yes
15319 hardcode_into_libs=yes
15320 if test "$with_gnu_ld" = yes; then
15321 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15322 else
15323 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15324 case $host_os in
15325 sco3.2v5*)
15326 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15328 esac
15330 sys_lib_dlsearch_path_spec='/usr/lib'
15333 tpf*)
15334 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15335 version_type=linux
15336 need_lib_prefix=no
15337 need_version=no
15338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15339 shlibpath_var=LD_LIBRARY_PATH
15340 shlibpath_overrides_runpath=no
15341 hardcode_into_libs=yes
15344 uts4*)
15345 version_type=linux
15346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15347 soname_spec='${libname}${release}${shared_ext}$major'
15348 shlibpath_var=LD_LIBRARY_PATH
15352 dynamic_linker=no
15354 esac
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15356 $as_echo "$dynamic_linker" >&6; }
15357 test "$dynamic_linker" = no && can_build_shared=no
15359 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15360 if test "$GCC" = yes; then
15361 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15364 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15365 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15367 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15368 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15409 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15410 hardcode_action_CXX=
15411 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15412 test -n "$runpath_var_CXX" ||
15413 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15415 # We can hardcode non-existent directories.
15416 if test "$hardcode_direct_CXX" != no &&
15417 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15418 # have to relink, otherwise we might link with an installed library
15419 # when we should be linking with a yet-to-be-installed one
15420 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15421 test "$hardcode_minus_L_CXX" != no; then
15422 # Linking always hardcodes the temporary library directory.
15423 hardcode_action_CXX=relink
15424 else
15425 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15426 hardcode_action_CXX=immediate
15428 else
15429 # We cannot hardcode anything, or else we can only hardcode existing
15430 # directories.
15431 hardcode_action_CXX=unsupported
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15434 $as_echo "$hardcode_action_CXX" >&6; }
15436 if test "$hardcode_action_CXX" = relink ||
15437 test "$inherit_rpath_CXX" = yes; then
15438 # Fast installation is not supported
15439 enable_fast_install=no
15440 elif test "$shlibpath_overrides_runpath" = yes ||
15441 test "$enable_shared" = no; then
15442 # Fast installation is not necessary
15443 enable_fast_install=needless
15452 fi # test -n "$compiler"
15454 CC=$lt_save_CC
15455 LDCXX=$LD
15456 LD=$lt_save_LD
15457 GCC=$lt_save_GCC
15458 with_gnu_ld=$lt_save_with_gnu_ld
15459 lt_cv_path_LDCXX=$lt_cv_path_LD
15460 lt_cv_path_LD=$lt_save_path_LD
15461 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15462 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15463 fi # test "$_lt_caught_CXX_error" != yes
15465 ac_ext=c
15466 ac_cpp='$CPP $CPPFLAGS'
15467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15483 ac_config_commands="$ac_config_commands libtool"
15488 # Only expand once:
15491 ACX_LT_HOST_FLAGS
15495 # For libtool versioning info, format is CURRENT:REVISION:AGE
15496 libtool_VERSION=1:0:0
15499 XCFLAGS="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15502 if test "${multilib}" = "yes"; then
15503 multilib_arg="--enable-multilib"
15504 else
15505 multilib_arg=
15508 ac_config_files="$ac_config_files Makefile"
15511 if test "x$VTV_SUPPORTED" = "xyes"; then
15512 ac_config_files="$ac_config_files testsuite/Makefile"
15516 case "$target_os" in
15517 cygwin*|mingw32*)
15518 vtv_cygmin="yes"
15521 vtv_cygmin="no"
15523 esac
15525 if test $vtv_cygmin = yes; then
15526 VTV_CYGMIN_TRUE=
15527 VTV_CYGMIN_FALSE='#'
15528 else
15529 VTV_CYGMIN_TRUE='#'
15530 VTV_CYGMIN_FALSE=
15534 cat >confcache <<\_ACEOF
15535 # This file is a shell script that caches the results of configure
15536 # tests run on this system so they can be shared between configure
15537 # scripts and configure runs, see configure's option --config-cache.
15538 # It is not useful on other systems. If it contains results you don't
15539 # want to keep, you may remove or edit it.
15541 # config.status only pays attention to the cache file if you give it
15542 # the --recheck option to rerun configure.
15544 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15545 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15546 # following values.
15548 _ACEOF
15550 # The following way of writing the cache mishandles newlines in values,
15551 # but we know of no workaround that is simple, portable, and efficient.
15552 # So, we kill variables containing newlines.
15553 # Ultrix sh set writes to stderr and can't be redirected directly,
15554 # and sets the high bit in the cache file unless we assign to the vars.
15556 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15557 eval ac_val=\$$ac_var
15558 case $ac_val in #(
15559 *${as_nl}*)
15560 case $ac_var in #(
15561 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15562 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15563 esac
15564 case $ac_var in #(
15565 _ | IFS | as_nl) ;; #(
15566 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15567 *) { eval $ac_var=; unset $ac_var;} ;;
15568 esac ;;
15569 esac
15570 done
15572 (set) 2>&1 |
15573 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15574 *${as_nl}ac_space=\ *)
15575 # `set' does not quote correctly, so add quotes: double-quote
15576 # substitution turns \\\\ into \\, and sed turns \\ into \.
15577 sed -n \
15578 "s/'/'\\\\''/g;
15579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15580 ;; #(
15582 # `set' quotes correctly as required by POSIX, so do not add quotes.
15583 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15585 esac |
15586 sort
15588 sed '
15589 /^ac_cv_env_/b end
15590 t clear
15591 :clear
15592 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15593 t end
15594 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15595 :end' >>confcache
15596 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15597 if test -w "$cache_file"; then
15598 test "x$cache_file" != "x/dev/null" &&
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15600 $as_echo "$as_me: updating cache $cache_file" >&6;}
15601 cat confcache >$cache_file
15602 else
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15604 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15607 rm -f confcache
15609 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15610 # Let make expand exec_prefix.
15611 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15613 # Transform confdefs.h into DEFS.
15614 # Protect against shell expansion while executing Makefile rules.
15615 # Protect against Makefile macro expansion.
15617 # If the first sed substitution is executed (which looks for macros that
15618 # take arguments), then branch to the quote section. Otherwise,
15619 # look for a macro that doesn't take arguments.
15620 ac_script='
15621 :mline
15622 /\\$/{
15624 s,\\\n,,
15625 b mline
15627 t clear
15628 :clear
15629 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15630 t quote
15631 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15632 t quote
15633 b any
15634 :quote
15635 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15636 s/\[/\\&/g
15637 s/\]/\\&/g
15638 s/\$/$$/g
15640 :any
15643 s/^\n//
15644 s/\n/ /g
15648 DEFS=`sed -n "$ac_script" confdefs.h`
15651 ac_libobjs=
15652 ac_ltlibobjs=
15653 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15654 # 1. Remove the extension, and $U if already installed.
15655 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15656 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15657 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15658 # will be set to the directory where LIBOBJS objects are built.
15659 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15660 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15661 done
15662 LIBOBJS=$ac_libobjs
15664 LTLIBOBJS=$ac_ltlibobjs
15667 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
15668 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
15669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15671 if test -n "$EXEEXT"; then
15672 am__EXEEXT_TRUE=
15673 am__EXEEXT_FALSE='#'
15674 else
15675 am__EXEEXT_TRUE='#'
15676 am__EXEEXT_FALSE=
15679 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15680 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15683 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15684 as_fn_error "conditional \"AMDEP\" was never defined.
15685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15687 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15688 as_fn_error "conditional \"am__fastdepCC\" was never defined.
15689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15691 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15692 as_fn_error "conditional \"am__fastdepCC\" was never defined.
15693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15695 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15696 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
15697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15699 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
15700 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
15701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15704 : ${CONFIG_STATUS=./config.status}
15705 ac_write_fail=0
15706 ac_clean_files_save=$ac_clean_files
15707 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15709 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15710 as_write_fail=0
15711 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15712 #! $SHELL
15713 # Generated by $as_me.
15714 # Run this file to recreate the current configuration.
15715 # Compiler output produced by configure, useful for debugging
15716 # configure, is in config.log if it exists.
15718 debug=false
15719 ac_cs_recheck=false
15720 ac_cs_silent=false
15722 SHELL=\${CONFIG_SHELL-$SHELL}
15723 export SHELL
15724 _ASEOF
15725 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15726 ## -------------------- ##
15727 ## M4sh Initialization. ##
15728 ## -------------------- ##
15730 # Be more Bourne compatible
15731 DUALCASE=1; export DUALCASE # for MKS sh
15732 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15733 emulate sh
15734 NULLCMD=:
15735 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15736 # is contrary to our usage. Disable this feature.
15737 alias -g '${1+"$@"}'='"$@"'
15738 setopt NO_GLOB_SUBST
15739 else
15740 case `(set -o) 2>/dev/null` in #(
15741 *posix*) :
15742 set -o posix ;; #(
15743 *) :
15745 esac
15749 as_nl='
15751 export as_nl
15752 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15753 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15754 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15755 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15756 # Prefer a ksh shell builtin over an external printf program on Solaris,
15757 # but without wasting forks for bash or zsh.
15758 if test -z "$BASH_VERSION$ZSH_VERSION" \
15759 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15760 as_echo='print -r --'
15761 as_echo_n='print -rn --'
15762 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15763 as_echo='printf %s\n'
15764 as_echo_n='printf %s'
15765 else
15766 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15767 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15768 as_echo_n='/usr/ucb/echo -n'
15769 else
15770 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15771 as_echo_n_body='eval
15772 arg=$1;
15773 case $arg in #(
15774 *"$as_nl"*)
15775 expr "X$arg" : "X\\(.*\\)$as_nl";
15776 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15777 esac;
15778 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15780 export as_echo_n_body
15781 as_echo_n='sh -c $as_echo_n_body as_echo'
15783 export as_echo_body
15784 as_echo='sh -c $as_echo_body as_echo'
15787 # The user is always right.
15788 if test "${PATH_SEPARATOR+set}" != set; then
15789 PATH_SEPARATOR=:
15790 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15791 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15792 PATH_SEPARATOR=';'
15797 # IFS
15798 # We need space, tab and new line, in precisely that order. Quoting is
15799 # there to prevent editors from complaining about space-tab.
15800 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15801 # splitting by setting IFS to empty value.)
15802 IFS=" "" $as_nl"
15804 # Find who we are. Look in the path if we contain no directory separator.
15805 case $0 in #((
15806 *[\\/]* ) as_myself=$0 ;;
15807 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15808 for as_dir in $PATH
15810 IFS=$as_save_IFS
15811 test -z "$as_dir" && as_dir=.
15812 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15813 done
15814 IFS=$as_save_IFS
15817 esac
15818 # We did not find ourselves, most probably we were run as `sh COMMAND'
15819 # in which case we are not to be found in the path.
15820 if test "x$as_myself" = x; then
15821 as_myself=$0
15823 if test ! -f "$as_myself"; then
15824 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15825 exit 1
15828 # Unset variables that we do not need and which cause bugs (e.g. in
15829 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15830 # suppresses any "Segmentation fault" message there. '((' could
15831 # trigger a bug in pdksh 5.2.14.
15832 for as_var in BASH_ENV ENV MAIL MAILPATH
15833 do eval test x\${$as_var+set} = xset \
15834 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15835 done
15836 PS1='$ '
15837 PS2='> '
15838 PS4='+ '
15840 # NLS nuisances.
15841 LC_ALL=C
15842 export LC_ALL
15843 LANGUAGE=C
15844 export LANGUAGE
15846 # CDPATH.
15847 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15850 # as_fn_error ERROR [LINENO LOG_FD]
15851 # ---------------------------------
15852 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15853 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15854 # script with status $?, using 1 if that was 0.
15855 as_fn_error ()
15857 as_status=$?; test $as_status -eq 0 && as_status=1
15858 if test "$3"; then
15859 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15860 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15862 $as_echo "$as_me: error: $1" >&2
15863 as_fn_exit $as_status
15864 } # as_fn_error
15867 # as_fn_set_status STATUS
15868 # -----------------------
15869 # Set $? to STATUS, without forking.
15870 as_fn_set_status ()
15872 return $1
15873 } # as_fn_set_status
15875 # as_fn_exit STATUS
15876 # -----------------
15877 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15878 as_fn_exit ()
15880 set +e
15881 as_fn_set_status $1
15882 exit $1
15883 } # as_fn_exit
15885 # as_fn_unset VAR
15886 # ---------------
15887 # Portably unset VAR.
15888 as_fn_unset ()
15890 { eval $1=; unset $1;}
15892 as_unset=as_fn_unset
15893 # as_fn_append VAR VALUE
15894 # ----------------------
15895 # Append the text in VALUE to the end of the definition contained in VAR. Take
15896 # advantage of any shell optimizations that allow amortized linear growth over
15897 # repeated appends, instead of the typical quadratic growth present in naive
15898 # implementations.
15899 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15900 eval 'as_fn_append ()
15902 eval $1+=\$2
15904 else
15905 as_fn_append ()
15907 eval $1=\$$1\$2
15909 fi # as_fn_append
15911 # as_fn_arith ARG...
15912 # ------------------
15913 # Perform arithmetic evaluation on the ARGs, and store the result in the
15914 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15915 # must be portable across $(()) and expr.
15916 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15917 eval 'as_fn_arith ()
15919 as_val=$(( $* ))
15921 else
15922 as_fn_arith ()
15924 as_val=`expr "$@" || test $? -eq 1`
15926 fi # as_fn_arith
15929 if expr a : '\(a\)' >/dev/null 2>&1 &&
15930 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15931 as_expr=expr
15932 else
15933 as_expr=false
15936 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15937 as_basename=basename
15938 else
15939 as_basename=false
15942 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15943 as_dirname=dirname
15944 else
15945 as_dirname=false
15948 as_me=`$as_basename -- "$0" ||
15949 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15950 X"$0" : 'X\(//\)$' \| \
15951 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15952 $as_echo X/"$0" |
15953 sed '/^.*\/\([^/][^/]*\)\/*$/{
15954 s//\1/
15957 /^X\/\(\/\/\)$/{
15958 s//\1/
15961 /^X\/\(\/\).*/{
15962 s//\1/
15965 s/.*/./; q'`
15967 # Avoid depending upon Character Ranges.
15968 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15969 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15970 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15971 as_cr_digits='0123456789'
15972 as_cr_alnum=$as_cr_Letters$as_cr_digits
15974 ECHO_C= ECHO_N= ECHO_T=
15975 case `echo -n x` in #(((((
15976 -n*)
15977 case `echo 'xy\c'` in
15978 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15979 xy) ECHO_C='\c';;
15980 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15981 ECHO_T=' ';;
15982 esac;;
15984 ECHO_N='-n';;
15985 esac
15987 rm -f conf$$ conf$$.exe conf$$.file
15988 if test -d conf$$.dir; then
15989 rm -f conf$$.dir/conf$$.file
15990 else
15991 rm -f conf$$.dir
15992 mkdir conf$$.dir 2>/dev/null
15994 if (echo >conf$$.file) 2>/dev/null; then
15995 if ln -s conf$$.file conf$$ 2>/dev/null; then
15996 as_ln_s='ln -s'
15997 # ... but there are two gotchas:
15998 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15999 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16000 # In both cases, we have to default to `cp -p'.
16001 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16002 as_ln_s='cp -p'
16003 elif ln conf$$.file conf$$ 2>/dev/null; then
16004 as_ln_s=ln
16005 else
16006 as_ln_s='cp -p'
16008 else
16009 as_ln_s='cp -p'
16011 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16012 rmdir conf$$.dir 2>/dev/null
16015 # as_fn_mkdir_p
16016 # -------------
16017 # Create "$as_dir" as a directory, including parents if necessary.
16018 as_fn_mkdir_p ()
16021 case $as_dir in #(
16022 -*) as_dir=./$as_dir;;
16023 esac
16024 test -d "$as_dir" || eval $as_mkdir_p || {
16025 as_dirs=
16026 while :; do
16027 case $as_dir in #(
16028 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16029 *) as_qdir=$as_dir;;
16030 esac
16031 as_dirs="'$as_qdir' $as_dirs"
16032 as_dir=`$as_dirname -- "$as_dir" ||
16033 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16034 X"$as_dir" : 'X\(//\)[^/]' \| \
16035 X"$as_dir" : 'X\(//\)$' \| \
16036 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16037 $as_echo X"$as_dir" |
16038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16039 s//\1/
16042 /^X\(\/\/\)[^/].*/{
16043 s//\1/
16046 /^X\(\/\/\)$/{
16047 s//\1/
16050 /^X\(\/\).*/{
16051 s//\1/
16054 s/.*/./; q'`
16055 test -d "$as_dir" && break
16056 done
16057 test -z "$as_dirs" || eval "mkdir $as_dirs"
16058 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16061 } # as_fn_mkdir_p
16062 if mkdir -p . 2>/dev/null; then
16063 as_mkdir_p='mkdir -p "$as_dir"'
16064 else
16065 test -d ./-p && rmdir ./-p
16066 as_mkdir_p=false
16069 if test -x / >/dev/null 2>&1; then
16070 as_test_x='test -x'
16071 else
16072 if ls -dL / >/dev/null 2>&1; then
16073 as_ls_L_option=L
16074 else
16075 as_ls_L_option=
16077 as_test_x='
16078 eval sh -c '\''
16079 if test -d "$1"; then
16080 test -d "$1/.";
16081 else
16082 case $1 in #(
16083 -*)set "./$1";;
16084 esac;
16085 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16086 ???[sx]*):;;*)false;;esac;fi
16087 '\'' sh
16090 as_executable_p=$as_test_x
16092 # Sed expression to map a string onto a valid CPP name.
16093 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16095 # Sed expression to map a string onto a valid variable name.
16096 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16099 exec 6>&1
16100 ## ----------------------------------- ##
16101 ## Main body of $CONFIG_STATUS script. ##
16102 ## ----------------------------------- ##
16103 _ASEOF
16104 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16107 # Save the log message, to keep $0 and so on meaningful, and to
16108 # report actual input values of CONFIG_FILES etc. instead of their
16109 # values after options handling.
16110 ac_log="
16111 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16112 generated by GNU Autoconf 2.64. Invocation command line was
16114 CONFIG_FILES = $CONFIG_FILES
16115 CONFIG_HEADERS = $CONFIG_HEADERS
16116 CONFIG_LINKS = $CONFIG_LINKS
16117 CONFIG_COMMANDS = $CONFIG_COMMANDS
16118 $ $0 $@
16120 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16123 _ACEOF
16125 case $ac_config_files in *"
16126 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16127 esac
16131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16132 # Files that config.status was made for.
16133 config_files="$ac_config_files"
16134 config_commands="$ac_config_commands"
16136 _ACEOF
16138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16139 ac_cs_usage="\
16140 \`$as_me' instantiates files and other configuration actions
16141 from templates according to the current configuration. Unless the files
16142 and actions are specified as TAGs, all are instantiated by default.
16144 Usage: $0 [OPTION]... [TAG]...
16146 -h, --help print this help, then exit
16147 -V, --version print version number and configuration settings, then exit
16148 -q, --quiet, --silent
16149 do not print progress messages
16150 -d, --debug don't remove temporary files
16151 --recheck update $as_me by reconfiguring in the same conditions
16152 --file=FILE[:TEMPLATE]
16153 instantiate the configuration file FILE
16155 Configuration files:
16156 $config_files
16158 Configuration commands:
16159 $config_commands
16161 Report bugs to the package provider.
16162 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16163 General help using GNU software: <http://www.gnu.org/gethelp/>."
16165 _ACEOF
16166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16167 ac_cs_version="\\
16168 GNU Vtable Verification Runtime Library config.status 1.0
16169 configured by $0, generated by GNU Autoconf 2.64,
16170 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16172 Copyright (C) 2009 Free Software Foundation, Inc.
16173 This config.status script is free software; the Free Software Foundation
16174 gives unlimited permission to copy, distribute and modify it."
16176 ac_pwd='$ac_pwd'
16177 srcdir='$srcdir'
16178 INSTALL='$INSTALL'
16179 MKDIR_P='$MKDIR_P'
16180 AWK='$AWK'
16181 test -n "\$AWK" || AWK=awk
16182 _ACEOF
16184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16185 # The default lists apply if the user does not specify any file.
16186 ac_need_defaults=:
16187 while test $# != 0
16189 case $1 in
16190 --*=*)
16191 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16192 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16193 ac_shift=:
16196 ac_option=$1
16197 ac_optarg=$2
16198 ac_shift=shift
16200 esac
16202 case $ac_option in
16203 # Handling of the options.
16204 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16205 ac_cs_recheck=: ;;
16206 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16207 $as_echo "$ac_cs_version"; exit ;;
16208 --debug | --debu | --deb | --de | --d | -d )
16209 debug=: ;;
16210 --file | --fil | --fi | --f )
16211 $ac_shift
16212 case $ac_optarg in
16213 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16214 esac
16215 as_fn_append CONFIG_FILES " '$ac_optarg'"
16216 ac_need_defaults=false;;
16217 --he | --h | --help | --hel | -h )
16218 $as_echo "$ac_cs_usage"; exit ;;
16219 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16220 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16221 ac_cs_silent=: ;;
16223 # This is an error.
16224 -*) as_fn_error "unrecognized option: \`$1'
16225 Try \`$0 --help' for more information." ;;
16227 *) as_fn_append ac_config_targets " $1"
16228 ac_need_defaults=false ;;
16230 esac
16231 shift
16232 done
16234 ac_configure_extra_args=
16236 if $ac_cs_silent; then
16237 exec 6>/dev/null
16238 ac_configure_extra_args="$ac_configure_extra_args --silent"
16241 _ACEOF
16242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16243 if \$ac_cs_recheck; then
16244 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16245 shift
16246 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16247 CONFIG_SHELL='$SHELL'
16248 export CONFIG_SHELL
16249 exec "\$@"
16252 _ACEOF
16253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16254 exec 5>>config.log
16256 echo
16257 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16258 ## Running $as_me. ##
16259 _ASBOX
16260 $as_echo "$ac_log"
16261 } >&5
16263 _ACEOF
16264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16266 # INIT-COMMANDS
16269 srcdir="$srcdir"
16270 host="$host"
16271 target="$target"
16272 with_multisubdir="$with_multisubdir"
16273 with_multisrctop="$with_multisrctop"
16274 with_target_subdir="$with_target_subdir"
16275 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16276 multi_basedir="$multi_basedir"
16277 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16278 CC="$CC"
16279 CXX="$CXX"
16280 GFORTRAN="$GFORTRAN"
16281 GCJ="$GCJ"
16282 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16285 # The HP-UX ksh and POSIX shell print the target directory to stdout
16286 # if CDPATH is set.
16287 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16289 sed_quote_subst='$sed_quote_subst'
16290 double_quote_subst='$double_quote_subst'
16291 delay_variable_subst='$delay_variable_subst'
16292 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16293 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16294 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16295 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16296 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16297 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16298 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16299 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16300 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16301 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16302 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16303 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16304 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16305 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16306 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16307 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16308 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16309 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16310 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16311 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16312 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16313 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16314 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16315 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16316 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16317 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16318 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16319 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16320 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16321 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16322 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16323 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16324 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16325 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16326 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16327 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16328 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16329 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16330 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16331 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16332 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16333 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16334 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16335 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16336 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16337 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16338 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16339 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16340 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"`'
16341 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16342 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16343 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16344 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16345 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16346 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16347 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16348 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16349 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16350 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16351 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16352 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16353 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16354 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16355 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16356 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16357 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16358 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16359 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16360 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16361 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16362 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16363 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16364 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16365 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16366 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16367 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16368 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16369 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16370 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16371 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16372 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16373 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16374 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16375 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16376 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16377 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16378 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16379 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16380 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16381 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16382 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16383 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16384 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16385 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16386 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16387 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16388 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16389 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16390 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16391 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16392 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16393 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16394 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16395 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16396 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16397 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16398 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16399 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16400 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16401 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16402 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16403 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16404 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16405 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16406 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16407 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16408 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16409 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16410 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16411 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16412 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16413 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16414 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16415 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16416 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16417 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16418 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16419 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16420 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16421 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16422 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16423 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16424 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16425 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16426 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16427 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16428 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16429 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16430 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16431 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16432 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16433 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16434 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16435 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16436 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16437 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16438 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16439 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16440 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16441 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16442 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16443 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16444 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16445 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16446 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16447 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16448 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16449 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16450 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16451 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16452 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16453 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16454 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16455 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16456 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16457 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16458 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16459 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16460 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16461 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16462 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16463 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16464 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16465 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16466 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16468 LTCC='$LTCC'
16469 LTCFLAGS='$LTCFLAGS'
16470 compiler='$compiler_DEFAULT'
16472 # A function that is used when there is no print builtin or printf.
16473 func_fallback_echo ()
16475 eval 'cat <<_LTECHO_EOF
16477 _LTECHO_EOF'
16480 # Quote evaled strings.
16481 for var in SHELL \
16482 ECHO \
16483 SED \
16484 GREP \
16485 EGREP \
16486 FGREP \
16487 LD \
16488 NM \
16489 LN_S \
16490 lt_SP2NL \
16491 lt_NL2SP \
16492 reload_flag \
16493 OBJDUMP \
16494 deplibs_check_method \
16495 file_magic_cmd \
16496 AR \
16497 AR_FLAGS \
16498 STRIP \
16499 RANLIB \
16500 CC \
16501 CFLAGS \
16502 compiler \
16503 lt_cv_sys_global_symbol_pipe \
16504 lt_cv_sys_global_symbol_to_cdecl \
16505 lt_cv_sys_global_symbol_to_c_name_address \
16506 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16507 lt_prog_compiler_no_builtin_flag \
16508 lt_prog_compiler_wl \
16509 lt_prog_compiler_pic \
16510 lt_prog_compiler_static \
16511 lt_cv_prog_compiler_c_o \
16512 need_locks \
16513 DSYMUTIL \
16514 NMEDIT \
16515 LIPO \
16516 OTOOL \
16517 OTOOL64 \
16518 shrext_cmds \
16519 export_dynamic_flag_spec \
16520 whole_archive_flag_spec \
16521 compiler_needs_object \
16522 with_gnu_ld \
16523 allow_undefined_flag \
16524 no_undefined_flag \
16525 hardcode_libdir_flag_spec \
16526 hardcode_libdir_flag_spec_ld \
16527 hardcode_libdir_separator \
16528 fix_srcfile_path \
16529 exclude_expsyms \
16530 include_expsyms \
16531 file_list_spec \
16532 variables_saved_for_relink \
16533 libname_spec \
16534 library_names_spec \
16535 soname_spec \
16536 install_override_mode \
16537 finish_eval \
16538 old_striplib \
16539 striplib \
16540 compiler_lib_search_dirs \
16541 predep_objects \
16542 postdep_objects \
16543 predeps \
16544 postdeps \
16545 compiler_lib_search_path \
16546 LD_CXX \
16547 reload_flag_CXX \
16548 compiler_CXX \
16549 lt_prog_compiler_no_builtin_flag_CXX \
16550 lt_prog_compiler_wl_CXX \
16551 lt_prog_compiler_pic_CXX \
16552 lt_prog_compiler_static_CXX \
16553 lt_cv_prog_compiler_c_o_CXX \
16554 export_dynamic_flag_spec_CXX \
16555 whole_archive_flag_spec_CXX \
16556 compiler_needs_object_CXX \
16557 with_gnu_ld_CXX \
16558 allow_undefined_flag_CXX \
16559 no_undefined_flag_CXX \
16560 hardcode_libdir_flag_spec_CXX \
16561 hardcode_libdir_flag_spec_ld_CXX \
16562 hardcode_libdir_separator_CXX \
16563 fix_srcfile_path_CXX \
16564 exclude_expsyms_CXX \
16565 include_expsyms_CXX \
16566 file_list_spec_CXX \
16567 compiler_lib_search_dirs_CXX \
16568 predep_objects_CXX \
16569 postdep_objects_CXX \
16570 predeps_CXX \
16571 postdeps_CXX \
16572 compiler_lib_search_path_CXX; do
16573 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16574 *[\\\\\\\`\\"\\\$]*)
16575 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16578 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16580 esac
16581 done
16583 # Double-quote double-evaled strings.
16584 for var in reload_cmds \
16585 old_postinstall_cmds \
16586 old_postuninstall_cmds \
16587 old_archive_cmds \
16588 extract_expsyms_cmds \
16589 old_archive_from_new_cmds \
16590 old_archive_from_expsyms_cmds \
16591 archive_cmds \
16592 archive_expsym_cmds \
16593 module_cmds \
16594 module_expsym_cmds \
16595 export_symbols_cmds \
16596 prelink_cmds \
16597 postinstall_cmds \
16598 postuninstall_cmds \
16599 finish_cmds \
16600 sys_lib_search_path_spec \
16601 sys_lib_dlsearch_path_spec \
16602 reload_cmds_CXX \
16603 old_archive_cmds_CXX \
16604 old_archive_from_new_cmds_CXX \
16605 old_archive_from_expsyms_cmds_CXX \
16606 archive_cmds_CXX \
16607 archive_expsym_cmds_CXX \
16608 module_cmds_CXX \
16609 module_expsym_cmds_CXX \
16610 export_symbols_cmds_CXX \
16611 prelink_cmds_CXX; do
16612 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16613 *[\\\\\\\`\\"\\\$]*)
16614 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16617 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16619 esac
16620 done
16622 ac_aux_dir='$ac_aux_dir'
16623 xsi_shell='$xsi_shell'
16624 lt_shell_append='$lt_shell_append'
16626 # See if we are running on zsh, and set the options which allow our
16627 # commands through without removal of \ escapes INIT.
16628 if test -n "\${ZSH_VERSION+set}" ; then
16629 setopt NO_GLOB_SUBST
16633 PACKAGE='$PACKAGE'
16634 VERSION='$VERSION'
16635 TIMESTAMP='$TIMESTAMP'
16636 RM='$RM'
16637 ofile='$ofile'
16644 _ACEOF
16646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16648 # Handling of arguments.
16649 for ac_config_target in $ac_config_targets
16651 case $ac_config_target in
16652 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16653 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16654 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16655 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16656 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
16658 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16659 esac
16660 done
16663 # If the user did not use the arguments to specify the items to instantiate,
16664 # then the envvar interface is used. Set only those that are not.
16665 # We use the long form for the default assignment because of an extremely
16666 # bizarre bug on SunOS 4.1.3.
16667 if $ac_need_defaults; then
16668 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16669 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16672 # Have a temporary directory for convenience. Make it in the build tree
16673 # simply because there is no reason against having it here, and in addition,
16674 # creating and moving files from /tmp can sometimes cause problems.
16675 # Hook for its removal unless debugging.
16676 # Note that there is a small window in which the directory will not be cleaned:
16677 # after its creation but before its name has been assigned to `$tmp'.
16678 $debug ||
16680 tmp=
16681 trap 'exit_status=$?
16682 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16684 trap 'as_fn_exit 1' 1 2 13 15
16686 # Create a (secure) tmp directory for tmp files.
16689 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16690 test -n "$tmp" && test -d "$tmp"
16691 } ||
16693 tmp=./conf$$-$RANDOM
16694 (umask 077 && mkdir "$tmp")
16695 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16697 # Set up the scripts for CONFIG_FILES section.
16698 # No need to generate them if there are no CONFIG_FILES.
16699 # This happens for instance with `./config.status config.h'.
16700 if test -n "$CONFIG_FILES"; then
16703 ac_cr=`echo X | tr X '\015'`
16704 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16705 # But we know of no other shell where ac_cr would be empty at this
16706 # point, so we can use a bashism as a fallback.
16707 if test "x$ac_cr" = x; then
16708 eval ac_cr=\$\'\\r\'
16710 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16711 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16712 ac_cs_awk_cr='\r'
16713 else
16714 ac_cs_awk_cr=$ac_cr
16717 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16718 _ACEOF
16722 echo "cat >conf$$subs.awk <<_ACEOF" &&
16723 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16724 echo "_ACEOF"
16725 } >conf$$subs.sh ||
16726 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16727 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16728 ac_delim='%!_!# '
16729 for ac_last_try in false false false false false :; do
16730 . ./conf$$subs.sh ||
16731 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16733 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16734 if test $ac_delim_n = $ac_delim_num; then
16735 break
16736 elif $ac_last_try; then
16737 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16738 else
16739 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16741 done
16742 rm -f conf$$subs.sh
16744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16745 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16746 _ACEOF
16747 sed -n '
16749 s/^/S["/; s/!.*/"]=/
16752 s/^[^!]*!//
16753 :repl
16754 t repl
16755 s/'"$ac_delim"'$//
16756 t delim
16759 s/\(.\{148\}\).*/\1/
16760 t more1
16761 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16764 b repl
16765 :more1
16766 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16769 s/.\{148\}//
16770 t nl
16771 :delim
16773 s/\(.\{148\}\).*/\1/
16774 t more2
16775 s/["\\]/\\&/g; s/^/"/; s/$/"/
16778 :more2
16779 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16782 s/.\{148\}//
16783 t delim
16784 ' <conf$$subs.awk | sed '
16785 /^[^""]/{
16787 s/\n//
16789 ' >>$CONFIG_STATUS || ac_write_fail=1
16790 rm -f conf$$subs.awk
16791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16792 _ACAWK
16793 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16794 for (key in S) S_is_set[key] = 1
16795 FS = "\a"
16799 line = $ 0
16800 nfields = split(line, field, "@")
16801 substed = 0
16802 len = length(field[1])
16803 for (i = 2; i < nfields; i++) {
16804 key = field[i]
16805 keylen = length(key)
16806 if (S_is_set[key]) {
16807 value = S[key]
16808 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16809 len += length(value) + length(field[++i])
16810 substed = 1
16811 } else
16812 len += 1 + keylen
16815 print line
16818 _ACAWK
16819 _ACEOF
16820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16821 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16822 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16823 else
16825 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16826 || as_fn_error "could not setup config files machinery" "$LINENO" 5
16827 _ACEOF
16829 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16830 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16831 # trailing colons and then remove the whole line if VPATH becomes empty
16832 # (actually we leave an empty line to preserve line numbers).
16833 if test "x$srcdir" = x.; then
16834 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16835 s/:*\$(srcdir):*/:/
16836 s/:*\${srcdir}:*/:/
16837 s/:*@srcdir@:*/:/
16838 s/^\([^=]*=[ ]*\):*/\1/
16839 s/:*$//
16840 s/^[^=]*=[ ]*$//
16844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16845 fi # test -n "$CONFIG_FILES"
16848 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
16849 shift
16850 for ac_tag
16852 case $ac_tag in
16853 :[FHLC]) ac_mode=$ac_tag; continue;;
16854 esac
16855 case $ac_mode$ac_tag in
16856 :[FHL]*:*);;
16857 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16858 :[FH]-) ac_tag=-:-;;
16859 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16860 esac
16861 ac_save_IFS=$IFS
16862 IFS=:
16863 set x $ac_tag
16864 IFS=$ac_save_IFS
16865 shift
16866 ac_file=$1
16867 shift
16869 case $ac_mode in
16870 :L) ac_source=$1;;
16871 :[FH])
16872 ac_file_inputs=
16873 for ac_f
16875 case $ac_f in
16876 -) ac_f="$tmp/stdin";;
16877 *) # Look for the file first in the build tree, then in the source tree
16878 # (if the path is not absolute). The absolute path cannot be DOS-style,
16879 # because $ac_f cannot contain `:'.
16880 test -f "$ac_f" ||
16881 case $ac_f in
16882 [\\/$]*) false;;
16883 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16884 esac ||
16885 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16886 esac
16887 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16888 as_fn_append ac_file_inputs " '$ac_f'"
16889 done
16891 # Let's still pretend it is `configure' which instantiates (i.e., don't
16892 # use $as_me), people would be surprised to read:
16893 # /* config.h. Generated by config.status. */
16894 configure_input='Generated from '`
16895 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16896 `' by configure.'
16897 if test x"$ac_file" != x-; then
16898 configure_input="$ac_file. $configure_input"
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16900 $as_echo "$as_me: creating $ac_file" >&6;}
16902 # Neutralize special characters interpreted by sed in replacement strings.
16903 case $configure_input in #(
16904 *\&* | *\|* | *\\* )
16905 ac_sed_conf_input=`$as_echo "$configure_input" |
16906 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16907 *) ac_sed_conf_input=$configure_input;;
16908 esac
16910 case $ac_tag in
16911 *:-:* | *:-) cat >"$tmp/stdin" \
16912 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16913 esac
16915 esac
16917 ac_dir=`$as_dirname -- "$ac_file" ||
16918 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16919 X"$ac_file" : 'X\(//\)[^/]' \| \
16920 X"$ac_file" : 'X\(//\)$' \| \
16921 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16922 $as_echo X"$ac_file" |
16923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16924 s//\1/
16927 /^X\(\/\/\)[^/].*/{
16928 s//\1/
16931 /^X\(\/\/\)$/{
16932 s//\1/
16935 /^X\(\/\).*/{
16936 s//\1/
16939 s/.*/./; q'`
16940 as_dir="$ac_dir"; as_fn_mkdir_p
16941 ac_builddir=.
16943 case "$ac_dir" in
16944 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16946 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16947 # A ".." for each directory in $ac_dir_suffix.
16948 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16949 case $ac_top_builddir_sub in
16950 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16951 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16952 esac ;;
16953 esac
16954 ac_abs_top_builddir=$ac_pwd
16955 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16956 # for backward compatibility:
16957 ac_top_builddir=$ac_top_build_prefix
16959 case $srcdir in
16960 .) # We are building in place.
16961 ac_srcdir=.
16962 ac_top_srcdir=$ac_top_builddir_sub
16963 ac_abs_top_srcdir=$ac_pwd ;;
16964 [\\/]* | ?:[\\/]* ) # Absolute name.
16965 ac_srcdir=$srcdir$ac_dir_suffix;
16966 ac_top_srcdir=$srcdir
16967 ac_abs_top_srcdir=$srcdir ;;
16968 *) # Relative name.
16969 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16970 ac_top_srcdir=$ac_top_build_prefix$srcdir
16971 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16972 esac
16973 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16976 case $ac_mode in
16979 # CONFIG_FILE
16982 case $INSTALL in
16983 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16984 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16985 esac
16986 ac_MKDIR_P=$MKDIR_P
16987 case $MKDIR_P in
16988 [\\/$]* | ?:[\\/]* ) ;;
16989 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16990 esac
16991 _ACEOF
16993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16994 # If the template does not know about datarootdir, expand it.
16995 # FIXME: This hack should be removed a few years after 2.60.
16996 ac_datarootdir_hack=; ac_datarootdir_seen=
16997 ac_sed_dataroot='
16998 /datarootdir/ {
17002 /@datadir@/p
17003 /@docdir@/p
17004 /@infodir@/p
17005 /@localedir@/p
17006 /@mandir@/p'
17007 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17008 *datarootdir*) ac_datarootdir_seen=yes;;
17009 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17011 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17012 _ACEOF
17013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17014 ac_datarootdir_hack='
17015 s&@datadir@&$datadir&g
17016 s&@docdir@&$docdir&g
17017 s&@infodir@&$infodir&g
17018 s&@localedir@&$localedir&g
17019 s&@mandir@&$mandir&g
17020 s&\\\${datarootdir}&$datarootdir&g' ;;
17021 esac
17022 _ACEOF
17024 # Neutralize VPATH when `$srcdir' = `.'.
17025 # Shell code in configure.ac might set extrasub.
17026 # FIXME: do we really want to maintain this feature?
17027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17028 ac_sed_extra="$ac_vpsub
17029 $extrasub
17030 _ACEOF
17031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17033 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17034 s|@configure_input@|$ac_sed_conf_input|;t t
17035 s&@top_builddir@&$ac_top_builddir_sub&;t t
17036 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17037 s&@srcdir@&$ac_srcdir&;t t
17038 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17039 s&@top_srcdir@&$ac_top_srcdir&;t t
17040 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17041 s&@builddir@&$ac_builddir&;t t
17042 s&@abs_builddir@&$ac_abs_builddir&;t t
17043 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17044 s&@INSTALL@&$ac_INSTALL&;t t
17045 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17046 $ac_datarootdir_hack
17048 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17049 || as_fn_error "could not create $ac_file" "$LINENO" 5
17051 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17052 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17053 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17055 which seems to be undefined. Please make sure it is defined." >&5
17056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17057 which seems to be undefined. Please make sure it is defined." >&2;}
17059 rm -f "$tmp/stdin"
17060 case $ac_file in
17061 -) cat "$tmp/out" && rm -f "$tmp/out";;
17062 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17063 esac \
17064 || as_fn_error "could not create $ac_file" "$LINENO" 5
17068 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17069 $as_echo "$as_me: executing $ac_file commands" >&6;}
17071 esac
17074 case $ac_file$ac_mode in
17075 "default-1":C)
17076 # Only add multilib support code if we just rebuilt the top-level
17077 # Makefile.
17078 case " $CONFIG_FILES " in
17079 *" Makefile "*)
17080 ac_file=Makefile . ${multi_basedir}/config-ml.in
17082 esac ;;
17083 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17084 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17085 # are listed without --file. Let's play safe and only enable the eval
17086 # if we detect the quoting.
17087 case $CONFIG_FILES in
17088 *\'*) eval set x "$CONFIG_FILES" ;;
17089 *) set x $CONFIG_FILES ;;
17090 esac
17091 shift
17092 for mf
17094 # Strip MF so we end up with the name of the file.
17095 mf=`echo "$mf" | sed -e 's/:.*$//'`
17096 # Check whether this is an Automake generated Makefile or not.
17097 # We used to match only the files named `Makefile.in', but
17098 # some people rename them; so instead we look at the file content.
17099 # Grep'ing the first line is not enough: some people post-process
17100 # each Makefile.in and add a new line on top of each file to say so.
17101 # Grep'ing the whole file is not good either: AIX grep has a line
17102 # limit of 2048, but all sed's we know have understand at least 4000.
17103 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17104 dirpart=`$as_dirname -- "$mf" ||
17105 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17106 X"$mf" : 'X\(//\)[^/]' \| \
17107 X"$mf" : 'X\(//\)$' \| \
17108 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17109 $as_echo X"$mf" |
17110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17111 s//\1/
17114 /^X\(\/\/\)[^/].*/{
17115 s//\1/
17118 /^X\(\/\/\)$/{
17119 s//\1/
17122 /^X\(\/\).*/{
17123 s//\1/
17126 s/.*/./; q'`
17127 else
17128 continue
17130 # Extract the definition of DEPDIR, am__include, and am__quote
17131 # from the Makefile without running `make'.
17132 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17133 test -z "$DEPDIR" && continue
17134 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17135 test -z "am__include" && continue
17136 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17137 # When using ansi2knr, U may be empty or an underscore; expand it
17138 U=`sed -n 's/^U = //p' < "$mf"`
17139 # Find all dependency output files, they are included files with
17140 # $(DEPDIR) in their names. We invoke sed twice because it is the
17141 # simplest approach to changing $(DEPDIR) to its actual value in the
17142 # expansion.
17143 for file in `sed -n "
17144 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17145 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17146 # Make sure the directory exists.
17147 test -f "$dirpart/$file" && continue
17148 fdir=`$as_dirname -- "$file" ||
17149 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17150 X"$file" : 'X\(//\)[^/]' \| \
17151 X"$file" : 'X\(//\)$' \| \
17152 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17153 $as_echo X"$file" |
17154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17155 s//\1/
17158 /^X\(\/\/\)[^/].*/{
17159 s//\1/
17162 /^X\(\/\/\)$/{
17163 s//\1/
17166 /^X\(\/\).*/{
17167 s//\1/
17170 s/.*/./; q'`
17171 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17172 # echo "creating $dirpart/$file"
17173 echo '# dummy' > "$dirpart/$file"
17174 done
17175 done
17178 "libtool":C)
17180 # See if we are running on zsh, and set the options which allow our
17181 # commands through without removal of \ escapes.
17182 if test -n "${ZSH_VERSION+set}" ; then
17183 setopt NO_GLOB_SUBST
17186 cfgfile="${ofile}T"
17187 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17188 $RM "$cfgfile"
17190 cat <<_LT_EOF >> "$cfgfile"
17191 #! $SHELL
17193 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17194 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17195 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17196 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17198 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17199 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17200 # Written by Gordon Matzigkeit, 1996
17202 # This file is part of GNU Libtool.
17204 # GNU Libtool is free software; you can redistribute it and/or
17205 # modify it under the terms of the GNU General Public License as
17206 # published by the Free Software Foundation; either version 2 of
17207 # the License, or (at your option) any later version.
17209 # As a special exception to the GNU General Public License,
17210 # if you distribute this file as part of a program or library that
17211 # is built using GNU Libtool, you may include this file under the
17212 # same distribution terms that you use for the rest of that program.
17214 # GNU Libtool is distributed in the hope that it will be useful,
17215 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17216 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17217 # GNU General Public License for more details.
17219 # You should have received a copy of the GNU General Public License
17220 # along with GNU Libtool; see the file COPYING. If not, a copy
17221 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17222 # obtained by writing to the Free Software Foundation, Inc.,
17223 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17226 # The names of the tagged configurations supported by this script.
17227 available_tags="CXX "
17229 # ### BEGIN LIBTOOL CONFIG
17231 # Which release of libtool.m4 was used?
17232 macro_version=$macro_version
17233 macro_revision=$macro_revision
17235 # Whether or not to build shared libraries.
17236 build_libtool_libs=$enable_shared
17238 # Whether or not to build static libraries.
17239 build_old_libs=$enable_static
17241 # What type of objects to build.
17242 pic_mode=$pic_mode
17244 # Whether or not to optimize for fast installation.
17245 fast_install=$enable_fast_install
17247 # Shell to use when invoking shell scripts.
17248 SHELL=$lt_SHELL
17250 # An echo program that protects backslashes.
17251 ECHO=$lt_ECHO
17253 # The host system.
17254 host_alias=$host_alias
17255 host=$host
17256 host_os=$host_os
17258 # The build system.
17259 build_alias=$build_alias
17260 build=$build
17261 build_os=$build_os
17263 # A sed program that does not truncate output.
17264 SED=$lt_SED
17266 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17267 Xsed="\$SED -e 1s/^X//"
17269 # A grep program that handles long lines.
17270 GREP=$lt_GREP
17272 # An ERE matcher.
17273 EGREP=$lt_EGREP
17275 # A literal string matcher.
17276 FGREP=$lt_FGREP
17278 # A BSD- or MS-compatible name lister.
17279 NM=$lt_NM
17281 # Whether we need soft or hard links.
17282 LN_S=$lt_LN_S
17284 # What is the maximum length of a command?
17285 max_cmd_len=$max_cmd_len
17287 # Object file suffix (normally "o").
17288 objext=$ac_objext
17290 # Executable file suffix (normally "").
17291 exeext=$exeext
17293 # whether the shell understands "unset".
17294 lt_unset=$lt_unset
17296 # turn spaces into newlines.
17297 SP2NL=$lt_lt_SP2NL
17299 # turn newlines into spaces.
17300 NL2SP=$lt_lt_NL2SP
17302 # An object symbol dumper.
17303 OBJDUMP=$lt_OBJDUMP
17305 # Method to check whether dependent libraries are shared objects.
17306 deplibs_check_method=$lt_deplibs_check_method
17308 # Command to use when deplibs_check_method == "file_magic".
17309 file_magic_cmd=$lt_file_magic_cmd
17311 # The archiver.
17312 AR=$lt_AR
17313 AR_FLAGS=$lt_AR_FLAGS
17315 # A symbol stripping program.
17316 STRIP=$lt_STRIP
17318 # Commands used to install an old-style archive.
17319 RANLIB=$lt_RANLIB
17320 old_postinstall_cmds=$lt_old_postinstall_cmds
17321 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17323 # Whether to use a lock for old archive extraction.
17324 lock_old_archive_extraction=$lock_old_archive_extraction
17326 # A C compiler.
17327 LTCC=$lt_CC
17329 # LTCC compiler flags.
17330 LTCFLAGS=$lt_CFLAGS
17332 # Take the output of nm and produce a listing of raw symbols and C names.
17333 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17335 # Transform the output of nm in a proper C declaration.
17336 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17338 # Transform the output of nm in a C name address pair.
17339 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17341 # Transform the output of nm in a C name address pair when lib prefix is needed.
17342 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17344 # The name of the directory that contains temporary libtool files.
17345 objdir=$objdir
17347 # Used to examine libraries when file_magic_cmd begins with "file".
17348 MAGIC_CMD=$MAGIC_CMD
17350 # Must we lock files when doing compilation?
17351 need_locks=$lt_need_locks
17353 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17354 DSYMUTIL=$lt_DSYMUTIL
17356 # Tool to change global to local symbols on Mac OS X.
17357 NMEDIT=$lt_NMEDIT
17359 # Tool to manipulate fat objects and archives on Mac OS X.
17360 LIPO=$lt_LIPO
17362 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17363 OTOOL=$lt_OTOOL
17365 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17366 OTOOL64=$lt_OTOOL64
17368 # Old archive suffix (normally "a").
17369 libext=$libext
17371 # Shared library suffix (normally ".so").
17372 shrext_cmds=$lt_shrext_cmds
17374 # The commands to extract the exported symbol list from a shared archive.
17375 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17377 # Variables whose values should be saved in libtool wrapper scripts and
17378 # restored at link time.
17379 variables_saved_for_relink=$lt_variables_saved_for_relink
17381 # Do we need the "lib" prefix for modules?
17382 need_lib_prefix=$need_lib_prefix
17384 # Do we need a version for libraries?
17385 need_version=$need_version
17387 # Library versioning type.
17388 version_type=$version_type
17390 # Shared library runtime path variable.
17391 runpath_var=$runpath_var
17393 # Shared library path variable.
17394 shlibpath_var=$shlibpath_var
17396 # Is shlibpath searched before the hard-coded library search path?
17397 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17399 # Format of library name prefix.
17400 libname_spec=$lt_libname_spec
17402 # List of archive names. First name is the real one, the rest are links.
17403 # The last name is the one that the linker finds with -lNAME
17404 library_names_spec=$lt_library_names_spec
17406 # The coded name of the library, if different from the real name.
17407 soname_spec=$lt_soname_spec
17409 # Permission mode override for installation of shared libraries.
17410 install_override_mode=$lt_install_override_mode
17412 # Command to use after installation of a shared archive.
17413 postinstall_cmds=$lt_postinstall_cmds
17415 # Command to use after uninstallation of a shared archive.
17416 postuninstall_cmds=$lt_postuninstall_cmds
17418 # Commands used to finish a libtool library installation in a directory.
17419 finish_cmds=$lt_finish_cmds
17421 # As "finish_cmds", except a single script fragment to be evaled but
17422 # not shown.
17423 finish_eval=$lt_finish_eval
17425 # Whether we should hardcode library paths into libraries.
17426 hardcode_into_libs=$hardcode_into_libs
17428 # Compile-time system search path for libraries.
17429 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17431 # Run-time system search path for libraries.
17432 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17434 # Whether dlopen is supported.
17435 dlopen_support=$enable_dlopen
17437 # Whether dlopen of programs is supported.
17438 dlopen_self=$enable_dlopen_self
17440 # Whether dlopen of statically linked programs is supported.
17441 dlopen_self_static=$enable_dlopen_self_static
17443 # Commands to strip libraries.
17444 old_striplib=$lt_old_striplib
17445 striplib=$lt_striplib
17448 # The linker used to build libraries.
17449 LD=$lt_LD
17451 # How to create reloadable object files.
17452 reload_flag=$lt_reload_flag
17453 reload_cmds=$lt_reload_cmds
17455 # Commands used to build an old-style archive.
17456 old_archive_cmds=$lt_old_archive_cmds
17458 # A language specific compiler.
17459 CC=$lt_compiler
17461 # Is the compiler the GNU compiler?
17462 with_gcc=$GCC
17464 # Compiler flag to turn off builtin functions.
17465 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17467 # How to pass a linker flag through the compiler.
17468 wl=$lt_lt_prog_compiler_wl
17470 # Additional compiler flags for building library objects.
17471 pic_flag=$lt_lt_prog_compiler_pic
17473 # Compiler flag to prevent dynamic linking.
17474 link_static_flag=$lt_lt_prog_compiler_static
17476 # Does compiler simultaneously support -c and -o options?
17477 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17479 # Whether or not to add -lc for building shared libraries.
17480 build_libtool_need_lc=$archive_cmds_need_lc
17482 # Whether or not to disallow shared libs when runtime libs are static.
17483 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17485 # Compiler flag to allow reflexive dlopens.
17486 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17488 # Compiler flag to generate shared objects directly from archives.
17489 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17491 # Whether the compiler copes with passing no objects directly.
17492 compiler_needs_object=$lt_compiler_needs_object
17494 # Create an old-style archive from a shared archive.
17495 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17497 # Create a temporary old-style archive to link instead of a shared archive.
17498 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17500 # Commands used to build a shared archive.
17501 archive_cmds=$lt_archive_cmds
17502 archive_expsym_cmds=$lt_archive_expsym_cmds
17504 # Commands used to build a loadable module if different from building
17505 # a shared archive.
17506 module_cmds=$lt_module_cmds
17507 module_expsym_cmds=$lt_module_expsym_cmds
17509 # Whether we are building with GNU ld or not.
17510 with_gnu_ld=$lt_with_gnu_ld
17512 # Flag that allows shared libraries with undefined symbols to be built.
17513 allow_undefined_flag=$lt_allow_undefined_flag
17515 # Flag that enforces no undefined symbols.
17516 no_undefined_flag=$lt_no_undefined_flag
17518 # Flag to hardcode \$libdir into a binary during linking.
17519 # This must work even if \$libdir does not exist
17520 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17522 # If ld is used when linking, flag to hardcode \$libdir into a binary
17523 # during linking. This must work even if \$libdir does not exist.
17524 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17526 # Whether we need a single "-rpath" flag with a separated argument.
17527 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17529 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17530 # DIR into the resulting binary.
17531 hardcode_direct=$hardcode_direct
17533 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17534 # DIR into the resulting binary and the resulting library dependency is
17535 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17536 # library is relocated.
17537 hardcode_direct_absolute=$hardcode_direct_absolute
17539 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17540 # into the resulting binary.
17541 hardcode_minus_L=$hardcode_minus_L
17543 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17544 # into the resulting binary.
17545 hardcode_shlibpath_var=$hardcode_shlibpath_var
17547 # Set to "yes" if building a shared library automatically hardcodes DIR
17548 # into the library and all subsequent libraries and executables linked
17549 # against it.
17550 hardcode_automatic=$hardcode_automatic
17552 # Set to yes if linker adds runtime paths of dependent libraries
17553 # to runtime path list.
17554 inherit_rpath=$inherit_rpath
17556 # Whether libtool must link a program against all its dependency libraries.
17557 link_all_deplibs=$link_all_deplibs
17559 # Fix the shell variable \$srcfile for the compiler.
17560 fix_srcfile_path=$lt_fix_srcfile_path
17562 # Set to "yes" if exported symbols are required.
17563 always_export_symbols=$always_export_symbols
17565 # The commands to list exported symbols.
17566 export_symbols_cmds=$lt_export_symbols_cmds
17568 # Symbols that should not be listed in the preloaded symbols.
17569 exclude_expsyms=$lt_exclude_expsyms
17571 # Symbols that must always be exported.
17572 include_expsyms=$lt_include_expsyms
17574 # Commands necessary for linking programs (against libraries) with templates.
17575 prelink_cmds=$lt_prelink_cmds
17577 # Specify filename containing input files.
17578 file_list_spec=$lt_file_list_spec
17580 # How to hardcode a shared library path into an executable.
17581 hardcode_action=$hardcode_action
17583 # The directories searched by this compiler when creating a shared library.
17584 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17586 # Dependencies to place before and after the objects being linked to
17587 # create a shared library.
17588 predep_objects=$lt_predep_objects
17589 postdep_objects=$lt_postdep_objects
17590 predeps=$lt_predeps
17591 postdeps=$lt_postdeps
17593 # The library search path used internally by the compiler when linking
17594 # a shared library.
17595 compiler_lib_search_path=$lt_compiler_lib_search_path
17597 # ### END LIBTOOL CONFIG
17599 _LT_EOF
17601 case $host_os in
17602 aix3*)
17603 cat <<\_LT_EOF >> "$cfgfile"
17604 # AIX sometimes has problems with the GCC collect2 program. For some
17605 # reason, if we set the COLLECT_NAMES environment variable, the problems
17606 # vanish in a puff of smoke.
17607 if test "X${COLLECT_NAMES+set}" != Xset; then
17608 COLLECT_NAMES=
17609 export COLLECT_NAMES
17611 _LT_EOF
17613 esac
17616 ltmain="$ac_aux_dir/ltmain.sh"
17619 # We use sed instead of cat because bash on DJGPP gets confused if
17620 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17621 # text mode, it properly converts lines to CR/LF. This bash problem
17622 # is reportedly fixed, but why not run on old versions too?
17623 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17624 || (rm -f "$cfgfile"; exit 1)
17626 case $xsi_shell in
17627 yes)
17628 cat << \_LT_EOF >> "$cfgfile"
17630 # func_dirname file append nondir_replacement
17631 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17632 # otherwise set result to NONDIR_REPLACEMENT.
17633 func_dirname ()
17635 case ${1} in
17636 */*) func_dirname_result="${1%/*}${2}" ;;
17637 * ) func_dirname_result="${3}" ;;
17638 esac
17641 # func_basename file
17642 func_basename ()
17644 func_basename_result="${1##*/}"
17647 # func_dirname_and_basename file append nondir_replacement
17648 # perform func_basename and func_dirname in a single function
17649 # call:
17650 # dirname: Compute the dirname of FILE. If nonempty,
17651 # add APPEND to the result, otherwise set result
17652 # to NONDIR_REPLACEMENT.
17653 # value returned in "$func_dirname_result"
17654 # basename: Compute filename of FILE.
17655 # value retuned in "$func_basename_result"
17656 # Implementation must be kept synchronized with func_dirname
17657 # and func_basename. For efficiency, we do not delegate to
17658 # those functions but instead duplicate the functionality here.
17659 func_dirname_and_basename ()
17661 case ${1} in
17662 */*) func_dirname_result="${1%/*}${2}" ;;
17663 * ) func_dirname_result="${3}" ;;
17664 esac
17665 func_basename_result="${1##*/}"
17668 # func_stripname prefix suffix name
17669 # strip PREFIX and SUFFIX off of NAME.
17670 # PREFIX and SUFFIX must not contain globbing or regex special
17671 # characters, hashes, percent signs, but SUFFIX may contain a leading
17672 # dot (in which case that matches only a dot).
17673 func_stripname ()
17675 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17676 # positional parameters, so assign one to ordinary parameter first.
17677 func_stripname_result=${3}
17678 func_stripname_result=${func_stripname_result#"${1}"}
17679 func_stripname_result=${func_stripname_result%"${2}"}
17682 # func_opt_split
17683 func_opt_split ()
17685 func_opt_split_opt=${1%%=*}
17686 func_opt_split_arg=${1#*=}
17689 # func_lo2o object
17690 func_lo2o ()
17692 case ${1} in
17693 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17694 *) func_lo2o_result=${1} ;;
17695 esac
17698 # func_xform libobj-or-source
17699 func_xform ()
17701 func_xform_result=${1%.*}.lo
17704 # func_arith arithmetic-term...
17705 func_arith ()
17707 func_arith_result=$(( $* ))
17710 # func_len string
17711 # STRING may not start with a hyphen.
17712 func_len ()
17714 func_len_result=${#1}
17717 _LT_EOF
17719 *) # Bourne compatible functions.
17720 cat << \_LT_EOF >> "$cfgfile"
17722 # func_dirname file append nondir_replacement
17723 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17724 # otherwise set result to NONDIR_REPLACEMENT.
17725 func_dirname ()
17727 # Extract subdirectory from the argument.
17728 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
17729 if test "X$func_dirname_result" = "X${1}"; then
17730 func_dirname_result="${3}"
17731 else
17732 func_dirname_result="$func_dirname_result${2}"
17736 # func_basename file
17737 func_basename ()
17739 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
17743 # func_stripname prefix suffix name
17744 # strip PREFIX and SUFFIX off of NAME.
17745 # PREFIX and SUFFIX must not contain globbing or regex special
17746 # characters, hashes, percent signs, but SUFFIX may contain a leading
17747 # dot (in which case that matches only a dot).
17748 # func_strip_suffix prefix name
17749 func_stripname ()
17751 case ${2} in
17752 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17753 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17754 esac
17757 # sed scripts:
17758 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17759 my_sed_long_arg='1s/^-[^=]*=//'
17761 # func_opt_split
17762 func_opt_split ()
17764 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17765 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17768 # func_lo2o object
17769 func_lo2o ()
17771 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
17774 # func_xform libobj-or-source
17775 func_xform ()
17777 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17780 # func_arith arithmetic-term...
17781 func_arith ()
17783 func_arith_result=`expr "$@"`
17786 # func_len string
17787 # STRING may not start with a hyphen.
17788 func_len ()
17790 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17793 _LT_EOF
17794 esac
17796 case $lt_shell_append in
17797 yes)
17798 cat << \_LT_EOF >> "$cfgfile"
17800 # func_append var value
17801 # Append VALUE to the end of shell variable VAR.
17802 func_append ()
17804 eval "$1+=\$2"
17806 _LT_EOF
17809 cat << \_LT_EOF >> "$cfgfile"
17811 # func_append var value
17812 # Append VALUE to the end of shell variable VAR.
17813 func_append ()
17815 eval "$1=\$$1\$2"
17818 _LT_EOF
17820 esac
17823 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17824 || (rm -f "$cfgfile"; exit 1)
17826 mv -f "$cfgfile" "$ofile" ||
17827 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17828 chmod +x "$ofile"
17831 cat <<_LT_EOF >> "$ofile"
17833 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17835 # The linker used to build libraries.
17836 LD=$lt_LD_CXX
17838 # How to create reloadable object files.
17839 reload_flag=$lt_reload_flag_CXX
17840 reload_cmds=$lt_reload_cmds_CXX
17842 # Commands used to build an old-style archive.
17843 old_archive_cmds=$lt_old_archive_cmds_CXX
17845 # A language specific compiler.
17846 CC=$lt_compiler_CXX
17848 # Is the compiler the GNU compiler?
17849 with_gcc=$GCC_CXX
17851 # Compiler flag to turn off builtin functions.
17852 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17854 # How to pass a linker flag through the compiler.
17855 wl=$lt_lt_prog_compiler_wl_CXX
17857 # Additional compiler flags for building library objects.
17858 pic_flag=$lt_lt_prog_compiler_pic_CXX
17860 # Compiler flag to prevent dynamic linking.
17861 link_static_flag=$lt_lt_prog_compiler_static_CXX
17863 # Does compiler simultaneously support -c and -o options?
17864 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17866 # Whether or not to add -lc for building shared libraries.
17867 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17869 # Whether or not to disallow shared libs when runtime libs are static.
17870 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17872 # Compiler flag to allow reflexive dlopens.
17873 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17875 # Compiler flag to generate shared objects directly from archives.
17876 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17878 # Whether the compiler copes with passing no objects directly.
17879 compiler_needs_object=$lt_compiler_needs_object_CXX
17881 # Create an old-style archive from a shared archive.
17882 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17884 # Create a temporary old-style archive to link instead of a shared archive.
17885 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17887 # Commands used to build a shared archive.
17888 archive_cmds=$lt_archive_cmds_CXX
17889 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17891 # Commands used to build a loadable module if different from building
17892 # a shared archive.
17893 module_cmds=$lt_module_cmds_CXX
17894 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17896 # Whether we are building with GNU ld or not.
17897 with_gnu_ld=$lt_with_gnu_ld_CXX
17899 # Flag that allows shared libraries with undefined symbols to be built.
17900 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17902 # Flag that enforces no undefined symbols.
17903 no_undefined_flag=$lt_no_undefined_flag_CXX
17905 # Flag to hardcode \$libdir into a binary during linking.
17906 # This must work even if \$libdir does not exist
17907 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17909 # If ld is used when linking, flag to hardcode \$libdir into a binary
17910 # during linking. This must work even if \$libdir does not exist.
17911 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17913 # Whether we need a single "-rpath" flag with a separated argument.
17914 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17916 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17917 # DIR into the resulting binary.
17918 hardcode_direct=$hardcode_direct_CXX
17920 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17921 # DIR into the resulting binary and the resulting library dependency is
17922 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17923 # library is relocated.
17924 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17926 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17927 # into the resulting binary.
17928 hardcode_minus_L=$hardcode_minus_L_CXX
17930 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17931 # into the resulting binary.
17932 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17934 # Set to "yes" if building a shared library automatically hardcodes DIR
17935 # into the library and all subsequent libraries and executables linked
17936 # against it.
17937 hardcode_automatic=$hardcode_automatic_CXX
17939 # Set to yes if linker adds runtime paths of dependent libraries
17940 # to runtime path list.
17941 inherit_rpath=$inherit_rpath_CXX
17943 # Whether libtool must link a program against all its dependency libraries.
17944 link_all_deplibs=$link_all_deplibs_CXX
17946 # Fix the shell variable \$srcfile for the compiler.
17947 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17949 # Set to "yes" if exported symbols are required.
17950 always_export_symbols=$always_export_symbols_CXX
17952 # The commands to list exported symbols.
17953 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17955 # Symbols that should not be listed in the preloaded symbols.
17956 exclude_expsyms=$lt_exclude_expsyms_CXX
17958 # Symbols that must always be exported.
17959 include_expsyms=$lt_include_expsyms_CXX
17961 # Commands necessary for linking programs (against libraries) with templates.
17962 prelink_cmds=$lt_prelink_cmds_CXX
17964 # Specify filename containing input files.
17965 file_list_spec=$lt_file_list_spec_CXX
17967 # How to hardcode a shared library path into an executable.
17968 hardcode_action=$hardcode_action_CXX
17970 # The directories searched by this compiler when creating a shared library.
17971 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17973 # Dependencies to place before and after the objects being linked to
17974 # create a shared library.
17975 predep_objects=$lt_predep_objects_CXX
17976 postdep_objects=$lt_postdep_objects_CXX
17977 predeps=$lt_predeps_CXX
17978 postdeps=$lt_postdeps_CXX
17980 # The library search path used internally by the compiler when linking
17981 # a shared library.
17982 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17984 # ### END LIBTOOL TAG CONFIG: CXX
17985 _LT_EOF
17988 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
17989 s!`test -f '$<' || echo '$(srcdir)/'`!!
17990 _EOF
17991 sed -f vpsed$$ $ac_file > tmp$$
17992 mv tmp$$ $ac_file
17993 rm vpsed$$
17994 echo 'MULTISUBDIR =' >> $ac_file
17995 ml_norecursion=yes
17996 . ${multi_basedir}/config-ml.in
17997 { ml_norecursion=; unset ml_norecursion;}
18000 esac
18001 done # for ac_tag
18004 as_fn_exit 0
18005 _ACEOF
18006 ac_clean_files=$ac_clean_files_save
18008 test $ac_write_fail = 0 ||
18009 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18012 # configure is writing to config.log, and then calls config.status.
18013 # config.status does its own redirection, appending to config.log.
18014 # Unfortunately, on DOS this fails, as config.log is still kept open
18015 # by configure, so config.status won't be able to write to it; its
18016 # output is simply discarded. So we exec the FD to /dev/null,
18017 # effectively closing config.log, so it can be properly (re)opened and
18018 # appended to by config.status. When coming back to configure, we
18019 # need to make the FD available again.
18020 if test "$no_create" != yes; then
18021 ac_cs_success=:
18022 ac_config_status_args=
18023 test "$silent" = yes &&
18024 ac_config_status_args="$ac_config_status_args --quiet"
18025 exec 5>/dev/null
18026 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18027 exec 5>>config.log
18028 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18029 # would make configure fail if this is the last instruction.
18030 $ac_cs_success || as_fn_exit $?
18032 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18034 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}