2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for vlibapi 1.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software 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 :
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+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
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
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
588 PACKAGE_NAME='vlibapi'
589 PACKAGE_TARNAME='vlibapi'
590 PACKAGE_VERSION='1.0'
591 PACKAGE_STRING='vlibapi 1.0'
595 # Factoring default headers for most tests.
596 ac_includes_default="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 ac_subst_vars='am__EXEEXT_FALSE
694 INSTALL_STRIP_PROGRAM
736 program_transform_name
749 enable_option_checking
751 enable_dependency_tracking
760 ac_precious_vars='build_alias
771 # Initialize some variables set by options.
773 ac_init_version=false
774 ac_unrecognized_opts=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
785 program_transform_name=s,x,x,
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'
815 libdir='${exec_prefix}/lib'
816 localedir='${datarootdir}/locale'
817 mandir='${datarootdir}/man'
823 # If the previous option needs an argument, assign it.
824 if test -n "$ac_prev"; then
825 eval $ac_prev=\$ac_option
831 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
836 # Accept the important Cygnus configure options, so we can diagnose typos.
838 case $ac_dashdash$ac_option in
842 -bindir | --bindir | --bindi | --bind | --bin | --bi)
844 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
847 -build | --build | --buil | --bui | --bu)
848 ac_prev=build_alias ;;
849 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
850 build_alias=$ac_optarg ;;
852 -cache-file | --cache-file | --cache-fil | --cache-fi \
853 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
854 ac_prev=cache_file ;;
855 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
856 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
857 cache_file=$ac_optarg ;;
860 cache_file=config.cache ;;
862 -datadir | --datadir | --datadi | --datad)
864 -datadir=* | --datadir=* | --datadi=* | --datad=*)
865 datadir=$ac_optarg ;;
867 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
868 | --dataroo | --dataro | --datar)
869 ac_prev=datarootdir ;;
870 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
871 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
872 datarootdir=$ac_optarg ;;
874 -disable-* | --disable-*)
875 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878 as_fn_error $? "invalid feature name: $ac_useropt"
879 ac_useropt_orig=$ac_useropt
880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
886 ac_unrecognized_sep=', ';;
888 eval enable_$ac_useropt=no ;;
890 -docdir | --docdir | --docdi | --doc | --do)
892 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
895 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
897 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
900 -enable-* | --enable-*)
901 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904 as_fn_error $? "invalid feature name: $ac_useropt"
905 ac_useropt_orig=$ac_useropt
906 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
912 ac_unrecognized_sep=', ';;
914 eval enable_$ac_useropt=\$ac_optarg ;;
916 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
917 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
918 | --exec | --exe | --ex)
919 ac_prev=exec_prefix ;;
920 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
921 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
922 | --exec=* | --exe=* | --ex=*)
923 exec_prefix=$ac_optarg ;;
925 -gas | --gas | --ga | --g)
926 # Obsolete; use --with-gas.
929 -help | --help | --hel | --he | -h)
931 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
932 ac_init_help=recursive ;;
933 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
934 ac_init_help=short ;;
936 -host | --host | --hos | --ho)
937 ac_prev=host_alias ;;
938 -host=* | --host=* | --hos=* | --ho=*)
939 host_alias=$ac_optarg ;;
941 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
943 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
945 htmldir=$ac_optarg ;;
947 -includedir | --includedir | --includedi | --included | --include \
948 | --includ | --inclu | --incl | --inc)
949 ac_prev=includedir ;;
950 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
951 | --includ=* | --inclu=* | --incl=* | --inc=*)
952 includedir=$ac_optarg ;;
954 -infodir | --infodir | --infodi | --infod | --info | --inf)
956 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
957 infodir=$ac_optarg ;;
959 -libdir | --libdir | --libdi | --libd)
961 -libdir=* | --libdir=* | --libdi=* | --libd=*)
964 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
965 | --libexe | --libex | --libe)
966 ac_prev=libexecdir ;;
967 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
968 | --libexe=* | --libex=* | --libe=*)
969 libexecdir=$ac_optarg ;;
971 -localedir | --localedir | --localedi | --localed | --locale)
973 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
974 localedir=$ac_optarg ;;
976 -localstatedir | --localstatedir | --localstatedi | --localstated \
977 | --localstate | --localstat | --localsta | --localst | --locals)
978 ac_prev=localstatedir ;;
979 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
980 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
981 localstatedir=$ac_optarg ;;
983 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
985 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989 # Obsolete; use --without-fp.
992 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
993 | --no-cr | --no-c | -n)
996 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
997 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1000 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1001 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1002 | --oldin | --oldi | --old | --ol | --o)
1003 ac_prev=oldincludedir ;;
1004 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1005 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1006 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1007 oldincludedir=$ac_optarg ;;
1009 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1011 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1012 prefix=$ac_optarg ;;
1014 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1015 | --program-pre | --program-pr | --program-p)
1016 ac_prev=program_prefix ;;
1017 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1018 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1019 program_prefix=$ac_optarg ;;
1021 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1022 | --program-suf | --program-su | --program-s)
1023 ac_prev=program_suffix ;;
1024 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1025 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1026 program_suffix=$ac_optarg ;;
1028 -program-transform-name | --program-transform-name \
1029 | --program-transform-nam | --program-transform-na \
1030 | --program-transform-n | --program-transform- \
1031 | --program-transform | --program-transfor \
1032 | --program-transfo | --program-transf \
1033 | --program-trans | --program-tran \
1034 | --progr-tra | --program-tr | --program-t)
1035 ac_prev=program_transform_name ;;
1036 -program-transform-name=* | --program-transform-name=* \
1037 | --program-transform-nam=* | --program-transform-na=* \
1038 | --program-transform-n=* | --program-transform-=* \
1039 | --program-transform=* | --program-transfor=* \
1040 | --program-transfo=* | --program-transf=* \
1041 | --program-trans=* | --program-tran=* \
1042 | --progr-tra=* | --program-tr=* | --program-t=*)
1043 program_transform_name=$ac_optarg ;;
1045 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1047 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1048 pdfdir=$ac_optarg ;;
1050 -psdir | --psdir | --psdi | --psd | --ps)
1052 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056 | -silent | --silent | --silen | --sile | --sil)
1059 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1061 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1063 sbindir=$ac_optarg ;;
1065 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1066 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1067 | --sharedst | --shareds | --shared | --share | --shar \
1069 ac_prev=sharedstatedir ;;
1070 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1071 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1072 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1074 sharedstatedir=$ac_optarg ;;
1076 -site | --site | --sit)
1078 -site=* | --site=* | --sit=*)
1081 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1083 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1084 srcdir=$ac_optarg ;;
1086 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1087 | --syscon | --sysco | --sysc | --sys | --sy)
1088 ac_prev=sysconfdir ;;
1089 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1090 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1091 sysconfdir=$ac_optarg ;;
1093 -target | --target | --targe | --targ | --tar | --ta | --t)
1094 ac_prev=target_alias ;;
1095 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1096 target_alias=$ac_optarg ;;
1098 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1101 -version | --version | --versio | --versi | --vers | -V)
1102 ac_init_version=: ;;
1105 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108 as_fn_error $? "invalid package name: $ac_useropt"
1109 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1118 eval with_$ac_useropt=\$ac_optarg ;;
1120 -without-* | --without-*)
1121 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124 as_fn_error $? "invalid package name: $ac_useropt"
1125 ac_useropt_orig=$ac_useropt
1126 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1131 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1132 ac_unrecognized_sep=', ';;
1134 eval with_$ac_useropt=no ;;
1137 # Obsolete; use --with-x.
1140 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1141 | --x-incl | --x-inc | --x-in | --x-i)
1142 ac_prev=x_includes ;;
1143 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1144 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1145 x_includes=$ac_optarg ;;
1147 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1148 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1149 ac_prev=x_libraries ;;
1150 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1151 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1152 x_libraries=$ac_optarg ;;
1154 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1155 Try \`$0 --help' for more information"
1159 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 case $ac_envvar in #(
1162 '' | [0-9]* | *[!_$as_cr_alnum]* )
1163 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1165 eval $ac_envvar=\$ac_optarg
1166 export $ac_envvar ;;
1169 # FIXME: should be removed in autoconf 3.0.
1170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1179 if test -n "$ac_prev"; then
1180 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1181 as_fn_error $? "missing argument to $ac_option"
1184 if test -n "$ac_unrecognized_opts"; then
1185 case $enable_option_checking in
1187 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1192 # Check all directory arguments for consistency.
1193 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194 datadir sysconfdir sharedstatedir localstatedir includedir \
1195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196 libdir localedir mandir
1198 eval ac_val=\$$ac_var
1199 # Remove trailing slashes.
1202 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1203 eval $ac_var=\$ac_val;;
1205 # Be sure to have absolute directory names.
1207 [\\/$]* | ?:[\\/]* ) continue;;
1208 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1210 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1213 # There might be people who depend on the old broken behavior: `$host'
1214 # used to hold the argument of --host etc.
1215 # FIXME: To remove some day.
1218 target=$target_alias
1220 # FIXME: To remove some day.
1221 if test "x$host_alias" != x; then
1222 if test "x$build_alias" = x; then
1223 cross_compiling=maybe
1224 elif test "x$build_alias" != "x$host_alias"; then
1230 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1232 test "$silent" = yes && exec 6>/dev/null
1235 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1236 ac_ls_di=`ls -di .` &&
1237 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1238 as_fn_error $? "working directory cannot be determined"
1239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1240 as_fn_error $? "pwd does not report name of working directory"
1243 # Find the source files, if location was not specified.
1244 if test -z "$srcdir"; then
1245 ac_srcdir_defaulted=yes
1246 # Try the directory containing this script, then the parent directory.
1247 ac_confdir=`$as_dirname -- "$as_myself" ||
1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249 X"$as_myself" : 'X\(//\)[^/]' \| \
1250 X"$as_myself" : 'X\(//\)$' \| \
1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252 $as_echo X"$as_myself" |
1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1275 ac_srcdir_defaulted=no
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1279 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1281 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1285 # When building in place, set srcdir=.
1286 if test "$ac_abs_confdir" = "$ac_pwd"; then
1289 # Remove unnecessary trailing slashes from srcdir.
1290 # Double slashes in file names in object file debugging info
1291 # mess up M-x gdb in Emacs.
1293 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1295 for ac_var in $ac_precious_vars; do
1296 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1297 eval ac_env_${ac_var}_value=\$${ac_var}
1298 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1299 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1303 # Report the --help message.
1305 if test "$ac_init_help" = "long"; then
1306 # Omit some internal or obsolete options to make the list less imposing.
1307 # This message is too long to be a string in the A/UX 3.1 sh.
1309 \`configure' configures vlibapi 1.0 to adapt to many kinds of systems.
1311 Usage: $0 [OPTION]... [VAR=VALUE]...
1313 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1314 VAR=VALUE. See below for descriptions of some of the useful variables.
1316 Defaults for the options are specified in brackets.
1319 -h, --help display this help and exit
1320 --help=short display options specific to this package
1321 --help=recursive display the short help of all the included packages
1322 -V, --version display version information and exit
1323 -q, --quiet, --silent do not print \`checking ...' messages
1324 --cache-file=FILE cache test results in FILE [disabled]
1325 -C, --config-cache alias for \`--cache-file=config.cache'
1326 -n, --no-create do not create output files
1327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1329 Installation directories:
1330 --prefix=PREFIX install architecture-independent files in PREFIX
1331 [$ac_default_prefix]
1332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1335 By default, \`make install' will install all the files in
1336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1338 for instance \`--prefix=\$HOME'.
1340 For better control, use the options below.
1342 Fine tuning of the installation directories:
1343 --bindir=DIR user executables [EPREFIX/bin]
1344 --sbindir=DIR system admin executables [EPREFIX/sbin]
1345 --libexecdir=DIR program executables [EPREFIX/libexec]
1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1349 --libdir=DIR object code libraries [EPREFIX/lib]
1350 --includedir=DIR C header files [PREFIX/include]
1351 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1354 --infodir=DIR info documentation [DATAROOTDIR/info]
1355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1356 --mandir=DIR man documentation [DATAROOTDIR/man]
1357 --docdir=DIR documentation root [DATAROOTDIR/doc/vlibapi]
1358 --htmldir=DIR html documentation [DOCDIR]
1359 --dvidir=DIR dvi documentation [DOCDIR]
1360 --pdfdir=DIR pdf documentation [DOCDIR]
1361 --psdir=DIR ps documentation [DOCDIR]
1367 --program-prefix=PREFIX prepend PREFIX to installed program names
1368 --program-suffix=SUFFIX append SUFFIX to installed program names
1369 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1372 --build=BUILD configure for building on BUILD [guessed]
1373 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1377 if test -n "$ac_init_help"; then
1378 case $ac_init_help in
1379 short | recursive ) echo "Configuration of vlibapi 1.0:";;
1384 --disable-option-checking ignore unrecognized --enable/--with options
1385 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1386 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1387 --enable-silent-rules less verbose build output (undo: "make V=1")
1388 --disable-silent-rules verbose build output (undo: "make V=0")
1389 --enable-dependency-tracking
1390 do not reject slow dependency extractors
1391 --disable-dependency-tracking
1392 speeds up one-time build
1393 --enable-shared[=PKGS] build shared libraries [default=yes]
1394 --enable-static[=PKGS] build static libraries [default=yes]
1395 --enable-fast-install[=PKGS]
1396 optimize for fast installation [default=yes]
1397 --disable-libtool-lock avoid locking (might break parallel builds)
1400 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1401 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1402 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1404 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1405 --with-sysroot=DIR Search for dependent libraries within DIR
1406 (or the compiler's sysroot if not specified).
1408 Some influential environment variables:
1409 CC C compiler command
1410 CFLAGS C compiler flags
1411 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1412 nonstandard directory <lib dir>
1413 LIBS libraries to pass to the linker, e.g. -l<library>
1414 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1415 you have headers in a nonstandard directory <include dir>
1418 Use these variables to override the choices made by `configure' or to help
1419 it to find libraries and programs with nonstandard names/locations.
1421 Report bugs to the package provider.
1426 if test "$ac_init_help" = "recursive"; then
1427 # If there are subdirs, report their specific --help.
1428 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1429 test -d "$ac_dir" ||
1430 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1438 # A ".." for each directory in $ac_dir_suffix.
1439 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1440 case $ac_top_builddir_sub in
1441 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1442 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1445 ac_abs_top_builddir=$ac_pwd
1446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1447 # for backward compatibility:
1448 ac_top_builddir=$ac_top_build_prefix
1451 .) # We are building in place.
1453 ac_top_srcdir=$ac_top_builddir_sub
1454 ac_abs_top_srcdir=$ac_pwd ;;
1455 [\\/]* | ?:[\\/]* ) # Absolute name.
1456 ac_srcdir=$srcdir$ac_dir_suffix;
1457 ac_top_srcdir=$srcdir
1458 ac_abs_top_srcdir=$srcdir ;;
1460 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1461 ac_top_srcdir=$ac_top_build_prefix$srcdir
1462 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1466 cd "$ac_dir" || { ac_status=$?; continue; }
1467 # Check for guested configure.
1468 if test -f "$ac_srcdir/configure.gnu"; then
1470 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1471 elif test -f "$ac_srcdir/configure"; then
1473 $SHELL "$ac_srcdir/configure" --help=recursive
1475 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1477 cd "$ac_pwd" || { ac_status=$?; break; }
1481 test -n "$ac_init_help" && exit $ac_status
1482 if $ac_init_version; then
1484 vlibapi configure 1.0
1485 generated by GNU Autoconf 2.69
1487 Copyright (C) 2012 Free Software Foundation, Inc.
1488 This configure script is free software; the Free Software Foundation
1489 gives unlimited permission to copy, distribute and modify it.
1494 ## ------------------------ ##
1495 ## Autoconf initialization. ##
1496 ## ------------------------ ##
1498 # ac_fn_c_try_compile LINENO
1499 # --------------------------
1500 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1501 ac_fn_c_try_compile ()
1503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1504 rm -f conftest.$ac_objext
1505 if { { ac_try="$ac_compile"
1507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1508 *) ac_try_echo=$ac_try;;
1510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1511 $as_echo "$ac_try_echo"; } >&5
1512 (eval "$ac_compile") 2>conftest.err
1514 if test -s conftest.err; then
1515 grep -v '^ *+' conftest.err >conftest.er1
1516 cat conftest.er1 >&5
1517 mv -f conftest.er1 conftest.err
1519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1520 test $ac_status = 0; } && {
1521 test -z "$ac_c_werror_flag" ||
1522 test ! -s conftest.err
1523 } && test -s conftest.$ac_objext; then :
1526 $as_echo "$as_me: failed program was:" >&5
1527 sed 's/^/| /' conftest.$ac_ext >&5
1531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1532 as_fn_set_status $ac_retval
1534 } # ac_fn_c_try_compile
1536 # ac_fn_c_try_link LINENO
1537 # -----------------------
1538 # Try to link conftest.$ac_ext, and return whether this succeeded.
1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542 rm -f conftest.$ac_objext conftest$ac_exeext
1543 if { { ac_try="$ac_link"
1545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1546 *) ac_try_echo=$ac_try;;
1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549 $as_echo "$ac_try_echo"; } >&5
1550 (eval "$ac_link") 2>conftest.err
1552 if test -s conftest.err; then
1553 grep -v '^ *+' conftest.err >conftest.er1
1554 cat conftest.er1 >&5
1555 mv -f conftest.er1 conftest.err
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } && {
1559 test -z "$ac_c_werror_flag" ||
1560 test ! -s conftest.err
1561 } && test -s conftest$ac_exeext && {
1562 test "$cross_compiling" = yes ||
1563 test -x conftest$ac_exeext
1567 $as_echo "$as_me: failed program was:" >&5
1568 sed 's/^/| /' conftest.$ac_ext >&5
1572 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1573 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1574 # interfere with the next link command; also delete a directory that is
1575 # left behind by Apple's compiler. We do this before executing the actions.
1576 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 as_fn_set_status $ac_retval
1580 } # ac_fn_c_try_link
1582 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1583 # -------------------------------------------------------
1584 # Tests whether HEADER exists and can be compiled using the include files in
1585 # INCLUDES, setting the cache variable VAR accordingly.
1586 ac_fn_c_check_header_compile ()
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1590 $as_echo_n "checking for $2... " >&6; }
1591 if eval \${$3+:} false; then :
1592 $as_echo_n "(cached) " >&6
1594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1595 /* end confdefs.h. */
1599 if ac_fn_c_try_compile "$LINENO"; then :
1604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1608 $as_echo "$ac_res" >&6; }
1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611 } # ac_fn_c_check_header_compile
1613 # ac_fn_c_try_cpp LINENO
1614 # ----------------------
1615 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 if { { ac_try="$ac_cpp conftest.$ac_ext"
1621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622 *) ac_try_echo=$ac_try;;
1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625 $as_echo "$ac_try_echo"; } >&5
1626 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1628 if test -s conftest.err; then
1629 grep -v '^ *+' conftest.err >conftest.er1
1630 cat conftest.er1 >&5
1631 mv -f conftest.er1 conftest.err
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; } > conftest.i && {
1635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1636 test ! -s conftest.err
1640 $as_echo "$as_me: failed program was:" >&5
1641 sed 's/^/| /' conftest.$ac_ext >&5
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 as_fn_set_status $ac_retval
1650 # ac_fn_c_try_run LINENO
1651 # ----------------------
1652 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1653 # that executables *can* be run.
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 if { { ac_try="$ac_link"
1659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_link") 2>&5
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1668 { { case "(($ac_try" in
1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_try") 2>&5
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; }; }; then :
1680 $as_echo "$as_me: program exited with status $ac_status" >&5
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1684 ac_retval=$ac_status
1686 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status $ac_retval
1692 # ac_fn_c_check_func LINENO FUNC VAR
1693 # ----------------------------------
1694 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1695 ac_fn_c_check_func ()
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699 $as_echo_n "checking for $2... " >&6; }
1700 if eval \${$3+:} false; then :
1701 $as_echo_n "(cached) " >&6
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1705 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1707 #define $2 innocuous_$2
1709 /* System header to define __stub macros and hopefully few prototypes,
1710 which can conflict with char $2 (); below.
1711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1712 <limits.h> exists even on freestanding compilers. */
1715 # include <limits.h>
1717 # include <assert.h>
1722 /* Override any GCC internal prototype to avoid an error.
1723 Use char because int might match the return type of a GCC
1724 builtin and then its argument prototype would still apply. */
1729 /* The GNU C library defines this for functions which it implements
1730 to always fail with ENOSYS. Some functions are actually named
1731 something starting with __ and the normal name is an alias. */
1732 #if defined __stub_$2 || defined __stub___$2
1744 if ac_fn_c_try_link "$LINENO"; then :
1749 rm -f core conftest.err conftest.$ac_objext \
1750 conftest$ac_exeext conftest.$ac_ext
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754 $as_echo "$ac_res" >&6; }
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 } # ac_fn_c_check_func
1758 cat >config.log <<_ACEOF
1759 This file contains any messages produced by compilers while
1760 running configure, to aid debugging if configure makes a mistake.
1762 It was created by vlibapi $as_me 1.0, which was
1763 generated by GNU Autoconf 2.69. Invocation command line was
1775 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1776 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1777 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1778 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1779 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1781 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1782 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1784 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1785 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1786 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1787 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1788 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1789 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1790 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798 test -z "$as_dir" && as_dir=.
1799 $as_echo "PATH: $as_dir"
1815 # Keep a trace of the command line.
1816 # Strip out --no-create and --no-recursion so they do not pile up.
1817 # Strip out --silent because we don't want to record it for future runs.
1818 # Also quote any args containing shell meta-characters.
1819 # Make two passes to allow for proper duplicate-argument suppression.
1823 ac_must_keep_next=false
1829 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1830 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1831 | -silent | --silent | --silen | --sile | --sil)
1834 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1837 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1839 as_fn_append ac_configure_args1 " '$ac_arg'"
1840 if test $ac_must_keep_next = true; then
1841 ac_must_keep_next=false # Got value, back to normal.
1844 *=* | --config-cache | -C | -disable-* | --disable-* \
1845 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1846 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1847 | -with-* | --with-* | -without-* | --without-* | --x)
1848 case "$ac_configure_args0 " in
1849 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1852 -* ) ac_must_keep_next=true ;;
1855 as_fn_append ac_configure_args " '$ac_arg'"
1860 { ac_configure_args0=; unset ac_configure_args0;}
1861 { ac_configure_args1=; unset ac_configure_args1;}
1863 # When interrupted or exit'd, cleanup temporary files, and complete
1864 # config.log. We remove comments because anyway the quotes in there
1865 # would cause problems or look ugly.
1866 # WARNING: Use '\'' to represent an apostrophe within the trap.
1867 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1868 trap 'exit_status=$?
1869 # Save into config.log some information that might help in debugging.
1873 $as_echo "## ---------------- ##
1874 ## Cache variables. ##
1875 ## ---------------- ##"
1877 # The following way of writing the cache mishandles newlines in values,
1879 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1880 eval ac_val=\$$ac_var
1884 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1888 _ | IFS | as_nl) ;; #(
1889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1890 *) { eval $ac_var=; unset $ac_var;} ;;
1895 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1896 *${as_nl}ac_space=\ *)
1898 "s/'\''/'\''\\\\'\'''\''/g;
1899 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1902 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1909 $as_echo "## ----------------- ##
1910 ## Output variables. ##
1911 ## ----------------- ##"
1913 for ac_var in $ac_subst_vars
1915 eval ac_val=\$$ac_var
1917 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1919 $as_echo "$ac_var='\''$ac_val'\''"
1923 if test -n "$ac_subst_files"; then
1924 $as_echo "## ------------------- ##
1925 ## File substitutions. ##
1926 ## ------------------- ##"
1928 for ac_var in $ac_subst_files
1930 eval ac_val=\$$ac_var
1932 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1934 $as_echo "$ac_var='\''$ac_val'\''"
1939 if test -s confdefs.h; then
1940 $as_echo "## ----------- ##
1947 test "$ac_signal" != 0 &&
1948 $as_echo "$as_me: caught signal $ac_signal"
1949 $as_echo "$as_me: exit $exit_status"
1951 rm -f core *.core core.conftest.* &&
1952 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1955 for ac_signal in 1 2 13 15; do
1956 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1960 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1961 rm -f -r conftest* confdefs.h
1963 $as_echo "/* confdefs.h */" > confdefs.h
1965 # Predefined preprocessor variables.
1967 cat >>confdefs.h <<_ACEOF
1968 #define PACKAGE_NAME "$PACKAGE_NAME"
1971 cat >>confdefs.h <<_ACEOF
1972 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1975 cat >>confdefs.h <<_ACEOF
1976 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1979 cat >>confdefs.h <<_ACEOF
1980 #define PACKAGE_STRING "$PACKAGE_STRING"
1983 cat >>confdefs.h <<_ACEOF
1984 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1987 cat >>confdefs.h <<_ACEOF
1988 #define PACKAGE_URL "$PACKAGE_URL"
1992 # Let the site file select an alternate cache file if it wants to.
1993 # Prefer an explicitly selected file to automatically selected ones.
1996 if test -n "$CONFIG_SITE"; then
1997 # We do not want a PATH search for config.site.
1998 case $CONFIG_SITE in #((
1999 -*) ac_site_file1=./$CONFIG_SITE;;
2000 */*) ac_site_file1=$CONFIG_SITE;;
2001 *) ac_site_file1=./$CONFIG_SITE;;
2003 elif test "x$prefix" != xNONE; then
2004 ac_site_file1=$prefix/share/config.site
2005 ac_site_file2=$prefix/etc/config.site
2007 ac_site_file1=$ac_default_prefix/share/config.site
2008 ac_site_file2=$ac_default_prefix/etc/config.site
2010 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2012 test "x$ac_site_file" = xNONE && continue
2013 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2015 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2016 sed 's/^/| /' "$ac_site_file" >&5
2018 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2020 as_fn_error $? "failed to load site script $ac_site_file
2021 See \`config.log' for more details" "$LINENO" 5; }
2025 if test -r "$cache_file"; then
2026 # Some versions of bash will fail to source /dev/null (special files
2027 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2028 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2030 $as_echo "$as_me: loading cache $cache_file" >&6;}
2032 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2033 *) . "./$cache_file";;
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2038 $as_echo "$as_me: creating cache $cache_file" >&6;}
2042 # Check that the precious variables saved in the cache have kept the same
2044 ac_cache_corrupted=false
2045 for ac_var in $ac_precious_vars; do
2046 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2047 eval ac_new_set=\$ac_env_${ac_var}_set
2048 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2049 eval ac_new_val=\$ac_env_${ac_var}_value
2050 case $ac_old_set,$ac_new_set in
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2053 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2054 ac_cache_corrupted=: ;;
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2057 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2058 ac_cache_corrupted=: ;;
2061 if test "x$ac_old_val" != "x$ac_new_val"; then
2062 # differences in whitespace do not lead to failure.
2063 ac_old_val_w=`echo x $ac_old_val`
2064 ac_new_val_w=`echo x $ac_new_val`
2065 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2067 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2068 ac_cache_corrupted=:
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2071 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2072 eval $ac_var=\$ac_old_val
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2075 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2077 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2080 # Pass precious variables to config.status.
2081 if test "$ac_new_set" = set; then
2083 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2084 *) ac_arg=$ac_var=$ac_new_val ;;
2086 case " $ac_configure_args " in
2087 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2088 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2092 if $ac_cache_corrupted; then
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2096 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2097 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2099 ## -------------------- ##
2100 ## Main body of script. ##
2101 ## -------------------- ##
2104 ac_cpp='$CPP $CPPFLAGS'
2105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2110 am__api_version='1.14'
2113 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2114 if test -f "$ac_dir/install-sh"; then
2116 ac_install_sh="$ac_aux_dir/install-sh -c"
2118 elif test -f "$ac_dir/install.sh"; then
2120 ac_install_sh="$ac_aux_dir/install.sh -c"
2122 elif test -f "$ac_dir/shtool"; then
2124 ac_install_sh="$ac_aux_dir/shtool install -c"
2128 if test -z "$ac_aux_dir"; then
2129 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2132 # These three variables are undocumented and unsupported,
2133 # and are intended to be withdrawn in a future Autoconf release.
2134 # They can cause serious problems if a builder's source tree is in a directory
2135 # whose full name contains unusual characters.
2136 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2137 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2138 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2141 # Find a good install program. We prefer a C program (faster),
2142 # so one script is as good as another. But avoid the broken or
2143 # incompatible versions:
2144 # SysV /etc/install, /usr/sbin/install
2145 # SunOS /usr/etc/install
2146 # IRIX /sbin/install
2148 # AmigaOS /C/install, which installs bootblocks on floppy discs
2149 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2150 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2151 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2152 # OS/2's system install, which has a completely different semantic
2153 # ./install, which can be erroneously created by make from ./install.sh.
2154 # Reject install programs that cannot install multiple files.
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2156 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2157 if test -z "$INSTALL"; then
2158 if ${ac_cv_path_install+:} false; then :
2159 $as_echo_n "(cached) " >&6
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir=.
2166 # Account for people who put trailing slashes in PATH elements.
2167 case $as_dir/ in #((
2168 ./ | .// | /[cC]/* | \
2169 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2170 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2173 # OSF1 and SCO ODT 3.0 have their own names for install.
2174 # Don't use installbsd from OSF since it installs stuff as root
2176 for ac_prog in ginstall scoinst install; do
2177 for ac_exec_ext in '' $ac_executable_extensions; do
2178 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2179 if test $ac_prog = install &&
2180 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2181 # AIX install. It has an incompatible calling convention.
2183 elif test $ac_prog = install &&
2184 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2185 # program-specific install script used by HP pwplus--don't use.
2188 rm -rf conftest.one conftest.two conftest.dir
2189 echo one > conftest.one
2190 echo two > conftest.two
2192 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2193 test -s conftest.one && test -s conftest.two &&
2194 test -s conftest.dir/conftest.one &&
2195 test -s conftest.dir/conftest.two
2197 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2210 rm -rf conftest.one conftest.two conftest.dir
2213 if test "${ac_cv_path_install+set}" = set; then
2214 INSTALL=$ac_cv_path_install
2216 # As a last resort, use the slow shell script. Don't cache a
2217 # value for INSTALL within a source directory, because that will
2218 # break other packages using the cache if that directory is
2219 # removed, or if the value is a relative name.
2220 INSTALL=$ac_install_sh
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2224 $as_echo "$INSTALL" >&6; }
2226 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2227 # It thinks the first close brace ends the variable substitution.
2228 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2230 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2232 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2235 $as_echo_n "checking whether build environment is sane... " >&6; }
2236 # Reject unsafe characters in $srcdir or the absolute working directory
2237 # name. Accept space and tab only in the latter.
2241 *[\\\"\#\$\&\'\`$am_lf]*)
2242 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2245 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2246 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2249 # Do 'set' in a subshell so we don't clobber the current shell's
2250 # arguments. Must try -L first in case configure is actually a
2251 # symlink; some systems play weird games with the mod time of symlinks
2252 # (eg FreeBSD returns the mod time of the symlink's containing
2256 for am_try in 1 2; do
2257 echo "timestamp, slept: $am_has_slept" > conftest.file
2258 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2259 if test "$*" = "X"; then
2261 set X `ls -t "$srcdir/configure" conftest.file`
2263 if test "$*" != "X $srcdir/configure conftest.file" \
2264 && test "$*" != "X conftest.file $srcdir/configure"; then
2266 # If neither matched, then we have a broken ls. This can happen
2267 # if, for instance, CONFIG_SHELL is bash and it inherits a
2268 # broken ls alias from the environment. This has actually
2269 # happened. Such a system could not be considered "sane".
2270 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2271 alias in your environment" "$LINENO" 5
2273 if test "$2" = conftest.file || test $am_try -eq 2; then
2280 test "$2" = conftest.file
2286 as_fn_error $? "newly created file is older than distributed files!
2287 Check your system clock" "$LINENO" 5
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2290 $as_echo "yes" >&6; }
2291 # If we didn't sleep, we still need to ensure time stamps of config.status and
2292 # generated files are strictly newer.
2294 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2301 test "$program_prefix" != NONE &&
2302 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2303 # Use a double $ so make ignores it.
2304 test "$program_suffix" != NONE &&
2305 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2306 # Double any \ or $.
2307 # By default was `s,x,x', remove it if useless.
2308 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2309 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2311 # expand $ac_aux_dir to an absolute path
2312 am_aux_dir=`cd $ac_aux_dir && pwd`
2314 if test x"${MISSING+set}" != xset; then
2317 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2319 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2322 # Use eval to expand $SHELL
2323 if eval "$MISSING --is-lightweight"; then
2324 am_missing_run="$MISSING "
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2328 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2331 if test x"${install_sh}" != xset; then
2334 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2336 install_sh="\${SHELL} $am_aux_dir/install-sh"
2340 # Installed binaries are usually stripped using 'strip' when the user
2341 # run "make install-strip". However 'strip' might not be the right
2342 # tool to use in cross-compilation environments, therefore Automake
2343 # will honor the 'STRIP' environment variable to overrule this program.
2344 if test "$cross_compiling" != no; then
2345 if test -n "$ac_tool_prefix"; then
2346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2347 set dummy ${ac_tool_prefix}strip; ac_word=$2
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2349 $as_echo_n "checking for $ac_word... " >&6; }
2350 if ${ac_cv_prog_STRIP+:} false; then :
2351 $as_echo_n "(cached) " >&6
2353 if test -n "$STRIP"; then
2354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 test -z "$as_dir" && as_dir=.
2361 for ac_exec_ext in '' $ac_executable_extensions; do
2362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2363 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2373 STRIP=$ac_cv_prog_STRIP
2374 if test -n "$STRIP"; then
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2376 $as_echo "$STRIP" >&6; }
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2379 $as_echo "no" >&6; }
2384 if test -z "$ac_cv_prog_STRIP"; then
2386 # Extract the first word of "strip", so it can be a program name with args.
2387 set dummy strip; ac_word=$2
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2389 $as_echo_n "checking for $ac_word... " >&6; }
2390 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2391 $as_echo_n "(cached) " >&6
2393 if test -n "$ac_ct_STRIP"; then
2394 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir=.
2401 for ac_exec_ext in '' $ac_executable_extensions; do
2402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2403 ac_cv_prog_ac_ct_STRIP="strip"
2404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2413 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2414 if test -n "$ac_ct_STRIP"; then
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2416 $as_echo "$ac_ct_STRIP" >&6; }
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2419 $as_echo "no" >&6; }
2422 if test "x$ac_ct_STRIP" = x; then
2425 case $cross_compiling:$ac_tool_warned in
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2429 ac_tool_warned=yes ;;
2434 STRIP="$ac_cv_prog_STRIP"
2438 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2441 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2442 if test -z "$MKDIR_P"; then
2443 if ${ac_cv_path_mkdir+:} false; then :
2444 $as_echo_n "(cached) " >&6
2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2450 test -z "$as_dir" && as_dir=.
2451 for ac_prog in mkdir gmkdir; do
2452 for ac_exec_ext in '' $ac_executable_extensions; do
2453 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2454 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2455 'mkdir (GNU coreutils) '* | \
2456 'mkdir (coreutils) '* | \
2457 'mkdir (fileutils) '4.1*)
2458 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2468 test -d ./--version && rmdir ./--version
2469 if test "${ac_cv_path_mkdir+set}" = set; then
2470 MKDIR_P="$ac_cv_path_mkdir -p"
2472 # As a last resort, use the slow shell script. Don't cache a
2473 # value for MKDIR_P within a source directory, because that will
2474 # break other packages using the cache if that directory is
2475 # removed, or if the value is a relative name.
2476 MKDIR_P="$ac_install_sh -d"
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2480 $as_echo "$MKDIR_P" >&6; }
2482 for ac_prog in gawk mawk nawk awk
2484 # Extract the first word of "$ac_prog", so it can be a program name with args.
2485 set dummy $ac_prog; ac_word=$2
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2487 $as_echo_n "checking for $ac_word... " >&6; }
2488 if ${ac_cv_prog_AWK+:} false; then :
2489 $as_echo_n "(cached) " >&6
2491 if test -n "$AWK"; then
2492 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir=.
2499 for ac_exec_ext in '' $ac_executable_extensions; do
2500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_AWK="$ac_prog"
2502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2512 if test -n "$AWK"; then
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2514 $as_echo "$AWK" >&6; }
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2517 $as_echo "no" >&6; }
2521 test -n "$AWK" && break
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2525 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2527 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2528 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2529 $as_echo_n "(cached) " >&6
2531 cat >conftest.make <<\_ACEOF
2534 @echo '@@@%%%=$(MAKE)=@@@%%%'
2536 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2537 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2539 eval ac_cv_prog_make_${ac_make}_set=yes;;
2541 eval ac_cv_prog_make_${ac_make}_set=no;;
2545 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2547 $as_echo "yes" >&6; }
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2551 $as_echo "no" >&6; }
2552 SET_MAKE="MAKE=${MAKE-make}"
2555 rm -rf .tst 2>/dev/null
2556 mkdir .tst 2>/dev/null
2557 if test -d .tst; then
2562 rmdir .tst 2>/dev/null
2564 # Check whether --enable-silent-rules was given.
2565 if test "${enable_silent_rules+set}" = set; then :
2566 enableval=$enable_silent_rules;
2569 case $enable_silent_rules in # (((
2570 yes) AM_DEFAULT_VERBOSITY=0;;
2571 no) AM_DEFAULT_VERBOSITY=1;;
2572 *) AM_DEFAULT_VERBOSITY=1;;
2574 am_make=${MAKE-make}
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2576 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2577 if ${am_cv_make_support_nested_variables+:} false; then :
2578 $as_echo_n "(cached) " >&6
2580 if $as_echo 'TRUE=$(BAR$(V))
2586 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2587 am_cv_make_support_nested_variables=yes
2589 am_cv_make_support_nested_variables=no
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2593 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2594 if test $am_cv_make_support_nested_variables = yes; then
2596 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2598 AM_V=$AM_DEFAULT_VERBOSITY
2599 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2603 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2604 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2605 # is not polluted with repeated "-I."
2606 am__isrc=' -I$(srcdir)'
2607 # test to see if srcdir already configured
2608 if test -f $srcdir/config.status; then
2609 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2613 # test whether we have cygpath
2614 if test -z "$CYGPATH_W"; then
2615 if (cygpath --version) >/dev/null 2>/dev/null; then
2616 CYGPATH_W='cygpath -w'
2623 # Define the identity of the package.
2628 cat >>confdefs.h <<_ACEOF
2629 #define PACKAGE "$PACKAGE"
2633 cat >>confdefs.h <<_ACEOF
2634 #define VERSION "$VERSION"
2637 # Some tools Automake needs.
2639 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2642 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2645 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2648 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2651 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2653 # For better backward compatibility. To be removed once Automake 1.9.x
2654 # dies out for good. For more background, see:
2655 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2656 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2657 mkdir_p='$(MKDIR_P)'
2659 # We need awk for the "check" target. The system "awk" is bad on
2661 # Always define AMTAR for backward compatibility. Yes, it's still used
2662 # in the wild :-( We should find a proper way to deprecate it ...
2666 # We'll loop over all known methods to create a tar archive until one works.
2667 _am_tools='gnutar pax cpio none'
2669 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2676 # POSIX will say in a future version that running "rm -f" with no argument
2677 # is OK; and we want to be able to make that assumption in our Makefile
2678 # recipes. So use an aggressive probe to check that the usage we want is
2679 # actually supported "in the wild" to an acceptable degree.
2680 # See automake bug#10828.
2681 # To make any issue more visible, cause the running configure to be aborted
2682 # by default if the 'rm' program in use doesn't match our expectations; the
2683 # user can still override this though.
2684 if rm -f && rm -fr && rm -rf; then : OK; else
2688 Your 'rm' program seems unable to run without file operands specified
2689 on the command line, even when the '-f' option is present. This is contrary
2690 to the behaviour of most rm programs out there, and not conforming with
2691 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2693 Please tell bug-automake@gnu.org about your system, including the value
2694 of your $PATH and any error possibly output before this message. This
2695 can help us improve future automake versions.
2698 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2699 echo 'Configuration will proceed anyway, since you have set the' >&2
2700 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2704 Aborting the configuration process, to ensure you take notice of the issue.
2706 You can download and install GNU coreutils to get an 'rm' implementation
2707 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2709 If you want to complete the configuration process using your problematic
2710 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2711 to "yes", and re-run configure.
2714 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2718 # Check whether --enable-silent-rules was given.
2719 if test "${enable_silent_rules+set}" = set; then :
2720 enableval=$enable_silent_rules;
2723 case $enable_silent_rules in # (((
2724 yes) AM_DEFAULT_VERBOSITY=0;;
2725 no) AM_DEFAULT_VERBOSITY=1;;
2726 *) AM_DEFAULT_VERBOSITY=1;;
2728 am_make=${MAKE-make}
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2730 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2731 if ${am_cv_make_support_nested_variables+:} false; then :
2732 $as_echo_n "(cached) " >&6
2734 if $as_echo 'TRUE=$(BAR$(V))
2740 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2741 am_cv_make_support_nested_variables=yes
2743 am_cv_make_support_nested_variables=no
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2747 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2748 if test $am_cv_make_support_nested_variables = yes; then
2750 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2752 AM_V=$AM_DEFAULT_VERBOSITY
2753 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2759 ac_cpp='$CPP $CPPFLAGS'
2760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2763 if test -n "$ac_tool_prefix"; then
2764 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2765 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if ${ac_cv_prog_CC+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$CC"; then
2772 ac_cv_prog_CC="$CC" # Let the user override the test.
2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir=.
2779 for ac_exec_ext in '' $ac_executable_extensions; do
2780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2781 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 if test -n "$CC"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2794 $as_echo "$CC" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2802 if test -z "$ac_cv_prog_CC"; then
2804 # Extract the first word of "gcc", so it can be a program name with args.
2805 set dummy gcc; ac_word=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2809 $as_echo_n "(cached) " >&6
2811 if test -n "$ac_ct_CC"; then
2812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_ac_ct_CC="gcc"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2832 if test -n "$ac_ct_CC"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2834 $as_echo "$ac_ct_CC" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2840 if test "x$ac_ct_CC" = x; then
2843 case $cross_compiling:$ac_tool_warned in
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2847 ac_tool_warned=yes ;;
2855 if test -z "$CC"; then
2856 if test -n "$ac_tool_prefix"; then
2857 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2858 set dummy ${ac_tool_prefix}cc; ac_word=$2
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if ${ac_cv_prog_CC+:} false; then :
2862 $as_echo_n "(cached) " >&6
2864 if test -n "$CC"; then
2865 ac_cv_prog_CC="$CC" # Let the user override the test.
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871 test -z "$as_dir" && as_dir=.
2872 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2874 ac_cv_prog_CC="${ac_tool_prefix}cc"
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885 if test -n "$CC"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2887 $as_echo "$CC" >&6; }
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890 $as_echo "no" >&6; }
2896 if test -z "$CC"; then
2897 # Extract the first word of "cc", so it can be a program name with args.
2898 set dummy cc; ac_word=$2
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900 $as_echo_n "checking for $ac_word... " >&6; }
2901 if ${ac_cv_prog_CC+:} false; then :
2902 $as_echo_n "(cached) " >&6
2904 if test -n "$CC"; then
2905 ac_cv_prog_CC="$CC" # Let the user override the test.
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2915 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2916 ac_prog_rejected=yes
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2927 if test $ac_prog_rejected = yes; then
2928 # We found a bogon in the path, so make sure we never use it.
2929 set dummy $ac_cv_prog_CC
2931 if test $# != 0; then
2932 # We chose a different compiler from the bogus one.
2933 # However, it has the same basename, so the bogon will be chosen
2934 # first if we set CC to just the basename; use the full file name.
2936 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2942 if test -n "$CC"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2944 $as_echo "$CC" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2952 if test -z "$CC"; then
2953 if test -n "$ac_tool_prefix"; then
2954 for ac_prog in cl.exe
2956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2957 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959 $as_echo_n "checking for $ac_word... " >&6; }
2960 if ${ac_cv_prog_CC+:} false; then :
2961 $as_echo_n "(cached) " >&6
2963 if test -n "$CC"; then
2964 ac_cv_prog_CC="$CC" # Let the user override the test.
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir=.
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2973 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 if test -n "$CC"; then
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2986 $as_echo "$CC" >&6; }
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2993 test -n "$CC" && break
2996 if test -z "$CC"; then
2998 for ac_prog in cl.exe
3000 # Extract the first word of "$ac_prog", so it can be a program name with args.
3001 set dummy $ac_prog; ac_word=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$ac_ct_CC"; then
3008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir=.
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017 ac_cv_prog_ac_ct_CC="$ac_prog"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3028 if test -n "$ac_ct_CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3030 $as_echo "$ac_ct_CC" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3037 test -n "$ac_ct_CC" && break
3040 if test "x$ac_ct_CC" = x; then
3043 case $cross_compiling:$ac_tool_warned in
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3047 ac_tool_warned=yes ;;
3056 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058 as_fn_error $? "no acceptable C compiler found in \$PATH
3059 See \`config.log' for more details" "$LINENO" 5; }
3061 # Provide some information about the compiler.
3062 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3065 for ac_option in --version -v -V -qversion; do
3066 { { ac_try="$ac_compiler $ac_option >&5"
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3072 $as_echo "$ac_try_echo"; } >&5
3073 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3075 if test -s conftest.err; then
3077 ... rest of stderr output deleted ...
3078 10q' conftest.err >conftest.er1
3079 cat conftest.er1 >&5
3081 rm -f conftest.er1 conftest.err
3082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3083 test $ac_status = 0; }
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3097 ac_clean_files_save=$ac_clean_files
3098 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3099 # Try to create an executable without -o first, disregard a.out.
3100 # It will help us diagnose broken compilers, and finding out an intuition
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3103 $as_echo_n "checking whether the C compiler works... " >&6; }
3104 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3106 # The possible output files:
3107 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3110 for ac_file in $ac_files
3113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3114 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3119 if { { ac_try="$ac_link_default"
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3125 $as_echo "$ac_try_echo"; } >&5
3126 (eval "$ac_link_default") 2>&5
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; }; then :
3130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3131 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3132 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3133 # so that the user can short-circuit this test for compilers unknown to
3135 for ac_file in $ac_files ''
3137 test -f "$ac_file" || continue
3139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3142 # We found the default executable, but exeext='' is most
3146 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3148 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3150 # We set ac_cv_exeext here because the later test for it is not
3151 # safe: cross compilers may not add the suffix if given an `-o'
3152 # argument, so we may need to know it at that point already.
3153 # Even if this section looks crufty: it has the advantage of
3160 test "$ac_cv_exeext" = no && ac_cv_exeext=
3165 if test -z "$ac_file"; then :
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3168 $as_echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3173 as_fn_error 77 "C compiler cannot create executables
3174 See \`config.log' for more details" "$LINENO" 5; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3177 $as_echo "yes" >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3180 $as_echo_n "checking for C compiler default output file name... " >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3182 $as_echo "$ac_file" >&6; }
3183 ac_exeext=$ac_cv_exeext
3185 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3186 ac_clean_files=$ac_clean_files_save
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3188 $as_echo_n "checking for suffix of executables... " >&6; }
3189 if { { ac_try="$ac_link"
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3195 $as_echo "$ac_try_echo"; } >&5
3196 (eval "$ac_link") 2>&5
3198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3199 test $ac_status = 0; }; then :
3200 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3201 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3202 # work properly (i.e., refer to `conftest.exe'), while it won't with
3204 for ac_file in conftest.exe conftest conftest.*; do
3205 test -f "$ac_file" || continue
3207 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3208 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3216 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3217 See \`config.log' for more details" "$LINENO" 5; }
3219 rm -f conftest conftest$ac_cv_exeext
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3221 $as_echo "$ac_cv_exeext" >&6; }
3223 rm -f conftest.$ac_ext
3224 EXEEXT=$ac_cv_exeext
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3232 FILE *f = fopen ("conftest.out", "w");
3233 return ferror (f) || fclose (f) != 0;
3239 ac_clean_files="$ac_clean_files conftest.out"
3240 # Check that the compiler produces executables we can run. If not, either
3241 # the compiler is broken, or we cross compile.
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3243 $as_echo_n "checking whether we are cross compiling... " >&6; }
3244 if test "$cross_compiling" != yes; then
3245 { { ac_try="$ac_link"
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3251 $as_echo "$ac_try_echo"; } >&5
3252 (eval "$ac_link") 2>&5
3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255 test $ac_status = 0; }
3256 if { ac_try='./conftest$ac_cv_exeext'
3257 { { case "(($ac_try" in
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_try") 2>&5
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; }; then
3269 if test "$cross_compiling" = maybe; then
3272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274 as_fn_error $? "cannot run C compiled programs.
3275 If you meant to cross compile, use \`--host'.
3276 See \`config.log' for more details" "$LINENO" 5; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3281 $as_echo "$cross_compiling" >&6; }
3283 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3284 ac_clean_files=$ac_clean_files_save
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3286 $as_echo_n "checking for suffix of object files... " >&6; }
3287 if ${ac_cv_objext+:} false; then :
3288 $as_echo_n "(cached) " >&6
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3301 rm -f conftest.o conftest.obj
3302 if { { ac_try="$ac_compile"
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3308 $as_echo "$ac_try_echo"; } >&5
3309 (eval "$ac_compile") 2>&5
3311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3312 test $ac_status = 0; }; then :
3313 for ac_file in conftest.o conftest.obj conftest.*; do
3314 test -f "$ac_file" || continue;
3316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3317 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3322 $as_echo "$as_me: failed program was:" >&5
3323 sed 's/^/| /' conftest.$ac_ext >&5
3325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 as_fn_error $? "cannot compute suffix of object files: cannot compile
3328 See \`config.log' for more details" "$LINENO" 5; }
3330 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3333 $as_echo "$ac_cv_objext" >&6; }
3334 OBJEXT=$ac_cv_objext
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3337 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3338 if ${ac_cv_c_compiler_gnu+:} false; then :
3339 $as_echo_n "(cached) " >&6
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3355 if ac_fn_c_try_compile "$LINENO"; then :
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3365 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3366 if test $ac_compiler_gnu = yes; then
3371 ac_test_CFLAGS=${CFLAGS+set}
3372 ac_save_CFLAGS=$CFLAGS
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3374 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3375 if ${ac_cv_prog_cc_g+:} false; then :
3376 $as_echo_n "(cached) " >&6
3378 ac_save_c_werror_flag=$ac_c_werror_flag
3379 ac_c_werror_flag=yes
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3393 if ac_fn_c_try_compile "$LINENO"; then :
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3408 if ac_fn_c_try_compile "$LINENO"; then :
3411 ac_c_werror_flag=$ac_save_c_werror_flag
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3424 if ac_fn_c_try_compile "$LINENO"; then :
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 ac_c_werror_flag=$ac_save_c_werror_flag
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3435 $as_echo "$ac_cv_prog_cc_g" >&6; }
3436 if test "$ac_test_CFLAGS" = set; then
3437 CFLAGS=$ac_save_CFLAGS
3438 elif test $ac_cv_prog_cc_g = yes; then
3439 if test "$GCC" = yes; then
3445 if test "$GCC" = yes; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3452 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3453 if ${ac_cv_prog_cc_c89+:} false; then :
3454 $as_echo_n "(cached) " >&6
3456 ac_cv_prog_cc_c89=no
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3464 struct buf { int x; };
3465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3466 static char *e (p, i)
3472 static char *f (char * (*g) (char **, int), char **p, ...)
3477 s = g (p, va_arg (v,int));
3482 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3483 function prototypes and stuff, but not '\xHH' hex character constants.
3484 These don't provoke an error unfortunately, instead are silently treated
3485 as 'x'. The following induces an error, until -std is added to get
3486 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3487 array size at least. It's necessary to write '\x00'==0 to get something
3488 that's true only with -std. */
3489 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3491 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3492 inside strings and character constants. */
3494 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3496 int test (int i, double x);
3497 struct s1 {int (*f) (int a);};
3498 struct s2 {int (*f) (double a);};
3499 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3505 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3510 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3511 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3513 CC="$ac_save_CC $ac_arg"
3514 if ac_fn_c_try_compile "$LINENO"; then :
3515 ac_cv_prog_cc_c89=$ac_arg
3517 rm -f core conftest.err conftest.$ac_objext
3518 test "x$ac_cv_prog_cc_c89" != "xno" && break
3520 rm -f conftest.$ac_ext
3525 case "x$ac_cv_prog_cc_c89" in
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3528 $as_echo "none needed" >&6; } ;;
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3531 $as_echo "unsupported" >&6; } ;;
3533 CC="$CC $ac_cv_prog_cc_c89"
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3535 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3537 if test "x$ac_cv_prog_cc_c89" != xno; then :
3542 ac_cpp='$CPP $CPPFLAGS'
3543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3548 ac_cpp='$CPP $CPPFLAGS'
3549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3553 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3554 if ${am_cv_prog_cc_c_o+:} false; then :
3555 $as_echo_n "(cached) " >&6
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3568 # Make sure it works both with $CC and with simple cc.
3569 # Following AC_PROG_CC_C_O, we do the test twice because some
3570 # compilers refuse to overwrite an existing .o file with -o,
3571 # though they will create one.
3572 am_cv_prog_cc_c_o=yes
3574 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3575 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); } \
3579 && test -f conftest2.$ac_objext; then
3582 am_cv_prog_cc_c_o=no
3586 rm -f core conftest*
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3590 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3591 if test "$am_cv_prog_cc_c_o" != yes; then
3592 # Losing compiler, so override with the script.
3593 # FIXME: It is wrong to rewrite CC.
3594 # But if we don't then we get into trouble of one sort or another.
3595 # A longer-term fix would be to have automake use am__CC in this case,
3596 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3597 CC="$am_aux_dir/compile $CC"
3600 ac_cpp='$CPP $CPPFLAGS'
3601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3605 DEPDIR="${am__leading_dot}deps"
3607 ac_config_commands="$ac_config_commands depfiles"
3610 am_make=${MAKE-make}
3611 cat > confinc << 'END'
3613 @echo this is the am__doit target
3616 # If we don't find an include directive, just comment out the code.
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3618 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3622 # First try GNU make style include.
3623 echo "include confinc" > confmf
3624 # Ignore all kinds of additional output from 'make'.
3625 case `$am_make -s -f confmf 2> /dev/null` in #(
3626 *the\ am__doit\ target*)
3632 # Now try BSD make style include.
3633 if test "$am__include" = "#"; then
3634 echo '.include "confinc"' > confmf
3635 case `$am_make -s -f confmf 2> /dev/null` in #(
3636 *the\ am__doit\ target*)
3637 am__include=.include
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3646 $as_echo "$_am_result" >&6; }
3647 rm -f confinc confmf
3649 # Check whether --enable-dependency-tracking was given.
3650 if test "${enable_dependency_tracking+set}" = set; then :
3651 enableval=$enable_dependency_tracking;
3654 if test "x$enable_dependency_tracking" != xno; then
3655 am_depcomp="$ac_aux_dir/depcomp"
3659 if test "x$enable_dependency_tracking" != xno; then
3669 depcc="$CC" am_compiler_list=
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3672 $as_echo_n "checking dependency style of $depcc... " >&6; }
3673 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3674 $as_echo_n "(cached) " >&6
3676 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3677 # We make a subdir and do the tests there. Otherwise we can end up
3678 # making bogus files that we don't know about and never remove. For
3679 # instance it was reported that on HP-UX the gcc test will end up
3680 # making a dummy file named 'D' -- because '-MD' means "put the output
3684 # Copy depcomp to subdir because otherwise we won't find it if we're
3685 # using a relative directory.
3686 cp "$am_depcomp" conftest.dir
3688 # We will build objects and dependencies in a subdirectory because
3689 # it helps to detect inapplicable dependency modes. For instance
3690 # both Tru64's cc and ICC support -MD to output dependencies as a
3691 # side effect of compilation, but ICC will put the dependencies in
3692 # the current directory while Tru64 will put them in the object
3696 am_cv_CC_dependencies_compiler_type=none
3697 if test "$am_compiler_list" = ""; then
3698 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3701 case " $depcc " in #(
3702 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3705 for depmode in $am_compiler_list; do
3706 # Setup a source with many dependencies, because some compilers
3707 # like to wrap large dependency lists on column 80 (with \), and
3708 # we should not choose a depcomp mode which is confused by this.
3710 # We need to recreate these files for each test, as the compiler may
3711 # overwrite some of them when testing with obscure command lines.
3712 # This happens at least with the AIX C compiler.
3714 for i in 1 2 3 4 5 6; do
3715 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3716 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3717 # Solaris 10 /bin/sh.
3718 echo '/* dummy */' > sub/conftst$i.h
3720 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3722 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3723 # mode. It turns out that the SunPro C++ compiler does not properly
3724 # handle '-M -o', and we need to detect this. Also, some Intel
3725 # versions had trouble with output in subdirs.
3726 am__obj=sub/conftest.${OBJEXT-o}
3727 am__minus_obj="-o $am__obj"
3730 # This depmode causes a compiler race in universal mode.
3731 test "$am__universal" = false || continue
3734 # After this tag, mechanisms are not by side-effect, so they'll
3735 # only be used when explicitly requested.
3736 if test "x$enable_dependency_tracking" = xyes; then
3742 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3743 # This compiler won't grok '-c -o', but also, the minuso test has
3744 # not run yet. These depmodes are late enough in the game, and
3745 # so weak that their functioning should not be impacted.
3746 am__obj=conftest.${OBJEXT-o}
3751 if depmode=$depmode \
3752 source=sub/conftest.c object=$am__obj \
3753 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3754 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3755 >/dev/null 2>conftest.err &&
3756 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3757 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3758 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3759 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3760 # icc doesn't choke on unknown options, it will just issue warnings
3761 # or remarks (even with -Werror). So we grep stderr for any message
3762 # that says an option was ignored or not supported.
3763 # When given -MP, icc 7.0 and 7.1 complain thusly:
3764 # icc: Command line warning: ignoring option '-M'; no argument required
3765 # The diagnosis changed in icc 8.0:
3766 # icc: Command line remark: option '-MP' not supported
3767 if (grep 'ignoring option' conftest.err ||
3768 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3769 am_cv_CC_dependencies_compiler_type=$depmode
3778 am_cv_CC_dependencies_compiler_type=none
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3783 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3784 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3787 test "x$enable_dependency_tracking" != xno \
3788 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3790 am__fastdepCC_FALSE='#'
3792 am__fastdepCC_TRUE='#'
3793 am__fastdepCC_FALSE=
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3801 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3806 macro_version='2.4.2'
3807 macro_revision='1.3337'
3821 ltmain="$ac_aux_dir/ltmain.sh"
3823 # Make sure we can run config.sub.
3824 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3825 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3828 $as_echo_n "checking build system type... " >&6; }
3829 if ${ac_cv_build+:} false; then :
3830 $as_echo_n "(cached) " >&6
3832 ac_build_alias=$build_alias
3833 test "x$ac_build_alias" = x &&
3834 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3835 test "x$ac_build_alias" = x &&
3836 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3837 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3838 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3842 $as_echo "$ac_cv_build" >&6; }
3843 case $ac_cv_build in
3845 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3848 ac_save_IFS=$IFS; IFS='-'
3854 # Remember, the first character of IFS is used to create $*,
3855 # except with old shells:
3858 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3862 $as_echo_n "checking host system type... " >&6; }
3863 if ${ac_cv_host+:} false; then :
3864 $as_echo_n "(cached) " >&6
3866 if test "x$host_alias" = x; then
3867 ac_cv_host=$ac_cv_build
3869 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3870 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3875 $as_echo "$ac_cv_host" >&6; }
3878 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3881 ac_save_IFS=$IFS; IFS='-'
3887 # Remember, the first character of IFS is used to create $*,
3888 # except with old shells:
3891 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3894 # Backslashify metacharacters that are still active within
3895 # double-quoted strings.
3896 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3898 # Same as above, but do not quote variable references.
3899 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3901 # Sed substitution to delay expansion of an escaped shell variable in a
3902 # double_quote_subst'ed string.
3903 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3905 # Sed substitution to delay expansion of an escaped single quote.
3906 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3908 # Sed substitution to avoid accidental globbing in evaled expressions
3909 no_glob_subst='s/\*/\\\*/g'
3911 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3912 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3913 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3916 $as_echo_n "checking how to print strings... " >&6; }
3917 # Test print first, because it will be a builtin if present.
3918 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3919 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3921 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3924 # Use this function as a fallback that always works.
3925 func_fallback_echo ()
3927 eval 'cat <<_LTECHO_EOF
3931 ECHO='func_fallback_echo'
3934 # func_echo_all arg...
3935 # Invoke $ECHO with all args, space-separated.
3942 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3943 $as_echo "printf" >&6; } ;;
3944 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3945 $as_echo "print -r" >&6; } ;;
3946 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3947 $as_echo "cat" >&6; } ;;
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3964 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3965 if ${ac_cv_path_SED+:} false; then :
3966 $as_echo_n "(cached) " >&6
3968 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3969 for ac_i in 1 2 3 4 5 6 7; do
3970 ac_script="$ac_script$as_nl$ac_script"
3972 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3973 { ac_script=; unset ac_script;}
3974 if test -z "$SED"; then
3975 ac_path_SED_found=false
3976 # Loop through the user's path and test for each of PROGNAME-LIST
3977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 test -z "$as_dir" && as_dir=.
3982 for ac_prog in sed gsed; do
3983 for ac_exec_ext in '' $ac_executable_extensions; do
3984 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3985 as_fn_executable_p "$ac_path_SED" || continue
3986 # Check for GNU ac_path_SED and select it if it is found.
3987 # Check for GNU $ac_path_SED
3988 case `"$ac_path_SED" --version 2>&1` in
3990 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3993 $as_echo_n 0123456789 >"conftest.in"
3996 cat "conftest.in" "conftest.in" >"conftest.tmp"
3997 mv "conftest.tmp" "conftest.in"
3998 cp "conftest.in" "conftest.nl"
3999 $as_echo '' >> "conftest.nl"
4000 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4001 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4002 as_fn_arith $ac_count + 1 && ac_count=$as_val
4003 if test $ac_count -gt ${ac_path_SED_max-0}; then
4004 # Best one so far, save it but keep looking for a better one
4005 ac_cv_path_SED="$ac_path_SED"
4006 ac_path_SED_max=$ac_count
4008 # 10*(2^10) chars as input seems more than enough
4009 test $ac_count -gt 10 && break
4011 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4014 $ac_path_SED_found && break 3
4019 if test -z "$ac_cv_path_SED"; then
4020 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4028 $as_echo "$ac_cv_path_SED" >&6; }
4029 SED="$ac_cv_path_SED"
4032 test -z "$SED" && SED=sed
4033 Xsed="$SED -e 1s/^X//"
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4046 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4047 if ${ac_cv_path_GREP+:} false; then :
4048 $as_echo_n "(cached) " >&6
4050 if test -z "$GREP"; then
4051 ac_path_GREP_found=false
4052 # Loop through the user's path and test for each of PROGNAME-LIST
4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4054 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4057 test -z "$as_dir" && as_dir=.
4058 for ac_prog in grep ggrep; do
4059 for ac_exec_ext in '' $ac_executable_extensions; do
4060 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4061 as_fn_executable_p "$ac_path_GREP" || continue
4062 # Check for GNU ac_path_GREP and select it if it is found.
4063 # Check for GNU $ac_path_GREP
4064 case `"$ac_path_GREP" --version 2>&1` in
4066 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4069 $as_echo_n 0123456789 >"conftest.in"
4072 cat "conftest.in" "conftest.in" >"conftest.tmp"
4073 mv "conftest.tmp" "conftest.in"
4074 cp "conftest.in" "conftest.nl"
4075 $as_echo 'GREP' >> "conftest.nl"
4076 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4077 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4078 as_fn_arith $ac_count + 1 && ac_count=$as_val
4079 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4080 # Best one so far, save it but keep looking for a better one
4081 ac_cv_path_GREP="$ac_path_GREP"
4082 ac_path_GREP_max=$ac_count
4084 # 10*(2^10) chars as input seems more than enough
4085 test $ac_count -gt 10 && break
4087 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4090 $ac_path_GREP_found && break 3
4095 if test -z "$ac_cv_path_GREP"; then
4096 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4099 ac_cv_path_GREP=$GREP
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4104 $as_echo "$ac_cv_path_GREP" >&6; }
4105 GREP="$ac_cv_path_GREP"
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4109 $as_echo_n "checking for egrep... " >&6; }
4110 if ${ac_cv_path_EGREP+:} false; then :
4111 $as_echo_n "(cached) " >&6
4113 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4114 then ac_cv_path_EGREP="$GREP -E"
4116 if test -z "$EGREP"; then
4117 ac_path_EGREP_found=false
4118 # Loop through the user's path and test for each of PROGNAME-LIST
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4123 test -z "$as_dir" && as_dir=.
4124 for ac_prog in egrep; do
4125 for ac_exec_ext in '' $ac_executable_extensions; do
4126 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4127 as_fn_executable_p "$ac_path_EGREP" || continue
4128 # Check for GNU ac_path_EGREP and select it if it is found.
4129 # Check for GNU $ac_path_EGREP
4130 case `"$ac_path_EGREP" --version 2>&1` in
4132 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4135 $as_echo_n 0123456789 >"conftest.in"
4138 cat "conftest.in" "conftest.in" >"conftest.tmp"
4139 mv "conftest.tmp" "conftest.in"
4140 cp "conftest.in" "conftest.nl"
4141 $as_echo 'EGREP' >> "conftest.nl"
4142 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4143 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4144 as_fn_arith $ac_count + 1 && ac_count=$as_val
4145 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4146 # Best one so far, save it but keep looking for a better one
4147 ac_cv_path_EGREP="$ac_path_EGREP"
4148 ac_path_EGREP_max=$ac_count
4150 # 10*(2^10) chars as input seems more than enough
4151 test $ac_count -gt 10 && break
4153 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4156 $ac_path_EGREP_found && break 3
4161 if test -z "$ac_cv_path_EGREP"; then
4162 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4165 ac_cv_path_EGREP=$EGREP
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4171 $as_echo "$ac_cv_path_EGREP" >&6; }
4172 EGREP="$ac_cv_path_EGREP"
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4176 $as_echo_n "checking for fgrep... " >&6; }
4177 if ${ac_cv_path_FGREP+:} false; then :
4178 $as_echo_n "(cached) " >&6
4180 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4181 then ac_cv_path_FGREP="$GREP -F"
4183 if test -z "$FGREP"; then
4184 ac_path_FGREP_found=false
4185 # Loop through the user's path and test for each of PROGNAME-LIST
4186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4187 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4190 test -z "$as_dir" && as_dir=.
4191 for ac_prog in fgrep; do
4192 for ac_exec_ext in '' $ac_executable_extensions; do
4193 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4194 as_fn_executable_p "$ac_path_FGREP" || continue
4195 # Check for GNU ac_path_FGREP and select it if it is found.
4196 # Check for GNU $ac_path_FGREP
4197 case `"$ac_path_FGREP" --version 2>&1` in
4199 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4202 $as_echo_n 0123456789 >"conftest.in"
4205 cat "conftest.in" "conftest.in" >"conftest.tmp"
4206 mv "conftest.tmp" "conftest.in"
4207 cp "conftest.in" "conftest.nl"
4208 $as_echo 'FGREP' >> "conftest.nl"
4209 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4210 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4211 as_fn_arith $ac_count + 1 && ac_count=$as_val
4212 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4213 # Best one so far, save it but keep looking for a better one
4214 ac_cv_path_FGREP="$ac_path_FGREP"
4215 ac_path_FGREP_max=$ac_count
4217 # 10*(2^10) chars as input seems more than enough
4218 test $ac_count -gt 10 && break
4220 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4223 $ac_path_FGREP_found && break 3
4228 if test -z "$ac_cv_path_FGREP"; then
4229 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4232 ac_cv_path_FGREP=$FGREP
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4238 $as_echo "$ac_cv_path_FGREP" >&6; }
4239 FGREP="$ac_cv_path_FGREP"
4242 test -z "$GREP" && GREP=grep
4262 # Check whether --with-gnu-ld was given.
4263 if test "${with_gnu_ld+set}" = set; then :
4264 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4270 if test "$GCC" = yes; then
4271 # Check if gcc -print-prog-name=ld gives a path.
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4273 $as_echo_n "checking for ld used by $CC... " >&6; }
4276 # gcc leaves a trailing carriage return which upsets mingw
4277 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4279 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4282 # Accept absolute paths.
4284 re_direlt='/[^/][^/]*/\.\./'
4285 # Canonicalize the pathname of ld
4286 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4287 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4288 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4290 test -z "$LD" && LD="$ac_prog"
4293 # If it fails, then pretend we aren't using GCC.
4297 # If it is relative, then search for the first ld in PATH.
4301 elif test "$with_gnu_ld" = yes; then
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4303 $as_echo_n "checking for GNU ld... " >&6; }
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4306 $as_echo_n "checking for non-GNU ld... " >&6; }
4308 if ${lt_cv_path_LD+:} false; then :
4309 $as_echo_n "(cached) " >&6
4311 if test -z "$LD"; then
4312 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4313 for ac_dir in $PATH; do
4315 test -z "$ac_dir" && ac_dir=.
4316 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4317 lt_cv_path_LD="$ac_dir/$ac_prog"
4318 # Check to see if the program is GNU ld. I'd rather use --version,
4319 # but apparently some variants of GNU ld only accept -v.
4320 # Break only if it was the GNU/non-GNU ld that we prefer.
4321 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4322 *GNU* | *'with BFD'*)
4323 test "$with_gnu_ld" != no && break
4326 test "$with_gnu_ld" != yes && break
4333 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4338 if test -n "$LD"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4340 $as_echo "$LD" >&6; }
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343 $as_echo "no" >&6; }
4345 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4347 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4348 if ${lt_cv_prog_gnu_ld+:} false; then :
4349 $as_echo_n "(cached) " >&6
4351 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4352 case `$LD -v 2>&1 </dev/null` in
4353 *GNU* | *'with BFD'*)
4354 lt_cv_prog_gnu_ld=yes
4357 lt_cv_prog_gnu_ld=no
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4362 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4363 with_gnu_ld=$lt_cv_prog_gnu_ld
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4374 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4375 if ${lt_cv_path_NM+:} false; then :
4376 $as_echo_n "(cached) " >&6
4378 if test -n "$NM"; then
4379 # Let the user override the test.
4382 lt_nm_to_check="${ac_tool_prefix}nm"
4383 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4384 lt_nm_to_check="$lt_nm_to_check nm"
4386 for lt_tmp_nm in $lt_nm_to_check; do
4387 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4388 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4390 test -z "$ac_dir" && ac_dir=.
4391 tmp_nm="$ac_dir/$lt_tmp_nm"
4392 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4393 # Check to see if the nm accepts a BSD-compat flag.
4394 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4395 # nm: unknown option "B" ignored
4396 # Tru64's nm complains that /dev/null is an invalid object file
4397 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4398 */dev/null* | *'Invalid file or object type'*)
4399 lt_cv_path_NM="$tmp_nm -B"
4403 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4405 lt_cv_path_NM="$tmp_nm -p"
4409 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4410 continue # so that we can try to find one that supports BSD flags
4419 : ${lt_cv_path_NM=no}
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4423 $as_echo "$lt_cv_path_NM" >&6; }
4424 if test "$lt_cv_path_NM" != "no"; then
4427 # Didn't find any BSD compatible name lister, look for dumpbin.
4428 if test -n "$DUMPBIN"; then :
4429 # Let the user override the test.
4431 if test -n "$ac_tool_prefix"; then
4432 for ac_prog in dumpbin "link -dump"
4434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if ${ac_cv_prog_DUMPBIN+:} false; then :
4439 $as_echo_n "(cached) " >&6
4441 if test -n "$DUMPBIN"; then
4442 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4451 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 DUMPBIN=$ac_cv_prog_DUMPBIN
4462 if test -n "$DUMPBIN"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4464 $as_echo "$DUMPBIN" >&6; }
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4471 test -n "$DUMPBIN" && break
4474 if test -z "$DUMPBIN"; then
4475 ac_ct_DUMPBIN=$DUMPBIN
4476 for ac_prog in dumpbin "link -dump"
4478 # Extract the first word of "$ac_prog", so it can be a program name with args.
4479 set dummy $ac_prog; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4483 $as_echo_n "(cached) " >&6
4485 if test -n "$ac_ct_DUMPBIN"; then
4486 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4505 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4506 if test -n "$ac_ct_DUMPBIN"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4508 $as_echo "$ac_ct_DUMPBIN" >&6; }
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4515 test -n "$ac_ct_DUMPBIN" && break
4518 if test "x$ac_ct_DUMPBIN" = x; then
4521 case $cross_compiling:$ac_tool_warned in
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4527 DUMPBIN=$ac_ct_DUMPBIN
4531 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4533 DUMPBIN="$DUMPBIN -symbols"
4541 if test "$DUMPBIN" != ":"; then
4545 test -z "$NM" && NM=nm
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4553 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4554 if ${lt_cv_nm_interface+:} false; then :
4555 $as_echo_n "(cached) " >&6
4557 lt_cv_nm_interface="BSD nm"
4558 echo "int some_variable = 0;" > conftest.$ac_ext
4559 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4560 (eval "$ac_compile" 2>conftest.err)
4561 cat conftest.err >&5
4562 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4563 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4564 cat conftest.err >&5
4565 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4566 cat conftest.out >&5
4567 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4568 lt_cv_nm_interface="MS dumpbin"
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4573 $as_echo "$lt_cv_nm_interface" >&6; }
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4576 $as_echo_n "checking whether ln -s works... " >&6; }
4578 if test "$LN_S" = "ln -s"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4580 $as_echo "yes" >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4583 $as_echo "no, using $LN_S" >&6; }
4586 # find the maximum length of command line arguments
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4588 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4589 if ${lt_cv_sys_max_cmd_len+:} false; then :
4590 $as_echo_n "(cached) " >&6
4597 # On DJGPP, this test can blow up pretty badly due to problems in libc
4598 # (any single argument exceeding 2000 bytes causes a buffer overrun
4599 # during glob expansion). Even if it were fixed, the result of this
4600 # check would be larger than it should be.
4601 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4605 # Under GNU Hurd, this test is not required because there is
4606 # no limit to the length of command line arguments.
4607 # Libtool will interpret -1 as no limit whatsoever
4608 lt_cv_sys_max_cmd_len=-1;
4611 cygwin* | mingw* | cegcc*)
4612 # On Win9x/ME, this test blows up -- it succeeds, but takes
4613 # about 5 minutes as the teststring grows exponentially.
4614 # Worse, since 9x/ME are not pre-emptively multitasking,
4615 # you end up with a "frozen" computer, even though with patience
4616 # the test eventually succeeds (with a max line length of 256k).
4617 # Instead, let's just punt: use the minimum linelength reported by
4618 # all of the supported platforms: 8192 (on NT/2K/XP).
4619 lt_cv_sys_max_cmd_len=8192;
4623 # On MiNT this can take a long time and run out of memory.
4624 lt_cv_sys_max_cmd_len=8192;
4628 # On AmigaOS with pdksh, this test takes hours, literally.
4629 # So we just punt and use a minimum line length of 8192.
4630 lt_cv_sys_max_cmd_len=8192;
4633 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4634 # This has been around since 386BSD, at least. Likely further.
4635 if test -x /sbin/sysctl; then
4636 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4637 elif test -x /usr/sbin/sysctl; then
4638 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4640 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4642 # And add a safety zone
4643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4644 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4648 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4649 lt_cv_sys_max_cmd_len=196608
4653 # The test takes a long time on OS/2.
4654 lt_cv_sys_max_cmd_len=8192
4658 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4659 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4660 # nice to cause kernel panics so lets avoid the loop below.
4661 # First set a reasonable default.
4662 lt_cv_sys_max_cmd_len=16384
4664 if test -x /sbin/sysconfig; then
4665 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4666 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4671 lt_cv_sys_max_cmd_len=102400
4673 sysv5* | sco5v6* | sysv4.2uw2*)
4674 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4675 if test -n "$kargmax"; then
4676 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4678 lt_cv_sys_max_cmd_len=32768
4682 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4683 if test -n "$lt_cv_sys_max_cmd_len" && \
4684 test undefined != "$lt_cv_sys_max_cmd_len"; then
4685 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4686 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4688 # Make teststring a little bigger before we do anything with it.
4689 # a 1K string should be a reasonable start.
4690 for i in 1 2 3 4 5 6 7 8 ; do
4691 teststring=$teststring$teststring
4693 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4694 # If test is not a shell built-in, we'll probably end up computing a
4695 # maximum length that is only half of the actual maximum length, but
4697 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4698 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4699 test $i != 17 # 1/2 MB should be enough
4702 teststring=$teststring$teststring
4704 # Only check the string length outside the loop.
4705 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4707 # Add a significant safety factor because C++ compilers can tack on
4708 # massive amounts of additional arguments before passing them to the
4709 # linker. It appears as though 1/2 is a usable value.
4710 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4717 if test -n $lt_cv_sys_max_cmd_len ; then
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4719 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4722 $as_echo "none" >&6; }
4724 max_cmd_len=$lt_cv_sys_max_cmd_len
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4736 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4737 # Try some XSI features
4740 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4742 && eval 'test $(( 1 + 1 )) -eq 2 \
4743 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4746 $as_echo "$xsi_shell" >&6; }
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4750 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4752 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4754 && lt_shell_append=yes
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4756 $as_echo "$lt_shell_append" >&6; }
4759 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4769 # test EBCDIC or ASCII
4770 case `echo X|tr X '\101'` in
4771 A) # ASCII based system
4772 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4773 lt_SP2NL='tr \040 \012'
4774 lt_NL2SP='tr \015\012 \040\040'
4776 *) # EBCDIC based system
4777 lt_SP2NL='tr \100 \n'
4778 lt_NL2SP='tr \r\n \100\100'
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4791 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4792 if ${lt_cv_to_host_file_cmd+:} false; then :
4793 $as_echo_n "(cached) " >&6
4798 *-*-mingw* ) # actually msys
4799 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4802 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4804 * ) # otherwise, assume *nix
4805 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4811 *-*-mingw* ) # actually msys
4812 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4815 lt_cv_to_host_file_cmd=func_convert_file_noop
4817 * ) # otherwise, assume *nix
4818 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4822 * ) # unhandled hosts (and "normal" native builds)
4823 lt_cv_to_host_file_cmd=func_convert_file_noop
4829 to_host_file_cmd=$lt_cv_to_host_file_cmd
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4831 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4838 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4839 if ${lt_cv_to_tool_file_cmd+:} false; then :
4840 $as_echo_n "(cached) " >&6
4842 #assume ordinary cross tools, or native build.
4843 lt_cv_to_tool_file_cmd=func_convert_file_noop
4847 *-*-mingw* ) # actually msys
4848 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4856 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4858 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4865 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4866 if ${lt_cv_ld_reload_flag+:} false; then :
4867 $as_echo_n "(cached) " >&6
4869 lt_cv_ld_reload_flag='-r'
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4872 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4873 reload_flag=$lt_cv_ld_reload_flag
4874 case $reload_flag in
4876 *) reload_flag=" $reload_flag" ;;
4878 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4880 cygwin* | mingw* | pw32* | cegcc*)
4881 if test "$GCC" != yes; then
4886 if test "$GCC" = yes; then
4887 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4889 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4902 if test -n "$ac_tool_prefix"; then
4903 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4904 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if ${ac_cv_prog_OBJDUMP+:} false; then :
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$OBJDUMP"; then
4911 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir=.
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4920 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 OBJDUMP=$ac_cv_prog_OBJDUMP
4931 if test -n "$OBJDUMP"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4933 $as_echo "$OBJDUMP" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4941 if test -z "$ac_cv_prog_OBJDUMP"; then
4942 ac_ct_OBJDUMP=$OBJDUMP
4943 # Extract the first word of "objdump", so it can be a program name with args.
4944 set dummy objdump; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$ac_ct_OBJDUMP"; then
4951 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4960 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4971 if test -n "$ac_ct_OBJDUMP"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4973 $as_echo "$ac_ct_OBJDUMP" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4979 if test "x$ac_ct_OBJDUMP" = x; then
4982 case $cross_compiling:$ac_tool_warned in
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4986 ac_tool_warned=yes ;;
4988 OBJDUMP=$ac_ct_OBJDUMP
4991 OBJDUMP="$ac_cv_prog_OBJDUMP"
4994 test -z "$OBJDUMP" && OBJDUMP=objdump
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5005 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5006 if ${lt_cv_deplibs_check_method+:} false; then :
5007 $as_echo_n "(cached) " >&6
5009 lt_cv_file_magic_cmd='$MAGIC_CMD'
5010 lt_cv_file_magic_test_file=
5011 lt_cv_deplibs_check_method='unknown'
5012 # Need to set the preceding variable on all platforms that support
5013 # interlibrary dependencies.
5014 # 'none' -- dependencies not supported.
5015 # `unknown' -- same as none, but documents that we really don't know.
5016 # 'pass_all' -- all dependencies passed with no checks.
5017 # 'test_compile' -- check by making test program.
5018 # 'file_magic [[regex]]' -- check by looking for files in library path
5019 # which responds to the $file_magic_cmd with a given extended regex.
5020 # If you have `file' or equivalent on your system and you're not sure
5021 # whether `pass_all' will *always* work, you probably want this one.
5025 lt_cv_deplibs_check_method=pass_all
5029 lt_cv_deplibs_check_method=pass_all
5033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5034 lt_cv_file_magic_cmd='/usr/bin/file -L'
5035 lt_cv_file_magic_test_file=/shlib/libc.so
5039 # func_win32_libid is a shell function defined in ltmain.sh
5040 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5041 lt_cv_file_magic_cmd='func_win32_libid'
5045 # Base MSYS/MinGW do not provide the 'file' command needed by
5046 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5047 # unless we find 'file', for example because we are cross-compiling.
5048 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5049 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5050 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5051 lt_cv_file_magic_cmd='func_win32_libid'
5053 # Keep this pattern in sync with the one in func_win32_libid.
5054 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5055 lt_cv_file_magic_cmd='$OBJDUMP -f'
5060 # use the weaker test based on 'objdump'. See mingw*.
5061 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5062 lt_cv_file_magic_cmd='$OBJDUMP -f'
5065 darwin* | rhapsody*)
5066 lt_cv_deplibs_check_method=pass_all
5069 freebsd* | dragonfly*)
5070 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5073 # Not sure whether the presence of OpenBSD here was a mistake.
5074 # Let's accept both of them until this is cleared up.
5075 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5076 lt_cv_file_magic_cmd=/usr/bin/file
5077 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5081 lt_cv_deplibs_check_method=pass_all
5086 lt_cv_deplibs_check_method=pass_all
5089 hpux10.20* | hpux11*)
5090 lt_cv_file_magic_cmd=/usr/bin/file
5093 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5094 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5097 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]'
5098 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5101 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5102 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5108 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5109 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5112 irix5* | irix6* | nonstopux*)
5114 *-32|*"-32 ") libmagic=32-bit;;
5115 *-n32|*"-n32 ") libmagic=N32;;
5116 *-64|*"-64 ") libmagic=64-bit;;
5117 *) libmagic=never-match;;
5119 lt_cv_deplibs_check_method=pass_all
5122 # This must be glibc/ELF.
5123 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5124 lt_cv_deplibs_check_method=pass_all
5127 netbsd* | netbsdelf*-gnu)
5128 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5129 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5131 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5136 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5137 lt_cv_file_magic_cmd=/usr/bin/file
5138 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5142 lt_cv_deplibs_check_method=pass_all
5146 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5147 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5149 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5153 osf3* | osf4* | osf5*)
5154 lt_cv_deplibs_check_method=pass_all
5158 lt_cv_deplibs_check_method=pass_all
5162 lt_cv_deplibs_check_method=pass_all
5165 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5166 lt_cv_deplibs_check_method=pass_all
5170 case $host_vendor in
5172 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]'
5173 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5176 lt_cv_deplibs_check_method=pass_all
5179 lt_cv_file_magic_cmd='/bin/file'
5180 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5183 lt_cv_file_magic_cmd='/bin/file'
5184 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5185 lt_cv_file_magic_test_file=/lib/libc.so
5188 lt_cv_deplibs_check_method=pass_all
5191 lt_cv_deplibs_check_method=pass_all
5197 lt_cv_deplibs_check_method=pass_all
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5203 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5207 if test "$build" = "$host"; then
5210 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5213 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5219 file_magic_cmd=$lt_cv_file_magic_cmd
5220 deplibs_check_method=$lt_cv_deplibs_check_method
5221 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5244 if test -n "$ac_tool_prefix"; then
5245 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5246 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_DLLTOOL+:} false; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$DLLTOOL"; then
5253 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 DLLTOOL=$ac_cv_prog_DLLTOOL
5273 if test -n "$DLLTOOL"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5275 $as_echo "$DLLTOOL" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5283 if test -z "$ac_cv_prog_DLLTOOL"; then
5284 ac_ct_DLLTOOL=$DLLTOOL
5285 # Extract the first word of "dlltool", so it can be a program name with args.
5286 set dummy dlltool; ac_word=$2
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5288 $as_echo_n "checking for $ac_word... " >&6; }
5289 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5290 $as_echo_n "(cached) " >&6
5292 if test -n "$ac_ct_DLLTOOL"; then
5293 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir=.
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5302 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5313 if test -n "$ac_ct_DLLTOOL"; then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5315 $as_echo "$ac_ct_DLLTOOL" >&6; }
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 $as_echo "no" >&6; }
5321 if test "x$ac_ct_DLLTOOL" = x; then
5324 case $cross_compiling:$ac_tool_warned in
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5328 ac_tool_warned=yes ;;
5330 DLLTOOL=$ac_ct_DLLTOOL
5333 DLLTOOL="$ac_cv_prog_DLLTOOL"
5336 test -z "$DLLTOOL" && DLLTOOL=dlltool
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5348 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5349 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5350 $as_echo_n "(cached) " >&6
5352 lt_cv_sharedlib_from_linklib_cmd='unknown'
5355 cygwin* | mingw* | pw32* | cegcc*)
5356 # two different shell functions defined in ltmain.sh
5357 # decide which to use based on capabilities of $DLLTOOL
5358 case `$DLLTOOL --help 2>&1` in
5359 *--identify-strict*)
5360 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5363 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5368 # fallback: assume linklib IS sharedlib
5369 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5375 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5376 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5377 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5386 if test -n "$ac_tool_prefix"; then
5389 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5390 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_AR+:} false; then :
5394 $as_echo_n "(cached) " >&6
5396 if test -n "$AR"; then
5397 ac_cv_prog_AR="$AR" # Let the user override the test.
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 if test -n "$AR"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5419 $as_echo "$AR" >&6; }
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5426 test -n "$AR" && break
5429 if test -z "$AR"; then
5433 # Extract the first word of "$ac_prog", so it can be a program name with args.
5434 set dummy $ac_prog; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -n "$ac_ct_AR"; then
5441 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_ac_ct_AR="$ac_prog"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5461 if test -n "$ac_ct_AR"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5463 $as_echo "$ac_ct_AR" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5470 test -n "$ac_ct_AR" && break
5473 if test "x$ac_ct_AR" = x; then
5476 case $cross_compiling:$ac_tool_warned in
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5480 ac_tool_warned=yes ;;
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5500 $as_echo_n "checking for archiver @FILE support... " >&6; }
5501 if ${lt_cv_ar_at_file+:} false; then :
5502 $as_echo_n "(cached) " >&6
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5516 if ac_fn_c_try_compile "$LINENO"; then :
5517 echo conftest.$ac_objext > conftest.lst
5518 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5519 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5520 (eval $lt_ar_try) 2>&5
5522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5523 test $ac_status = 0; }
5524 if test "$ac_status" -eq 0; then
5525 # Ensure the archiver fails upon bogus file names.
5526 rm -f conftest.$ac_objext libconftest.a
5527 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5528 (eval $lt_ar_try) 2>&5
5530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5531 test $ac_status = 0; }
5532 if test "$ac_status" -ne 0; then
5536 rm -f conftest.* libconftest.a
5539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5543 $as_echo "$lt_cv_ar_at_file" >&6; }
5545 if test "x$lt_cv_ar_at_file" = xno; then
5548 archiver_list_spec=$lt_cv_ar_at_file
5557 if test -n "$ac_tool_prefix"; then
5558 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5559 set dummy ${ac_tool_prefix}strip; ac_word=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_prog_STRIP+:} false; then :
5563 $as_echo_n "(cached) " >&6
5565 if test -n "$STRIP"; then
5566 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 STRIP=$ac_cv_prog_STRIP
5586 if test -n "$STRIP"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5588 $as_echo "$STRIP" >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5596 if test -z "$ac_cv_prog_STRIP"; then
5598 # Extract the first word of "strip", so it can be a program name with args.
5599 set dummy strip; ac_word=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 $as_echo_n "checking for $ac_word... " >&6; }
5602 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5603 $as_echo_n "(cached) " >&6
5605 if test -n "$ac_ct_STRIP"; then
5606 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 test -z "$as_dir" && as_dir=.
5613 for ac_exec_ext in '' $ac_executable_extensions; do
5614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_ac_ct_STRIP="strip"
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5626 if test -n "$ac_ct_STRIP"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5628 $as_echo "$ac_ct_STRIP" >&6; }
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5634 if test "x$ac_ct_STRIP" = x; then
5637 case $cross_compiling:$ac_tool_warned in
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5641 ac_tool_warned=yes ;;
5646 STRIP="$ac_cv_prog_STRIP"
5649 test -z "$STRIP" && STRIP=:
5656 if test -n "$ac_tool_prefix"; then
5657 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5658 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_RANLIB+:} false; then :
5662 $as_echo_n "(cached) " >&6
5664 if test -n "$RANLIB"; then
5665 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 RANLIB=$ac_cv_prog_RANLIB
5685 if test -n "$RANLIB"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5687 $as_echo "$RANLIB" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5695 if test -z "$ac_cv_prog_RANLIB"; then
5696 ac_ct_RANLIB=$RANLIB
5697 # Extract the first word of "ranlib", so it can be a program name with args.
5698 set dummy ranlib; ac_word=$2
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700 $as_echo_n "checking for $ac_word... " >&6; }
5701 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5702 $as_echo_n "(cached) " >&6
5704 if test -n "$ac_ct_RANLIB"; then
5705 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 test -z "$as_dir" && as_dir=.
5712 for ac_exec_ext in '' $ac_executable_extensions; do
5713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5714 ac_cv_prog_ac_ct_RANLIB="ranlib"
5715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5725 if test -n "$ac_ct_RANLIB"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5727 $as_echo "$ac_ct_RANLIB" >&6; }
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730 $as_echo "no" >&6; }
5733 if test "x$ac_ct_RANLIB" = x; then
5736 case $cross_compiling:$ac_tool_warned in
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5740 ac_tool_warned=yes ;;
5742 RANLIB=$ac_ct_RANLIB
5745 RANLIB="$ac_cv_prog_RANLIB"
5748 test -z "$RANLIB" && RANLIB=:
5755 # Determine commands to create old-style static archives.
5756 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5757 old_postinstall_cmds='chmod 644 $oldlib'
5758 old_postuninstall_cmds=
5760 if test -n "$RANLIB"; then
5763 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5766 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5769 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5774 lock_old_archive_extraction=yes ;;
5776 lock_old_archive_extraction=no ;;
5817 # If no C compiler was specified, use CC.
5820 # If no C compiler flags were specified, use CFLAGS.
5821 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5823 # Allow CC to be a program name with arguments.
5827 # Check for command to grab the raw symbol name followed by C symbol from nm.
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5829 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5830 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5831 $as_echo_n "(cached) " >&6
5834 # These are sane defaults that work on at least a few old systems.
5835 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5837 # Character class describing NM global symbol codes.
5838 symcode='[BCDEGRST]'
5840 # Regexp to match symbols that can be accessed directly from C.
5841 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5843 # Define system-specific variables.
5848 cygwin* | mingw* | pw32* | cegcc*)
5849 symcode='[ABCDGISTW]'
5852 if test "$host_cpu" = ia64; then
5853 symcode='[ABCDEGRST]'
5857 symcode='[BCDEGRST]'
5860 symcode='[BCDEGQRST]'
5871 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5879 # If we're using GNU nm, then use its standard symbol codes.
5880 case `$NM -V 2>&1` in
5881 *GNU* | *'with BFD'*)
5882 symcode='[ABCDGIRSTW]' ;;
5885 # Transform an extracted symbol line into a proper C declaration.
5886 # Some systems (esp. on ia64) link data and code symbols differently,
5887 # so use this general approach.
5888 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5890 # Transform an extracted symbol line into symbol name and symbol address
5891 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5892 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'"
5894 # Handle CRLF in mingw tool chain
5898 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5902 # Try without a prefix underscore, then with it.
5903 for ac_symprfx in "" "_"; do
5905 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5906 symxfrm="\\1 $ac_symprfx\\2 \\2"
5908 # Write the raw and C identifiers.
5909 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5910 # Fake it for dumpbin and say T for any non-static function
5911 # and D for any global variable.
5912 # Also find C++ and __fastcall symbols from MSVC++,
5913 # which start with @ or ?.
5914 lt_cv_sys_global_symbol_pipe="$AWK '"\
5915 " {last_section=section; section=\$ 3};"\
5916 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5917 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5918 " \$ 0!~/External *\|/{next};"\
5919 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5920 " {if(hide[section]) next};"\
5921 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5922 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5923 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5924 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5925 " ' prfx=^$ac_symprfx"
5927 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5929 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5931 # Check to see that the pipe works correctly.
5935 cat > conftest.$ac_ext <<_LT_EOF
5940 void nm_test_func(void);
5941 void nm_test_func(void){}
5945 int main(){nm_test_var='a';nm_test_func();return(0);}
5948 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5949 (eval $ac_compile) 2>&5
5951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5952 test $ac_status = 0; }; then
5953 # Now try to grab the symbols.
5955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5956 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5959 test $ac_status = 0; } && test -s "$nlist"; then
5960 # Try sorting and uniquifying the output.
5961 if sort "$nlist" | uniq > "$nlist"T; then
5962 mv -f "$nlist"T "$nlist"
5967 # Make sure that we snagged all the symbols we need.
5968 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5969 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5970 cat <<_LT_EOF > conftest.$ac_ext
5971 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5972 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5973 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5974 relocations are performed -- see ld's documentation on pseudo-relocs. */
5975 # define LT_DLSYM_CONST
5976 #elif defined(__osf__)
5977 /* This system does not cope well with relocations in const data. */
5978 # define LT_DLSYM_CONST
5980 # define LT_DLSYM_CONST const
5988 # Now generate the symbol file.
5989 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5991 cat <<_LT_EOF >> conftest.$ac_ext
5993 /* The mapping between symbol names and symbols. */
5994 LT_DLSYM_CONST struct {
5998 lt__PROGRAM__LTX_preloaded_symbols[] =
6000 { "@PROGRAM@", (void *) 0 },
6002 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6003 cat <<\_LT_EOF >> conftest.$ac_ext
6007 /* This works around a problem in FreeBSD linker */
6008 #ifdef FREEBSD_WORKAROUND
6009 static const void *lt_preloaded_setup() {
6010 return lt__PROGRAM__LTX_preloaded_symbols;
6018 # Now try linking the two files.
6019 mv conftest.$ac_objext conftstm.$ac_objext
6020 lt_globsym_save_LIBS=$LIBS
6021 lt_globsym_save_CFLAGS=$CFLAGS
6022 LIBS="conftstm.$ac_objext"
6023 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6025 (eval $ac_link) 2>&5
6027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6028 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6031 LIBS=$lt_globsym_save_LIBS
6032 CFLAGS=$lt_globsym_save_CFLAGS
6034 echo "cannot find nm_test_func in $nlist" >&5
6037 echo "cannot find nm_test_var in $nlist" >&5
6040 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6043 echo "$progname: failed program was:" >&5
6044 cat conftest.$ac_ext >&5
6046 rm -rf conftest* conftst*
6048 # Do not use the global_symbol_pipe unless it works.
6049 if test "$pipe_works" = yes; then
6052 lt_cv_sys_global_symbol_pipe=
6058 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6059 lt_cv_sys_global_symbol_to_cdecl=
6061 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6063 $as_echo "failed" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6066 $as_echo "ok" >&6; }
6069 # Response file support.
6070 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6071 nm_file_list_spec='@'
6072 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6073 nm_file_list_spec='@'
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6103 $as_echo_n "checking for sysroot... " >&6; }
6105 # Check whether --with-sysroot was given.
6106 if test "${with_sysroot+set}" = set; then :
6107 withval=$with_sysroot;
6114 case ${with_sysroot} in #(
6116 if test "$GCC" = yes; then
6117 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6121 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6127 $as_echo "${with_sysroot}" >&6; }
6128 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6133 $as_echo "${lt_sysroot:-no}" >&6; }
6139 # Check whether --enable-libtool-lock was given.
6140 if test "${enable_libtool_lock+set}" = set; then :
6141 enableval=$enable_libtool_lock;
6144 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6146 # Some flags need to be propagated to the compiler or linker for good
6150 # Find out which ABI we are using.
6151 echo 'int i;' > conftest.$ac_ext
6152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6153 (eval $ac_compile) 2>&5
6155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6156 test $ac_status = 0; }; then
6157 case `/usr/bin/file conftest.$ac_objext` in
6169 # Find out which ABI we are using.
6170 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6172 (eval $ac_compile) 2>&5
6174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6175 test $ac_status = 0; }; then
6176 if test "$lt_cv_prog_gnu_ld" = yes; then
6177 case `/usr/bin/file conftest.$ac_objext` in
6179 LD="${LD-ld} -melf32bsmip"
6182 LD="${LD-ld} -melf32bmipn32"
6185 LD="${LD-ld} -melf64bmip"
6189 case `/usr/bin/file conftest.$ac_objext` in
6205 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6206 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6207 # Find out which ABI we are using.
6208 echo 'int i;' > conftest.$ac_ext
6209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6210 (eval $ac_compile) 2>&5
6212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6213 test $ac_status = 0; }; then
6214 case `/usr/bin/file conftest.o` in
6217 x86_64-*kfreebsd*-gnu)
6218 LD="${LD-ld} -m elf_i386_fbsd"
6221 case `/usr/bin/file conftest.o` in
6223 LD="${LD-ld} -m elf32_x86_64"
6226 LD="${LD-ld} -m elf_i386"
6231 LD="${LD-ld} -m elf32lppclinux"
6234 LD="${LD-ld} -m elf32ppclinux"
6237 LD="${LD-ld} -m elf_s390"
6240 LD="${LD-ld} -m elf32_sparc"
6246 x86_64-*kfreebsd*-gnu)
6247 LD="${LD-ld} -m elf_x86_64_fbsd"
6250 LD="${LD-ld} -m elf_x86_64"
6253 LD="${LD-ld} -m elf64lppc"
6256 LD="${LD-ld} -m elf64ppc"
6258 s390*-*linux*|s390*-*tpf*)
6259 LD="${LD-ld} -m elf64_s390"
6262 LD="${LD-ld} -m elf64_sparc"
6272 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6273 SAVE_CFLAGS="$CFLAGS"
6274 CFLAGS="$CFLAGS -belf"
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6276 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6277 if ${lt_cv_cc_needs_belf+:} false; then :
6278 $as_echo_n "(cached) " >&6
6281 ac_cpp='$CPP $CPPFLAGS'
6282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6297 if ac_fn_c_try_link "$LINENO"; then :
6298 lt_cv_cc_needs_belf=yes
6300 lt_cv_cc_needs_belf=no
6302 rm -f core conftest.err conftest.$ac_objext \
6303 conftest$ac_exeext conftest.$ac_ext
6305 ac_cpp='$CPP $CPPFLAGS'
6306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6312 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6313 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6314 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6315 CFLAGS="$SAVE_CFLAGS"
6319 # Find out which ABI we are using.
6320 echo 'int i;' > conftest.$ac_ext
6321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6322 (eval $ac_compile) 2>&5
6324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6325 test $ac_status = 0; }; then
6326 case `/usr/bin/file conftest.o` in
6328 case $lt_cv_prog_gnu_ld in
6332 LD="${LD-ld} -m elf_x86_64"
6335 LD="${LD-ld} -m elf64_sparc"
6338 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6339 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6344 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6356 need_locks="$enable_libtool_lock"
6358 if test -n "$ac_tool_prefix"; then
6359 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6360 set dummy ${ac_tool_prefix}mt; ac_word=$2
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362 $as_echo_n "checking for $ac_word... " >&6; }
6363 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6364 $as_echo_n "(cached) " >&6
6366 if test -n "$MANIFEST_TOOL"; then
6367 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 test -z "$as_dir" && as_dir=.
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6376 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6387 if test -n "$MANIFEST_TOOL"; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6389 $as_echo "$MANIFEST_TOOL" >&6; }
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392 $as_echo "no" >&6; }
6397 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6398 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6399 # Extract the first word of "mt", so it can be a program name with args.
6400 set dummy mt; ac_word=$2
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6402 $as_echo_n "checking for $ac_word... " >&6; }
6403 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6404 $as_echo_n "(cached) " >&6
6406 if test -n "$ac_ct_MANIFEST_TOOL"; then
6407 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 test -z "$as_dir" && as_dir=.
6414 for ac_exec_ext in '' $ac_executable_extensions; do
6415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6416 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6426 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6427 if test -n "$ac_ct_MANIFEST_TOOL"; then
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6429 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6432 $as_echo "no" >&6; }
6435 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6438 case $cross_compiling:$ac_tool_warned in
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6442 ac_tool_warned=yes ;;
6444 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6447 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6450 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6452 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6453 if ${lt_cv_path_mainfest_tool+:} false; then :
6454 $as_echo_n "(cached) " >&6
6456 lt_cv_path_mainfest_tool=no
6457 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6458 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6459 cat conftest.err >&5
6460 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6461 lt_cv_path_mainfest_tool=yes
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6466 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6467 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6477 rhapsody* | darwin*)
6478 if test -n "$ac_tool_prefix"; then
6479 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6480 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482 $as_echo_n "checking for $ac_word... " >&6; }
6483 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6484 $as_echo_n "(cached) " >&6
6486 if test -n "$DSYMUTIL"; then
6487 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6493 test -z "$as_dir" && as_dir=.
6494 for ac_exec_ext in '' $ac_executable_extensions; do
6495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6496 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6506 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6507 if test -n "$DSYMUTIL"; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6509 $as_echo "$DSYMUTIL" >&6; }
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 $as_echo "no" >&6; }
6517 if test -z "$ac_cv_prog_DSYMUTIL"; then
6518 ac_ct_DSYMUTIL=$DSYMUTIL
6519 # Extract the first word of "dsymutil", so it can be a program name with args.
6520 set dummy dsymutil; ac_word=$2
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6522 $as_echo_n "checking for $ac_word... " >&6; }
6523 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6524 $as_echo_n "(cached) " >&6
6526 if test -n "$ac_ct_DSYMUTIL"; then
6527 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 test -z "$as_dir" && as_dir=.
6534 for ac_exec_ext in '' $ac_executable_extensions; do
6535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6536 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6546 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6547 if test -n "$ac_ct_DSYMUTIL"; then
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6549 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6552 $as_echo "no" >&6; }
6555 if test "x$ac_ct_DSYMUTIL" = x; then
6558 case $cross_compiling:$ac_tool_warned in
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6562 ac_tool_warned=yes ;;
6564 DSYMUTIL=$ac_ct_DSYMUTIL
6567 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6570 if test -n "$ac_tool_prefix"; then
6571 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6572 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if ${ac_cv_prog_NMEDIT+:} false; then :
6576 $as_echo_n "(cached) " >&6
6578 if test -n "$NMEDIT"; then
6579 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 test -z "$as_dir" && as_dir=.
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598 NMEDIT=$ac_cv_prog_NMEDIT
6599 if test -n "$NMEDIT"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6601 $as_echo "$NMEDIT" >&6; }
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6609 if test -z "$ac_cv_prog_NMEDIT"; then
6610 ac_ct_NMEDIT=$NMEDIT
6611 # Extract the first word of "nmedit", so it can be a program name with args.
6612 set dummy nmedit; ac_word=$2
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 $as_echo_n "checking for $ac_word... " >&6; }
6615 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6616 $as_echo_n "(cached) " >&6
6618 if test -n "$ac_ct_NMEDIT"; then
6619 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 test -z "$as_dir" && as_dir=.
6626 for ac_exec_ext in '' $ac_executable_extensions; do
6627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6628 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6639 if test -n "$ac_ct_NMEDIT"; then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6641 $as_echo "$ac_ct_NMEDIT" >&6; }
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 $as_echo "no" >&6; }
6647 if test "x$ac_ct_NMEDIT" = x; then
6650 case $cross_compiling:$ac_tool_warned in
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6654 ac_tool_warned=yes ;;
6656 NMEDIT=$ac_ct_NMEDIT
6659 NMEDIT="$ac_cv_prog_NMEDIT"
6662 if test -n "$ac_tool_prefix"; then
6663 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6664 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666 $as_echo_n "checking for $ac_word... " >&6; }
6667 if ${ac_cv_prog_LIPO+:} false; then :
6668 $as_echo_n "(cached) " >&6
6670 if test -n "$LIPO"; then
6671 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 test -z "$as_dir" && as_dir=.
6678 for ac_exec_ext in '' $ac_executable_extensions; do
6679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6680 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690 LIPO=$ac_cv_prog_LIPO
6691 if test -n "$LIPO"; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6693 $as_echo "$LIPO" >&6; }
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696 $as_echo "no" >&6; }
6701 if test -z "$ac_cv_prog_LIPO"; then
6703 # Extract the first word of "lipo", so it can be a program name with args.
6704 set dummy lipo; ac_word=$2
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706 $as_echo_n "checking for $ac_word... " >&6; }
6707 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6708 $as_echo_n "(cached) " >&6
6710 if test -n "$ac_ct_LIPO"; then
6711 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 test -z "$as_dir" && as_dir=.
6718 for ac_exec_ext in '' $ac_executable_extensions; do
6719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6720 ac_cv_prog_ac_ct_LIPO="lipo"
6721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6731 if test -n "$ac_ct_LIPO"; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6733 $as_echo "$ac_ct_LIPO" >&6; }
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736 $as_echo "no" >&6; }
6739 if test "x$ac_ct_LIPO" = x; then
6742 case $cross_compiling:$ac_tool_warned in
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6746 ac_tool_warned=yes ;;
6751 LIPO="$ac_cv_prog_LIPO"
6754 if test -n "$ac_tool_prefix"; then
6755 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6756 set dummy ${ac_tool_prefix}otool; ac_word=$2
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758 $as_echo_n "checking for $ac_word... " >&6; }
6759 if ${ac_cv_prog_OTOOL+:} false; then :
6760 $as_echo_n "(cached) " >&6
6762 if test -n "$OTOOL"; then
6763 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769 test -z "$as_dir" && as_dir=.
6770 for ac_exec_ext in '' $ac_executable_extensions; do
6771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6772 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782 OTOOL=$ac_cv_prog_OTOOL
6783 if test -n "$OTOOL"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6785 $as_echo "$OTOOL" >&6; }
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788 $as_echo "no" >&6; }
6793 if test -z "$ac_cv_prog_OTOOL"; then
6795 # Extract the first word of "otool", so it can be a program name with args.
6796 set dummy otool; ac_word=$2
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798 $as_echo_n "checking for $ac_word... " >&6; }
6799 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6800 $as_echo_n "(cached) " >&6
6802 if test -n "$ac_ct_OTOOL"; then
6803 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6812 ac_cv_prog_ac_ct_OTOOL="otool"
6813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6823 if test -n "$ac_ct_OTOOL"; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6825 $as_echo "$ac_ct_OTOOL" >&6; }
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828 $as_echo "no" >&6; }
6831 if test "x$ac_ct_OTOOL" = x; then
6834 case $cross_compiling:$ac_tool_warned in
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6838 ac_tool_warned=yes ;;
6843 OTOOL="$ac_cv_prog_OTOOL"
6846 if test -n "$ac_tool_prefix"; then
6847 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6848 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_OTOOL64+:} false; then :
6852 $as_echo_n "(cached) " >&6
6854 if test -n "$OTOOL64"; then
6855 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir=.
6862 for ac_exec_ext in '' $ac_executable_extensions; do
6863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6864 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 OTOOL64=$ac_cv_prog_OTOOL64
6875 if test -n "$OTOOL64"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6877 $as_echo "$OTOOL64" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6885 if test -z "$ac_cv_prog_OTOOL64"; then
6886 ac_ct_OTOOL64=$OTOOL64
6887 # Extract the first word of "otool64", so it can be a program name with args.
6888 set dummy otool64; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890 $as_echo_n "checking for $ac_word... " >&6; }
6891 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6892 $as_echo_n "(cached) " >&6
6894 if test -n "$ac_ct_OTOOL64"; then
6895 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6904 ac_cv_prog_ac_ct_OTOOL64="otool64"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6915 if test -n "$ac_ct_OTOOL64"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6917 $as_echo "$ac_ct_OTOOL64" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 $as_echo "no" >&6; }
6923 if test "x$ac_ct_OTOOL64" = x; then
6926 case $cross_compiling:$ac_tool_warned in
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930 ac_tool_warned=yes ;;
6932 OTOOL64=$ac_ct_OTOOL64
6935 OTOOL64="$ac_cv_prog_OTOOL64"
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6965 $as_echo_n "checking for -single_module linker flag... " >&6; }
6966 if ${lt_cv_apple_cc_single_mod+:} false; then :
6967 $as_echo_n "(cached) " >&6
6969 lt_cv_apple_cc_single_mod=no
6970 if test -z "${LT_MULTI_MODULE}"; then
6971 # By default we will add the -single_module flag. You can override
6972 # by either setting the environment variable LT_MULTI_MODULE
6973 # non-empty at configure time, or by adding -multi_module to the
6975 rm -rf libconftest.dylib*
6976 echo "int foo(void){return 1;}" > conftest.c
6977 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6978 -dynamiclib -Wl,-single_module conftest.c" >&5
6979 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6980 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6982 # If there is a non-empty error log, and "single_module"
6983 # appears in it, assume the flag caused a linker warning
6984 if test -s conftest.err && $GREP single_module conftest.err; then
6985 cat conftest.err >&5
6986 # Otherwise, if the output was created with a 0 exit code from
6987 # the compiler, it worked.
6988 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6989 lt_cv_apple_cc_single_mod=yes
6991 cat conftest.err >&5
6993 rm -rf libconftest.dylib*
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6998 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7001 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7002 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7003 $as_echo_n "(cached) " >&6
7005 lt_cv_ld_exported_symbols_list=no
7006 save_LDFLAGS=$LDFLAGS
7007 echo "_main" > conftest.sym
7008 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7020 if ac_fn_c_try_link "$LINENO"; then :
7021 lt_cv_ld_exported_symbols_list=yes
7023 lt_cv_ld_exported_symbols_list=no
7025 rm -f core conftest.err conftest.$ac_objext \
7026 conftest$ac_exeext conftest.$ac_ext
7027 LDFLAGS="$save_LDFLAGS"
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7031 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7034 $as_echo_n "checking for -force_load linker flag... " >&6; }
7035 if ${lt_cv_ld_force_load+:} false; then :
7036 $as_echo_n "(cached) " >&6
7038 lt_cv_ld_force_load=no
7039 cat > conftest.c << _LT_EOF
7040 int forced_loaded() { return 2;}
7042 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7043 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7044 echo "$AR cru libconftest.a conftest.o" >&5
7045 $AR cru libconftest.a conftest.o 2>&5
7046 echo "$RANLIB libconftest.a" >&5
7047 $RANLIB libconftest.a 2>&5
7048 cat > conftest.c << _LT_EOF
7049 int main() { return 0;}
7051 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7052 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7054 if test -s conftest.err && $GREP force_load conftest.err; then
7055 cat conftest.err >&5
7056 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7057 lt_cv_ld_force_load=yes
7059 cat conftest.err >&5
7061 rm -f conftest.err libconftest.a conftest conftest.c
7062 rm -rf conftest.dSYM
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7066 $as_echo "$lt_cv_ld_force_load" >&6; }
7068 rhapsody* | darwin1.[012])
7069 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7071 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7072 darwin*) # darwin 5.x on
7073 # if running on 10.5 or later, the deployment target defaults
7074 # to the OS version, if on x86, and 10.4, the deployment
7075 # target defaults to 10.4. Don't you love it?
7076 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7077 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7078 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7080 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7082 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7086 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7087 _lt_dar_single_mod='$single_module'
7089 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7090 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7092 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7094 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7095 _lt_dsymutil='~$DSYMUTIL $lib || :'
7103 ac_cpp='$CPP $CPPFLAGS'
7104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7108 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7109 # On Suns, sometimes $CPP names a directory.
7110 if test -n "$CPP" && test -d "$CPP"; then
7113 if test -z "$CPP"; then
7114 if ${ac_cv_prog_CPP+:} false; then :
7115 $as_echo_n "(cached) " >&6
7117 # Double quotes because CPP needs to be expanded
7118 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7121 for ac_c_preproc_warn_flag in '' yes
7123 # Use a header file that comes with gcc, so configuring glibc
7124 # with a fresh cross-compiler works.
7125 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7126 # <limits.h> exists even on freestanding compilers.
7127 # On the NeXT, cc -E runs the code through the compiler's parser,
7128 # not just through cpp. "Syntax error" is here to catch this case.
7129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7130 /* end confdefs.h. */
7132 # include <limits.h>
7134 # include <assert.h>
7138 if ac_fn_c_try_cpp "$LINENO"; then :
7141 # Broken: fails on valid input.
7144 rm -f conftest.err conftest.i conftest.$ac_ext
7146 # OK, works on sane cases. Now check whether nonexistent headers
7147 # can be detected and how.
7148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h. */
7150 #include <ac_nonexistent.h>
7152 if ac_fn_c_try_cpp "$LINENO"; then :
7153 # Broken: success on invalid input.
7156 # Passes both tests.
7160 rm -f conftest.err conftest.i conftest.$ac_ext
7163 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7164 rm -f conftest.i conftest.err conftest.$ac_ext
7165 if $ac_preproc_ok; then :
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7178 $as_echo "$CPP" >&6; }
7180 for ac_c_preproc_warn_flag in '' yes
7182 # Use a header file that comes with gcc, so configuring glibc
7183 # with a fresh cross-compiler works.
7184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7185 # <limits.h> exists even on freestanding compilers.
7186 # On the NeXT, cc -E runs the code through the compiler's parser,
7187 # not just through cpp. "Syntax error" is here to catch this case.
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7189 /* end confdefs.h. */
7191 # include <limits.h>
7193 # include <assert.h>
7197 if ac_fn_c_try_cpp "$LINENO"; then :
7200 # Broken: fails on valid input.
7203 rm -f conftest.err conftest.i conftest.$ac_ext
7205 # OK, works on sane cases. Now check whether nonexistent headers
7206 # can be detected and how.
7207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208 /* end confdefs.h. */
7209 #include <ac_nonexistent.h>
7211 if ac_fn_c_try_cpp "$LINENO"; then :
7212 # Broken: success on invalid input.
7215 # Passes both tests.
7219 rm -f conftest.err conftest.i conftest.$ac_ext
7222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7223 rm -f conftest.i conftest.err conftest.$ac_ext
7224 if $ac_preproc_ok; then :
7227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7229 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7230 See \`config.log' for more details" "$LINENO" 5; }
7234 ac_cpp='$CPP $CPPFLAGS'
7235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7241 $as_echo_n "checking for ANSI C header files... " >&6; }
7242 if ${ac_cv_header_stdc+:} false; then :
7243 $as_echo_n "(cached) " >&6
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7260 if ac_fn_c_try_compile "$LINENO"; then :
7261 ac_cv_header_stdc=yes
7263 ac_cv_header_stdc=no
7265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7267 if test $ac_cv_header_stdc = yes; then
7268 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7275 $EGREP "memchr" >/dev/null 2>&1; then :
7278 ac_cv_header_stdc=no
7284 if test $ac_cv_header_stdc = yes; then
7285 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7292 $EGREP "free" >/dev/null 2>&1; then :
7295 ac_cv_header_stdc=no
7301 if test $ac_cv_header_stdc = yes; then
7302 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7303 if test "$cross_compiling" = yes; then :
7306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7307 /* end confdefs.h. */
7310 #if ((' ' & 0x0FF) == 0x020)
7311 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7312 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7314 # define ISLOWER(c) \
7315 (('a' <= (c) && (c) <= 'i') \
7316 || ('j' <= (c) && (c) <= 'r') \
7317 || ('s' <= (c) && (c) <= 'z'))
7318 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7321 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7326 for (i = 0; i < 256; i++)
7327 if (XOR (islower (i), ISLOWER (i))
7328 || toupper (i) != TOUPPER (i))
7333 if ac_fn_c_try_run "$LINENO"; then :
7336 ac_cv_header_stdc=no
7338 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7339 conftest.$ac_objext conftest.beam conftest.$ac_ext
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7345 $as_echo "$ac_cv_header_stdc" >&6; }
7346 if test $ac_cv_header_stdc = yes; then
7348 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7352 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7353 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7354 inttypes.h stdint.h unistd.h
7356 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7357 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7359 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7360 cat >>confdefs.h <<_ACEOF
7361 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7369 for ac_header in dlfcn.h
7371 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7373 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7374 cat >>confdefs.h <<_ACEOF
7375 #define HAVE_DLFCN_H 1
7396 # Check whether --enable-shared was given.
7397 if test "${enable_shared+set}" = set; then :
7398 enableval=$enable_shared; p=${PACKAGE-default}
7400 yes) enable_shared=yes ;;
7401 no) enable_shared=no ;;
7404 # Look at the argument we got. We use all the common list separators.
7405 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7406 for pkg in $enableval; do
7408 if test "X$pkg" = "X$p"; then
7427 # Check whether --enable-static was given.
7428 if test "${enable_static+set}" = set; then :
7429 enableval=$enable_static; p=${PACKAGE-default}
7431 yes) enable_static=yes ;;
7432 no) enable_static=no ;;
7435 # Look at the argument we got. We use all the common list separators.
7436 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7437 for pkg in $enableval; do
7439 if test "X$pkg" = "X$p"; then
7459 # Check whether --with-pic was given.
7460 if test "${with_pic+set}" = set; then :
7461 withval=$with_pic; lt_p=${PACKAGE-default}
7463 yes|no) pic_mode=$withval ;;
7466 # Look at the argument we got. We use all the common list separators.
7467 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7468 for lt_pkg in $withval; do
7470 if test "X$lt_pkg" = "X$lt_p"; then
7482 test -z "$pic_mode" && pic_mode=default
7490 # Check whether --enable-fast-install was given.
7491 if test "${enable_fast_install+set}" = set; then :
7492 enableval=$enable_fast_install; p=${PACKAGE-default}
7494 yes) enable_fast_install=yes ;;
7495 no) enable_fast_install=no ;;
7497 enable_fast_install=no
7498 # Look at the argument we got. We use all the common list separators.
7499 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7500 for pkg in $enableval; do
7502 if test "X$pkg" = "X$p"; then
7503 enable_fast_install=yes
7510 enable_fast_install=yes
7523 # This can be used to rebuild libtool when needed
7524 LIBTOOL_DEPS="$ltmain"
7526 # Always use our own libtool.
7527 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7558 test -z "$LN_S" && LN_S="ln -s"
7573 if test -n "${ZSH_VERSION+set}" ; then
7574 setopt NO_GLOB_SUBST
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7578 $as_echo_n "checking for objdir... " >&6; }
7579 if ${lt_cv_objdir+:} false; then :
7580 $as_echo_n "(cached) " >&6
7582 rm -f .libs 2>/dev/null
7583 mkdir .libs 2>/dev/null
7584 if test -d .libs; then
7587 # MS-DOS does not allow filenames that begin with a dot.
7590 rmdir .libs 2>/dev/null
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7593 $as_echo "$lt_cv_objdir" >&6; }
7594 objdir=$lt_cv_objdir
7600 cat >>confdefs.h <<_ACEOF
7601 #define LT_OBJDIR "$lt_cv_objdir/"
7609 # AIX sometimes has problems with the GCC collect2 program. For some
7610 # reason, if we set the COLLECT_NAMES environment variable, the problems
7611 # vanish in a puff of smoke.
7612 if test "X${COLLECT_NAMES+set}" != Xset; then
7614 export COLLECT_NAMES
7621 can_build_shared=yes
7623 # All known linkers require a `.a' archive for static linking (except MSVC,
7624 # which needs '.lib').
7627 with_gnu_ld="$lt_cv_prog_gnu_ld"
7630 old_CFLAGS="$CFLAGS"
7632 # Set sane defaults for various variables
7633 test -z "$CC" && CC=cc
7634 test -z "$LTCC" && LTCC=$CC
7635 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7636 test -z "$LD" && LD=ld
7637 test -z "$ac_objext" && ac_objext=o
7639 for cc_temp in $compiler""; do
7641 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7642 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7647 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7650 # Only perform the check for file, if the check method requires it
7651 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7652 case $deplibs_check_method in
7654 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7656 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7657 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7658 $as_echo_n "(cached) " >&6
7662 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7665 lt_save_MAGIC_CMD="$MAGIC_CMD"
7666 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7667 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7668 for ac_dir in $ac_dummy; do
7670 test -z "$ac_dir" && ac_dir=.
7671 if test -f $ac_dir/${ac_tool_prefix}file; then
7672 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7673 if test -n "$file_magic_test_file"; then
7674 case $deplibs_check_method in
7676 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7677 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7678 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7679 $EGREP "$file_magic_regex" > /dev/null; then
7684 *** Warning: the command libtool uses to detect shared libraries,
7685 *** $file_magic_cmd, produces output that libtool cannot recognize.
7686 *** The result is that libtool may fail to recognize shared libraries
7687 *** as such. This will affect the creation of libtool libraries that
7688 *** depend on shared libraries, but programs linked with such libtool
7689 *** libraries will work regardless of this problem. Nevertheless, you
7690 *** may want to report the problem to your system manager and/or to
7691 *** bug-libtool@gnu.org
7701 MAGIC_CMD="$lt_save_MAGIC_CMD"
7706 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7707 if test -n "$MAGIC_CMD"; then
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7709 $as_echo "$MAGIC_CMD" >&6; }
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7712 $as_echo "no" >&6; }
7719 if test -z "$lt_cv_path_MAGIC_CMD"; then
7720 if test -n "$ac_tool_prefix"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7722 $as_echo_n "checking for file... " >&6; }
7723 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7724 $as_echo_n "(cached) " >&6
7728 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7731 lt_save_MAGIC_CMD="$MAGIC_CMD"
7732 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7733 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7734 for ac_dir in $ac_dummy; do
7736 test -z "$ac_dir" && ac_dir=.
7737 if test -f $ac_dir/file; then
7738 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7739 if test -n "$file_magic_test_file"; then
7740 case $deplibs_check_method in
7742 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7743 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7744 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7745 $EGREP "$file_magic_regex" > /dev/null; then
7750 *** Warning: the command libtool uses to detect shared libraries,
7751 *** $file_magic_cmd, produces output that libtool cannot recognize.
7752 *** The result is that libtool may fail to recognize shared libraries
7753 *** as such. This will affect the creation of libtool libraries that
7754 *** depend on shared libraries, but programs linked with such libtool
7755 *** libraries will work regardless of this problem. Nevertheless, you
7756 *** may want to report the problem to your system manager and/or to
7757 *** bug-libtool@gnu.org
7767 MAGIC_CMD="$lt_save_MAGIC_CMD"
7772 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7773 if test -n "$MAGIC_CMD"; then
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7775 $as_echo "$MAGIC_CMD" >&6; }
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7778 $as_echo "no" >&6; }
7791 # Use C for the default configuration in the libtool script
7795 ac_cpp='$CPP $CPPFLAGS'
7796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7801 # Source file extension for C test sources.
7804 # Object file extension for compiled C test sources.
7808 # Code to be used in simple compile tests
7809 lt_simple_compile_test_code="int some_variable = 0;"
7811 # Code to be used in simple link tests
7812 lt_simple_link_test_code='int main(){return(0);}'
7820 # If no C compiler was specified, use CC.
7823 # If no C compiler flags were specified, use CFLAGS.
7824 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7826 # Allow CC to be a program name with arguments.
7829 # Save the default compiler, since it gets overwritten when the other
7830 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7831 compiler_DEFAULT=$CC
7833 # save warnings/boilerplate of simple test code
7834 ac_outfile=conftest.$ac_objext
7835 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7836 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7837 _lt_compiler_boilerplate=`cat conftest.err`
7840 ac_outfile=conftest.$ac_objext
7841 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7842 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7843 _lt_linker_boilerplate=`cat conftest.err`
7847 if test -n "$compiler"; then
7849 lt_prog_compiler_no_builtin_flag=
7851 if test "$GCC" = yes; then
7852 case $cc_basename in
7854 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7856 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7860 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7861 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7862 $as_echo_n "(cached) " >&6
7864 lt_cv_prog_compiler_rtti_exceptions=no
7865 ac_outfile=conftest.$ac_objext
7866 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7867 lt_compiler_flag="-fno-rtti -fno-exceptions"
7868 # Insert the option either (1) after the last *FLAGS variable, or
7869 # (2) before a word containing "conftest.", or (3) at the end.
7870 # Note that $ac_compile itself does not contain backslashes and begins
7871 # with a dollar sign (not a hyphen), so the echo should work correctly.
7872 # The option is referenced via a variable to avoid confusing sed.
7873 lt_compile=`echo "$ac_compile" | $SED \
7874 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7875 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7876 -e 's:$: $lt_compiler_flag:'`
7877 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7878 (eval "$lt_compile" 2>conftest.err)
7880 cat conftest.err >&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 if (exit $ac_status) && test -s "$ac_outfile"; then
7883 # The compiler can only warn and ignore the option if not recognized
7884 # So say no if there are warnings other than the usual output.
7885 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7886 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7887 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7888 lt_cv_prog_compiler_rtti_exceptions=yes
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7895 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7897 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7898 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7910 lt_prog_compiler_wl=
7911 lt_prog_compiler_pic=
7912 lt_prog_compiler_static=
7915 if test "$GCC" = yes; then
7916 lt_prog_compiler_wl='-Wl,'
7917 lt_prog_compiler_static='-static'
7921 # All AIX code is PIC.
7922 if test "$host_cpu" = ia64; then
7923 # AIX 5 now supports IA64 processor
7924 lt_prog_compiler_static='-Bstatic'
7931 # see comment about AmigaOS4 .so support
7932 lt_prog_compiler_pic='-fPIC'
7935 # FIXME: we need at least 68020 code to build shared libraries, but
7936 # adding the `-m68020' flag to GCC prevents building anything better,
7938 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7943 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7944 # PIC is the default for these OSes.
7947 mingw* | cygwin* | pw32* | os2* | cegcc*)
7948 # This hack is so that the source file can tell whether it is being
7949 # built for inclusion in a dll (and should export symbols for example).
7950 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7951 # (--disable-auto-import) libraries
7952 lt_prog_compiler_pic='-DDLL_EXPORT'
7955 darwin* | rhapsody*)
7956 # PIC is the default on this platform
7957 # Common symbols not allowed in MH_DYLIB files
7958 lt_prog_compiler_pic='-fno-common'
7962 # PIC is the default for Haiku.
7963 # The "-static" flag exists, but is broken.
7964 lt_prog_compiler_static=
7968 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7969 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7970 # sets the default TLS model and affects inlining.
7976 lt_prog_compiler_pic='-fPIC'
7982 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7983 # Instead, we relocate shared libraries at runtime.
7987 # Just because we use GCC doesn't mean we suddenly get shared libraries
7988 # on systems that don't support them.
7989 lt_prog_compiler_can_build_shared=no
7994 # QNX uses GNU C++, but need to define -shared option too, otherwise
7996 lt_prog_compiler_pic='-fPIC -shared'
8000 if test -d /usr/nec; then
8001 lt_prog_compiler_pic=-Kconform_pic
8006 lt_prog_compiler_pic='-fPIC'
8010 case $cc_basename in
8011 nvcc*) # Cuda Compiler Driver 2.2
8012 lt_prog_compiler_wl='-Xlinker '
8013 if test -n "$lt_prog_compiler_pic"; then
8014 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8019 # PORTME Check for flag to pass linker flags through the system compiler.
8022 lt_prog_compiler_wl='-Wl,'
8023 if test "$host_cpu" = ia64; then
8024 # AIX 5 now supports IA64 processor
8025 lt_prog_compiler_static='-Bstatic'
8027 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8031 mingw* | cygwin* | pw32* | os2* | cegcc*)
8032 # This hack is so that the source file can tell whether it is being
8033 # built for inclusion in a dll (and should export symbols for example).
8034 lt_prog_compiler_pic='-DDLL_EXPORT'
8037 hpux9* | hpux10* | hpux11*)
8038 lt_prog_compiler_wl='-Wl,'
8039 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8046 lt_prog_compiler_pic='+Z'
8049 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8050 lt_prog_compiler_static='${wl}-a ${wl}archive'
8053 irix5* | irix6* | nonstopux*)
8054 lt_prog_compiler_wl='-Wl,'
8055 # PIC (with -KPIC) is the default.
8056 lt_prog_compiler_static='-non_shared'
8059 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8060 case $cc_basename in
8061 # old Intel for x86_64 which still supported -KPIC.
8063 lt_prog_compiler_wl='-Wl,'
8064 lt_prog_compiler_pic='-KPIC'
8065 lt_prog_compiler_static='-static'
8067 # icc used to be incompatible with GCC.
8068 # ICC 10 doesn't accept -KPIC any more.
8070 lt_prog_compiler_wl='-Wl,'
8071 lt_prog_compiler_pic='-fPIC'
8072 lt_prog_compiler_static='-static'
8074 # Lahey Fortran 8.1.
8076 lt_prog_compiler_wl='-Wl,'
8077 lt_prog_compiler_pic='--shared'
8078 lt_prog_compiler_static='--static'
8081 # NAG Fortran compiler
8082 lt_prog_compiler_wl='-Wl,-Wl,,'
8083 lt_prog_compiler_pic='-PIC'
8084 lt_prog_compiler_static='-Bstatic'
8086 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8087 # Portland Group compilers (*not* the Pentium gcc compiler,
8088 # which looks to be a dead project)
8089 lt_prog_compiler_wl='-Wl,'
8090 lt_prog_compiler_pic='-fpic'
8091 lt_prog_compiler_static='-Bstatic'
8094 lt_prog_compiler_wl='-Wl,'
8095 # All Alpha code is PIC.
8096 lt_prog_compiler_static='-non_shared'
8098 xl* | bgxl* | bgf* | mpixl*)
8099 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8100 lt_prog_compiler_wl='-Wl,'
8101 lt_prog_compiler_pic='-qpic'
8102 lt_prog_compiler_static='-qstaticlink'
8105 case `$CC -V 2>&1 | sed 5q` in
8106 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8107 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8108 lt_prog_compiler_pic='-KPIC'
8109 lt_prog_compiler_static='-Bstatic'
8110 lt_prog_compiler_wl=''
8112 *Sun\ F* | *Sun*Fortran*)
8113 lt_prog_compiler_pic='-KPIC'
8114 lt_prog_compiler_static='-Bstatic'
8115 lt_prog_compiler_wl='-Qoption ld '
8119 lt_prog_compiler_pic='-KPIC'
8120 lt_prog_compiler_static='-Bstatic'
8121 lt_prog_compiler_wl='-Wl,'
8123 *Intel*\ [CF]*Compiler*)
8124 lt_prog_compiler_wl='-Wl,'
8125 lt_prog_compiler_pic='-fPIC'
8126 lt_prog_compiler_static='-static'
8129 lt_prog_compiler_wl='-Wl,'
8130 lt_prog_compiler_pic='-fpic'
8131 lt_prog_compiler_static='-Bstatic'
8139 lt_prog_compiler_pic='-KPIC'
8140 lt_prog_compiler_static='-Bstatic'
8144 # QNX uses GNU C++, but need to define -shared option too, otherwise
8146 lt_prog_compiler_pic='-fPIC -shared'
8149 osf3* | osf4* | osf5*)
8150 lt_prog_compiler_wl='-Wl,'
8151 # All OSF/1 code is PIC.
8152 lt_prog_compiler_static='-non_shared'
8156 lt_prog_compiler_static='-non_shared'
8160 lt_prog_compiler_pic='-KPIC'
8161 lt_prog_compiler_static='-Bstatic'
8162 case $cc_basename in
8163 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8164 lt_prog_compiler_wl='-Qoption ld ';;
8166 lt_prog_compiler_wl='-Wl,';;
8171 lt_prog_compiler_wl='-Qoption ld '
8172 lt_prog_compiler_pic='-PIC'
8173 lt_prog_compiler_static='-Bstatic'
8176 sysv4 | sysv4.2uw2* | sysv4.3*)
8177 lt_prog_compiler_wl='-Wl,'
8178 lt_prog_compiler_pic='-KPIC'
8179 lt_prog_compiler_static='-Bstatic'
8183 if test -d /usr/nec ;then
8184 lt_prog_compiler_pic='-Kconform_pic'
8185 lt_prog_compiler_static='-Bstatic'
8189 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8190 lt_prog_compiler_wl='-Wl,'
8191 lt_prog_compiler_pic='-KPIC'
8192 lt_prog_compiler_static='-Bstatic'
8196 lt_prog_compiler_wl='-Wl,'
8197 lt_prog_compiler_can_build_shared=no
8201 lt_prog_compiler_pic='-pic'
8202 lt_prog_compiler_static='-Bstatic'
8206 lt_prog_compiler_can_build_shared=no
8212 # For platforms which do not support PIC, -DPIC is meaningless:
8214 lt_prog_compiler_pic=
8217 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8222 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8223 if ${lt_cv_prog_compiler_pic+:} false; then :
8224 $as_echo_n "(cached) " >&6
8226 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8229 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8230 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8233 # Check to make sure the PIC flag actually works.
8235 if test -n "$lt_prog_compiler_pic"; then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8237 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8238 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8239 $as_echo_n "(cached) " >&6
8241 lt_cv_prog_compiler_pic_works=no
8242 ac_outfile=conftest.$ac_objext
8243 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8244 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8245 # Insert the option either (1) after the last *FLAGS variable, or
8246 # (2) before a word containing "conftest.", or (3) at the end.
8247 # Note that $ac_compile itself does not contain backslashes and begins
8248 # with a dollar sign (not a hyphen), so the echo should work correctly.
8249 # The option is referenced via a variable to avoid confusing sed.
8250 lt_compile=`echo "$ac_compile" | $SED \
8251 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8252 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8253 -e 's:$: $lt_compiler_flag:'`
8254 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8255 (eval "$lt_compile" 2>conftest.err)
8257 cat conftest.err >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 if (exit $ac_status) && test -s "$ac_outfile"; then
8260 # The compiler can only warn and ignore the option if not recognized
8261 # So say no if there are warnings other than the usual output.
8262 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8263 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8264 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8265 lt_cv_prog_compiler_pic_works=yes
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8272 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8274 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8275 case $lt_prog_compiler_pic in
8277 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8280 lt_prog_compiler_pic=
8281 lt_prog_compiler_can_build_shared=no
8297 # Check to make sure the static flag actually works.
8299 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8301 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8302 if ${lt_cv_prog_compiler_static_works+:} false; then :
8303 $as_echo_n "(cached) " >&6
8305 lt_cv_prog_compiler_static_works=no
8306 save_LDFLAGS="$LDFLAGS"
8307 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8308 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8309 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8310 # The linker can only warn and ignore the option if not recognized
8311 # So say no if there are warnings
8312 if test -s conftest.err; then
8313 # Append any errors to the config.log.
8314 cat conftest.err 1>&5
8315 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8316 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8317 if diff conftest.exp conftest.er2 >/dev/null; then
8318 lt_cv_prog_compiler_static_works=yes
8321 lt_cv_prog_compiler_static_works=yes
8325 LDFLAGS="$save_LDFLAGS"
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8329 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8331 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8334 lt_prog_compiler_static=
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8344 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8345 if ${lt_cv_prog_compiler_c_o+:} false; then :
8346 $as_echo_n "(cached) " >&6
8348 lt_cv_prog_compiler_c_o=no
8349 $RM -r conftest 2>/dev/null
8353 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8355 lt_compiler_flag="-o out/conftest2.$ac_objext"
8356 # Insert the option either (1) after the last *FLAGS variable, or
8357 # (2) before a word containing "conftest.", or (3) at the end.
8358 # Note that $ac_compile itself does not contain backslashes and begins
8359 # with a dollar sign (not a hyphen), so the echo should work correctly.
8360 lt_compile=`echo "$ac_compile" | $SED \
8361 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8363 -e 's:$: $lt_compiler_flag:'`
8364 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8365 (eval "$lt_compile" 2>out/conftest.err)
8367 cat out/conftest.err >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8371 # The compiler can only warn and ignore the option if not recognized
8372 # So say no if there are warnings
8373 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8374 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8375 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8376 lt_cv_prog_compiler_c_o=yes
8381 # SGI C++ compiler will create directory out/ii_files/ for
8382 # template instantiation
8383 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8384 $RM out/* && rmdir out
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8391 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8399 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8400 if ${lt_cv_prog_compiler_c_o+:} false; then :
8401 $as_echo_n "(cached) " >&6
8403 lt_cv_prog_compiler_c_o=no
8404 $RM -r conftest 2>/dev/null
8408 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8410 lt_compiler_flag="-o out/conftest2.$ac_objext"
8411 # Insert the option either (1) after the last *FLAGS variable, or
8412 # (2) before a word containing "conftest.", or (3) at the end.
8413 # Note that $ac_compile itself does not contain backslashes and begins
8414 # with a dollar sign (not a hyphen), so the echo should work correctly.
8415 lt_compile=`echo "$ac_compile" | $SED \
8416 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8417 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8418 -e 's:$: $lt_compiler_flag:'`
8419 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8420 (eval "$lt_compile" 2>out/conftest.err)
8422 cat out/conftest.err >&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8426 # The compiler can only warn and ignore the option if not recognized
8427 # So say no if there are warnings
8428 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8429 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8430 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8431 lt_cv_prog_compiler_c_o=yes
8436 # SGI C++ compiler will create directory out/ii_files/ for
8437 # template instantiation
8438 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8439 $RM out/* && rmdir out
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8446 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8451 hard_links="nottested"
8452 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8453 # do not overwrite the value of need_locks provided by the user
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8455 $as_echo_n "checking if we can lock with hard links... " >&6; }
8458 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8460 ln conftest.a conftest.b 2>&5 || hard_links=no
8461 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8463 $as_echo "$hard_links" >&6; }
8464 if test "$hard_links" = no; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8466 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8479 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8482 allow_undefined_flag=
8483 always_export_symbols=no
8485 archive_expsym_cmds=
8486 compiler_needs_object=no
8487 enable_shared_with_static_runtimes=no
8488 export_dynamic_flag_spec=
8489 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8490 hardcode_automatic=no
8492 hardcode_direct_absolute=no
8493 hardcode_libdir_flag_spec=
8494 hardcode_libdir_separator=
8496 hardcode_shlibpath_var=unsupported
8498 link_all_deplibs=unknown
8501 old_archive_from_new_cmds=
8502 old_archive_from_expsyms_cmds=
8503 thread_safe_flag_spec=
8504 whole_archive_flag_spec=
8505 # include_expsyms should be a list of space-separated symbols to be *always*
8506 # included in the symbol list
8508 # exclude_expsyms can be an extended regexp of symbols to exclude
8509 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8510 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8511 # as well as any symbol that contains `d'.
8512 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8513 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8514 # platforms (ab)use it in PIC code, but their linkers get confused if
8515 # the symbol is explicitly referenced. Since portable code cannot
8516 # rely on this symbol name, it's probably fine to never include it in
8517 # preloaded symbol tables.
8518 # Exclude shared library initialization/finalization symbols.
8519 extract_expsyms_cmds=
8522 cygwin* | mingw* | pw32* | cegcc*)
8523 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8524 # When not using gcc, we currently assume that we are using
8525 # Microsoft Visual C++.
8526 if test "$GCC" != yes; then
8531 # we just hope/assume this is gcc and not c89 (= MSVC++)
8537 linux* | k*bsd*-gnu | gnu*)
8544 # On some targets, GNU ld is compatible enough with the native linker
8545 # that we're better off using the native interface for both.
8546 lt_use_gnu_ld_interface=no
8547 if test "$with_gnu_ld" = yes; then
8550 # The AIX port of GNU ld has always aspired to compatibility
8551 # with the native linker. However, as the warning in the GNU ld
8552 # block says, versions before 2.19.5* couldn't really create working
8553 # shared libraries, regardless of the interface used.
8554 case `$LD -v 2>&1` in
8555 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8556 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8557 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8559 lt_use_gnu_ld_interface=yes
8564 lt_use_gnu_ld_interface=yes
8569 if test "$lt_use_gnu_ld_interface" = yes; then
8570 # If archive_cmds runs LD, not CC, wlarc should be empty
8573 # Set some defaults for GNU ld with shared library support. These
8574 # are reset later if shared libraries are not supported. Putting them
8575 # here allows them to be overridden if necessary.
8576 runpath_var=LD_RUN_PATH
8577 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8578 export_dynamic_flag_spec='${wl}--export-dynamic'
8579 # ancient GNU ld didn't support --whole-archive et. al.
8580 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8581 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8583 whole_archive_flag_spec=
8585 supports_anon_versioning=no
8586 case `$LD -v 2>&1` in
8587 *GNU\ gold*) supports_anon_versioning=yes ;;
8588 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8589 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8590 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8591 *\ 2.11.*) ;; # other 2.11 versions
8592 *) supports_anon_versioning=yes ;;
8595 # See if GNU ld supports shared libraries.
8598 # On AIX/PPC, the GNU linker is very broken
8599 if test "$host_cpu" != ia64; then
8603 *** Warning: the GNU linker, at least up to release 2.19, is reported
8604 *** to be unable to reliably create shared libraries on AIX.
8605 *** Therefore, libtool is disabling shared libraries support. If you
8606 *** really care for shared libraries, you may want to install binutils
8607 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8608 *** You will then need to restart the configuration process.
8617 # see comment about AmigaOS4 .so support
8618 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8619 archive_expsym_cmds=''
8622 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)'
8623 hardcode_libdir_flag_spec='-L$libdir'
8624 hardcode_minus_L=yes
8630 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8631 allow_undefined_flag=unsupported
8632 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8633 # support --undefined. This deserves some investigation. FIXME
8634 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8640 cygwin* | mingw* | pw32* | cegcc*)
8641 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8642 # as there is no search path for DLLs.
8643 hardcode_libdir_flag_spec='-L$libdir'
8644 export_dynamic_flag_spec='${wl}--export-all-symbols'
8645 allow_undefined_flag=unsupported
8646 always_export_symbols=no
8647 enable_shared_with_static_runtimes=yes
8648 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8649 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8651 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8652 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8653 # If the export-symbols file already is a .def file (1st line
8654 # is EXPORTS), use it as is; otherwise, prepend...
8655 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8656 cp $export_symbols $output_objdir/$soname.def;
8658 echo EXPORTS > $output_objdir/$soname.def;
8659 cat $export_symbols >> $output_objdir/$soname.def;
8661 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8668 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8669 link_all_deplibs=yes
8674 hardcode_shlibpath_var=no
8675 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8676 export_dynamic_flag_spec='${wl}-E'
8677 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8678 # Instead, shared libraries are loaded at an image base (0x10000000 by
8679 # default) and relocated if they conflict, which is a slow very memory
8680 # consuming and fragmenting process. To avoid this, we pick a random,
8681 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8682 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8683 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8684 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'
8687 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8689 if test "$host_os" = linux-dietlibc; then
8690 case $cc_basename in
8691 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8694 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8695 && test "$tmp_diet" = no
8697 tmp_addflag=' $pic_flag'
8698 tmp_sharedflag='-shared'
8699 case $cc_basename,$host_cpu in
8700 pgcc*) # Portland Group C compiler
8701 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'
8702 tmp_addflag=' $pic_flag'
8704 pgf77* | pgf90* | pgf95* | pgfortran*)
8705 # Portland Group f77 and f90 compilers
8706 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'
8707 tmp_addflag=' $pic_flag -Mnomain' ;;
8708 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8709 tmp_addflag=' -i_dynamic' ;;
8710 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8711 tmp_addflag=' -i_dynamic -nofor_main' ;;
8712 ifc* | ifort*) # Intel Fortran compiler
8713 tmp_addflag=' -nofor_main' ;;
8714 lf95*) # Lahey Fortran 8.1
8715 whole_archive_flag_spec=
8716 tmp_sharedflag='--shared' ;;
8717 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8718 tmp_sharedflag='-qmkshrobj'
8720 nvcc*) # Cuda Compiler Driver 2.2
8721 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'
8722 compiler_needs_object=yes
8725 case `$CC -V 2>&1 | sed 5q` in
8726 *Sun\ C*) # Sun C 5.9
8727 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'
8728 compiler_needs_object=yes
8729 tmp_sharedflag='-G' ;;
8730 *Sun\ F*) # Sun Fortran 8.3
8731 tmp_sharedflag='-G' ;;
8733 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8735 if test "x$supports_anon_versioning" = xyes; then
8736 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8737 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8738 echo "local: *; };" >> $output_objdir/$libname.ver~
8739 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8742 case $cc_basename in
8743 xlf* | bgf* | bgxlf* | mpixlf*)
8744 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8745 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8746 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8747 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8748 if test "x$supports_anon_versioning" = xyes; then
8749 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8750 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8751 echo "local: *; };" >> $output_objdir/$libname.ver~
8752 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8761 netbsd* | netbsdelf*-gnu)
8762 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8763 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8766 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8767 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8772 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8776 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8777 *** create shared libraries on Solaris systems. Therefore, libtool
8778 *** is disabling shared libraries support. We urge you to upgrade GNU
8779 *** binutils to release 2.9.1 or newer. Another option is to modify
8780 *** your PATH or compiler configuration so that the native linker is
8781 *** used, and then restart.
8784 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8785 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8786 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8792 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8793 case `$LD -v 2>&1` in
8794 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8798 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8799 *** reliably create shared libraries on SCO systems. Therefore, libtool
8800 *** is disabling shared libraries support. We urge you to upgrade GNU
8801 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8802 *** your PATH or compiler configuration so that the native linker is
8803 *** used, and then restart.
8808 # For security reasons, it is highly recommended that you always
8809 # use absolute paths for naming shared libraries, and exclude the
8810 # DT_RUNPATH tag from executables and libraries. But doing so
8811 # requires that you compile everything twice, which is a pain.
8812 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8813 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8814 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8815 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8824 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8827 hardcode_shlibpath_var=no
8831 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8832 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8833 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8840 if test "$ld_shlibs" = no; then
8842 hardcode_libdir_flag_spec=
8843 export_dynamic_flag_spec=
8844 whole_archive_flag_spec=
8847 # PORTME fill in a description of your system's linker (not GNU ld)
8850 allow_undefined_flag=unsupported
8851 always_export_symbols=yes
8852 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'
8853 # Note: this linker hardcodes the directories in LIBPATH if there
8854 # are no directories specified by -L.
8855 hardcode_minus_L=yes
8856 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8857 # Neither direct hardcoding nor static linking is supported with a
8859 hardcode_direct=unsupported
8864 if test "$host_cpu" = ia64; then
8865 # On IA64, the linker does run time linking by default, so we don't
8866 # have to do anything special.
8867 aix_use_runtimelinking=no
8868 exp_sym_flag='-Bexport'
8871 # If we're using GNU nm, then we don't want the "-C" option.
8872 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8873 # Also, AIX nm treats weak defined symbols like other global
8874 # defined symbols, whereas GNU nm marks them as "W".
8875 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8876 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'
8878 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'
8880 aix_use_runtimelinking=no
8882 # Test if we are trying to use run time linking or normal
8883 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8884 # need to do runtime linking.
8885 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8886 for ld_flag in $LDFLAGS; do
8887 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8888 aix_use_runtimelinking=yes
8895 exp_sym_flag='-bexport'
8896 no_entry_flag='-bnoentry'
8899 # When large executables or shared objects are built, AIX ld can
8900 # have problems creating the table of contents. If linking a library
8901 # or program results in "error TOC overflow" add -mminimal-toc to
8902 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8903 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8907 hardcode_direct_absolute=yes
8908 hardcode_libdir_separator=':'
8909 link_all_deplibs=yes
8910 file_list_spec='${wl}-f,'
8912 if test "$GCC" = yes; then
8913 case $host_os in aix4.[012]|aix4.[012].*)
8914 # We only want to do this on AIX 4.2 and lower, the check
8915 # below for broken collect2 doesn't work under 4.3+
8916 collect2name=`${CC} -print-prog-name=collect2`
8917 if test -f "$collect2name" &&
8918 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8920 # We have reworked collect2
8923 # We have old collect2
8924 hardcode_direct=unsupported
8925 # It fails to find uninstalled libraries when the uninstalled
8926 # path is not listed in the libpath. Setting hardcode_minus_L
8927 # to unsupported forces relinking
8928 hardcode_minus_L=yes
8929 hardcode_libdir_flag_spec='-L$libdir'
8930 hardcode_libdir_separator=
8934 shared_flag='-shared'
8935 if test "$aix_use_runtimelinking" = yes; then
8936 shared_flag="$shared_flag "'${wl}-G'
8941 if test "$host_cpu" = ia64; then
8942 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8943 # chokes on -Wl,-G. The following line is correct:
8946 if test "$aix_use_runtimelinking" = yes; then
8947 shared_flag='${wl}-G'
8949 shared_flag='${wl}-bM:SRE'
8954 export_dynamic_flag_spec='${wl}-bexpall'
8955 # It seems that -bexpall does not export symbols beginning with
8956 # underscore (_), so it is better to generate a list of symbols to export.
8957 always_export_symbols=yes
8958 if test "$aix_use_runtimelinking" = yes; then
8959 # Warning - without using the other runtime loading flags (-brtl),
8960 # -berok will link without error, but may produce a broken library.
8961 allow_undefined_flag='-berok'
8962 # Determine the default libpath from the value encoded in an
8964 if test "${lt_cv_aix_libpath+set}" = set; then
8965 aix_libpath=$lt_cv_aix_libpath
8967 if ${lt_cv_aix_libpath_+:} false; then :
8968 $as_echo_n "(cached) " >&6
8970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8971 /* end confdefs.h. */
8981 if ac_fn_c_try_link "$LINENO"; then :
8983 lt_aix_libpath_sed='
8984 /Import File Strings/,/^$/ {
8986 s/^0 *\([^ ]*\) *$/\1/
8990 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8991 # Check for a 64-bit object if we didn't find anything.
8992 if test -z "$lt_cv_aix_libpath_"; then
8993 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8996 rm -f core conftest.err conftest.$ac_objext \
8997 conftest$ac_exeext conftest.$ac_ext
8998 if test -z "$lt_cv_aix_libpath_"; then
8999 lt_cv_aix_libpath_="/usr/lib:/lib"
9004 aix_libpath=$lt_cv_aix_libpath_
9007 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9008 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"
9010 if test "$host_cpu" = ia64; then
9011 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9012 allow_undefined_flag="-z nodefs"
9013 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"
9015 # Determine the default libpath from the value encoded in an
9017 if test "${lt_cv_aix_libpath+set}" = set; then
9018 aix_libpath=$lt_cv_aix_libpath
9020 if ${lt_cv_aix_libpath_+:} false; then :
9021 $as_echo_n "(cached) " >&6
9023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9024 /* end confdefs.h. */
9034 if ac_fn_c_try_link "$LINENO"; then :
9036 lt_aix_libpath_sed='
9037 /Import File Strings/,/^$/ {
9039 s/^0 *\([^ ]*\) *$/\1/
9043 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9044 # Check for a 64-bit object if we didn't find anything.
9045 if test -z "$lt_cv_aix_libpath_"; then
9046 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9049 rm -f core conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9051 if test -z "$lt_cv_aix_libpath_"; then
9052 lt_cv_aix_libpath_="/usr/lib:/lib"
9057 aix_libpath=$lt_cv_aix_libpath_
9060 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9061 # Warning - without using the other run time loading flags,
9062 # -berok will link without error, but may produce a broken library.
9063 no_undefined_flag=' ${wl}-bernotok'
9064 allow_undefined_flag=' ${wl}-berok'
9065 if test "$with_gnu_ld" = yes; then
9066 # We only use this code for GNU lds that support --whole-archive.
9067 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9069 # Exported symbols can be pulled into shared objects from archives
9070 whole_archive_flag_spec='$convenience'
9072 archive_cmds_need_lc=yes
9073 # This is similar to how AIX traditionally builds its shared libraries.
9074 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'
9082 # see comment about AmigaOS4 .so support
9083 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9084 archive_expsym_cmds=''
9087 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)'
9088 hardcode_libdir_flag_spec='-L$libdir'
9089 hardcode_minus_L=yes
9095 export_dynamic_flag_spec=-rdynamic
9098 cygwin* | mingw* | pw32* | cegcc*)
9099 # When not using gcc, we currently assume that we are using
9100 # Microsoft Visual C++.
9101 # hardcode_libdir_flag_spec is actually meaningless, as there is
9102 # no search path for DLLs.
9103 case $cc_basename in
9106 hardcode_libdir_flag_spec=' '
9107 allow_undefined_flag=unsupported
9108 always_export_symbols=yes
9110 # Tell ltmain to make .lib files, not .a files.
9112 # Tell ltmain to make .dll files, not .so files.
9114 # FIXME: Setting linknames here is a bad hack.
9115 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9116 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9117 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9119 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9121 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9123 # The linker will not automatically build a static lib if we build a DLL.
9124 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9125 enable_shared_with_static_runtimes=yes
9126 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9127 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9129 old_postinstall_cmds='chmod 644 $oldlib'
9130 postlink_cmds='lt_outputfile="@OUTPUT@"~
9131 lt_tool_outputfile="@TOOL_OUTPUT@"~
9132 case $lt_outputfile in
9135 lt_outputfile="$lt_outputfile.exe"
9136 lt_tool_outputfile="$lt_tool_outputfile.exe"
9139 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9140 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9141 $RM "$lt_outputfile.manifest";
9145 # Assume MSVC wrapper
9146 hardcode_libdir_flag_spec=' '
9147 allow_undefined_flag=unsupported
9148 # Tell ltmain to make .lib files, not .a files.
9150 # Tell ltmain to make .dll files, not .so files.
9152 # FIXME: Setting linknames here is a bad hack.
9153 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9154 # The linker will automatically build a .lib file if we build a DLL.
9155 old_archive_from_new_cmds='true'
9156 # FIXME: Should let the user specify the lib program.
9157 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9158 enable_shared_with_static_runtimes=yes
9163 darwin* | rhapsody*)
9166 archive_cmds_need_lc=no
9168 hardcode_automatic=yes
9169 hardcode_shlibpath_var=unsupported
9170 if test "$lt_cv_ld_force_load" = "yes"; then
9171 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\"`'
9174 whole_archive_flag_spec=''
9176 link_all_deplibs=yes
9177 allow_undefined_flag="$_lt_dar_allow_undefined"
9178 case $cc_basename in
9179 ifort*) _lt_dar_can_shared=yes ;;
9180 *) _lt_dar_can_shared=$GCC ;;
9182 if test "$_lt_dar_can_shared" = "yes"; then
9183 output_verbose_link_cmd=func_echo_all
9184 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9185 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9186 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}"
9187 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}"
9196 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9197 hardcode_libdir_flag_spec='-L$libdir'
9198 hardcode_shlibpath_var=no
9201 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9202 # support. Future versions do this automatically, but an explicit c++rt0.o
9203 # does not break anything, and helps significantly (at the cost of a little
9206 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9207 hardcode_libdir_flag_spec='-R$libdir'
9209 hardcode_shlibpath_var=no
9212 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9214 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9216 hardcode_minus_L=yes
9217 hardcode_shlibpath_var=no
9220 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9221 freebsd* | dragonfly*)
9222 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9223 hardcode_libdir_flag_spec='-R$libdir'
9225 hardcode_shlibpath_var=no
9229 if test "$GCC" = yes; then
9230 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9232 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'
9234 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9235 hardcode_libdir_separator=:
9238 # hardcode_minus_L: Not really in the search PATH,
9239 # but as the default location of the library.
9240 hardcode_minus_L=yes
9241 export_dynamic_flag_spec='${wl}-E'
9245 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9246 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9248 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9250 if test "$with_gnu_ld" = no; then
9251 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9252 hardcode_libdir_separator=:
9254 hardcode_direct_absolute=yes
9255 export_dynamic_flag_spec='${wl}-E'
9256 # hardcode_minus_L: Not really in the search PATH,
9257 # but as the default location of the library.
9258 hardcode_minus_L=yes
9263 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9266 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9269 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9272 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9278 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9281 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9285 # Older versions of the 11.00 compiler do not understand -b yet
9286 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9288 $as_echo_n "checking if $CC understands -b... " >&6; }
9289 if ${lt_cv_prog_compiler__b+:} false; then :
9290 $as_echo_n "(cached) " >&6
9292 lt_cv_prog_compiler__b=no
9293 save_LDFLAGS="$LDFLAGS"
9294 LDFLAGS="$LDFLAGS -b"
9295 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9296 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9297 # The linker can only warn and ignore the option if not recognized
9298 # So say no if there are warnings
9299 if test -s conftest.err; then
9300 # Append any errors to the config.log.
9301 cat conftest.err 1>&5
9302 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9303 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9304 if diff conftest.exp conftest.er2 >/dev/null; then
9305 lt_cv_prog_compiler__b=yes
9308 lt_cv_prog_compiler__b=yes
9312 LDFLAGS="$save_LDFLAGS"
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9316 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9318 if test x"$lt_cv_prog_compiler__b" = xyes; then
9319 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9321 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9327 if test "$with_gnu_ld" = no; then
9328 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9329 hardcode_libdir_separator=:
9334 hardcode_shlibpath_var=no
9338 hardcode_direct_absolute=yes
9339 export_dynamic_flag_spec='${wl}-E'
9341 # hardcode_minus_L: Not really in the search PATH,
9342 # but as the default location of the library.
9343 hardcode_minus_L=yes
9349 irix5* | irix6* | nonstopux*)
9350 if test "$GCC" = yes; then
9351 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9352 # Try to use the -exported_symbol ld option, if it does not
9353 # work, assume that -exports_file does not work either and
9354 # implicitly export all symbols.
9355 # This should be the same for all languages, so no per-tag cache variable.
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9357 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9358 if ${lt_cv_irix_exported_symbol+:} false; then :
9359 $as_echo_n "(cached) " >&6
9361 save_LDFLAGS="$LDFLAGS"
9362 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9365 int foo (void) { return 0; }
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 lt_cv_irix_exported_symbol=yes
9370 lt_cv_irix_exported_symbol=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 LDFLAGS="$save_LDFLAGS"
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9377 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9378 if test "$lt_cv_irix_exported_symbol" = yes; then
9379 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9382 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'
9383 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'
9385 archive_cmds_need_lc='no'
9386 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9387 hardcode_libdir_separator=:
9389 link_all_deplibs=yes
9392 netbsd* | netbsdelf*-gnu)
9393 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9394 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9396 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9398 hardcode_libdir_flag_spec='-R$libdir'
9400 hardcode_shlibpath_var=no
9404 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9406 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9407 hardcode_libdir_separator=:
9408 hardcode_shlibpath_var=no
9415 if test -f /usr/libexec/ld.so; then
9417 hardcode_shlibpath_var=no
9418 hardcode_direct_absolute=yes
9419 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9420 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9421 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9422 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9423 export_dynamic_flag_spec='${wl}-E'
9426 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9427 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9428 hardcode_libdir_flag_spec='-R$libdir'
9431 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9432 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9442 hardcode_libdir_flag_spec='-L$libdir'
9443 hardcode_minus_L=yes
9444 allow_undefined_flag=unsupported
9445 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'
9446 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9450 if test "$GCC" = yes; then
9451 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9452 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'
9454 allow_undefined_flag=' -expect_unresolved \*'
9455 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'
9457 archive_cmds_need_lc='no'
9458 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9459 hardcode_libdir_separator=:
9462 osf4* | osf5*) # as osf3* with the addition of -msym flag
9463 if test "$GCC" = yes; then
9464 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9465 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9466 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9468 allow_undefined_flag=' -expect_unresolved \*'
9469 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'
9470 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~
9471 $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'
9473 # Both c and cxx compiler support -rpath directly
9474 hardcode_libdir_flag_spec='-rpath $libdir'
9476 archive_cmds_need_lc='no'
9477 hardcode_libdir_separator=:
9481 no_undefined_flag=' -z defs'
9482 if test "$GCC" = yes; then
9484 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9485 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9486 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9488 case `$CC -V 2>&1` in
9491 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9492 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9493 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9497 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9498 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9499 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9503 hardcode_libdir_flag_spec='-R$libdir'
9504 hardcode_shlibpath_var=no
9506 solaris2.[0-5] | solaris2.[0-5].*) ;;
9508 # The compiler driver will combine and reorder linker options,
9509 # but understands `-z linker_flag'. GCC discards it without `$wl',
9510 # but is careful enough not to reorder.
9511 # Supported since Solaris 2.6 (maybe 2.5.1?)
9512 if test "$GCC" = yes; then
9513 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9515 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9519 link_all_deplibs=yes
9523 if test "x$host_vendor" = xsequent; then
9524 # Use $CC to link under sequent, because it throws in some extra .o
9525 # files that make .init and .fini sections work.
9526 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9528 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9530 hardcode_libdir_flag_spec='-L$libdir'
9532 hardcode_minus_L=yes
9533 hardcode_shlibpath_var=no
9537 case $host_vendor in
9539 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9540 hardcode_direct=yes # is this really true???
9543 ## LD is ld it makes a PLAMLIB
9544 ## CC just makes a GrossModule.
9545 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9546 reload_cmds='$CC -r -o $output$reload_objs'
9550 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9551 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9554 runpath_var='LD_RUN_PATH'
9555 hardcode_shlibpath_var=no
9559 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9560 hardcode_shlibpath_var=no
9561 export_dynamic_flag_spec='-Bexport'
9565 if test -d /usr/nec; then
9566 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9567 hardcode_shlibpath_var=no
9568 runpath_var=LD_RUN_PATH
9569 hardcode_runpath_var=yes
9574 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9575 no_undefined_flag='${wl}-z,text'
9576 archive_cmds_need_lc=no
9577 hardcode_shlibpath_var=no
9578 runpath_var='LD_RUN_PATH'
9580 if test "$GCC" = yes; then
9581 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9582 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9584 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9585 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9589 sysv5* | sco3.2v5* | sco5v6*)
9590 # Note: We can NOT use -z defs as we might desire, because we do not
9591 # link with -lc, and that would cause any symbols used from libc to
9592 # always be unresolved, which means just about no library would
9593 # ever link correctly. If we're not using GNU ld we use -z text
9594 # though, which does catch some bad symbols but isn't as heavy-handed
9596 no_undefined_flag='${wl}-z,text'
9597 allow_undefined_flag='${wl}-z,nodefs'
9598 archive_cmds_need_lc=no
9599 hardcode_shlibpath_var=no
9600 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9601 hardcode_libdir_separator=':'
9602 link_all_deplibs=yes
9603 export_dynamic_flag_spec='${wl}-Bexport'
9604 runpath_var='LD_RUN_PATH'
9606 if test "$GCC" = yes; then
9607 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9608 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9610 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9616 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9617 hardcode_libdir_flag_spec='-L$libdir'
9618 hardcode_shlibpath_var=no
9626 if test x$host_vendor = xsni; then
9628 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9629 export_dynamic_flag_spec='${wl}-Blargedynsym'
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9636 $as_echo "$ld_shlibs" >&6; }
9637 test "$ld_shlibs" = no && can_build_shared=no
9639 with_gnu_ld=$with_gnu_ld
9656 # Do we need to explicitly link libc?
9658 case "x$archive_cmds_need_lc" in
9660 # Assume -lc should be added
9661 archive_cmds_need_lc=yes
9663 if test "$enable_shared" = yes && test "$GCC" = yes; then
9664 case $archive_cmds in
9666 # FIXME: we may have to deal with multi-command sequences.
9669 # Test whether the compiler implicitly links with -lc since on some
9670 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9671 # to ld, don't add -lc before -lgcc.
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9673 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9674 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9675 $as_echo_n "(cached) " >&6
9678 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9680 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9681 (eval $ac_compile) 2>&5
9683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9684 test $ac_status = 0; } 2>conftest.err; then
9687 libobjs=conftest.$ac_objext
9689 wl=$lt_prog_compiler_wl
9690 pic_flag=$lt_prog_compiler_pic
9696 lt_save_allow_undefined_flag=$allow_undefined_flag
9697 allow_undefined_flag=
9698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9699 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9702 test $ac_status = 0; }
9704 lt_cv_archive_cmds_need_lc=no
9706 lt_cv_archive_cmds_need_lc=yes
9708 allow_undefined_flag=$lt_save_allow_undefined_flag
9710 cat conftest.err 1>&5
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9716 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9717 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9876 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9878 if test "$GCC" = yes; then
9880 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9881 *) lt_awk_arg="/^libraries:/" ;;
9884 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9885 *) lt_sed_strip_eq="s,=/,/,g" ;;
9887 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9888 case $lt_search_path_spec in
9890 # if the path contains ";" then we assume it to be the separator
9891 # otherwise default to the standard path separator (i.e. ":") - it is
9892 # assumed that no part of a normal pathname contains ";" but that should
9893 # okay in the real world where ";" in dirpaths is itself problematic.
9894 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9897 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9900 # Ok, now we have the path, separated by spaces, we can step through it
9901 # and add multilib dir if necessary.
9902 lt_tmp_lt_search_path_spec=
9903 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9904 for lt_sys_path in $lt_search_path_spec; do
9905 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9906 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9908 test -d "$lt_sys_path" && \
9909 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9912 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9913 BEGIN {RS=" "; FS="/|\n";} {
9916 for (lt_i = NF; lt_i > 0; lt_i--) {
9917 if ($lt_i != "" && $lt_i != ".") {
9918 if ($lt_i == "..") {
9921 if (lt_count == 0) {
9922 lt_foo="/" $lt_i lt_foo;
9929 if (lt_foo != "") { lt_freq[lt_foo]++; }
9930 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9932 # AWK program above erroneously prepends '/' to C:/dos/paths
9935 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9936 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9938 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9940 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9943 libname_spec='lib$name'
9951 shlibpath_overrides_runpath=unknown
9953 dynamic_linker="$host_os ld.so"
9954 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9955 need_lib_prefix=unknown
9956 hardcode_into_libs=no
9958 # when you set need_version to no, make sure it does not cause -set_version
9959 # flags to be left without arguments
9960 need_version=unknown
9964 version_type=linux # correct to gnu/linux during the next big refactor
9965 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9966 shlibpath_var=LIBPATH
9968 # AIX 3 has no versioning support, so we append a major version to the name.
9969 soname_spec='${libname}${release}${shared_ext}$major'
9973 version_type=linux # correct to gnu/linux during the next big refactor
9976 hardcode_into_libs=yes
9977 if test "$host_cpu" = ia64; then
9978 # AIX 5 supports IA64
9979 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9980 shlibpath_var=LD_LIBRARY_PATH
9982 # With GCC up to 2.95.x, collect2 would create an import file
9983 # for dependence libraries. The import file would start with
9984 # the line `#! .'. This would cause the generated library to
9985 # depend on `.', always an invalid library. This was fixed in
9986 # development snapshots of GCC prior to 3.0.
9988 aix4 | aix4.[01] | aix4.[01].*)
9989 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9991 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9998 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9999 # soname into executable. Probably we can add versioning support to
10000 # collect2, so additional links can be useful in future.
10001 if test "$aix_use_runtimelinking" = yes; then
10002 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10003 # instead of lib<name>.a to let people know that these are not
10004 # typical AIX shared libraries.
10005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10007 # We preserve .a as extension for shared libraries through AIX4.2
10008 # and later when we are not doing run time linking.
10009 library_names_spec='${libname}${release}.a $libname.a'
10010 soname_spec='${libname}${release}${shared_ext}$major'
10012 shlibpath_var=LIBPATH
10019 # Since July 2007 AmigaOS4 officially supports .so libraries.
10020 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10024 library_names_spec='$libname.ixlibrary $libname.a'
10025 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10026 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'
10032 library_names_spec='${libname}${shared_ext}'
10033 dynamic_linker="$host_os ld.so"
10034 shlibpath_var=LIBRARY_PATH
10038 version_type=linux # correct to gnu/linux during the next big refactor
10040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10041 soname_spec='${libname}${release}${shared_ext}$major'
10042 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10043 shlibpath_var=LD_LIBRARY_PATH
10044 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10045 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10046 # the default ld.so.conf also contains /usr/contrib/lib and
10047 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10048 # libtool to hard-code these into programs
10051 cygwin* | mingw* | pw32* | cegcc*)
10052 version_type=windows
10057 case $GCC,$cc_basename in
10060 library_names_spec='$libname.dll.a'
10061 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10062 postinstall_cmds='base_file=`basename \${file}`~
10063 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10064 dldir=$destdir/`dirname \$dlpath`~
10065 test -d \$dldir || mkdir -p \$dldir~
10066 $install_prog $dir/$dlname \$dldir/$dlname~
10067 chmod a+x \$dldir/$dlname~
10068 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10069 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10071 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10072 dlpath=$dir/\$dldll~
10074 shlibpath_overrides_runpath=yes
10078 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10079 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10081 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10084 # MinGW DLLs use traditional 'lib' prefix
10085 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10088 # pw32 DLLs use 'pw' prefix rather than 'lib'
10089 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10092 dynamic_linker='Win32 ld.exe'
10097 libname_spec='$name'
10098 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10099 library_names_spec='${libname}.dll.lib'
10103 sys_lib_search_path_spec=
10106 for lt_path in $LIB
10109 # Let DOS variable expansion print the short 8.3 style file name.
10110 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10111 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10114 # Convert to MSYS style.
10115 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10118 # Convert to unix form, then to dos form, then back to unix form
10119 # but this time dos style (no spaces!) so that the unix form looks
10120 # like /cygdrive/c/PROGRA~1:/cygdr...
10121 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10122 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10123 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10126 sys_lib_search_path_spec="$LIB"
10127 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10128 # It is most probably a Windows format PATH.
10129 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10131 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10133 # FIXME: find the short name or the path components, as spaces are
10134 # common. (e.g. "Program Files" -> "PROGRA~1")
10138 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10139 postinstall_cmds='base_file=`basename \${file}`~
10140 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10141 dldir=$destdir/`dirname \$dlpath`~
10142 test -d \$dldir || mkdir -p \$dldir~
10143 $install_prog $dir/$dlname \$dldir/$dlname'
10144 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10145 dlpath=$dir/\$dldll~
10147 shlibpath_overrides_runpath=yes
10148 dynamic_linker='Win32 link.exe'
10152 # Assume MSVC wrapper
10153 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10154 dynamic_linker='Win32 ld.exe'
10157 # FIXME: first we should search . and the directory the executable is in
10161 darwin* | rhapsody*)
10162 dynamic_linker="$host_os dyld"
10163 version_type=darwin
10166 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10167 soname_spec='${libname}${release}${major}$shared_ext'
10168 shlibpath_overrides_runpath=yes
10169 shlibpath_var=DYLD_LIBRARY_PATH
10170 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10172 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10173 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10177 version_type=linux # correct to gnu/linux during the next big refactor
10180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10181 soname_spec='${libname}${release}${shared_ext}$major'
10182 shlibpath_var=LD_LIBRARY_PATH
10185 freebsd* | dragonfly*)
10186 # DragonFly does not have aout. When/if they implement a new
10187 # versioning mechanism, adjust this.
10188 if test -x /usr/bin/objformat; then
10189 objformat=`/usr/bin/objformat`
10192 freebsd[23].*) objformat=aout ;;
10193 *) objformat=elf ;;
10196 version_type=freebsd-$objformat
10197 case $version_type in
10199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10204 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10208 shlibpath_var=LD_LIBRARY_PATH
10211 shlibpath_overrides_runpath=yes
10213 freebsd3.[01]* | freebsdelf3.[01]*)
10214 shlibpath_overrides_runpath=yes
10215 hardcode_into_libs=yes
10217 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10218 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10219 shlibpath_overrides_runpath=no
10220 hardcode_into_libs=yes
10222 *) # from 4.6 on, and DragonFly
10223 shlibpath_overrides_runpath=yes
10224 hardcode_into_libs=yes
10230 version_type=linux # correct to gnu/linux during the next big refactor
10233 dynamic_linker="$host_os runtime_loader"
10234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10235 soname_spec='${libname}${release}${shared_ext}$major'
10236 shlibpath_var=LIBRARY_PATH
10237 shlibpath_overrides_runpath=yes
10238 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10239 hardcode_into_libs=yes
10242 hpux9* | hpux10* | hpux11*)
10243 # Give a soname corresponding to the major version so that dld.sl refuses to
10244 # link against other versions.
10251 hardcode_into_libs=yes
10252 dynamic_linker="$host_os dld.so"
10253 shlibpath_var=LD_LIBRARY_PATH
10254 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10256 soname_spec='${libname}${release}${shared_ext}$major'
10257 if test "X$HPUX_IA64_MODE" = X32; then
10258 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10260 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10262 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10266 hardcode_into_libs=yes
10267 dynamic_linker="$host_os dld.sl"
10268 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10269 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10271 soname_spec='${libname}${release}${shared_ext}$major'
10272 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10273 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10277 dynamic_linker="$host_os dld.sl"
10278 shlibpath_var=SHLIB_PATH
10279 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10281 soname_spec='${libname}${release}${shared_ext}$major'
10284 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10285 postinstall_cmds='chmod 555 $lib'
10286 # or fails outright, so override atomically:
10287 install_override_mode=555
10291 version_type=linux # correct to gnu/linux during the next big refactor
10294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10295 soname_spec='${libname}${release}${shared_ext}$major'
10296 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10297 shlibpath_var=LD_LIBRARY_PATH
10298 shlibpath_overrides_runpath=no
10299 hardcode_into_libs=yes
10302 irix5* | irix6* | nonstopux*)
10304 nonstopux*) version_type=nonstopux ;;
10306 if test "$lt_cv_prog_gnu_ld" = yes; then
10307 version_type=linux # correct to gnu/linux during the next big refactor
10314 soname_spec='${libname}${release}${shared_ext}$major'
10315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10317 irix5* | nonstopux*)
10318 libsuff= shlibsuff=
10321 case $LD in # libtool.m4 will add one of these switches to LD
10322 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10323 libsuff= shlibsuff= libmagic=32-bit;;
10324 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10325 libsuff=32 shlibsuff=N32 libmagic=N32;;
10326 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10327 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10328 *) libsuff= shlibsuff= libmagic=never-match;;
10332 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10333 shlibpath_overrides_runpath=no
10334 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10335 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10336 hardcode_into_libs=yes
10339 # No shared lib support for Linux oldld, aout, or coff.
10340 linux*oldld* | linux*aout* | linux*coff*)
10344 # This must be glibc/ELF.
10345 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10346 version_type=linux # correct to gnu/linux during the next big refactor
10349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10350 soname_spec='${libname}${release}${shared_ext}$major'
10351 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10352 shlibpath_var=LD_LIBRARY_PATH
10353 shlibpath_overrides_runpath=no
10355 # Some binutils ld are patched to set DT_RUNPATH
10356 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10357 $as_echo_n "(cached) " >&6
10359 lt_cv_shlibpath_overrides_runpath=no
10360 save_LDFLAGS=$LDFLAGS
10361 save_libdir=$libdir
10362 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10363 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10375 if ac_fn_c_try_link "$LINENO"; then :
10376 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10377 lt_cv_shlibpath_overrides_runpath=yes
10380 rm -f core conftest.err conftest.$ac_objext \
10381 conftest$ac_exeext conftest.$ac_ext
10382 LDFLAGS=$save_LDFLAGS
10383 libdir=$save_libdir
10387 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10389 # This implies no fast_install, which is unacceptable.
10390 # Some rework will be needed to allow for fast_install
10391 # before this can be enabled.
10392 hardcode_into_libs=yes
10394 # Append ld.so.conf contents to the search path
10395 if test -f /etc/ld.so.conf; then
10396 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' ' '`
10397 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10400 # We used to test for /lib/ld.so.1 and disable shared libraries on
10401 # powerpc, because MkLinux only supported shared libraries with the
10402 # GNU dynamic linker. Since this was broken with cross compilers,
10403 # most powerpc-linux boxes support dynamic linking these days and
10404 # people can always --disable-shared, the test was removed, and we
10405 # assume the GNU/Linux dynamic linker is in use.
10406 dynamic_linker='GNU/Linux ld.so'
10413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10414 soname_spec='${libname}${release}${shared_ext}$major'
10415 shlibpath_var=LD_LIBRARY_PATH
10416 shlibpath_overrides_runpath=no
10417 hardcode_into_libs=yes
10418 dynamic_linker='NetBSD ld.elf_so'
10425 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10427 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10428 dynamic_linker='NetBSD (a.out) ld.so'
10430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10431 soname_spec='${libname}${release}${shared_ext}$major'
10432 dynamic_linker='NetBSD ld.elf_so'
10434 shlibpath_var=LD_LIBRARY_PATH
10435 shlibpath_overrides_runpath=yes
10436 hardcode_into_libs=yes
10440 version_type=linux # correct to gnu/linux during the next big refactor
10441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10442 shlibpath_var=LD_LIBRARY_PATH
10443 shlibpath_overrides_runpath=yes
10450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10451 soname_spec='${libname}${release}${shared_ext}$major'
10452 shlibpath_var=LD_LIBRARY_PATH
10453 shlibpath_overrides_runpath=no
10454 hardcode_into_libs=yes
10455 dynamic_linker='ldqnx.so'
10460 sys_lib_dlsearch_path_spec="/usr/lib"
10462 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10464 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10465 *) need_version=no ;;
10467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10468 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10469 shlibpath_var=LD_LIBRARY_PATH
10470 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10472 openbsd2.[89] | openbsd2.[89].*)
10473 shlibpath_overrides_runpath=no
10476 shlibpath_overrides_runpath=yes
10480 shlibpath_overrides_runpath=yes
10485 libname_spec='$name'
10488 library_names_spec='$libname${shared_ext} $libname.a'
10489 dynamic_linker='OS/2 ld.exe'
10490 shlibpath_var=LIBPATH
10493 osf3* | osf4* | osf5*)
10497 soname_spec='${libname}${release}${shared_ext}$major'
10498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10499 shlibpath_var=LD_LIBRARY_PATH
10500 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10501 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10509 version_type=linux # correct to gnu/linux during the next big refactor
10512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513 soname_spec='${libname}${release}${shared_ext}$major'
10514 shlibpath_var=LD_LIBRARY_PATH
10515 shlibpath_overrides_runpath=yes
10516 hardcode_into_libs=yes
10517 # ldd complains unless libraries are executable
10518 postinstall_cmds='chmod +x $lib'
10523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10524 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10525 shlibpath_var=LD_LIBRARY_PATH
10526 shlibpath_overrides_runpath=yes
10527 if test "$with_gnu_ld" = yes; then
10534 version_type=linux # correct to gnu/linux during the next big refactor
10535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10537 shlibpath_var=LD_LIBRARY_PATH
10538 case $host_vendor in
10540 shlibpath_overrides_runpath=no
10542 runpath_var=LD_RUN_PATH
10550 shlibpath_overrides_runpath=no
10551 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10557 if test -d /usr/nec ;then
10558 version_type=linux # correct to gnu/linux during the next big refactor
10559 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10560 soname_spec='$libname${shared_ext}.$major'
10561 shlibpath_var=LD_LIBRARY_PATH
10565 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10566 version_type=freebsd-elf
10569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10570 soname_spec='${libname}${release}${shared_ext}$major'
10571 shlibpath_var=LD_LIBRARY_PATH
10572 shlibpath_overrides_runpath=yes
10573 hardcode_into_libs=yes
10574 if test "$with_gnu_ld" = yes; then
10575 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10577 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10580 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10584 sys_lib_dlsearch_path_spec='/usr/lib'
10588 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10589 version_type=linux # correct to gnu/linux during the next big refactor
10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593 shlibpath_var=LD_LIBRARY_PATH
10594 shlibpath_overrides_runpath=no
10595 hardcode_into_libs=yes
10599 version_type=linux # correct to gnu/linux during the next big refactor
10600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10601 soname_spec='${libname}${release}${shared_ext}$major'
10602 shlibpath_var=LD_LIBRARY_PATH
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10610 $as_echo "$dynamic_linker" >&6; }
10611 test "$dynamic_linker" = no && can_build_shared=no
10613 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10614 if test "$GCC" = yes; then
10615 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10618 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10619 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10621 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10622 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10717 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10719 if test -n "$hardcode_libdir_flag_spec" ||
10720 test -n "$runpath_var" ||
10721 test "X$hardcode_automatic" = "Xyes" ; then
10723 # We can hardcode non-existent directories.
10724 if test "$hardcode_direct" != no &&
10725 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10726 # have to relink, otherwise we might link with an installed library
10727 # when we should be linking with a yet-to-be-installed one
10728 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10729 test "$hardcode_minus_L" != no; then
10730 # Linking always hardcodes the temporary library directory.
10731 hardcode_action=relink
10733 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10734 hardcode_action=immediate
10737 # We cannot hardcode anything, or else we can only hardcode existing
10739 hardcode_action=unsupported
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10742 $as_echo "$hardcode_action" >&6; }
10744 if test "$hardcode_action" = relink ||
10745 test "$inherit_rpath" = yes; then
10746 # Fast installation is not supported
10747 enable_fast_install=no
10748 elif test "$shlibpath_overrides_runpath" = yes ||
10749 test "$enable_shared" = no; then
10750 # Fast installation is not necessary
10751 enable_fast_install=needless
10759 if test "x$enable_dlopen" != xyes; then
10760 enable_dlopen=unknown
10761 enable_dlopen_self=unknown
10762 enable_dlopen_self_static=unknown
10769 lt_cv_dlopen="load_add_on"
10771 lt_cv_dlopen_self=yes
10774 mingw* | pw32* | cegcc*)
10775 lt_cv_dlopen="LoadLibrary"
10780 lt_cv_dlopen="dlopen"
10785 # if libdl is installed we need to link against it
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10787 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10788 if ${ac_cv_lib_dl_dlopen+:} false; then :
10789 $as_echo_n "(cached) " >&6
10791 ac_check_lib_save_LIBS=$LIBS
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 ac_cv_lib_dl_dlopen=yes
10814 ac_cv_lib_dl_dlopen=no
10816 rm -f core conftest.err conftest.$ac_objext \
10817 conftest$ac_exeext conftest.$ac_ext
10818 LIBS=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10821 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10822 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10823 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10826 lt_cv_dlopen="dyld"
10828 lt_cv_dlopen_self=yes
10835 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10836 if test "x$ac_cv_func_shl_load" = xyes; then :
10837 lt_cv_dlopen="shl_load"
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10840 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10841 if ${ac_cv_lib_dld_shl_load+:} false; then :
10842 $as_echo_n "(cached) " >&6
10844 ac_check_lib_save_LIBS=$LIBS
10846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10849 /* Override any GCC internal prototype to avoid an error.
10850 Use char because int might match the return type of a GCC
10851 builtin and then its argument prototype would still apply. */
10859 return shl_load ();
10864 if ac_fn_c_try_link "$LINENO"; then :
10865 ac_cv_lib_dld_shl_load=yes
10867 ac_cv_lib_dld_shl_load=no
10869 rm -f core conftest.err conftest.$ac_objext \
10870 conftest$ac_exeext conftest.$ac_ext
10871 LIBS=$ac_check_lib_save_LIBS
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10874 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10875 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10876 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10878 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10879 if test "x$ac_cv_func_dlopen" = xyes; then :
10880 lt_cv_dlopen="dlopen"
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10883 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10884 if ${ac_cv_lib_dl_dlopen+:} false; then :
10885 $as_echo_n "(cached) " >&6
10887 ac_check_lib_save_LIBS=$LIBS
10889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10907 if ac_fn_c_try_link "$LINENO"; then :
10908 ac_cv_lib_dl_dlopen=yes
10910 ac_cv_lib_dl_dlopen=no
10912 rm -f core conftest.err conftest.$ac_objext \
10913 conftest$ac_exeext conftest.$ac_ext
10914 LIBS=$ac_check_lib_save_LIBS
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10917 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10918 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10919 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10922 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10923 if ${ac_cv_lib_svld_dlopen+:} false; then :
10924 $as_echo_n "(cached) " >&6
10926 ac_check_lib_save_LIBS=$LIBS
10927 LIBS="-lsvld $LIBS"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10946 if ac_fn_c_try_link "$LINENO"; then :
10947 ac_cv_lib_svld_dlopen=yes
10949 ac_cv_lib_svld_dlopen=no
10951 rm -f core conftest.err conftest.$ac_objext \
10952 conftest$ac_exeext conftest.$ac_ext
10953 LIBS=$ac_check_lib_save_LIBS
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10956 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10957 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10958 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10961 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10962 if ${ac_cv_lib_dld_dld_link+:} false; then :
10963 $as_echo_n "(cached) " >&6
10965 ac_check_lib_save_LIBS=$LIBS
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10980 return dld_link ();
10985 if ac_fn_c_try_link "$LINENO"; then :
10986 ac_cv_lib_dld_dld_link=yes
10988 ac_cv_lib_dld_dld_link=no
10990 rm -f core conftest.err conftest.$ac_objext \
10991 conftest$ac_exeext conftest.$ac_ext
10992 LIBS=$ac_check_lib_save_LIBS
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10995 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10996 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10997 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11018 if test "x$lt_cv_dlopen" != xno; then
11024 case $lt_cv_dlopen in
11026 save_CPPFLAGS="$CPPFLAGS"
11027 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11029 save_LDFLAGS="$LDFLAGS"
11030 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11033 LIBS="$lt_cv_dlopen_libs $LIBS"
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11036 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11037 if ${lt_cv_dlopen_self+:} false; then :
11038 $as_echo_n "(cached) " >&6
11040 if test "$cross_compiling" = yes; then :
11041 lt_cv_dlopen_self=cross
11043 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11044 lt_status=$lt_dlunknown
11045 cat > conftest.$ac_ext <<_LT_EOF
11046 #line $LINENO "configure"
11047 #include "confdefs.h"
11056 # define LT_DLGLOBAL RTLD_GLOBAL
11059 # define LT_DLGLOBAL DL_GLOBAL
11061 # define LT_DLGLOBAL 0
11065 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11066 find out it does not work in some platform. */
11067 #ifndef LT_DLLAZY_OR_NOW
11069 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11072 # define LT_DLLAZY_OR_NOW DL_LAZY
11075 # define LT_DLLAZY_OR_NOW RTLD_NOW
11078 # define LT_DLLAZY_OR_NOW DL_NOW
11080 # define LT_DLLAZY_OR_NOW 0
11087 /* When -fvisbility=hidden is used, assume the code has been annotated
11088 correspondingly for the symbols needed. */
11089 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11090 int fnord () __attribute__((visibility("default")));
11093 int fnord () { return 42; }
11096 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11097 int status = $lt_dlunknown;
11101 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11104 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11105 else puts (dlerror ());
11107 /* dlclose (self); */
11115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11116 (eval $ac_link) 2>&5
11118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11119 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11120 (./conftest; exit; ) >&5 2>/dev/null
11122 case x$lt_status in
11123 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11124 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11125 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11128 # compilation failed
11129 lt_cv_dlopen_self=no
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11137 $as_echo "$lt_cv_dlopen_self" >&6; }
11139 if test "x$lt_cv_dlopen_self" = xyes; then
11140 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11142 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11143 if ${lt_cv_dlopen_self_static+:} false; then :
11144 $as_echo_n "(cached) " >&6
11146 if test "$cross_compiling" = yes; then :
11147 lt_cv_dlopen_self_static=cross
11149 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11150 lt_status=$lt_dlunknown
11151 cat > conftest.$ac_ext <<_LT_EOF
11152 #line $LINENO "configure"
11153 #include "confdefs.h"
11162 # define LT_DLGLOBAL RTLD_GLOBAL
11165 # define LT_DLGLOBAL DL_GLOBAL
11167 # define LT_DLGLOBAL 0
11171 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11172 find out it does not work in some platform. */
11173 #ifndef LT_DLLAZY_OR_NOW
11175 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11178 # define LT_DLLAZY_OR_NOW DL_LAZY
11181 # define LT_DLLAZY_OR_NOW RTLD_NOW
11184 # define LT_DLLAZY_OR_NOW DL_NOW
11186 # define LT_DLLAZY_OR_NOW 0
11193 /* When -fvisbility=hidden is used, assume the code has been annotated
11194 correspondingly for the symbols needed. */
11195 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11196 int fnord () __attribute__((visibility("default")));
11199 int fnord () { return 42; }
11202 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11203 int status = $lt_dlunknown;
11207 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11210 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11211 else puts (dlerror ());
11213 /* dlclose (self); */
11221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11222 (eval $ac_link) 2>&5
11224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11225 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11226 (./conftest; exit; ) >&5 2>/dev/null
11228 case x$lt_status in
11229 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11230 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11231 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11234 # compilation failed
11235 lt_cv_dlopen_self_static=no
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11243 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11246 CPPFLAGS="$save_CPPFLAGS"
11247 LDFLAGS="$save_LDFLAGS"
11252 case $lt_cv_dlopen_self in
11253 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11254 *) enable_dlopen_self=unknown ;;
11257 case $lt_cv_dlopen_self_static in
11258 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11259 *) enable_dlopen_self_static=unknown ;;
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11282 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11283 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11284 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11285 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11287 $as_echo "yes" >&6; }
11289 # FIXME - insert some real tests, host_os isn't really good enough
11292 if test -n "$STRIP" ; then
11293 striplib="$STRIP -x"
11294 old_striplib="$STRIP -S"
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11296 $as_echo "yes" >&6; }
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11299 $as_echo "no" >&6; }
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11304 $as_echo "no" >&6; }
11320 # Report which library types will actually be built
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11322 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11324 $as_echo "$can_build_shared" >&6; }
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11327 $as_echo_n "checking whether to build shared libraries... " >&6; }
11328 test "$can_build_shared" = "no" && enable_shared=no
11330 # On AIX, shared libraries and static libraries use the same namespace, and
11331 # are all built from PIC.
11334 test "$enable_shared" = yes && enable_static=no
11335 if test -n "$RANLIB"; then
11336 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11337 postinstall_cmds='$RANLIB $lib'
11342 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11343 test "$enable_shared" = yes && enable_static=no
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11348 $as_echo "$enable_shared" >&6; }
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11351 $as_echo_n "checking whether to build static libraries... " >&6; }
11352 # Make sure either enable_shared or enable_static is yes.
11353 test "$enable_shared" = yes || enable_static=yes
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11355 $as_echo "$enable_static" >&6; }
11362 ac_cpp='$CPP $CPPFLAGS'
11363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11383 ac_config_commands="$ac_config_commands libtool"
11388 # Only expand once:
11392 ac_config_files="$ac_config_files Makefile"
11394 cat >confcache <<\_ACEOF
11395 # This file is a shell script that caches the results of configure
11396 # tests run on this system so they can be shared between configure
11397 # scripts and configure runs, see configure's option --config-cache.
11398 # It is not useful on other systems. If it contains results you don't
11399 # want to keep, you may remove or edit it.
11401 # config.status only pays attention to the cache file if you give it
11402 # the --recheck option to rerun configure.
11404 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11405 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11406 # following values.
11410 # The following way of writing the cache mishandles newlines in values,
11411 # but we know of no workaround that is simple, portable, and efficient.
11412 # So, we kill variables containing newlines.
11413 # Ultrix sh set writes to stderr and can't be redirected directly,
11414 # and sets the high bit in the cache file unless we assign to the vars.
11416 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11417 eval ac_val=\$$ac_var
11421 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11422 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11425 _ | IFS | as_nl) ;; #(
11426 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11427 *) { eval $ac_var=; unset $ac_var;} ;;
11433 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11434 *${as_nl}ac_space=\ *)
11435 # `set' does not quote correctly, so add quotes: double-quote
11436 # substitution turns \\\\ into \\, and sed turns \\ into \.
11439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11442 # `set' quotes correctly as required by POSIX, so do not add quotes.
11443 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11454 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11456 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11457 if test -w "$cache_file"; then
11458 if test "x$cache_file" != "x/dev/null"; then
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11460 $as_echo "$as_me: updating cache $cache_file" >&6;}
11461 if test ! -f "$cache_file" || test -h "$cache_file"; then
11462 cat confcache >"$cache_file"
11464 case $cache_file in #(
11466 mv -f confcache "$cache_file"$$ &&
11467 mv -f "$cache_file"$$ "$cache_file" ;; #(
11469 mv -f confcache "$cache_file" ;;
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11475 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11480 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11481 # Let make expand exec_prefix.
11482 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11484 # Transform confdefs.h into DEFS.
11485 # Protect against shell expansion while executing Makefile rules.
11486 # Protect against Makefile macro expansion.
11488 # If the first sed substitution is executed (which looks for macros that
11489 # take arguments), then branch to the quote section. Otherwise,
11490 # look for a macro that doesn't take arguments.
11500 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
11502 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
11506 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11519 DEFS=`sed -n "$ac_script" confdefs.h`
11525 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11526 # 1. Remove the extension, and $U if already installed.
11527 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11528 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11529 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11530 # will be set to the directory where LIBOBJS objects are built.
11531 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11532 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11534 LIBOBJS=$ac_libobjs
11536 LTLIBOBJS=$ac_ltlibobjs
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11540 $as_echo_n "checking that generated files are newer than configure... " >&6; }
11541 if test -n "$am_sleep_pid"; then
11542 # Hide warnings about reused PIDs.
11543 wait $am_sleep_pid 2>/dev/null
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11546 $as_echo "done" >&6; }
11547 if test -n "$EXEEXT"; then
11549 am__EXEEXT_FALSE='#'
11551 am__EXEEXT_TRUE='#'
11555 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11556 as_fn_error $? "conditional \"AMDEP\" was never defined.
11557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11559 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11560 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11564 : "${CONFIG_STATUS=./config.status}"
11566 ac_clean_files_save=$ac_clean_files
11567 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11569 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11571 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11573 # Generated by $as_me.
11574 # Run this file to recreate the current configuration.
11575 # Compiler output produced by configure, useful for debugging
11576 # configure, is in config.log if it exists.
11579 ac_cs_recheck=false
11582 SHELL=\${CONFIG_SHELL-$SHELL}
11585 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11586 ## -------------------- ##
11587 ## M4sh Initialization. ##
11588 ## -------------------- ##
11590 # Be more Bourne compatible
11591 DUALCASE=1; export DUALCASE # for MKS sh
11592 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11595 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11596 # is contrary to our usage. Disable this feature.
11597 alias -g '${1+"$@"}'='"$@"'
11598 setopt NO_GLOB_SUBST
11600 case `(set -o) 2>/dev/null` in #(
11612 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11613 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11614 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11615 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11616 # Prefer a ksh shell builtin over an external printf program on Solaris,
11617 # but without wasting forks for bash or zsh.
11618 if test -z "$BASH_VERSION$ZSH_VERSION" \
11619 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11620 as_echo='print -r --'
11621 as_echo_n='print -rn --'
11622 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11623 as_echo='printf %s\n'
11624 as_echo_n='printf %s'
11626 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11627 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11628 as_echo_n='/usr/ucb/echo -n'
11630 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11631 as_echo_n_body='eval
11635 expr "X$arg" : "X\\(.*\\)$as_nl";
11636 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11638 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11640 export as_echo_n_body
11641 as_echo_n='sh -c $as_echo_n_body as_echo'
11643 export as_echo_body
11644 as_echo='sh -c $as_echo_body as_echo'
11647 # The user is always right.
11648 if test "${PATH_SEPARATOR+set}" != set; then
11650 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11651 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11658 # We need space, tab and new line, in precisely that order. Quoting is
11659 # there to prevent editors from complaining about space-tab.
11660 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11661 # splitting by setting IFS to empty value.)
11664 # Find who we are. Look in the path if we contain no directory separator.
11667 *[\\/]* ) as_myself=$0 ;;
11668 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11669 for as_dir in $PATH
11672 test -z "$as_dir" && as_dir=.
11673 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11679 # We did not find ourselves, most probably we were run as `sh COMMAND'
11680 # in which case we are not to be found in the path.
11681 if test "x$as_myself" = x; then
11684 if test ! -f "$as_myself"; then
11685 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11689 # Unset variables that we do not need and which cause bugs (e.g. in
11690 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11691 # suppresses any "Segmentation fault" message there. '((' could
11692 # trigger a bug in pdksh 5.2.14.
11693 for as_var in BASH_ENV ENV MAIL MAILPATH
11694 do eval test x\${$as_var+set} = xset \
11695 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11708 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11711 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11712 # ----------------------------------------
11713 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11714 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11715 # script with STATUS, using 1 if that was 0.
11718 as_status=$1; test $as_status -eq 0 && as_status=1
11720 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11721 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11723 $as_echo "$as_me: error: $2" >&2
11724 as_fn_exit $as_status
11728 # as_fn_set_status STATUS
11729 # -----------------------
11730 # Set $? to STATUS, without forking.
11731 as_fn_set_status ()
11734 } # as_fn_set_status
11736 # as_fn_exit STATUS
11737 # -----------------
11738 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11742 as_fn_set_status $1
11748 # Portably unset VAR.
11751 { eval $1=; unset $1;}
11753 as_unset=as_fn_unset
11754 # as_fn_append VAR VALUE
11755 # ----------------------
11756 # Append the text in VALUE to the end of the definition contained in VAR. Take
11757 # advantage of any shell optimizations that allow amortized linear growth over
11758 # repeated appends, instead of the typical quadratic growth present in naive
11760 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11761 eval 'as_fn_append ()
11772 # as_fn_arith ARG...
11773 # ------------------
11774 # Perform arithmetic evaluation on the ARGs, and store the result in the
11775 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11776 # must be portable across $(()) and expr.
11777 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11778 eval 'as_fn_arith ()
11785 as_val=`expr "$@" || test $? -eq 1`
11790 if expr a : '\(a\)' >/dev/null 2>&1 &&
11791 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11797 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11798 as_basename=basename
11803 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11809 as_me=`$as_basename -- "$0" ||
11810 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11811 X"$0" : 'X\(//\)$' \| \
11812 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11814 sed '/^.*\/\([^/][^/]*\)\/*$/{
11828 # Avoid depending upon Character Ranges.
11829 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11830 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11831 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11832 as_cr_digits='0123456789'
11833 as_cr_alnum=$as_cr_Letters$as_cr_digits
11835 ECHO_C= ECHO_N= ECHO_T=
11836 case `echo -n x` in #(((((
11838 case `echo 'xy\c'` in
11839 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11841 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11848 rm -f conf$$ conf$$.exe conf$$.file
11849 if test -d conf$$.dir; then
11850 rm -f conf$$.dir/conf$$.file
11853 mkdir conf$$.dir 2>/dev/null
11855 if (echo >conf$$.file) 2>/dev/null; then
11856 if ln -s conf$$.file conf$$ 2>/dev/null; then
11858 # ... but there are two gotchas:
11859 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11860 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11861 # In both cases, we have to default to `cp -pR'.
11862 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11864 elif ln conf$$.file conf$$ 2>/dev/null; then
11872 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11873 rmdir conf$$.dir 2>/dev/null
11878 # Create "$as_dir" as a directory, including parents if necessary.
11883 -*) as_dir=./$as_dir;;
11885 test -d "$as_dir" || eval $as_mkdir_p || {
11889 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11890 *) as_qdir=$as_dir;;
11892 as_dirs="'$as_qdir' $as_dirs"
11893 as_dir=`$as_dirname -- "$as_dir" ||
11894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11895 X"$as_dir" : 'X\(//\)[^/]' \| \
11896 X"$as_dir" : 'X\(//\)$' \| \
11897 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11898 $as_echo X"$as_dir" |
11899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11903 /^X\(\/\/\)[^/].*/{
11916 test -d "$as_dir" && break
11918 test -z "$as_dirs" || eval "mkdir $as_dirs"
11919 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11923 if mkdir -p . 2>/dev/null; then
11924 as_mkdir_p='mkdir -p "$as_dir"'
11926 test -d ./-p && rmdir ./-p
11931 # as_fn_executable_p FILE
11932 # -----------------------
11933 # Test if FILE is an executable regular file.
11934 as_fn_executable_p ()
11936 test -f "$1" && test -x "$1"
11937 } # as_fn_executable_p
11938 as_test_x='test -x'
11939 as_executable_p=as_fn_executable_p
11941 # Sed expression to map a string onto a valid CPP name.
11942 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11944 # Sed expression to map a string onto a valid variable name.
11945 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11949 ## ----------------------------------- ##
11950 ## Main body of $CONFIG_STATUS script. ##
11951 ## ----------------------------------- ##
11953 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11956 # Save the log message, to keep $0 and so on meaningful, and to
11957 # report actual input values of CONFIG_FILES etc. instead of their
11958 # values after options handling.
11960 This file was extended by vlibapi $as_me 1.0, which was
11961 generated by GNU Autoconf 2.69. Invocation command line was
11963 CONFIG_FILES = $CONFIG_FILES
11964 CONFIG_HEADERS = $CONFIG_HEADERS
11965 CONFIG_LINKS = $CONFIG_LINKS
11966 CONFIG_COMMANDS = $CONFIG_COMMANDS
11969 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11974 case $ac_config_files in *"
11975 "*) set x $ac_config_files; shift; ac_config_files=$*;;
11980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11981 # Files that config.status was made for.
11982 config_files="$ac_config_files"
11983 config_commands="$ac_config_commands"
11987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11989 \`$as_me' instantiates files and other configuration actions
11990 from templates according to the current configuration. Unless the files
11991 and actions are specified as TAGs, all are instantiated by default.
11993 Usage: $0 [OPTION]... [TAG]...
11995 -h, --help print this help, then exit
11996 -V, --version print version number and configuration settings, then exit
11997 --config print configuration, then exit
11998 -q, --quiet, --silent
11999 do not print progress messages
12000 -d, --debug don't remove temporary files
12001 --recheck update $as_me by reconfiguring in the same conditions
12002 --file=FILE[:TEMPLATE]
12003 instantiate the configuration file FILE
12005 Configuration files:
12008 Configuration commands:
12011 Report bugs to the package provider."
12014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12015 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12017 vlibapi config.status 1.0
12018 configured by $0, generated by GNU Autoconf 2.69,
12019 with options \\"\$ac_cs_config\\"
12021 Copyright (C) 2012 Free Software Foundation, Inc.
12022 This config.status script is free software; the Free Software Foundation
12023 gives unlimited permission to copy, distribute and modify it."
12030 test -n "\$AWK" || AWK=awk
12033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12034 # The default lists apply if the user does not specify any file.
12040 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12041 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12045 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12057 # Handling of the options.
12058 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12060 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12061 $as_echo "$ac_cs_version"; exit ;;
12062 --config | --confi | --conf | --con | --co | --c )
12063 $as_echo "$ac_cs_config"; exit ;;
12064 --debug | --debu | --deb | --de | --d | -d )
12066 --file | --fil | --fi | --f )
12069 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12070 '') as_fn_error $? "missing file argument" ;;
12072 as_fn_append CONFIG_FILES " '$ac_optarg'"
12073 ac_need_defaults=false;;
12074 --he | --h | --help | --hel | -h )
12075 $as_echo "$ac_cs_usage"; exit ;;
12076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12077 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12080 # This is an error.
12081 -*) as_fn_error $? "unrecognized option: \`$1'
12082 Try \`$0 --help' for more information." ;;
12084 *) as_fn_append ac_config_targets " $1"
12085 ac_need_defaults=false ;;
12091 ac_configure_extra_args=
12093 if $ac_cs_silent; then
12095 ac_configure_extra_args="$ac_configure_extra_args --silent"
12099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12100 if \$ac_cs_recheck; then
12101 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12103 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12104 CONFIG_SHELL='$SHELL'
12105 export CONFIG_SHELL
12110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12114 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12115 ## Running $as_me. ##
12121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12125 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12128 # The HP-UX ksh and POSIX shell print the target directory to stdout
12129 # if CDPATH is set.
12130 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12132 sed_quote_subst='$sed_quote_subst'
12133 double_quote_subst='$double_quote_subst'
12134 delay_variable_subst='$delay_variable_subst'
12135 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12136 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12137 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12138 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12139 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12140 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12141 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12142 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12143 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12144 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12145 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12146 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12147 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12148 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12149 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12150 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12151 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12152 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12153 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12154 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12155 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12156 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12157 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12158 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12159 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12160 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12161 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12162 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12163 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12164 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12165 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12166 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12167 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12168 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12169 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12170 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12171 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12172 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12173 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12174 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12175 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12176 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12177 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12178 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12179 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12180 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12181 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12182 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12183 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12184 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12185 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12186 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12187 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12188 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12189 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12190 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12191 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"`'
12192 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12193 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12194 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12195 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12196 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12197 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12198 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12199 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12200 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12201 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12202 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12203 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12204 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12205 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12206 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12207 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12208 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12209 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12210 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12211 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12212 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12213 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12214 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12215 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12216 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12217 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12218 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12219 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12220 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12221 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12222 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12223 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12224 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12225 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12226 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12227 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12228 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12229 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12230 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12231 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12232 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12233 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12234 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12235 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12236 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12237 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12238 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12239 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12240 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12241 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12242 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12243 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12244 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12245 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12246 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12247 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12248 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12249 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12250 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12251 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12252 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12253 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12254 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12255 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12256 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12257 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12258 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12259 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12260 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12261 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12262 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12263 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12264 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12267 LTCFLAGS='$LTCFLAGS'
12268 compiler='$compiler_DEFAULT'
12270 # A function that is used when there is no print builtin or printf.
12271 func_fallback_echo ()
12273 eval 'cat <<_LTECHO_EOF
12278 # Quote evaled strings.
12293 deplibs_check_method \
12298 sharedlib_from_linklib_cmd \
12301 archiver_list_spec \
12307 lt_cv_sys_global_symbol_pipe \
12308 lt_cv_sys_global_symbol_to_cdecl \
12309 lt_cv_sys_global_symbol_to_c_name_address \
12310 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12311 nm_file_list_spec \
12312 lt_prog_compiler_no_builtin_flag \
12313 lt_prog_compiler_pic \
12314 lt_prog_compiler_wl \
12315 lt_prog_compiler_static \
12316 lt_cv_prog_compiler_c_o \
12325 export_dynamic_flag_spec \
12326 whole_archive_flag_spec \
12327 compiler_needs_object \
12329 allow_undefined_flag \
12330 no_undefined_flag \
12331 hardcode_libdir_flag_spec \
12332 hardcode_libdir_separator \
12336 variables_saved_for_relink \
12338 library_names_spec \
12340 install_override_mode \
12344 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12345 *[\\\\\\\`\\"\\\$]*)
12346 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12349 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12354 # Double-quote double-evaled strings.
12355 for var in reload_cmds \
12356 old_postinstall_cmds \
12357 old_postuninstall_cmds \
12359 extract_expsyms_cmds \
12360 old_archive_from_new_cmds \
12361 old_archive_from_expsyms_cmds \
12363 archive_expsym_cmds \
12365 module_expsym_cmds \
12366 export_symbols_cmds \
12370 postuninstall_cmds \
12372 sys_lib_search_path_spec \
12373 sys_lib_dlsearch_path_spec; do
12374 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12375 *[\\\\\\\`\\"\\\$]*)
12376 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12379 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12384 ac_aux_dir='$ac_aux_dir'
12385 xsi_shell='$xsi_shell'
12386 lt_shell_append='$lt_shell_append'
12388 # See if we are running on zsh, and set the options which allow our
12389 # commands through without removal of \ escapes INIT.
12390 if test -n "\${ZSH_VERSION+set}" ; then
12391 setopt NO_GLOB_SUBST
12397 TIMESTAMP='$TIMESTAMP'
12406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12408 # Handling of arguments.
12409 for ac_config_target in $ac_config_targets
12411 case $ac_config_target in
12412 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12413 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12414 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12416 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12421 # If the user did not use the arguments to specify the items to instantiate,
12422 # then the envvar interface is used. Set only those that are not.
12423 # We use the long form for the default assignment because of an extremely
12424 # bizarre bug on SunOS 4.1.3.
12425 if $ac_need_defaults; then
12426 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12427 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12430 # Have a temporary directory for convenience. Make it in the build tree
12431 # simply because there is no reason against having it here, and in addition,
12432 # creating and moving files from /tmp can sometimes cause problems.
12433 # Hook for its removal unless debugging.
12434 # Note that there is a small window in which the directory will not be cleaned:
12435 # after its creation but before its name has been assigned to `$tmp'.
12439 trap 'exit_status=$?
12440 : "${ac_tmp:=$tmp}"
12441 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12443 trap 'as_fn_exit 1' 1 2 13 15
12445 # Create a (secure) tmp directory for tmp files.
12448 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12452 tmp=./conf$$-$RANDOM
12453 (umask 077 && mkdir "$tmp")
12454 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12457 # Set up the scripts for CONFIG_FILES section.
12458 # No need to generate them if there are no CONFIG_FILES.
12459 # This happens for instance with `./config.status config.h'.
12460 if test -n "$CONFIG_FILES"; then
12463 ac_cr=`echo X | tr X '\015'`
12464 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12465 # But we know of no other shell where ac_cr would be empty at this
12466 # point, so we can use a bashism as a fallback.
12467 if test "x$ac_cr" = x; then
12468 eval ac_cr=\$\'\\r\'
12470 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12471 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12474 ac_cs_awk_cr=$ac_cr
12477 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12482 echo "cat >conf$$subs.awk <<_ACEOF" &&
12483 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12485 } >conf$$subs.sh ||
12486 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12487 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12489 for ac_last_try in false false false false false :; do
12490 . ./conf$$subs.sh ||
12491 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12493 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12494 if test $ac_delim_n = $ac_delim_num; then
12496 elif $ac_last_try; then
12497 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12499 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12502 rm -f conf$$subs.sh
12504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12505 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12509 s/^/S["/; s/!.*/"]=/
12519 s/\(.\{148\}\)..*/\1/
12521 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12526 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12533 s/\(.\{148\}\)..*/\1/
12535 s/["\\]/\\&/g; s/^/"/; s/$/"/
12539 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12544 ' <conf$$subs.awk | sed '
12549 ' >>$CONFIG_STATUS || ac_write_fail=1
12550 rm -f conf$$subs.awk
12551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12553 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12554 for (key in S) S_is_set[key] = 1
12560 nfields = split(line, field, "@")
12562 len = length(field[1])
12563 for (i = 2; i < nfields; i++) {
12565 keylen = length(key)
12566 if (S_is_set[key]) {
12568 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12569 len += length(value) + length(field[++i])
12580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12581 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12582 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12585 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12586 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12589 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12590 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12591 # trailing colons and then remove the whole line if VPATH becomes empty
12592 # (actually we leave an empty line to preserve line numbers).
12593 if test "x$srcdir" = x.; then
12594 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12613 fi # test -n "$CONFIG_FILES"
12616 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
12621 :[FHLC]) ac_mode=$ac_tag; continue;;
12623 case $ac_mode$ac_tag in
12625 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12626 :[FH]-) ac_tag=-:-;;
12627 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12644 -) ac_f="$ac_tmp/stdin";;
12645 *) # Look for the file first in the build tree, then in the source tree
12646 # (if the path is not absolute). The absolute path cannot be DOS-style,
12647 # because $ac_f cannot contain `:'.
12651 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12653 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12655 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12656 as_fn_append ac_file_inputs " '$ac_f'"
12659 # Let's still pretend it is `configure' which instantiates (i.e., don't
12660 # use $as_me), people would be surprised to read:
12661 # /* config.h. Generated by config.status. */
12662 configure_input='Generated from '`
12663 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12665 if test x"$ac_file" != x-; then
12666 configure_input="$ac_file. $configure_input"
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12668 $as_echo "$as_me: creating $ac_file" >&6;}
12670 # Neutralize special characters interpreted by sed in replacement strings.
12671 case $configure_input in #(
12672 *\&* | *\|* | *\\* )
12673 ac_sed_conf_input=`$as_echo "$configure_input" |
12674 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12675 *) ac_sed_conf_input=$configure_input;;
12679 *:-:* | *:-) cat >"$ac_tmp/stdin" \
12680 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12685 ac_dir=`$as_dirname -- "$ac_file" ||
12686 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12687 X"$ac_file" : 'X\(//\)[^/]' \| \
12688 X"$ac_file" : 'X\(//\)$' \| \
12689 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12690 $as_echo X"$ac_file" |
12691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12695 /^X\(\/\/\)[^/].*/{
12708 as_dir="$ac_dir"; as_fn_mkdir_p
12712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12714 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12715 # A ".." for each directory in $ac_dir_suffix.
12716 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12717 case $ac_top_builddir_sub in
12718 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12719 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12722 ac_abs_top_builddir=$ac_pwd
12723 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12724 # for backward compatibility:
12725 ac_top_builddir=$ac_top_build_prefix
12728 .) # We are building in place.
12730 ac_top_srcdir=$ac_top_builddir_sub
12731 ac_abs_top_srcdir=$ac_pwd ;;
12732 [\\/]* | ?:[\\/]* ) # Absolute name.
12733 ac_srcdir=$srcdir$ac_dir_suffix;
12734 ac_top_srcdir=$srcdir
12735 ac_abs_top_srcdir=$srcdir ;;
12736 *) # Relative name.
12737 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12738 ac_top_srcdir=$ac_top_build_prefix$srcdir
12739 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12741 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12751 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12752 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12754 ac_MKDIR_P=$MKDIR_P
12756 [\\/$]* | ?:[\\/]* ) ;;
12757 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12762 # If the template does not know about datarootdir, expand it.
12763 # FIXME: This hack should be removed a few years after 2.60.
12764 ac_datarootdir_hack=; ac_datarootdir_seen=
12775 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12776 *datarootdir*) ac_datarootdir_seen=yes;;
12777 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12779 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12782 ac_datarootdir_hack='
12783 s&@datadir@&$datadir&g
12784 s&@docdir@&$docdir&g
12785 s&@infodir@&$infodir&g
12786 s&@localedir@&$localedir&g
12787 s&@mandir@&$mandir&g
12788 s&\\\${datarootdir}&$datarootdir&g' ;;
12792 # Neutralize VPATH when `$srcdir' = `.'.
12793 # Shell code in configure.ac might set extrasub.
12794 # FIXME: do we really want to maintain this feature?
12795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12796 ac_sed_extra="$ac_vpsub
12799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12801 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12802 s|@configure_input@|$ac_sed_conf_input|;t t
12803 s&@top_builddir@&$ac_top_builddir_sub&;t t
12804 s&@top_build_prefix@&$ac_top_build_prefix&;t t
12805 s&@srcdir@&$ac_srcdir&;t t
12806 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12807 s&@top_srcdir@&$ac_top_srcdir&;t t
12808 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12809 s&@builddir@&$ac_builddir&;t t
12810 s&@abs_builddir@&$ac_abs_builddir&;t t
12811 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12812 s&@INSTALL@&$ac_INSTALL&;t t
12813 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12814 $ac_datarootdir_hack
12816 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
12817 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12819 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12820 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
12821 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12822 "$ac_tmp/out"`; test -z "$ac_out"; } &&
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12824 which seems to be undefined. Please make sure it is defined" >&5
12825 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12826 which seems to be undefined. Please make sure it is defined" >&2;}
12828 rm -f "$ac_tmp/stdin"
12830 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12831 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12837 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12838 $as_echo "$as_me: executing $ac_file commands" >&6;}
12843 case $ac_file$ac_mode in
12844 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12845 # Older Autoconf quotes --file arguments for eval, but not when files
12846 # are listed without --file. Let's play safe and only enable the eval
12847 # if we detect the quoting.
12848 case $CONFIG_FILES in
12849 *\'*) eval set x "$CONFIG_FILES" ;;
12850 *) set x $CONFIG_FILES ;;
12855 # Strip MF so we end up with the name of the file.
12856 mf=`echo "$mf" | sed -e 's/:.*$//'`
12857 # Check whether this is an Automake generated Makefile or not.
12858 # We used to match only the files named 'Makefile.in', but
12859 # some people rename them; so instead we look at the file content.
12860 # Grep'ing the first line is not enough: some people post-process
12861 # each Makefile.in and add a new line on top of each file to say so.
12862 # Grep'ing the whole file is not good either: AIX grep has a line
12863 # limit of 2048, but all sed's we know have understand at least 4000.
12864 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12865 dirpart=`$as_dirname -- "$mf" ||
12866 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12867 X"$mf" : 'X\(//\)[^/]' \| \
12868 X"$mf" : 'X\(//\)$' \| \
12869 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12875 /^X\(\/\/\)[^/].*/{
12891 # Extract the definition of DEPDIR, am__include, and am__quote
12892 # from the Makefile without running 'make'.
12893 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12894 test -z "$DEPDIR" && continue
12895 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12896 test -z "$am__include" && continue
12897 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12898 # Find all dependency output files, they are included files with
12899 # $(DEPDIR) in their names. We invoke sed twice because it is the
12900 # simplest approach to changing $(DEPDIR) to its actual value in the
12902 for file in `sed -n "
12903 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12904 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
12905 # Make sure the directory exists.
12906 test -f "$dirpart/$file" && continue
12907 fdir=`$as_dirname -- "$file" ||
12908 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12909 X"$file" : 'X\(//\)[^/]' \| \
12910 X"$file" : 'X\(//\)$' \| \
12911 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12912 $as_echo X"$file" |
12913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12917 /^X\(\/\/\)[^/].*/{
12930 as_dir=$dirpart/$fdir; as_fn_mkdir_p
12931 # echo "creating $dirpart/$file"
12932 echo '# dummy' > "$dirpart/$file"
12939 # See if we are running on zsh, and set the options which allow our
12940 # commands through without removal of \ escapes.
12941 if test -n "${ZSH_VERSION+set}" ; then
12942 setopt NO_GLOB_SUBST
12945 cfgfile="${ofile}T"
12946 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12949 cat <<_LT_EOF >> "$cfgfile"
12952 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12953 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12954 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12955 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12957 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12958 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
12960 # Written by Gordon Matzigkeit, 1996
12962 # This file is part of GNU Libtool.
12964 # GNU Libtool is free software; you can redistribute it and/or
12965 # modify it under the terms of the GNU General Public License as
12966 # published by the Free Software Foundation; either version 2 of
12967 # the License, or (at your option) any later version.
12969 # As a special exception to the GNU General Public License,
12970 # if you distribute this file as part of a program or library that
12971 # is built using GNU Libtool, you may include this file under the
12972 # same distribution terms that you use for the rest of that program.
12974 # GNU Libtool is distributed in the hope that it will be useful,
12975 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12976 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12977 # GNU General Public License for more details.
12979 # You should have received a copy of the GNU General Public License
12980 # along with GNU Libtool; see the file COPYING. If not, a copy
12981 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12982 # obtained by writing to the Free Software Foundation, Inc.,
12983 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12986 # The names of the tagged configurations supported by this script.
12989 # ### BEGIN LIBTOOL CONFIG
12991 # Which release of libtool.m4 was used?
12992 macro_version=$macro_version
12993 macro_revision=$macro_revision
12995 # Whether or not to build shared libraries.
12996 build_libtool_libs=$enable_shared
12998 # Whether or not to build static libraries.
12999 build_old_libs=$enable_static
13001 # What type of objects to build.
13004 # Whether or not to optimize for fast installation.
13005 fast_install=$enable_fast_install
13007 # Shell to use when invoking shell scripts.
13010 # An echo program that protects backslashes.
13013 # The PATH separator for the build system.
13014 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13017 host_alias=$host_alias
13021 # The build system.
13022 build_alias=$build_alias
13026 # A sed program that does not truncate output.
13029 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13030 Xsed="\$SED -e 1s/^X//"
13032 # A grep program that handles long lines.
13038 # A literal string matcher.
13041 # A BSD- or MS-compatible name lister.
13044 # Whether we need soft or hard links.
13047 # What is the maximum length of a command?
13048 max_cmd_len=$max_cmd_len
13050 # Object file suffix (normally "o").
13053 # Executable file suffix (normally "").
13056 # whether the shell understands "unset".
13059 # turn spaces into newlines.
13062 # turn newlines into spaces.
13065 # convert \$build file names to \$host format.
13066 to_host_file_cmd=$lt_cv_to_host_file_cmd
13068 # convert \$build files to toolchain format.
13069 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13071 # An object symbol dumper.
13072 OBJDUMP=$lt_OBJDUMP
13074 # Method to check whether dependent libraries are shared objects.
13075 deplibs_check_method=$lt_deplibs_check_method
13077 # Command to use when deplibs_check_method = "file_magic".
13078 file_magic_cmd=$lt_file_magic_cmd
13080 # How to find potential files when deplibs_check_method = "file_magic".
13081 file_magic_glob=$lt_file_magic_glob
13083 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13084 want_nocaseglob=$lt_want_nocaseglob
13086 # DLL creation program.
13087 DLLTOOL=$lt_DLLTOOL
13089 # Command to associate shared and link libraries.
13090 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13095 # Flags to create an archive.
13096 AR_FLAGS=$lt_AR_FLAGS
13098 # How to feed a file listing to the archiver.
13099 archiver_list_spec=$lt_archiver_list_spec
13101 # A symbol stripping program.
13104 # Commands used to install an old-style archive.
13106 old_postinstall_cmds=$lt_old_postinstall_cmds
13107 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13109 # Whether to use a lock for old archive extraction.
13110 lock_old_archive_extraction=$lock_old_archive_extraction
13115 # LTCC compiler flags.
13116 LTCFLAGS=$lt_CFLAGS
13118 # Take the output of nm and produce a listing of raw symbols and C names.
13119 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13121 # Transform the output of nm in a proper C declaration.
13122 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13124 # Transform the output of nm in a C name address pair.
13125 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13127 # Transform the output of nm in a C name address pair when lib prefix is needed.
13128 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13130 # Specify filename containing input files for \$NM.
13131 nm_file_list_spec=$lt_nm_file_list_spec
13133 # The root where to search for dependent libraries,and in which our libraries should be installed.
13134 lt_sysroot=$lt_sysroot
13136 # The name of the directory that contains temporary libtool files.
13139 # Used to examine libraries when file_magic_cmd begins with "file".
13140 MAGIC_CMD=$MAGIC_CMD
13142 # Must we lock files when doing compilation?
13143 need_locks=$lt_need_locks
13146 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13148 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13149 DSYMUTIL=$lt_DSYMUTIL
13151 # Tool to change global to local symbols on Mac OS X.
13154 # Tool to manipulate fat objects and archives on Mac OS X.
13157 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13160 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13161 OTOOL64=$lt_OTOOL64
13163 # Old archive suffix (normally "a").
13166 # Shared library suffix (normally ".so").
13167 shrext_cmds=$lt_shrext_cmds
13169 # The commands to extract the exported symbol list from a shared archive.
13170 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13172 # Variables whose values should be saved in libtool wrapper scripts and
13173 # restored at link time.
13174 variables_saved_for_relink=$lt_variables_saved_for_relink
13176 # Do we need the "lib" prefix for modules?
13177 need_lib_prefix=$need_lib_prefix
13179 # Do we need a version for libraries?
13180 need_version=$need_version
13182 # Library versioning type.
13183 version_type=$version_type
13185 # Shared library runtime path variable.
13186 runpath_var=$runpath_var
13188 # Shared library path variable.
13189 shlibpath_var=$shlibpath_var
13191 # Is shlibpath searched before the hard-coded library search path?
13192 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13194 # Format of library name prefix.
13195 libname_spec=$lt_libname_spec
13197 # List of archive names. First name is the real one, the rest are links.
13198 # The last name is the one that the linker finds with -lNAME
13199 library_names_spec=$lt_library_names_spec
13201 # The coded name of the library, if different from the real name.
13202 soname_spec=$lt_soname_spec
13204 # Permission mode override for installation of shared libraries.
13205 install_override_mode=$lt_install_override_mode
13207 # Command to use after installation of a shared archive.
13208 postinstall_cmds=$lt_postinstall_cmds
13210 # Command to use after uninstallation of a shared archive.
13211 postuninstall_cmds=$lt_postuninstall_cmds
13213 # Commands used to finish a libtool library installation in a directory.
13214 finish_cmds=$lt_finish_cmds
13216 # As "finish_cmds", except a single script fragment to be evaled but
13218 finish_eval=$lt_finish_eval
13220 # Whether we should hardcode library paths into libraries.
13221 hardcode_into_libs=$hardcode_into_libs
13223 # Compile-time system search path for libraries.
13224 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13226 # Run-time system search path for libraries.
13227 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13229 # Whether dlopen is supported.
13230 dlopen_support=$enable_dlopen
13232 # Whether dlopen of programs is supported.
13233 dlopen_self=$enable_dlopen_self
13235 # Whether dlopen of statically linked programs is supported.
13236 dlopen_self_static=$enable_dlopen_self_static
13238 # Commands to strip libraries.
13239 old_striplib=$lt_old_striplib
13240 striplib=$lt_striplib
13243 # The linker used to build libraries.
13246 # How to create reloadable object files.
13247 reload_flag=$lt_reload_flag
13248 reload_cmds=$lt_reload_cmds
13250 # Commands used to build an old-style archive.
13251 old_archive_cmds=$lt_old_archive_cmds
13253 # A language specific compiler.
13256 # Is the compiler the GNU compiler?
13259 # Compiler flag to turn off builtin functions.
13260 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13262 # Additional compiler flags for building library objects.
13263 pic_flag=$lt_lt_prog_compiler_pic
13265 # How to pass a linker flag through the compiler.
13266 wl=$lt_lt_prog_compiler_wl
13268 # Compiler flag to prevent dynamic linking.
13269 link_static_flag=$lt_lt_prog_compiler_static
13271 # Does compiler simultaneously support -c and -o options?
13272 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13274 # Whether or not to add -lc for building shared libraries.
13275 build_libtool_need_lc=$archive_cmds_need_lc
13277 # Whether or not to disallow shared libs when runtime libs are static.
13278 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13280 # Compiler flag to allow reflexive dlopens.
13281 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13283 # Compiler flag to generate shared objects directly from archives.
13284 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13286 # Whether the compiler copes with passing no objects directly.
13287 compiler_needs_object=$lt_compiler_needs_object
13289 # Create an old-style archive from a shared archive.
13290 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13292 # Create a temporary old-style archive to link instead of a shared archive.
13293 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13295 # Commands used to build a shared archive.
13296 archive_cmds=$lt_archive_cmds
13297 archive_expsym_cmds=$lt_archive_expsym_cmds
13299 # Commands used to build a loadable module if different from building
13300 # a shared archive.
13301 module_cmds=$lt_module_cmds
13302 module_expsym_cmds=$lt_module_expsym_cmds
13304 # Whether we are building with GNU ld or not.
13305 with_gnu_ld=$lt_with_gnu_ld
13307 # Flag that allows shared libraries with undefined symbols to be built.
13308 allow_undefined_flag=$lt_allow_undefined_flag
13310 # Flag that enforces no undefined symbols.
13311 no_undefined_flag=$lt_no_undefined_flag
13313 # Flag to hardcode \$libdir into a binary during linking.
13314 # This must work even if \$libdir does not exist
13315 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13317 # Whether we need a single "-rpath" flag with a separated argument.
13318 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13320 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13321 # DIR into the resulting binary.
13322 hardcode_direct=$hardcode_direct
13324 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13325 # DIR into the resulting binary and the resulting library dependency is
13326 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13327 # library is relocated.
13328 hardcode_direct_absolute=$hardcode_direct_absolute
13330 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13331 # into the resulting binary.
13332 hardcode_minus_L=$hardcode_minus_L
13334 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13335 # into the resulting binary.
13336 hardcode_shlibpath_var=$hardcode_shlibpath_var
13338 # Set to "yes" if building a shared library automatically hardcodes DIR
13339 # into the library and all subsequent libraries and executables linked
13341 hardcode_automatic=$hardcode_automatic
13343 # Set to yes if linker adds runtime paths of dependent libraries
13344 # to runtime path list.
13345 inherit_rpath=$inherit_rpath
13347 # Whether libtool must link a program against all its dependency libraries.
13348 link_all_deplibs=$link_all_deplibs
13350 # Set to "yes" if exported symbols are required.
13351 always_export_symbols=$always_export_symbols
13353 # The commands to list exported symbols.
13354 export_symbols_cmds=$lt_export_symbols_cmds
13356 # Symbols that should not be listed in the preloaded symbols.
13357 exclude_expsyms=$lt_exclude_expsyms
13359 # Symbols that must always be exported.
13360 include_expsyms=$lt_include_expsyms
13362 # Commands necessary for linking programs (against libraries) with templates.
13363 prelink_cmds=$lt_prelink_cmds
13365 # Commands necessary for finishing linking programs.
13366 postlink_cmds=$lt_postlink_cmds
13368 # Specify filename containing input files.
13369 file_list_spec=$lt_file_list_spec
13371 # How to hardcode a shared library path into an executable.
13372 hardcode_action=$hardcode_action
13374 # ### END LIBTOOL CONFIG
13380 cat <<\_LT_EOF >> "$cfgfile"
13381 # AIX sometimes has problems with the GCC collect2 program. For some
13382 # reason, if we set the COLLECT_NAMES environment variable, the problems
13383 # vanish in a puff of smoke.
13384 if test "X${COLLECT_NAMES+set}" != Xset; then
13386 export COLLECT_NAMES
13393 ltmain="$ac_aux_dir/ltmain.sh"
13396 # We use sed instead of cat because bash on DJGPP gets confused if
13397 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13398 # text mode, it properly converts lines to CR/LF. This bash problem
13399 # is reportedly fixed, but why not run on old versions too?
13400 sed '$q' "$ltmain" >> "$cfgfile" \
13401 || (rm -f "$cfgfile"; exit 1)
13403 if test x"$xsi_shell" = xyes; then
13404 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13408 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13409 \ * ) func_dirname_result="${3}" ;;\
13411 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13412 && mv -f "$cfgfile.tmp" "$cfgfile" \
13413 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13414 test 0 -eq $? || _lt_function_replace_fail=:
13417 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13420 \ func_basename_result="${1##*/}"\
13421 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13422 && mv -f "$cfgfile.tmp" "$cfgfile" \
13423 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13424 test 0 -eq $? || _lt_function_replace_fail=:
13427 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13428 func_dirname_and_basename ()\
13431 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13432 \ * ) func_dirname_result="${3}" ;;\
13434 \ func_basename_result="${1##*/}"\
13435 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13436 && mv -f "$cfgfile.tmp" "$cfgfile" \
13437 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13438 test 0 -eq $? || _lt_function_replace_fail=:
13441 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13444 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13445 \ # positional parameters, so assign one to ordinary parameter first.\
13446 \ func_stripname_result=${3}\
13447 \ func_stripname_result=${func_stripname_result#"${1}"}\
13448 \ func_stripname_result=${func_stripname_result%"${2}"}\
13449 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13450 && mv -f "$cfgfile.tmp" "$cfgfile" \
13451 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13452 test 0 -eq $? || _lt_function_replace_fail=:
13455 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13456 func_split_long_opt ()\
13458 \ func_split_long_opt_name=${1%%=*}\
13459 \ func_split_long_opt_arg=${1#*=}\
13460 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13461 && mv -f "$cfgfile.tmp" "$cfgfile" \
13462 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13463 test 0 -eq $? || _lt_function_replace_fail=:
13466 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13467 func_split_short_opt ()\
13469 \ func_split_short_opt_arg=${1#??}\
13470 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13471 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13472 && mv -f "$cfgfile.tmp" "$cfgfile" \
13473 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13474 test 0 -eq $? || _lt_function_replace_fail=:
13477 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13481 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13482 \ *) func_lo2o_result=${1} ;;\
13484 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13485 && mv -f "$cfgfile.tmp" "$cfgfile" \
13486 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13487 test 0 -eq $? || _lt_function_replace_fail=:
13490 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13493 func_xform_result=${1%.*}.lo\
13494 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13495 && mv -f "$cfgfile.tmp" "$cfgfile" \
13496 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13497 test 0 -eq $? || _lt_function_replace_fail=:
13500 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13503 func_arith_result=$(( $* ))\
13504 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13505 && mv -f "$cfgfile.tmp" "$cfgfile" \
13506 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13507 test 0 -eq $? || _lt_function_replace_fail=:
13510 sed -e '/^func_len ()$/,/^} # func_len /c\
13513 func_len_result=${#1}\
13514 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13515 && mv -f "$cfgfile.tmp" "$cfgfile" \
13516 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13517 test 0 -eq $? || _lt_function_replace_fail=:
13521 if test x"$lt_shell_append" = xyes; then
13522 sed -e '/^func_append ()$/,/^} # func_append /c\
13525 eval "${1}+=\\${2}"\
13526 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13527 && mv -f "$cfgfile.tmp" "$cfgfile" \
13528 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13529 test 0 -eq $? || _lt_function_replace_fail=:
13532 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13533 func_append_quoted ()\
13535 \ func_quote_for_eval "${2}"\
13536 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13537 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13538 && mv -f "$cfgfile.tmp" "$cfgfile" \
13539 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13540 test 0 -eq $? || _lt_function_replace_fail=:
13543 # Save a `func_append' function call where possible by direct use of '+='
13544 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13545 && mv -f "$cfgfile.tmp" "$cfgfile" \
13546 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13547 test 0 -eq $? || _lt_function_replace_fail=:
13549 # Save a `func_append' function call even when '+=' is not available
13550 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13551 && mv -f "$cfgfile.tmp" "$cfgfile" \
13552 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13553 test 0 -eq $? || _lt_function_replace_fail=:
13556 if test x"$_lt_function_replace_fail" = x":"; then
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13558 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13562 mv -f "$cfgfile" "$ofile" ||
13563 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13574 ac_clean_files=$ac_clean_files_save
13576 test $ac_write_fail = 0 ||
13577 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13580 # configure is writing to config.log, and then calls config.status.
13581 # config.status does its own redirection, appending to config.log.
13582 # Unfortunately, on DOS this fails, as config.log is still kept open
13583 # by configure, so config.status won't be able to write to it; its
13584 # output is simply discarded. So we exec the FD to /dev/null,
13585 # effectively closing config.log, so it can be properly (re)opened and
13586 # appended to by config.status. When coming back to configure, we
13587 # need to make the FD available again.
13588 if test "$no_create" != yes; then
13590 ac_config_status_args=
13591 test "$silent" = yes &&
13592 ac_config_status_args="$ac_config_status_args --quiet"
13594 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13596 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13597 # would make configure fail if this is the last instruction.
13598 $ac_cs_success || as_fn_exit 1
13600 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13602 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}