2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for vlib 1.1.
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.
589 PACKAGE_TARNAME='vlib'
590 PACKAGE_VERSION='1.1'
591 PACKAGE_STRING='vlib 1.1'
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
698 INSTALL_STRIP_PROGRAM
740 program_transform_name
753 enable_option_checking
755 enable_dependency_tracking
766 ac_precious_vars='build_alias
777 # Initialize some variables set by options.
779 ac_init_version=false
780 ac_unrecognized_opts=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
791 program_transform_name=s,x,x,
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir='${exec_prefix}/bin'
806 sbindir='${exec_prefix}/sbin'
807 libexecdir='${exec_prefix}/libexec'
808 datarootdir='${prefix}/share'
809 datadir='${datarootdir}'
810 sysconfdir='${prefix}/etc'
811 sharedstatedir='${prefix}/com'
812 localstatedir='${prefix}/var'
813 includedir='${prefix}/include'
814 oldincludedir='/usr/include'
815 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
816 infodir='${datarootdir}/info'
821 libdir='${exec_prefix}/lib'
822 localedir='${datarootdir}/locale'
823 mandir='${datarootdir}/man'
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\$ac_option
837 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853 -build | --build | --buil | --bui | --bu)
854 ac_prev=build_alias ;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev=cache_file ;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file=$ac_optarg ;;
866 cache_file=config.cache ;;
868 -datadir | --datadir | --datadi | --datad)
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev=datarootdir ;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884 as_fn_error $? "invalid feature name: $ac_useropt"
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
894 eval enable_$ac_useropt=no ;;
896 -docdir | --docdir | --docdi | --doc | --do)
898 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
901 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
903 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
906 -enable-* | --enable-*)
907 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910 as_fn_error $? "invalid feature name: $ac_useropt"
911 ac_useropt_orig=$ac_useropt
912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep=', ';;
920 eval enable_$ac_useropt=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
935 -help | --help | --hel | --he | -h)
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
995 # Obsolete; use --without-fp.
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1084 -site=* | --site=* | --sit=*)
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1111 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114 as_fn_error $? "invalid package name: $ac_useropt"
1115 ac_useropt_orig=$ac_useropt
1116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep=', ';;
1124 eval with_$ac_useropt=\$ac_optarg ;;
1126 -without-* | --without-*)
1127 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130 as_fn_error $? "invalid package name: $ac_useropt"
1131 ac_useropt_orig=$ac_useropt
1132 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep=', ';;
1140 eval with_$ac_useropt=no ;;
1143 # Obsolete; use --with-x.
1146 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1147 | --x-incl | --x-inc | --x-in | --x-i)
1148 ac_prev=x_includes ;;
1149 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1150 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1151 x_includes=$ac_optarg ;;
1153 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1154 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1155 ac_prev=x_libraries ;;
1156 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1157 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1158 x_libraries=$ac_optarg ;;
1160 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1165 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' | [0-9]* | *[!_$as_cr_alnum]* )
1169 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1185 if test -n "$ac_prev"; then
1186 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error $? "missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val=\$$ac_var
1205 # Remove trailing slashes.
1208 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$]* | ?:[\\/]* ) continue;;
1214 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1216 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x; then
1228 if test "x$build_alias" = x; then
1229 cross_compiling=maybe
1230 elif test "x$build_alias" != "x$host_alias"; then
1236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1238 test "$silent" = yes && exec 6>/dev/null
1241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di=`ls -di .` &&
1243 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1244 as_fn_error $? "working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 as_fn_error $? "pwd does not report name of working directory"
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1281 ac_srcdir_defaulted=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1285 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 for ac_var in $ac_precious_vars; do
1302 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1303 eval ac_env_${ac_var}_value=\$${ac_var}
1304 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1305 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1315 \`configure' configures vlib 1.1 to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking ...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/vlib]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1373 --program-prefix=PREFIX prepend PREFIX to installed program names
1374 --program-suffix=SUFFIX append SUFFIX to installed program names
1375 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1378 --build=BUILD configure for building on BUILD [guessed]
1379 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1383 if test -n "$ac_init_help"; then
1384 case $ac_init_help in
1385 short | recursive ) echo "Configuration of vlib 1.1:";;
1390 --disable-option-checking ignore unrecognized --enable/--with options
1391 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1392 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1393 --enable-silent-rules less verbose build output (undo: "make V=1")
1394 --disable-silent-rules verbose build output (undo: "make V=0")
1395 --enable-dependency-tracking
1396 do not reject slow dependency extractors
1397 --disable-dependency-tracking
1398 speeds up one-time build
1399 --enable-shared[=PKGS] build shared libraries [default=yes]
1400 --enable-static[=PKGS] build static libraries [default=yes]
1401 --enable-fast-install[=PKGS]
1402 optimize for fast installation [default=yes]
1403 --disable-libtool-lock avoid locking (might break parallel builds)
1406 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1407 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1408 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1410 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1411 --with-sysroot=DIR Search for dependent libraries within DIR
1412 (or the compiler's sysroot if not specified).
1413 --with-dpdk Use the Intel dpdk
1414 --with-pre-data Set buffer rewrite space
1416 Some influential environment variables:
1417 CC C compiler command
1418 CFLAGS C compiler flags
1419 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1420 nonstandard directory <lib dir>
1421 LIBS libraries to pass to the linker, e.g. -l<library>
1422 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1423 you have headers in a nonstandard directory <include dir>
1426 Use these variables to override the choices made by `configure' or to help
1427 it to find libraries and programs with nonstandard names/locations.
1429 Report bugs to the package provider.
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1437 test -d "$ac_dir" ||
1438 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1459 .) # We are building in place.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1493 generated by GNU Autoconf 2.69
1495 Copyright (C) 2012 Free Software Foundation, Inc.
1496 This configure script is free software; the Free Software Foundation
1497 gives unlimited permission to copy, distribute and modify it.
1502 ## ------------------------ ##
1503 ## Autoconf initialization. ##
1504 ## ------------------------ ##
1506 # ac_fn_c_try_compile LINENO
1507 # --------------------------
1508 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1509 ac_fn_c_try_compile ()
1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512 rm -f conftest.$ac_objext
1513 if { { ac_try="$ac_compile"
1515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516 *) ac_try_echo=$ac_try;;
1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520 (eval "$ac_compile") 2>conftest.err
1522 if test -s conftest.err; then
1523 grep -v '^ *+' conftest.err >conftest.er1
1524 cat conftest.er1 >&5
1525 mv -f conftest.er1 conftest.err
1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528 test $ac_status = 0; } && {
1529 test -z "$ac_c_werror_flag" ||
1530 test ! -s conftest.err
1531 } && test -s conftest.$ac_objext; then :
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540 as_fn_set_status $ac_retval
1542 } # ac_fn_c_try_compile
1544 # ac_fn_c_try_link LINENO
1545 # -----------------------
1546 # Try to link conftest.$ac_ext, and return whether this succeeded.
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 rm -f conftest.$ac_objext conftest$ac_exeext
1551 if { { ac_try="$ac_link"
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_link") 2>conftest.err
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest$ac_exeext && {
1570 test "$cross_compiling" = yes ||
1571 test -x conftest$ac_exeext
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1580 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1581 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1582 # interfere with the next link command; also delete a directory that is
1583 # left behind by Apple's compiler. We do this before executing the actions.
1584 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586 as_fn_set_status $ac_retval
1588 } # ac_fn_c_try_link
1590 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1591 # -------------------------------------------------------
1592 # Tests whether HEADER exists and can be compiled using the include files in
1593 # INCLUDES, setting the cache variable VAR accordingly.
1594 ac_fn_c_check_header_compile ()
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598 $as_echo_n "checking for $2... " >&6; }
1599 if eval \${$3+:} false; then :
1600 $as_echo_n "(cached) " >&6
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1607 if ac_fn_c_try_compile "$LINENO"; then :
1612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1616 $as_echo "$ac_res" >&6; }
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 } # ac_fn_c_check_header_compile
1621 # ac_fn_c_try_cpp LINENO
1622 # ----------------------
1623 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { { ac_try="$ac_cpp conftest.$ac_ext"
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } > conftest.i && {
1643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644 test ! -s conftest.err
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1658 # ac_fn_c_try_run LINENO
1659 # ----------------------
1660 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1661 # that executables *can* be run.
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 if { { ac_try="$ac_link"
1667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_link") 2>&5
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1676 { { case "(($ac_try" in
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_try") 2>&5
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; }; }; then :
1688 $as_echo "$as_me: program exited with status $ac_status" >&5
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1692 ac_retval=$ac_status
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1700 # ac_fn_c_check_func LINENO FUNC VAR
1701 # ----------------------------------
1702 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1703 ac_fn_c_check_func ()
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if eval \${$3+:} false; then :
1709 $as_echo_n "(cached) " >&6
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1715 #define $2 innocuous_$2
1717 /* System header to define __stub macros and hopefully few prototypes,
1718 which can conflict with char $2 (); below.
1719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1720 <limits.h> exists even on freestanding compilers. */
1723 # include <limits.h>
1725 # include <assert.h>
1730 /* Override any GCC internal prototype to avoid an error.
1731 Use char because int might match the return type of a GCC
1732 builtin and then its argument prototype would still apply. */
1737 /* The GNU C library defines this for functions which it implements
1738 to always fail with ENOSYS. Some functions are actually named
1739 something starting with __ and the normal name is an alias. */
1740 #if defined __stub_$2 || defined __stub___$2
1752 if ac_fn_c_try_link "$LINENO"; then :
1757 rm -f core conftest.err conftest.$ac_objext \
1758 conftest$ac_exeext conftest.$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 } # ac_fn_c_check_func
1766 cat >config.log <<_ACEOF
1767 This file contains any messages produced by compilers while
1768 running configure, to aid debugging if configure makes a mistake.
1770 It was created by vlib $as_me 1.1, which was
1771 generated by GNU Autoconf 2.69. Invocation command line was
1783 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1784 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1785 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1786 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1787 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1789 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1790 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1792 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1793 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1794 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1795 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1796 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1797 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1798 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1806 test -z "$as_dir" && as_dir=.
1807 $as_echo "PATH: $as_dir"
1823 # Keep a trace of the command line.
1824 # Strip out --no-create and --no-recursion so they do not pile up.
1825 # Strip out --silent because we don't want to record it for future runs.
1826 # Also quote any args containing shell meta-characters.
1827 # Make two passes to allow for proper duplicate-argument suppression.
1831 ac_must_keep_next=false
1837 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1838 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1839 | -silent | --silent | --silen | --sile | --sil)
1842 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1845 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1847 as_fn_append ac_configure_args1 " '$ac_arg'"
1848 if test $ac_must_keep_next = true; then
1849 ac_must_keep_next=false # Got value, back to normal.
1852 *=* | --config-cache | -C | -disable-* | --disable-* \
1853 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1854 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1855 | -with-* | --with-* | -without-* | --without-* | --x)
1856 case "$ac_configure_args0 " in
1857 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1860 -* ) ac_must_keep_next=true ;;
1863 as_fn_append ac_configure_args " '$ac_arg'"
1868 { ac_configure_args0=; unset ac_configure_args0;}
1869 { ac_configure_args1=; unset ac_configure_args1;}
1871 # When interrupted or exit'd, cleanup temporary files, and complete
1872 # config.log. We remove comments because anyway the quotes in there
1873 # would cause problems or look ugly.
1874 # WARNING: Use '\'' to represent an apostrophe within the trap.
1875 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1876 trap 'exit_status=$?
1877 # Save into config.log some information that might help in debugging.
1881 $as_echo "## ---------------- ##
1882 ## Cache variables. ##
1883 ## ---------------- ##"
1885 # The following way of writing the cache mishandles newlines in values,
1887 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1888 eval ac_val=\$$ac_var
1892 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1893 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1896 _ | IFS | as_nl) ;; #(
1897 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1898 *) { eval $ac_var=; unset $ac_var;} ;;
1903 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1904 *${as_nl}ac_space=\ *)
1906 "s/'\''/'\''\\\\'\'''\''/g;
1907 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1910 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1917 $as_echo "## ----------------- ##
1918 ## Output variables. ##
1919 ## ----------------- ##"
1921 for ac_var in $ac_subst_vars
1923 eval ac_val=\$$ac_var
1925 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1927 $as_echo "$ac_var='\''$ac_val'\''"
1931 if test -n "$ac_subst_files"; then
1932 $as_echo "## ------------------- ##
1933 ## File substitutions. ##
1934 ## ------------------- ##"
1936 for ac_var in $ac_subst_files
1938 eval ac_val=\$$ac_var
1940 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1942 $as_echo "$ac_var='\''$ac_val'\''"
1947 if test -s confdefs.h; then
1948 $as_echo "## ----------- ##
1955 test "$ac_signal" != 0 &&
1956 $as_echo "$as_me: caught signal $ac_signal"
1957 $as_echo "$as_me: exit $exit_status"
1959 rm -f core *.core core.conftest.* &&
1960 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1963 for ac_signal in 1 2 13 15; do
1964 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1968 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1969 rm -f -r conftest* confdefs.h
1971 $as_echo "/* confdefs.h */" > confdefs.h
1973 # Predefined preprocessor variables.
1975 cat >>confdefs.h <<_ACEOF
1976 #define PACKAGE_NAME "$PACKAGE_NAME"
1979 cat >>confdefs.h <<_ACEOF
1980 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1983 cat >>confdefs.h <<_ACEOF
1984 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1987 cat >>confdefs.h <<_ACEOF
1988 #define PACKAGE_STRING "$PACKAGE_STRING"
1991 cat >>confdefs.h <<_ACEOF
1992 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1995 cat >>confdefs.h <<_ACEOF
1996 #define PACKAGE_URL "$PACKAGE_URL"
2000 # Let the site file select an alternate cache file if it wants to.
2001 # Prefer an explicitly selected file to automatically selected ones.
2004 if test -n "$CONFIG_SITE"; then
2005 # We do not want a PATH search for config.site.
2006 case $CONFIG_SITE in #((
2007 -*) ac_site_file1=./$CONFIG_SITE;;
2008 */*) ac_site_file1=$CONFIG_SITE;;
2009 *) ac_site_file1=./$CONFIG_SITE;;
2011 elif test "x$prefix" != xNONE; then
2012 ac_site_file1=$prefix/share/config.site
2013 ac_site_file2=$prefix/etc/config.site
2015 ac_site_file1=$ac_default_prefix/share/config.site
2016 ac_site_file2=$ac_default_prefix/etc/config.site
2018 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2020 test "x$ac_site_file" = xNONE && continue
2021 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2023 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2024 sed 's/^/| /' "$ac_site_file" >&5
2026 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2028 as_fn_error $? "failed to load site script $ac_site_file
2029 See \`config.log' for more details" "$LINENO" 5; }
2033 if test -r "$cache_file"; then
2034 # Some versions of bash will fail to source /dev/null (special files
2035 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2036 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2038 $as_echo "$as_me: loading cache $cache_file" >&6;}
2040 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2041 *) . "./$cache_file";;
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2046 $as_echo "$as_me: creating cache $cache_file" >&6;}
2050 # Check that the precious variables saved in the cache have kept the same
2052 ac_cache_corrupted=false
2053 for ac_var in $ac_precious_vars; do
2054 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2055 eval ac_new_set=\$ac_env_${ac_var}_set
2056 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2057 eval ac_new_val=\$ac_env_${ac_var}_value
2058 case $ac_old_set,$ac_new_set in
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2061 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2062 ac_cache_corrupted=: ;;
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2065 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2066 ac_cache_corrupted=: ;;
2069 if test "x$ac_old_val" != "x$ac_new_val"; then
2070 # differences in whitespace do not lead to failure.
2071 ac_old_val_w=`echo x $ac_old_val`
2072 ac_new_val_w=`echo x $ac_new_val`
2073 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2075 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2076 ac_cache_corrupted=:
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2079 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2080 eval $ac_var=\$ac_old_val
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2083 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2085 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2088 # Pass precious variables to config.status.
2089 if test "$ac_new_set" = set; then
2091 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2092 *) ac_arg=$ac_var=$ac_new_val ;;
2094 case " $ac_configure_args " in
2095 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2096 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2100 if $ac_cache_corrupted; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2104 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2105 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2107 ## -------------------- ##
2108 ## Main body of script. ##
2109 ## -------------------- ##
2112 ac_cpp='$CPP $CPPFLAGS'
2113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2118 am__api_version='1.14'
2121 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2122 if test -f "$ac_dir/install-sh"; then
2124 ac_install_sh="$ac_aux_dir/install-sh -c"
2126 elif test -f "$ac_dir/install.sh"; then
2128 ac_install_sh="$ac_aux_dir/install.sh -c"
2130 elif test -f "$ac_dir/shtool"; then
2132 ac_install_sh="$ac_aux_dir/shtool install -c"
2136 if test -z "$ac_aux_dir"; then
2137 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2140 # These three variables are undocumented and unsupported,
2141 # and are intended to be withdrawn in a future Autoconf release.
2142 # They can cause serious problems if a builder's source tree is in a directory
2143 # whose full name contains unusual characters.
2144 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2145 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2146 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2149 # Find a good install program. We prefer a C program (faster),
2150 # so one script is as good as another. But avoid the broken or
2151 # incompatible versions:
2152 # SysV /etc/install, /usr/sbin/install
2153 # SunOS /usr/etc/install
2154 # IRIX /sbin/install
2156 # AmigaOS /C/install, which installs bootblocks on floppy discs
2157 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2158 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2159 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2160 # OS/2's system install, which has a completely different semantic
2161 # ./install, which can be erroneously created by make from ./install.sh.
2162 # Reject install programs that cannot install multiple files.
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2164 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2165 if test -z "$INSTALL"; then
2166 if ${ac_cv_path_install+:} false; then :
2167 $as_echo_n "(cached) " >&6
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir=.
2174 # Account for people who put trailing slashes in PATH elements.
2175 case $as_dir/ in #((
2176 ./ | .// | /[cC]/* | \
2177 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2178 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2181 # OSF1 and SCO ODT 3.0 have their own names for install.
2182 # Don't use installbsd from OSF since it installs stuff as root
2184 for ac_prog in ginstall scoinst install; do
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2187 if test $ac_prog = install &&
2188 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2189 # AIX install. It has an incompatible calling convention.
2191 elif test $ac_prog = install &&
2192 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2193 # program-specific install script used by HP pwplus--don't use.
2196 rm -rf conftest.one conftest.two conftest.dir
2197 echo one > conftest.one
2198 echo two > conftest.two
2200 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2201 test -s conftest.one && test -s conftest.two &&
2202 test -s conftest.dir/conftest.one &&
2203 test -s conftest.dir/conftest.two
2205 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2218 rm -rf conftest.one conftest.two conftest.dir
2221 if test "${ac_cv_path_install+set}" = set; then
2222 INSTALL=$ac_cv_path_install
2224 # As a last resort, use the slow shell script. Don't cache a
2225 # value for INSTALL within a source directory, because that will
2226 # break other packages using the cache if that directory is
2227 # removed, or if the value is a relative name.
2228 INSTALL=$ac_install_sh
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2232 $as_echo "$INSTALL" >&6; }
2234 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2235 # It thinks the first close brace ends the variable substitution.
2236 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2238 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2240 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2243 $as_echo_n "checking whether build environment is sane... " >&6; }
2244 # Reject unsafe characters in $srcdir or the absolute working directory
2245 # name. Accept space and tab only in the latter.
2249 *[\\\"\#\$\&\'\`$am_lf]*)
2250 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2253 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2254 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2257 # Do 'set' in a subshell so we don't clobber the current shell's
2258 # arguments. Must try -L first in case configure is actually a
2259 # symlink; some systems play weird games with the mod time of symlinks
2260 # (eg FreeBSD returns the mod time of the symlink's containing
2264 for am_try in 1 2; do
2265 echo "timestamp, slept: $am_has_slept" > conftest.file
2266 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2267 if test "$*" = "X"; then
2269 set X `ls -t "$srcdir/configure" conftest.file`
2271 if test "$*" != "X $srcdir/configure conftest.file" \
2272 && test "$*" != "X conftest.file $srcdir/configure"; then
2274 # If neither matched, then we have a broken ls. This can happen
2275 # if, for instance, CONFIG_SHELL is bash and it inherits a
2276 # broken ls alias from the environment. This has actually
2277 # happened. Such a system could not be considered "sane".
2278 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2279 alias in your environment" "$LINENO" 5
2281 if test "$2" = conftest.file || test $am_try -eq 2; then
2288 test "$2" = conftest.file
2294 as_fn_error $? "newly created file is older than distributed files!
2295 Check your system clock" "$LINENO" 5
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2298 $as_echo "yes" >&6; }
2299 # If we didn't sleep, we still need to ensure time stamps of config.status and
2300 # generated files are strictly newer.
2302 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2309 test "$program_prefix" != NONE &&
2310 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2311 # Use a double $ so make ignores it.
2312 test "$program_suffix" != NONE &&
2313 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2314 # Double any \ or $.
2315 # By default was `s,x,x', remove it if useless.
2316 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2317 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2319 # expand $ac_aux_dir to an absolute path
2320 am_aux_dir=`cd $ac_aux_dir && pwd`
2322 if test x"${MISSING+set}" != xset; then
2325 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2327 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2330 # Use eval to expand $SHELL
2331 if eval "$MISSING --is-lightweight"; then
2332 am_missing_run="$MISSING "
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2336 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2339 if test x"${install_sh}" != xset; then
2342 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2344 install_sh="\${SHELL} $am_aux_dir/install-sh"
2348 # Installed binaries are usually stripped using 'strip' when the user
2349 # run "make install-strip". However 'strip' might not be the right
2350 # tool to use in cross-compilation environments, therefore Automake
2351 # will honor the 'STRIP' environment variable to overrule this program.
2352 if test "$cross_compiling" != no; then
2353 if test -n "$ac_tool_prefix"; then
2354 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2355 set dummy ${ac_tool_prefix}strip; ac_word=$2
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2357 $as_echo_n "checking for $ac_word... " >&6; }
2358 if ${ac_cv_prog_STRIP+:} false; then :
2359 $as_echo_n "(cached) " >&6
2361 if test -n "$STRIP"; then
2362 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir=.
2369 for ac_exec_ext in '' $ac_executable_extensions; do
2370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2371 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 STRIP=$ac_cv_prog_STRIP
2382 if test -n "$STRIP"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2384 $as_echo "$STRIP" >&6; }
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2387 $as_echo "no" >&6; }
2392 if test -z "$ac_cv_prog_STRIP"; then
2394 # Extract the first word of "strip", so it can be a program name with args.
2395 set dummy strip; ac_word=$2
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2397 $as_echo_n "checking for $ac_word... " >&6; }
2398 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2399 $as_echo_n "(cached) " >&6
2401 if test -n "$ac_ct_STRIP"; then
2402 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir=.
2409 for ac_exec_ext in '' $ac_executable_extensions; do
2410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2411 ac_cv_prog_ac_ct_STRIP="strip"
2412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2422 if test -n "$ac_ct_STRIP"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2424 $as_echo "$ac_ct_STRIP" >&6; }
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2427 $as_echo "no" >&6; }
2430 if test "x$ac_ct_STRIP" = x; then
2433 case $cross_compiling:$ac_tool_warned in
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2437 ac_tool_warned=yes ;;
2442 STRIP="$ac_cv_prog_STRIP"
2446 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2449 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2450 if test -z "$MKDIR_P"; then
2451 if ${ac_cv_path_mkdir+:} false; then :
2452 $as_echo_n "(cached) " >&6
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2458 test -z "$as_dir" && as_dir=.
2459 for ac_prog in mkdir gmkdir; do
2460 for ac_exec_ext in '' $ac_executable_extensions; do
2461 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2462 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2463 'mkdir (GNU coreutils) '* | \
2464 'mkdir (coreutils) '* | \
2465 'mkdir (fileutils) '4.1*)
2466 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2476 test -d ./--version && rmdir ./--version
2477 if test "${ac_cv_path_mkdir+set}" = set; then
2478 MKDIR_P="$ac_cv_path_mkdir -p"
2480 # As a last resort, use the slow shell script. Don't cache a
2481 # value for MKDIR_P within a source directory, because that will
2482 # break other packages using the cache if that directory is
2483 # removed, or if the value is a relative name.
2484 MKDIR_P="$ac_install_sh -d"
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2488 $as_echo "$MKDIR_P" >&6; }
2490 for ac_prog in gawk mawk nawk awk
2492 # Extract the first word of "$ac_prog", so it can be a program name with args.
2493 set dummy $ac_prog; ac_word=$2
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2495 $as_echo_n "checking for $ac_word... " >&6; }
2496 if ${ac_cv_prog_AWK+:} false; then :
2497 $as_echo_n "(cached) " >&6
2499 if test -n "$AWK"; then
2500 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506 test -z "$as_dir" && as_dir=.
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2509 ac_cv_prog_AWK="$ac_prog"
2510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 if test -n "$AWK"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2522 $as_echo "$AWK" >&6; }
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 $as_echo "no" >&6; }
2529 test -n "$AWK" && break
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2533 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2535 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2536 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2537 $as_echo_n "(cached) " >&6
2539 cat >conftest.make <<\_ACEOF
2542 @echo '@@@%%%=$(MAKE)=@@@%%%'
2544 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2545 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2547 eval ac_cv_prog_make_${ac_make}_set=yes;;
2549 eval ac_cv_prog_make_${ac_make}_set=no;;
2553 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2555 $as_echo "yes" >&6; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2559 $as_echo "no" >&6; }
2560 SET_MAKE="MAKE=${MAKE-make}"
2563 rm -rf .tst 2>/dev/null
2564 mkdir .tst 2>/dev/null
2565 if test -d .tst; then
2570 rmdir .tst 2>/dev/null
2572 # Check whether --enable-silent-rules was given.
2573 if test "${enable_silent_rules+set}" = set; then :
2574 enableval=$enable_silent_rules;
2577 case $enable_silent_rules in # (((
2578 yes) AM_DEFAULT_VERBOSITY=0;;
2579 no) AM_DEFAULT_VERBOSITY=1;;
2580 *) AM_DEFAULT_VERBOSITY=1;;
2582 am_make=${MAKE-make}
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2584 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2585 if ${am_cv_make_support_nested_variables+:} false; then :
2586 $as_echo_n "(cached) " >&6
2588 if $as_echo 'TRUE=$(BAR$(V))
2594 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2595 am_cv_make_support_nested_variables=yes
2597 am_cv_make_support_nested_variables=no
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2601 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2602 if test $am_cv_make_support_nested_variables = yes; then
2604 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2606 AM_V=$AM_DEFAULT_VERBOSITY
2607 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2611 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2612 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2613 # is not polluted with repeated "-I."
2614 am__isrc=' -I$(srcdir)'
2615 # test to see if srcdir already configured
2616 if test -f $srcdir/config.status; then
2617 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2621 # test whether we have cygpath
2622 if test -z "$CYGPATH_W"; then
2623 if (cygpath --version) >/dev/null 2>/dev/null; then
2624 CYGPATH_W='cygpath -w'
2631 # Define the identity of the package.
2636 cat >>confdefs.h <<_ACEOF
2637 #define PACKAGE "$PACKAGE"
2641 cat >>confdefs.h <<_ACEOF
2642 #define VERSION "$VERSION"
2645 # Some tools Automake needs.
2647 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2650 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2653 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2656 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2659 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2661 # For better backward compatibility. To be removed once Automake 1.9.x
2662 # dies out for good. For more background, see:
2663 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2664 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2665 mkdir_p='$(MKDIR_P)'
2667 # We need awk for the "check" target. The system "awk" is bad on
2669 # Always define AMTAR for backward compatibility. Yes, it's still used
2670 # in the wild :-( We should find a proper way to deprecate it ...
2674 # We'll loop over all known methods to create a tar archive until one works.
2675 _am_tools='gnutar pax cpio none'
2677 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2684 # POSIX will say in a future version that running "rm -f" with no argument
2685 # is OK; and we want to be able to make that assumption in our Makefile
2686 # recipes. So use an aggressive probe to check that the usage we want is
2687 # actually supported "in the wild" to an acceptable degree.
2688 # See automake bug#10828.
2689 # To make any issue more visible, cause the running configure to be aborted
2690 # by default if the 'rm' program in use doesn't match our expectations; the
2691 # user can still override this though.
2692 if rm -f && rm -fr && rm -rf; then : OK; else
2696 Your 'rm' program seems unable to run without file operands specified
2697 on the command line, even when the '-f' option is present. This is contrary
2698 to the behaviour of most rm programs out there, and not conforming with
2699 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2701 Please tell bug-automake@gnu.org about your system, including the value
2702 of your $PATH and any error possibly output before this message. This
2703 can help us improve future automake versions.
2706 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2707 echo 'Configuration will proceed anyway, since you have set the' >&2
2708 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2712 Aborting the configuration process, to ensure you take notice of the issue.
2714 You can download and install GNU coreutils to get an 'rm' implementation
2715 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2717 If you want to complete the configuration process using your problematic
2718 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2719 to "yes", and re-run configure.
2722 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2725 # Check whether --enable-silent-rules was given.
2726 if test "${enable_silent_rules+set}" = set; then :
2727 enableval=$enable_silent_rules;
2730 case $enable_silent_rules in # (((
2731 yes) AM_DEFAULT_VERBOSITY=0;;
2732 no) AM_DEFAULT_VERBOSITY=1;;
2733 *) AM_DEFAULT_VERBOSITY=1;;
2735 am_make=${MAKE-make}
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2737 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2738 if ${am_cv_make_support_nested_variables+:} false; then :
2739 $as_echo_n "(cached) " >&6
2741 if $as_echo 'TRUE=$(BAR$(V))
2747 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2748 am_cv_make_support_nested_variables=yes
2750 am_cv_make_support_nested_variables=no
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2754 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2755 if test $am_cv_make_support_nested_variables = yes; then
2757 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2759 AM_V=$AM_DEFAULT_VERBOSITY
2760 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2766 ac_cpp='$CPP $CPPFLAGS'
2767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2770 if test -n "$ac_tool_prefix"; then
2771 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2772 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2774 $as_echo_n "checking for $ac_word... " >&6; }
2775 if ${ac_cv_prog_CC+:} false; then :
2776 $as_echo_n "(cached) " >&6
2778 if test -n "$CC"; then
2779 ac_cv_prog_CC="$CC" # Let the user override the test.
2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir=.
2786 for ac_exec_ext in '' $ac_executable_extensions; do
2787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2788 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 if test -n "$CC"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2801 $as_echo "$CC" >&6; }
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2804 $as_echo "no" >&6; }
2809 if test -z "$ac_cv_prog_CC"; then
2811 # Extract the first word of "gcc", so it can be a program name with args.
2812 set dummy gcc; ac_word=$2
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814 $as_echo_n "checking for $ac_word... " >&6; }
2815 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2816 $as_echo_n "(cached) " >&6
2818 if test -n "$ac_ct_CC"; then
2819 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir=.
2826 for ac_exec_ext in '' $ac_executable_extensions; do
2827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2828 ac_cv_prog_ac_ct_CC="gcc"
2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2839 if test -n "$ac_ct_CC"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2841 $as_echo "$ac_ct_CC" >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844 $as_echo "no" >&6; }
2847 if test "x$ac_ct_CC" = x; then
2850 case $cross_compiling:$ac_tool_warned in
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2854 ac_tool_warned=yes ;;
2862 if test -z "$CC"; then
2863 if test -n "$ac_tool_prefix"; then
2864 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2865 set dummy ${ac_tool_prefix}cc; ac_word=$2
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2867 $as_echo_n "checking for $ac_word... " >&6; }
2868 if ${ac_cv_prog_CC+:} false; then :
2869 $as_echo_n "(cached) " >&6
2871 if test -n "$CC"; then
2872 ac_cv_prog_CC="$CC" # Let the user override the test.
2874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2878 test -z "$as_dir" && as_dir=.
2879 for ac_exec_ext in '' $ac_executable_extensions; do
2880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2881 ac_cv_prog_CC="${ac_tool_prefix}cc"
2882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 if test -n "$CC"; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2894 $as_echo "$CC" >&6; }
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897 $as_echo "no" >&6; }
2903 if test -z "$CC"; then
2904 # Extract the first word of "cc", so it can be a program name with args.
2905 set dummy cc; ac_word=$2
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2907 $as_echo_n "checking for $ac_word... " >&6; }
2908 if ${ac_cv_prog_CC+:} false; then :
2909 $as_echo_n "(cached) " >&6
2911 if test -n "$CC"; then
2912 ac_cv_prog_CC="$CC" # Let the user override the test.
2915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir=.
2920 for ac_exec_ext in '' $ac_executable_extensions; do
2921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2922 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2923 ac_prog_rejected=yes
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 if test $ac_prog_rejected = yes; then
2935 # We found a bogon in the path, so make sure we never use it.
2936 set dummy $ac_cv_prog_CC
2938 if test $# != 0; then
2939 # We chose a different compiler from the bogus one.
2940 # However, it has the same basename, so the bogon will be chosen
2941 # first if we set CC to just the basename; use the full file name.
2943 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2949 if test -n "$CC"; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2951 $as_echo "$CC" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 $as_echo "no" >&6; }
2959 if test -z "$CC"; then
2960 if test -n "$ac_tool_prefix"; then
2961 for ac_prog in cl.exe
2963 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2966 $as_echo_n "checking for $ac_word... " >&6; }
2967 if ${ac_cv_prog_CC+:} false; then :
2968 $as_echo_n "(cached) " >&6
2970 if test -n "$CC"; then
2971 ac_cv_prog_CC="$CC" # Let the user override the test.
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2980 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 if test -n "$CC"; then
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2993 $as_echo "$CC" >&6; }
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996 $as_echo "no" >&6; }
3000 test -n "$CC" && break
3003 if test -z "$CC"; then
3005 for ac_prog in cl.exe
3007 # Extract the first word of "$ac_prog", so it can be a program name with args.
3008 set dummy $ac_prog; ac_word=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; }
3011 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3012 $as_echo_n "(cached) " >&6
3014 if test -n "$ac_ct_CC"; then
3015 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024 ac_cv_prog_ac_ct_CC="$ac_prog"
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3035 if test -n "$ac_ct_CC"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3037 $as_echo "$ac_ct_CC" >&6; }
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040 $as_echo "no" >&6; }
3044 test -n "$ac_ct_CC" && break
3047 if test "x$ac_ct_CC" = x; then
3050 case $cross_compiling:$ac_tool_warned in
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3054 ac_tool_warned=yes ;;
3063 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3065 as_fn_error $? "no acceptable C compiler found in \$PATH
3066 See \`config.log' for more details" "$LINENO" 5; }
3068 # Provide some information about the compiler.
3069 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3072 for ac_option in --version -v -V -qversion; do
3073 { { ac_try="$ac_compiler $ac_option >&5"
3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076 *) ac_try_echo=$ac_try;;
3078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3079 $as_echo "$ac_try_echo"; } >&5
3080 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3082 if test -s conftest.err; then
3084 ... rest of stderr output deleted ...
3085 10q' conftest.err >conftest.er1
3086 cat conftest.er1 >&5
3088 rm -f conftest.er1 conftest.err
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; }
3093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3104 ac_clean_files_save=$ac_clean_files
3105 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3106 # Try to create an executable without -o first, disregard a.out.
3107 # It will help us diagnose broken compilers, and finding out an intuition
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3110 $as_echo_n "checking whether the C compiler works... " >&6; }
3111 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3113 # The possible output files:
3114 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3117 for ac_file in $ac_files
3120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3121 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3126 if { { ac_try="$ac_link_default"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_link_default") 2>&5
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; }; then :
3137 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3138 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3139 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3140 # so that the user can short-circuit this test for compilers unknown to
3142 for ac_file in $ac_files ''
3144 test -f "$ac_file" || continue
3146 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3149 # We found the default executable, but exeext='' is most
3153 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3155 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3157 # We set ac_cv_exeext here because the later test for it is not
3158 # safe: cross compilers may not add the suffix if given an `-o'
3159 # argument, so we may need to know it at that point already.
3160 # Even if this section looks crufty: it has the advantage of
3167 test "$ac_cv_exeext" = no && ac_cv_exeext=
3172 if test -z "$ac_file"; then :
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3175 $as_echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.$ac_ext >&5
3178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3180 as_fn_error 77 "C compiler cannot create executables
3181 See \`config.log' for more details" "$LINENO" 5; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3184 $as_echo "yes" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3187 $as_echo_n "checking for C compiler default output file name... " >&6; }
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3189 $as_echo "$ac_file" >&6; }
3190 ac_exeext=$ac_cv_exeext
3192 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3193 ac_clean_files=$ac_clean_files_save
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3195 $as_echo_n "checking for suffix of executables... " >&6; }
3196 if { { ac_try="$ac_link"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3202 $as_echo "$ac_try_echo"; } >&5
3203 (eval "$ac_link") 2>&5
3205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3206 test $ac_status = 0; }; then :
3207 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3208 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3209 # work properly (i.e., refer to `conftest.exe'), while it won't with
3211 for ac_file in conftest.exe conftest conftest.*; do
3212 test -f "$ac_file" || continue
3214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3215 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3223 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3224 See \`config.log' for more details" "$LINENO" 5; }
3226 rm -f conftest conftest$ac_cv_exeext
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3228 $as_echo "$ac_cv_exeext" >&6; }
3230 rm -f conftest.$ac_ext
3231 EXEEXT=$ac_cv_exeext
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3239 FILE *f = fopen ("conftest.out", "w");
3240 return ferror (f) || fclose (f) != 0;
3246 ac_clean_files="$ac_clean_files conftest.out"
3247 # Check that the compiler produces executables we can run. If not, either
3248 # the compiler is broken, or we cross compile.
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3250 $as_echo_n "checking whether we are cross compiling... " >&6; }
3251 if test "$cross_compiling" != yes; then
3252 { { ac_try="$ac_link"
3254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3255 *) ac_try_echo=$ac_try;;
3257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3258 $as_echo "$ac_try_echo"; } >&5
3259 (eval "$ac_link") 2>&5
3261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3262 test $ac_status = 0; }
3263 if { ac_try='./conftest$ac_cv_exeext'
3264 { { case "(($ac_try" in
3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266 *) ac_try_echo=$ac_try;;
3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3269 $as_echo "$ac_try_echo"; } >&5
3270 (eval "$ac_try") 2>&5
3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3273 test $ac_status = 0; }; }; then
3276 if test "$cross_compiling" = maybe; then
3279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3281 as_fn_error $? "cannot run C compiled programs.
3282 If you meant to cross compile, use \`--host'.
3283 See \`config.log' for more details" "$LINENO" 5; }
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3288 $as_echo "$cross_compiling" >&6; }
3290 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3291 ac_clean_files=$ac_clean_files_save
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3293 $as_echo_n "checking for suffix of object files... " >&6; }
3294 if ${ac_cv_objext+:} false; then :
3295 $as_echo_n "(cached) " >&6
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3308 rm -f conftest.o conftest.obj
3309 if { { ac_try="$ac_compile"
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3315 $as_echo "$ac_try_echo"; } >&5
3316 (eval "$ac_compile") 2>&5
3318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3319 test $ac_status = 0; }; then :
3320 for ac_file in conftest.o conftest.obj conftest.*; do
3321 test -f "$ac_file" || continue;
3323 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3324 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3329 $as_echo "$as_me: failed program was:" >&5
3330 sed 's/^/| /' conftest.$ac_ext >&5
3332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3334 as_fn_error $? "cannot compute suffix of object files: cannot compile
3335 See \`config.log' for more details" "$LINENO" 5; }
3337 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3340 $as_echo "$ac_cv_objext" >&6; }
3341 OBJEXT=$ac_cv_objext
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3344 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3345 if ${ac_cv_c_compiler_gnu+:} false; then :
3346 $as_echo_n "(cached) " >&6
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3362 if ac_fn_c_try_compile "$LINENO"; then :
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3372 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3373 if test $ac_compiler_gnu = yes; then
3378 ac_test_CFLAGS=${CFLAGS+set}
3379 ac_save_CFLAGS=$CFLAGS
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3381 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3382 if ${ac_cv_prog_cc_g+:} false; then :
3383 $as_echo_n "(cached) " >&6
3385 ac_save_c_werror_flag=$ac_c_werror_flag
3386 ac_c_werror_flag=yes
3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3390 /* end confdefs.h. */
3400 if ac_fn_c_try_compile "$LINENO"; then :
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3415 if ac_fn_c_try_compile "$LINENO"; then :
3418 ac_c_werror_flag=$ac_save_c_werror_flag
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3431 if ac_fn_c_try_compile "$LINENO"; then :
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 ac_c_werror_flag=$ac_save_c_werror_flag
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3442 $as_echo "$ac_cv_prog_cc_g" >&6; }
3443 if test "$ac_test_CFLAGS" = set; then
3444 CFLAGS=$ac_save_CFLAGS
3445 elif test $ac_cv_prog_cc_g = yes; then
3446 if test "$GCC" = yes; then
3452 if test "$GCC" = yes; then
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3459 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3460 if ${ac_cv_prog_cc_c89+:} false; then :
3461 $as_echo_n "(cached) " >&6
3463 ac_cv_prog_cc_c89=no
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3470 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3471 struct buf { int x; };
3472 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3473 static char *e (p, i)
3479 static char *f (char * (*g) (char **, int), char **p, ...)
3484 s = g (p, va_arg (v,int));
3489 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3490 function prototypes and stuff, but not '\xHH' hex character constants.
3491 These don't provoke an error unfortunately, instead are silently treated
3492 as 'x'. The following induces an error, until -std is added to get
3493 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3494 array size at least. It's necessary to write '\x00'==0 to get something
3495 that's true only with -std. */
3496 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3498 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3499 inside strings and character constants. */
3501 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3503 int test (int i, double x);
3504 struct s1 {int (*f) (int a);};
3505 struct s2 {int (*f) (double a);};
3506 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3512 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3517 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3518 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3520 CC="$ac_save_CC $ac_arg"
3521 if ac_fn_c_try_compile "$LINENO"; then :
3522 ac_cv_prog_cc_c89=$ac_arg
3524 rm -f core conftest.err conftest.$ac_objext
3525 test "x$ac_cv_prog_cc_c89" != "xno" && break
3527 rm -f conftest.$ac_ext
3532 case "x$ac_cv_prog_cc_c89" in
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3535 $as_echo "none needed" >&6; } ;;
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3538 $as_echo "unsupported" >&6; } ;;
3540 CC="$CC $ac_cv_prog_cc_c89"
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3542 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3544 if test "x$ac_cv_prog_cc_c89" != xno; then :
3549 ac_cpp='$CPP $CPPFLAGS'
3550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555 ac_cpp='$CPP $CPPFLAGS'
3556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3560 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3561 if ${am_cv_prog_cc_c_o+:} false; then :
3562 $as_echo_n "(cached) " >&6
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3575 # Make sure it works both with $CC and with simple cc.
3576 # Following AC_PROG_CC_C_O, we do the test twice because some
3577 # compilers refuse to overwrite an existing .o file with -o,
3578 # though they will create one.
3579 am_cv_prog_cc_c_o=yes
3581 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3582 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); } \
3586 && test -f conftest2.$ac_objext; then
3589 am_cv_prog_cc_c_o=no
3593 rm -f core conftest*
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3597 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3598 if test "$am_cv_prog_cc_c_o" != yes; then
3599 # Losing compiler, so override with the script.
3600 # FIXME: It is wrong to rewrite CC.
3601 # But if we don't then we get into trouble of one sort or another.
3602 # A longer-term fix would be to have automake use am__CC in this case,
3603 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3604 CC="$am_aux_dir/compile $CC"
3607 ac_cpp='$CPP $CPPFLAGS'
3608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3612 DEPDIR="${am__leading_dot}deps"
3614 ac_config_commands="$ac_config_commands depfiles"
3617 am_make=${MAKE-make}
3618 cat > confinc << 'END'
3620 @echo this is the am__doit target
3623 # If we don't find an include directive, just comment out the code.
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3625 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3629 # First try GNU make style include.
3630 echo "include confinc" > confmf
3631 # Ignore all kinds of additional output from 'make'.
3632 case `$am_make -s -f confmf 2> /dev/null` in #(
3633 *the\ am__doit\ target*)
3639 # Now try BSD make style include.
3640 if test "$am__include" = "#"; then
3641 echo '.include "confinc"' > confmf
3642 case `$am_make -s -f confmf 2> /dev/null` in #(
3643 *the\ am__doit\ target*)
3644 am__include=.include
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3653 $as_echo "$_am_result" >&6; }
3654 rm -f confinc confmf
3656 # Check whether --enable-dependency-tracking was given.
3657 if test "${enable_dependency_tracking+set}" = set; then :
3658 enableval=$enable_dependency_tracking;
3661 if test "x$enable_dependency_tracking" != xno; then
3662 am_depcomp="$ac_aux_dir/depcomp"
3666 if test "x$enable_dependency_tracking" != xno; then
3676 depcc="$CC" am_compiler_list=
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3679 $as_echo_n "checking dependency style of $depcc... " >&6; }
3680 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3681 $as_echo_n "(cached) " >&6
3683 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3684 # We make a subdir and do the tests there. Otherwise we can end up
3685 # making bogus files that we don't know about and never remove. For
3686 # instance it was reported that on HP-UX the gcc test will end up
3687 # making a dummy file named 'D' -- because '-MD' means "put the output
3691 # Copy depcomp to subdir because otherwise we won't find it if we're
3692 # using a relative directory.
3693 cp "$am_depcomp" conftest.dir
3695 # We will build objects and dependencies in a subdirectory because
3696 # it helps to detect inapplicable dependency modes. For instance
3697 # both Tru64's cc and ICC support -MD to output dependencies as a
3698 # side effect of compilation, but ICC will put the dependencies in
3699 # the current directory while Tru64 will put them in the object
3703 am_cv_CC_dependencies_compiler_type=none
3704 if test "$am_compiler_list" = ""; then
3705 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3708 case " $depcc " in #(
3709 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3712 for depmode in $am_compiler_list; do
3713 # Setup a source with many dependencies, because some compilers
3714 # like to wrap large dependency lists on column 80 (with \), and
3715 # we should not choose a depcomp mode which is confused by this.
3717 # We need to recreate these files for each test, as the compiler may
3718 # overwrite some of them when testing with obscure command lines.
3719 # This happens at least with the AIX C compiler.
3721 for i in 1 2 3 4 5 6; do
3722 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3723 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3724 # Solaris 10 /bin/sh.
3725 echo '/* dummy */' > sub/conftst$i.h
3727 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3729 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3730 # mode. It turns out that the SunPro C++ compiler does not properly
3731 # handle '-M -o', and we need to detect this. Also, some Intel
3732 # versions had trouble with output in subdirs.
3733 am__obj=sub/conftest.${OBJEXT-o}
3734 am__minus_obj="-o $am__obj"
3737 # This depmode causes a compiler race in universal mode.
3738 test "$am__universal" = false || continue
3741 # After this tag, mechanisms are not by side-effect, so they'll
3742 # only be used when explicitly requested.
3743 if test "x$enable_dependency_tracking" = xyes; then
3749 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3750 # This compiler won't grok '-c -o', but also, the minuso test has
3751 # not run yet. These depmodes are late enough in the game, and
3752 # so weak that their functioning should not be impacted.
3753 am__obj=conftest.${OBJEXT-o}
3758 if depmode=$depmode \
3759 source=sub/conftest.c object=$am__obj \
3760 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3761 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3762 >/dev/null 2>conftest.err &&
3763 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3764 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3765 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3766 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3767 # icc doesn't choke on unknown options, it will just issue warnings
3768 # or remarks (even with -Werror). So we grep stderr for any message
3769 # that says an option was ignored or not supported.
3770 # When given -MP, icc 7.0 and 7.1 complain thusly:
3771 # icc: Command line warning: ignoring option '-M'; no argument required
3772 # The diagnosis changed in icc 8.0:
3773 # icc: Command line remark: option '-MP' not supported
3774 if (grep 'ignoring option' conftest.err ||
3775 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3776 am_cv_CC_dependencies_compiler_type=$depmode
3785 am_cv_CC_dependencies_compiler_type=none
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3790 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3791 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3794 test "x$enable_dependency_tracking" != xno \
3795 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3797 am__fastdepCC_FALSE='#'
3799 am__fastdepCC_TRUE='#'
3800 am__fastdepCC_FALSE=
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3808 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3813 macro_version='2.4.2'
3814 macro_revision='1.3337'
3828 ltmain="$ac_aux_dir/ltmain.sh"
3830 # Make sure we can run config.sub.
3831 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3832 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3835 $as_echo_n "checking build system type... " >&6; }
3836 if ${ac_cv_build+:} false; then :
3837 $as_echo_n "(cached) " >&6
3839 ac_build_alias=$build_alias
3840 test "x$ac_build_alias" = x &&
3841 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3842 test "x$ac_build_alias" = x &&
3843 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3844 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3845 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3849 $as_echo "$ac_cv_build" >&6; }
3850 case $ac_cv_build in
3852 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3855 ac_save_IFS=$IFS; IFS='-'
3861 # Remember, the first character of IFS is used to create $*,
3862 # except with old shells:
3865 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3869 $as_echo_n "checking host system type... " >&6; }
3870 if ${ac_cv_host+:} false; then :
3871 $as_echo_n "(cached) " >&6
3873 if test "x$host_alias" = x; then
3874 ac_cv_host=$ac_cv_build
3876 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3877 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3882 $as_echo "$ac_cv_host" >&6; }
3885 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3888 ac_save_IFS=$IFS; IFS='-'
3894 # Remember, the first character of IFS is used to create $*,
3895 # except with old shells:
3898 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3901 # Backslashify metacharacters that are still active within
3902 # double-quoted strings.
3903 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3905 # Same as above, but do not quote variable references.
3906 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3908 # Sed substitution to delay expansion of an escaped shell variable in a
3909 # double_quote_subst'ed string.
3910 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3912 # Sed substitution to delay expansion of an escaped single quote.
3913 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3915 # Sed substitution to avoid accidental globbing in evaled expressions
3916 no_glob_subst='s/\*/\\\*/g'
3918 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3919 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3920 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3923 $as_echo_n "checking how to print strings... " >&6; }
3924 # Test print first, because it will be a builtin if present.
3925 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3926 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3928 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3931 # Use this function as a fallback that always works.
3932 func_fallback_echo ()
3934 eval 'cat <<_LTECHO_EOF
3938 ECHO='func_fallback_echo'
3941 # func_echo_all arg...
3942 # Invoke $ECHO with all args, space-separated.
3949 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3950 $as_echo "printf" >&6; } ;;
3951 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3952 $as_echo "print -r" >&6; } ;;
3953 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3954 $as_echo "cat" >&6; } ;;
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3971 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3972 if ${ac_cv_path_SED+:} false; then :
3973 $as_echo_n "(cached) " >&6
3975 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3976 for ac_i in 1 2 3 4 5 6 7; do
3977 ac_script="$ac_script$as_nl$ac_script"
3979 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3980 { ac_script=; unset ac_script;}
3981 if test -z "$SED"; then
3982 ac_path_SED_found=false
3983 # Loop through the user's path and test for each of PROGNAME-LIST
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir=.
3989 for ac_prog in sed gsed; do
3990 for ac_exec_ext in '' $ac_executable_extensions; do
3991 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3992 as_fn_executable_p "$ac_path_SED" || continue
3993 # Check for GNU ac_path_SED and select it if it is found.
3994 # Check for GNU $ac_path_SED
3995 case `"$ac_path_SED" --version 2>&1` in
3997 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4000 $as_echo_n 0123456789 >"conftest.in"
4003 cat "conftest.in" "conftest.in" >"conftest.tmp"
4004 mv "conftest.tmp" "conftest.in"
4005 cp "conftest.in" "conftest.nl"
4006 $as_echo '' >> "conftest.nl"
4007 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4008 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4009 as_fn_arith $ac_count + 1 && ac_count=$as_val
4010 if test $ac_count -gt ${ac_path_SED_max-0}; then
4011 # Best one so far, save it but keep looking for a better one
4012 ac_cv_path_SED="$ac_path_SED"
4013 ac_path_SED_max=$ac_count
4015 # 10*(2^10) chars as input seems more than enough
4016 test $ac_count -gt 10 && break
4018 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4021 $ac_path_SED_found && break 3
4026 if test -z "$ac_cv_path_SED"; then
4027 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4035 $as_echo "$ac_cv_path_SED" >&6; }
4036 SED="$ac_cv_path_SED"
4039 test -z "$SED" && SED=sed
4040 Xsed="$SED -e 1s/^X//"
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4053 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4054 if ${ac_cv_path_GREP+:} false; then :
4055 $as_echo_n "(cached) " >&6
4057 if test -z "$GREP"; then
4058 ac_path_GREP_found=false
4059 # Loop through the user's path and test for each of PROGNAME-LIST
4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4064 test -z "$as_dir" && as_dir=.
4065 for ac_prog in grep ggrep; do
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4067 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4068 as_fn_executable_p "$ac_path_GREP" || continue
4069 # Check for GNU ac_path_GREP and select it if it is found.
4070 # Check for GNU $ac_path_GREP
4071 case `"$ac_path_GREP" --version 2>&1` in
4073 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4076 $as_echo_n 0123456789 >"conftest.in"
4079 cat "conftest.in" "conftest.in" >"conftest.tmp"
4080 mv "conftest.tmp" "conftest.in"
4081 cp "conftest.in" "conftest.nl"
4082 $as_echo 'GREP' >> "conftest.nl"
4083 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4084 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4085 as_fn_arith $ac_count + 1 && ac_count=$as_val
4086 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4087 # Best one so far, save it but keep looking for a better one
4088 ac_cv_path_GREP="$ac_path_GREP"
4089 ac_path_GREP_max=$ac_count
4091 # 10*(2^10) chars as input seems more than enough
4092 test $ac_count -gt 10 && break
4094 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4097 $ac_path_GREP_found && break 3
4102 if test -z "$ac_cv_path_GREP"; then
4103 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4106 ac_cv_path_GREP=$GREP
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4111 $as_echo "$ac_cv_path_GREP" >&6; }
4112 GREP="$ac_cv_path_GREP"
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4116 $as_echo_n "checking for egrep... " >&6; }
4117 if ${ac_cv_path_EGREP+:} false; then :
4118 $as_echo_n "(cached) " >&6
4120 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4121 then ac_cv_path_EGREP="$GREP -E"
4123 if test -z "$EGREP"; then
4124 ac_path_EGREP_found=false
4125 # Loop through the user's path and test for each of PROGNAME-LIST
4126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4130 test -z "$as_dir" && as_dir=.
4131 for ac_prog in egrep; do
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4134 as_fn_executable_p "$ac_path_EGREP" || continue
4135 # Check for GNU ac_path_EGREP and select it if it is found.
4136 # Check for GNU $ac_path_EGREP
4137 case `"$ac_path_EGREP" --version 2>&1` in
4139 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4142 $as_echo_n 0123456789 >"conftest.in"
4145 cat "conftest.in" "conftest.in" >"conftest.tmp"
4146 mv "conftest.tmp" "conftest.in"
4147 cp "conftest.in" "conftest.nl"
4148 $as_echo 'EGREP' >> "conftest.nl"
4149 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4150 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4151 as_fn_arith $ac_count + 1 && ac_count=$as_val
4152 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4153 # Best one so far, save it but keep looking for a better one
4154 ac_cv_path_EGREP="$ac_path_EGREP"
4155 ac_path_EGREP_max=$ac_count
4157 # 10*(2^10) chars as input seems more than enough
4158 test $ac_count -gt 10 && break
4160 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4163 $ac_path_EGREP_found && break 3
4168 if test -z "$ac_cv_path_EGREP"; then
4169 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4172 ac_cv_path_EGREP=$EGREP
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4178 $as_echo "$ac_cv_path_EGREP" >&6; }
4179 EGREP="$ac_cv_path_EGREP"
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4183 $as_echo_n "checking for fgrep... " >&6; }
4184 if ${ac_cv_path_FGREP+:} false; then :
4185 $as_echo_n "(cached) " >&6
4187 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4188 then ac_cv_path_FGREP="$GREP -F"
4190 if test -z "$FGREP"; then
4191 ac_path_FGREP_found=false
4192 # Loop through the user's path and test for each of PROGNAME-LIST
4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4197 test -z "$as_dir" && as_dir=.
4198 for ac_prog in fgrep; do
4199 for ac_exec_ext in '' $ac_executable_extensions; do
4200 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4201 as_fn_executable_p "$ac_path_FGREP" || continue
4202 # Check for GNU ac_path_FGREP and select it if it is found.
4203 # Check for GNU $ac_path_FGREP
4204 case `"$ac_path_FGREP" --version 2>&1` in
4206 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4209 $as_echo_n 0123456789 >"conftest.in"
4212 cat "conftest.in" "conftest.in" >"conftest.tmp"
4213 mv "conftest.tmp" "conftest.in"
4214 cp "conftest.in" "conftest.nl"
4215 $as_echo 'FGREP' >> "conftest.nl"
4216 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4217 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4218 as_fn_arith $ac_count + 1 && ac_count=$as_val
4219 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4220 # Best one so far, save it but keep looking for a better one
4221 ac_cv_path_FGREP="$ac_path_FGREP"
4222 ac_path_FGREP_max=$ac_count
4224 # 10*(2^10) chars as input seems more than enough
4225 test $ac_count -gt 10 && break
4227 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4230 $ac_path_FGREP_found && break 3
4235 if test -z "$ac_cv_path_FGREP"; then
4236 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4239 ac_cv_path_FGREP=$FGREP
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4245 $as_echo "$ac_cv_path_FGREP" >&6; }
4246 FGREP="$ac_cv_path_FGREP"
4249 test -z "$GREP" && GREP=grep
4269 # Check whether --with-gnu-ld was given.
4270 if test "${with_gnu_ld+set}" = set; then :
4271 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4277 if test "$GCC" = yes; then
4278 # Check if gcc -print-prog-name=ld gives a path.
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4280 $as_echo_n "checking for ld used by $CC... " >&6; }
4283 # gcc leaves a trailing carriage return which upsets mingw
4284 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4286 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4289 # Accept absolute paths.
4291 re_direlt='/[^/][^/]*/\.\./'
4292 # Canonicalize the pathname of ld
4293 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4294 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4295 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4297 test -z "$LD" && LD="$ac_prog"
4300 # If it fails, then pretend we aren't using GCC.
4304 # If it is relative, then search for the first ld in PATH.
4308 elif test "$with_gnu_ld" = yes; then
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4310 $as_echo_n "checking for GNU ld... " >&6; }
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4313 $as_echo_n "checking for non-GNU ld... " >&6; }
4315 if ${lt_cv_path_LD+:} false; then :
4316 $as_echo_n "(cached) " >&6
4318 if test -z "$LD"; then
4319 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4320 for ac_dir in $PATH; do
4322 test -z "$ac_dir" && ac_dir=.
4323 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4324 lt_cv_path_LD="$ac_dir/$ac_prog"
4325 # Check to see if the program is GNU ld. I'd rather use --version,
4326 # but apparently some variants of GNU ld only accept -v.
4327 # Break only if it was the GNU/non-GNU ld that we prefer.
4328 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4329 *GNU* | *'with BFD'*)
4330 test "$with_gnu_ld" != no && break
4333 test "$with_gnu_ld" != yes && break
4340 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4345 if test -n "$LD"; then
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4347 $as_echo "$LD" >&6; }
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4352 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4354 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4355 if ${lt_cv_prog_gnu_ld+:} false; then :
4356 $as_echo_n "(cached) " >&6
4358 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4359 case `$LD -v 2>&1 </dev/null` in
4360 *GNU* | *'with BFD'*)
4361 lt_cv_prog_gnu_ld=yes
4364 lt_cv_prog_gnu_ld=no
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4369 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4370 with_gnu_ld=$lt_cv_prog_gnu_ld
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4381 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4382 if ${lt_cv_path_NM+:} false; then :
4383 $as_echo_n "(cached) " >&6
4385 if test -n "$NM"; then
4386 # Let the user override the test.
4389 lt_nm_to_check="${ac_tool_prefix}nm"
4390 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4391 lt_nm_to_check="$lt_nm_to_check nm"
4393 for lt_tmp_nm in $lt_nm_to_check; do
4394 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4395 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4397 test -z "$ac_dir" && ac_dir=.
4398 tmp_nm="$ac_dir/$lt_tmp_nm"
4399 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4400 # Check to see if the nm accepts a BSD-compat flag.
4401 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4402 # nm: unknown option "B" ignored
4403 # Tru64's nm complains that /dev/null is an invalid object file
4404 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4405 */dev/null* | *'Invalid file or object type'*)
4406 lt_cv_path_NM="$tmp_nm -B"
4410 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4412 lt_cv_path_NM="$tmp_nm -p"
4416 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4417 continue # so that we can try to find one that supports BSD flags
4426 : ${lt_cv_path_NM=no}
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4430 $as_echo "$lt_cv_path_NM" >&6; }
4431 if test "$lt_cv_path_NM" != "no"; then
4434 # Didn't find any BSD compatible name lister, look for dumpbin.
4435 if test -n "$DUMPBIN"; then :
4436 # Let the user override the test.
4438 if test -n "$ac_tool_prefix"; then
4439 for ac_prog in dumpbin "link -dump"
4441 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4442 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_prog_DUMPBIN+:} false; then :
4446 $as_echo_n "(cached) " >&6
4448 if test -n "$DUMPBIN"; then
4449 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455 test -z "$as_dir" && as_dir=.
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4458 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 DUMPBIN=$ac_cv_prog_DUMPBIN
4469 if test -n "$DUMPBIN"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4471 $as_echo "$DUMPBIN" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4478 test -n "$DUMPBIN" && break
4481 if test -z "$DUMPBIN"; then
4482 ac_ct_DUMPBIN=$DUMPBIN
4483 for ac_prog in dumpbin "link -dump"
4485 # Extract the first word of "$ac_prog", so it can be a program name with args.
4486 set dummy $ac_prog; ac_word=$2
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4488 $as_echo_n "checking for $ac_word... " >&6; }
4489 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4490 $as_echo_n "(cached) " >&6
4492 if test -n "$ac_ct_DUMPBIN"; then
4493 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4499 test -z "$as_dir" && as_dir=.
4500 for ac_exec_ext in '' $ac_executable_extensions; do
4501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4502 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4513 if test -n "$ac_ct_DUMPBIN"; then
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4515 $as_echo "$ac_ct_DUMPBIN" >&6; }
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4518 $as_echo "no" >&6; }
4522 test -n "$ac_ct_DUMPBIN" && break
4525 if test "x$ac_ct_DUMPBIN" = x; then
4528 case $cross_compiling:$ac_tool_warned in
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4532 ac_tool_warned=yes ;;
4534 DUMPBIN=$ac_ct_DUMPBIN
4538 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4540 DUMPBIN="$DUMPBIN -symbols"
4548 if test "$DUMPBIN" != ":"; then
4552 test -z "$NM" && NM=nm
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4560 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4561 if ${lt_cv_nm_interface+:} false; then :
4562 $as_echo_n "(cached) " >&6
4564 lt_cv_nm_interface="BSD nm"
4565 echo "int some_variable = 0;" > conftest.$ac_ext
4566 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4567 (eval "$ac_compile" 2>conftest.err)
4568 cat conftest.err >&5
4569 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4570 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4571 cat conftest.err >&5
4572 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4573 cat conftest.out >&5
4574 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4575 lt_cv_nm_interface="MS dumpbin"
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4580 $as_echo "$lt_cv_nm_interface" >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4583 $as_echo_n "checking whether ln -s works... " >&6; }
4585 if test "$LN_S" = "ln -s"; then
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4587 $as_echo "yes" >&6; }
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4590 $as_echo "no, using $LN_S" >&6; }
4593 # find the maximum length of command line arguments
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4595 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4596 if ${lt_cv_sys_max_cmd_len+:} false; then :
4597 $as_echo_n "(cached) " >&6
4604 # On DJGPP, this test can blow up pretty badly due to problems in libc
4605 # (any single argument exceeding 2000 bytes causes a buffer overrun
4606 # during glob expansion). Even if it were fixed, the result of this
4607 # check would be larger than it should be.
4608 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4612 # Under GNU Hurd, this test is not required because there is
4613 # no limit to the length of command line arguments.
4614 # Libtool will interpret -1 as no limit whatsoever
4615 lt_cv_sys_max_cmd_len=-1;
4618 cygwin* | mingw* | cegcc*)
4619 # On Win9x/ME, this test blows up -- it succeeds, but takes
4620 # about 5 minutes as the teststring grows exponentially.
4621 # Worse, since 9x/ME are not pre-emptively multitasking,
4622 # you end up with a "frozen" computer, even though with patience
4623 # the test eventually succeeds (with a max line length of 256k).
4624 # Instead, let's just punt: use the minimum linelength reported by
4625 # all of the supported platforms: 8192 (on NT/2K/XP).
4626 lt_cv_sys_max_cmd_len=8192;
4630 # On MiNT this can take a long time and run out of memory.
4631 lt_cv_sys_max_cmd_len=8192;
4635 # On AmigaOS with pdksh, this test takes hours, literally.
4636 # So we just punt and use a minimum line length of 8192.
4637 lt_cv_sys_max_cmd_len=8192;
4640 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4641 # This has been around since 386BSD, at least. Likely further.
4642 if test -x /sbin/sysctl; then
4643 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4644 elif test -x /usr/sbin/sysctl; then
4645 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4647 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4649 # And add a safety zone
4650 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4651 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4655 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4656 lt_cv_sys_max_cmd_len=196608
4660 # The test takes a long time on OS/2.
4661 lt_cv_sys_max_cmd_len=8192
4665 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4666 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4667 # nice to cause kernel panics so lets avoid the loop below.
4668 # First set a reasonable default.
4669 lt_cv_sys_max_cmd_len=16384
4671 if test -x /sbin/sysconfig; then
4672 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4673 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4678 lt_cv_sys_max_cmd_len=102400
4680 sysv5* | sco5v6* | sysv4.2uw2*)
4681 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4682 if test -n "$kargmax"; then
4683 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4685 lt_cv_sys_max_cmd_len=32768
4689 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4690 if test -n "$lt_cv_sys_max_cmd_len" && \
4691 test undefined != "$lt_cv_sys_max_cmd_len"; then
4692 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4693 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4695 # Make teststring a little bigger before we do anything with it.
4696 # a 1K string should be a reasonable start.
4697 for i in 1 2 3 4 5 6 7 8 ; do
4698 teststring=$teststring$teststring
4700 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4701 # If test is not a shell built-in, we'll probably end up computing a
4702 # maximum length that is only half of the actual maximum length, but
4704 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4705 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4706 test $i != 17 # 1/2 MB should be enough
4709 teststring=$teststring$teststring
4711 # Only check the string length outside the loop.
4712 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4714 # Add a significant safety factor because C++ compilers can tack on
4715 # massive amounts of additional arguments before passing them to the
4716 # linker. It appears as though 1/2 is a usable value.
4717 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4724 if test -n $lt_cv_sys_max_cmd_len ; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4726 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4729 $as_echo "none" >&6; }
4731 max_cmd_len=$lt_cv_sys_max_cmd_len
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4743 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4744 # Try some XSI features
4747 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4749 && eval 'test $(( 1 + 1 )) -eq 2 \
4750 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4753 $as_echo "$xsi_shell" >&6; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4757 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4759 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4761 && lt_shell_append=yes
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4763 $as_echo "$lt_shell_append" >&6; }
4766 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4776 # test EBCDIC or ASCII
4777 case `echo X|tr X '\101'` in
4778 A) # ASCII based system
4779 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4780 lt_SP2NL='tr \040 \012'
4781 lt_NL2SP='tr \015\012 \040\040'
4783 *) # EBCDIC based system
4784 lt_SP2NL='tr \100 \n'
4785 lt_NL2SP='tr \r\n \100\100'
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4798 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4799 if ${lt_cv_to_host_file_cmd+:} false; then :
4800 $as_echo_n "(cached) " >&6
4805 *-*-mingw* ) # actually msys
4806 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4809 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4811 * ) # otherwise, assume *nix
4812 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4818 *-*-mingw* ) # actually msys
4819 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4822 lt_cv_to_host_file_cmd=func_convert_file_noop
4824 * ) # otherwise, assume *nix
4825 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4829 * ) # unhandled hosts (and "normal" native builds)
4830 lt_cv_to_host_file_cmd=func_convert_file_noop
4836 to_host_file_cmd=$lt_cv_to_host_file_cmd
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4838 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4845 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4846 if ${lt_cv_to_tool_file_cmd+:} false; then :
4847 $as_echo_n "(cached) " >&6
4849 #assume ordinary cross tools, or native build.
4850 lt_cv_to_tool_file_cmd=func_convert_file_noop
4854 *-*-mingw* ) # actually msys
4855 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4863 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4865 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4872 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4873 if ${lt_cv_ld_reload_flag+:} false; then :
4874 $as_echo_n "(cached) " >&6
4876 lt_cv_ld_reload_flag='-r'
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4879 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4880 reload_flag=$lt_cv_ld_reload_flag
4881 case $reload_flag in
4883 *) reload_flag=" $reload_flag" ;;
4885 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4887 cygwin* | mingw* | pw32* | cegcc*)
4888 if test "$GCC" != yes; then
4893 if test "$GCC" = yes; then
4894 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4896 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4909 if test -n "$ac_tool_prefix"; then
4910 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4911 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_OBJDUMP+:} false; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$OBJDUMP"; then
4918 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 OBJDUMP=$ac_cv_prog_OBJDUMP
4938 if test -n "$OBJDUMP"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4940 $as_echo "$OBJDUMP" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4948 if test -z "$ac_cv_prog_OBJDUMP"; then
4949 ac_ct_OBJDUMP=$OBJDUMP
4950 # Extract the first word of "objdump", so it can be a program name with args.
4951 set dummy objdump; ac_word=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -n "$ac_ct_OBJDUMP"; then
4958 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir=.
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4978 if test -n "$ac_ct_OBJDUMP"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4980 $as_echo "$ac_ct_OBJDUMP" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4986 if test "x$ac_ct_OBJDUMP" = x; then
4989 case $cross_compiling:$ac_tool_warned in
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4993 ac_tool_warned=yes ;;
4995 OBJDUMP=$ac_ct_OBJDUMP
4998 OBJDUMP="$ac_cv_prog_OBJDUMP"
5001 test -z "$OBJDUMP" && OBJDUMP=objdump
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5012 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5013 if ${lt_cv_deplibs_check_method+:} false; then :
5014 $as_echo_n "(cached) " >&6
5016 lt_cv_file_magic_cmd='$MAGIC_CMD'
5017 lt_cv_file_magic_test_file=
5018 lt_cv_deplibs_check_method='unknown'
5019 # Need to set the preceding variable on all platforms that support
5020 # interlibrary dependencies.
5021 # 'none' -- dependencies not supported.
5022 # `unknown' -- same as none, but documents that we really don't know.
5023 # 'pass_all' -- all dependencies passed with no checks.
5024 # 'test_compile' -- check by making test program.
5025 # 'file_magic [[regex]]' -- check by looking for files in library path
5026 # which responds to the $file_magic_cmd with a given extended regex.
5027 # If you have `file' or equivalent on your system and you're not sure
5028 # whether `pass_all' will *always* work, you probably want this one.
5032 lt_cv_deplibs_check_method=pass_all
5036 lt_cv_deplibs_check_method=pass_all
5040 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5041 lt_cv_file_magic_cmd='/usr/bin/file -L'
5042 lt_cv_file_magic_test_file=/shlib/libc.so
5046 # func_win32_libid is a shell function defined in ltmain.sh
5047 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5048 lt_cv_file_magic_cmd='func_win32_libid'
5052 # Base MSYS/MinGW do not provide the 'file' command needed by
5053 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5054 # unless we find 'file', for example because we are cross-compiling.
5055 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5056 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5057 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5058 lt_cv_file_magic_cmd='func_win32_libid'
5060 # Keep this pattern in sync with the one in func_win32_libid.
5061 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5062 lt_cv_file_magic_cmd='$OBJDUMP -f'
5067 # use the weaker test based on 'objdump'. See mingw*.
5068 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5069 lt_cv_file_magic_cmd='$OBJDUMP -f'
5072 darwin* | rhapsody*)
5073 lt_cv_deplibs_check_method=pass_all
5076 freebsd* | dragonfly*)
5077 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5080 # Not sure whether the presence of OpenBSD here was a mistake.
5081 # Let's accept both of them until this is cleared up.
5082 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5083 lt_cv_file_magic_cmd=/usr/bin/file
5084 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5088 lt_cv_deplibs_check_method=pass_all
5093 lt_cv_deplibs_check_method=pass_all
5096 hpux10.20* | hpux11*)
5097 lt_cv_file_magic_cmd=/usr/bin/file
5100 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5101 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5104 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]'
5105 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5108 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5109 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5115 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5116 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5119 irix5* | irix6* | nonstopux*)
5121 *-32|*"-32 ") libmagic=32-bit;;
5122 *-n32|*"-n32 ") libmagic=N32;;
5123 *-64|*"-64 ") libmagic=64-bit;;
5124 *) libmagic=never-match;;
5126 lt_cv_deplibs_check_method=pass_all
5129 # This must be glibc/ELF.
5130 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5131 lt_cv_deplibs_check_method=pass_all
5134 netbsd* | netbsdelf*-gnu)
5135 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5136 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5138 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5143 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5144 lt_cv_file_magic_cmd=/usr/bin/file
5145 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5149 lt_cv_deplibs_check_method=pass_all
5153 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5154 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5156 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5160 osf3* | osf4* | osf5*)
5161 lt_cv_deplibs_check_method=pass_all
5165 lt_cv_deplibs_check_method=pass_all
5169 lt_cv_deplibs_check_method=pass_all
5172 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5173 lt_cv_deplibs_check_method=pass_all
5177 case $host_vendor in
5179 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]'
5180 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5183 lt_cv_deplibs_check_method=pass_all
5186 lt_cv_file_magic_cmd='/bin/file'
5187 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5190 lt_cv_file_magic_cmd='/bin/file'
5191 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5192 lt_cv_file_magic_test_file=/lib/libc.so
5195 lt_cv_deplibs_check_method=pass_all
5198 lt_cv_deplibs_check_method=pass_all
5204 lt_cv_deplibs_check_method=pass_all
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5210 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5214 if test "$build" = "$host"; then
5217 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5220 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5226 file_magic_cmd=$lt_cv_file_magic_cmd
5227 deplibs_check_method=$lt_cv_deplibs_check_method
5228 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5251 if test -n "$ac_tool_prefix"; then
5252 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5253 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_DLLTOOL+:} false; then :
5257 $as_echo_n "(cached) " >&6
5259 if test -n "$DLLTOOL"; then
5260 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5266 test -z "$as_dir" && as_dir=.
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 DLLTOOL=$ac_cv_prog_DLLTOOL
5280 if test -n "$DLLTOOL"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5282 $as_echo "$DLLTOOL" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5290 if test -z "$ac_cv_prog_DLLTOOL"; then
5291 ac_ct_DLLTOOL=$DLLTOOL
5292 # Extract the first word of "dlltool", so it can be a program name with args.
5293 set dummy dlltool; ac_word=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5297 $as_echo_n "(cached) " >&6
5299 if test -n "$ac_ct_DLLTOOL"; then
5300 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5320 if test -n "$ac_ct_DLLTOOL"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5322 $as_echo "$ac_ct_DLLTOOL" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5328 if test "x$ac_ct_DLLTOOL" = x; then
5331 case $cross_compiling:$ac_tool_warned in
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5335 ac_tool_warned=yes ;;
5337 DLLTOOL=$ac_ct_DLLTOOL
5340 DLLTOOL="$ac_cv_prog_DLLTOOL"
5343 test -z "$DLLTOOL" && DLLTOOL=dlltool
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5355 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5356 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5357 $as_echo_n "(cached) " >&6
5359 lt_cv_sharedlib_from_linklib_cmd='unknown'
5362 cygwin* | mingw* | pw32* | cegcc*)
5363 # two different shell functions defined in ltmain.sh
5364 # decide which to use based on capabilities of $DLLTOOL
5365 case `$DLLTOOL --help 2>&1` in
5366 *--identify-strict*)
5367 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5370 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5375 # fallback: assume linklib IS sharedlib
5376 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5382 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5383 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5384 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5393 if test -n "$ac_tool_prefix"; then
5396 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_AR+:} false; then :
5401 $as_echo_n "(cached) " >&6
5403 if test -n "$AR"; then
5404 ac_cv_prog_AR="$AR" # Let the user override the test.
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410 test -z "$as_dir" && as_dir=.
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5413 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 if test -n "$AR"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5426 $as_echo "$AR" >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 $as_echo "no" >&6; }
5433 test -n "$AR" && break
5436 if test -z "$AR"; then
5440 # Extract the first word of "$ac_prog", so it can be a program name with args.
5441 set dummy $ac_prog; ac_word=$2
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5443 $as_echo_n "checking for $ac_word... " >&6; }
5444 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5445 $as_echo_n "(cached) " >&6
5447 if test -n "$ac_ct_AR"; then
5448 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5457 ac_cv_prog_ac_ct_AR="$ac_prog"
5458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5468 if test -n "$ac_ct_AR"; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5470 $as_echo "$ac_ct_AR" >&6; }
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5473 $as_echo "no" >&6; }
5477 test -n "$ac_ct_AR" && break
5480 if test "x$ac_ct_AR" = x; then
5483 case $cross_compiling:$ac_tool_warned in
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5487 ac_tool_warned=yes ;;
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5507 $as_echo_n "checking for archiver @FILE support... " >&6; }
5508 if ${lt_cv_ar_at_file+:} false; then :
5509 $as_echo_n "(cached) " >&6
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5523 if ac_fn_c_try_compile "$LINENO"; then :
5524 echo conftest.$ac_objext > conftest.lst
5525 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5526 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5527 (eval $lt_ar_try) 2>&5
5529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5530 test $ac_status = 0; }
5531 if test "$ac_status" -eq 0; then
5532 # Ensure the archiver fails upon bogus file names.
5533 rm -f conftest.$ac_objext libconftest.a
5534 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5535 (eval $lt_ar_try) 2>&5
5537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5538 test $ac_status = 0; }
5539 if test "$ac_status" -ne 0; then
5543 rm -f conftest.* libconftest.a
5546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5550 $as_echo "$lt_cv_ar_at_file" >&6; }
5552 if test "x$lt_cv_ar_at_file" = xno; then
5555 archiver_list_spec=$lt_cv_ar_at_file
5564 if test -n "$ac_tool_prefix"; then
5565 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5566 set dummy ${ac_tool_prefix}strip; ac_word=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_prog_STRIP+:} false; then :
5570 $as_echo_n "(cached) " >&6
5572 if test -n "$STRIP"; then
5573 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 STRIP=$ac_cv_prog_STRIP
5593 if test -n "$STRIP"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5595 $as_echo "$STRIP" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5603 if test -z "$ac_cv_prog_STRIP"; then
5605 # Extract the first word of "strip", so it can be a program name with args.
5606 set dummy strip; ac_word=$2
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 $as_echo_n "checking for $ac_word... " >&6; }
5609 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5610 $as_echo_n "(cached) " >&6
5612 if test -n "$ac_ct_STRIP"; then
5613 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5622 ac_cv_prog_ac_ct_STRIP="strip"
5623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5632 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5633 if test -n "$ac_ct_STRIP"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5635 $as_echo "$ac_ct_STRIP" >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5641 if test "x$ac_ct_STRIP" = x; then
5644 case $cross_compiling:$ac_tool_warned in
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5648 ac_tool_warned=yes ;;
5653 STRIP="$ac_cv_prog_STRIP"
5656 test -z "$STRIP" && STRIP=:
5663 if test -n "$ac_tool_prefix"; then
5664 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5665 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667 $as_echo_n "checking for $ac_word... " >&6; }
5668 if ${ac_cv_prog_RANLIB+:} false; then :
5669 $as_echo_n "(cached) " >&6
5671 if test -n "$RANLIB"; then
5672 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 test -z "$as_dir" && as_dir=.
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5681 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5691 RANLIB=$ac_cv_prog_RANLIB
5692 if test -n "$RANLIB"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5694 $as_echo "$RANLIB" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
5702 if test -z "$ac_cv_prog_RANLIB"; then
5703 ac_ct_RANLIB=$RANLIB
5704 # Extract the first word of "ranlib", so it can be a program name with args.
5705 set dummy ranlib; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5709 $as_echo_n "(cached) " >&6
5711 if test -n "$ac_ct_RANLIB"; then
5712 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 test -z "$as_dir" && as_dir=.
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5721 ac_cv_prog_ac_ct_RANLIB="ranlib"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5732 if test -n "$ac_ct_RANLIB"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5734 $as_echo "$ac_ct_RANLIB" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5740 if test "x$ac_ct_RANLIB" = x; then
5743 case $cross_compiling:$ac_tool_warned in
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5747 ac_tool_warned=yes ;;
5749 RANLIB=$ac_ct_RANLIB
5752 RANLIB="$ac_cv_prog_RANLIB"
5755 test -z "$RANLIB" && RANLIB=:
5762 # Determine commands to create old-style static archives.
5763 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5764 old_postinstall_cmds='chmod 644 $oldlib'
5765 old_postuninstall_cmds=
5767 if test -n "$RANLIB"; then
5770 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5773 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5776 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5781 lock_old_archive_extraction=yes ;;
5783 lock_old_archive_extraction=no ;;
5824 # If no C compiler was specified, use CC.
5827 # If no C compiler flags were specified, use CFLAGS.
5828 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5830 # Allow CC to be a program name with arguments.
5834 # Check for command to grab the raw symbol name followed by C symbol from nm.
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5836 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5837 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5838 $as_echo_n "(cached) " >&6
5841 # These are sane defaults that work on at least a few old systems.
5842 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5844 # Character class describing NM global symbol codes.
5845 symcode='[BCDEGRST]'
5847 # Regexp to match symbols that can be accessed directly from C.
5848 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5850 # Define system-specific variables.
5855 cygwin* | mingw* | pw32* | cegcc*)
5856 symcode='[ABCDGISTW]'
5859 if test "$host_cpu" = ia64; then
5860 symcode='[ABCDEGRST]'
5864 symcode='[BCDEGRST]'
5867 symcode='[BCDEGQRST]'
5878 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5886 # If we're using GNU nm, then use its standard symbol codes.
5887 case `$NM -V 2>&1` in
5888 *GNU* | *'with BFD'*)
5889 symcode='[ABCDGIRSTW]' ;;
5892 # Transform an extracted symbol line into a proper C declaration.
5893 # Some systems (esp. on ia64) link data and code symbols differently,
5894 # so use this general approach.
5895 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5897 # Transform an extracted symbol line into symbol name and symbol address
5898 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5899 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'"
5901 # Handle CRLF in mingw tool chain
5905 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5909 # Try without a prefix underscore, then with it.
5910 for ac_symprfx in "" "_"; do
5912 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5913 symxfrm="\\1 $ac_symprfx\\2 \\2"
5915 # Write the raw and C identifiers.
5916 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5917 # Fake it for dumpbin and say T for any non-static function
5918 # and D for any global variable.
5919 # Also find C++ and __fastcall symbols from MSVC++,
5920 # which start with @ or ?.
5921 lt_cv_sys_global_symbol_pipe="$AWK '"\
5922 " {last_section=section; section=\$ 3};"\
5923 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5924 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5925 " \$ 0!~/External *\|/{next};"\
5926 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5927 " {if(hide[section]) next};"\
5928 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5929 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5930 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5931 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5932 " ' prfx=^$ac_symprfx"
5934 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5936 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5938 # Check to see that the pipe works correctly.
5942 cat > conftest.$ac_ext <<_LT_EOF
5947 void nm_test_func(void);
5948 void nm_test_func(void){}
5952 int main(){nm_test_var='a';nm_test_func();return(0);}
5955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5956 (eval $ac_compile) 2>&5
5958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5959 test $ac_status = 0; }; then
5960 # Now try to grab the symbols.
5962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5963 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5966 test $ac_status = 0; } && test -s "$nlist"; then
5967 # Try sorting and uniquifying the output.
5968 if sort "$nlist" | uniq > "$nlist"T; then
5969 mv -f "$nlist"T "$nlist"
5974 # Make sure that we snagged all the symbols we need.
5975 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5976 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5977 cat <<_LT_EOF > conftest.$ac_ext
5978 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5979 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5980 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5981 relocations are performed -- see ld's documentation on pseudo-relocs. */
5982 # define LT_DLSYM_CONST
5983 #elif defined(__osf__)
5984 /* This system does not cope well with relocations in const data. */
5985 # define LT_DLSYM_CONST
5987 # define LT_DLSYM_CONST const
5995 # Now generate the symbol file.
5996 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5998 cat <<_LT_EOF >> conftest.$ac_ext
6000 /* The mapping between symbol names and symbols. */
6001 LT_DLSYM_CONST struct {
6005 lt__PROGRAM__LTX_preloaded_symbols[] =
6007 { "@PROGRAM@", (void *) 0 },
6009 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6010 cat <<\_LT_EOF >> conftest.$ac_ext
6014 /* This works around a problem in FreeBSD linker */
6015 #ifdef FREEBSD_WORKAROUND
6016 static const void *lt_preloaded_setup() {
6017 return lt__PROGRAM__LTX_preloaded_symbols;
6025 # Now try linking the two files.
6026 mv conftest.$ac_objext conftstm.$ac_objext
6027 lt_globsym_save_LIBS=$LIBS
6028 lt_globsym_save_CFLAGS=$CFLAGS
6029 LIBS="conftstm.$ac_objext"
6030 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6032 (eval $ac_link) 2>&5
6034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6035 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6038 LIBS=$lt_globsym_save_LIBS
6039 CFLAGS=$lt_globsym_save_CFLAGS
6041 echo "cannot find nm_test_func in $nlist" >&5
6044 echo "cannot find nm_test_var in $nlist" >&5
6047 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6050 echo "$progname: failed program was:" >&5
6051 cat conftest.$ac_ext >&5
6053 rm -rf conftest* conftst*
6055 # Do not use the global_symbol_pipe unless it works.
6056 if test "$pipe_works" = yes; then
6059 lt_cv_sys_global_symbol_pipe=
6065 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6066 lt_cv_sys_global_symbol_to_cdecl=
6068 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6070 $as_echo "failed" >&6; }
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6073 $as_echo "ok" >&6; }
6076 # Response file support.
6077 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6078 nm_file_list_spec='@'
6079 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6080 nm_file_list_spec='@'
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6110 $as_echo_n "checking for sysroot... " >&6; }
6112 # Check whether --with-sysroot was given.
6113 if test "${with_sysroot+set}" = set; then :
6114 withval=$with_sysroot;
6121 case ${with_sysroot} in #(
6123 if test "$GCC" = yes; then
6124 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6128 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6134 $as_echo "${with_sysroot}" >&6; }
6135 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6140 $as_echo "${lt_sysroot:-no}" >&6; }
6146 # Check whether --enable-libtool-lock was given.
6147 if test "${enable_libtool_lock+set}" = set; then :
6148 enableval=$enable_libtool_lock;
6151 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6153 # Some flags need to be propagated to the compiler or linker for good
6157 # Find out which ABI we are using.
6158 echo 'int i;' > conftest.$ac_ext
6159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6160 (eval $ac_compile) 2>&5
6162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6163 test $ac_status = 0; }; then
6164 case `/usr/bin/file conftest.$ac_objext` in
6176 # Find out which ABI we are using.
6177 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6179 (eval $ac_compile) 2>&5
6181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6182 test $ac_status = 0; }; then
6183 if test "$lt_cv_prog_gnu_ld" = yes; then
6184 case `/usr/bin/file conftest.$ac_objext` in
6186 LD="${LD-ld} -melf32bsmip"
6189 LD="${LD-ld} -melf32bmipn32"
6192 LD="${LD-ld} -melf64bmip"
6196 case `/usr/bin/file conftest.$ac_objext` in
6212 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6213 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6214 # Find out which ABI we are using.
6215 echo 'int i;' > conftest.$ac_ext
6216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6217 (eval $ac_compile) 2>&5
6219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6220 test $ac_status = 0; }; then
6221 case `/usr/bin/file conftest.o` in
6224 x86_64-*kfreebsd*-gnu)
6225 LD="${LD-ld} -m elf_i386_fbsd"
6228 case `/usr/bin/file conftest.o` in
6230 LD="${LD-ld} -m elf32_x86_64"
6233 LD="${LD-ld} -m elf_i386"
6238 LD="${LD-ld} -m elf32lppclinux"
6241 LD="${LD-ld} -m elf32ppclinux"
6244 LD="${LD-ld} -m elf_s390"
6247 LD="${LD-ld} -m elf32_sparc"
6253 x86_64-*kfreebsd*-gnu)
6254 LD="${LD-ld} -m elf_x86_64_fbsd"
6257 LD="${LD-ld} -m elf_x86_64"
6260 LD="${LD-ld} -m elf64lppc"
6263 LD="${LD-ld} -m elf64ppc"
6265 s390*-*linux*|s390*-*tpf*)
6266 LD="${LD-ld} -m elf64_s390"
6269 LD="${LD-ld} -m elf64_sparc"
6279 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6280 SAVE_CFLAGS="$CFLAGS"
6281 CFLAGS="$CFLAGS -belf"
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6283 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6284 if ${lt_cv_cc_needs_belf+:} false; then :
6285 $as_echo_n "(cached) " >&6
6288 ac_cpp='$CPP $CPPFLAGS'
6289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6304 if ac_fn_c_try_link "$LINENO"; then :
6305 lt_cv_cc_needs_belf=yes
6307 lt_cv_cc_needs_belf=no
6309 rm -f core conftest.err conftest.$ac_objext \
6310 conftest$ac_exeext conftest.$ac_ext
6312 ac_cpp='$CPP $CPPFLAGS'
6313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6319 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6320 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6321 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6322 CFLAGS="$SAVE_CFLAGS"
6326 # Find out which ABI we are using.
6327 echo 'int i;' > conftest.$ac_ext
6328 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6329 (eval $ac_compile) 2>&5
6331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6332 test $ac_status = 0; }; then
6333 case `/usr/bin/file conftest.o` in
6335 case $lt_cv_prog_gnu_ld in
6339 LD="${LD-ld} -m elf_x86_64"
6342 LD="${LD-ld} -m elf64_sparc"
6345 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6346 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6351 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6363 need_locks="$enable_libtool_lock"
6365 if test -n "$ac_tool_prefix"; then
6366 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6367 set dummy ${ac_tool_prefix}mt; ac_word=$2
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6369 $as_echo_n "checking for $ac_word... " >&6; }
6370 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6371 $as_echo_n "(cached) " >&6
6373 if test -n "$MANIFEST_TOOL"; then
6374 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6383 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6394 if test -n "$MANIFEST_TOOL"; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6396 $as_echo "$MANIFEST_TOOL" >&6; }
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399 $as_echo "no" >&6; }
6404 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6405 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6406 # Extract the first word of "mt", so it can be a program name with args.
6407 set dummy mt; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6411 $as_echo_n "(cached) " >&6
6413 if test -n "$ac_ct_MANIFEST_TOOL"; then
6414 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6423 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6433 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6434 if test -n "$ac_ct_MANIFEST_TOOL"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6436 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6442 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6445 case $cross_compiling:$ac_tool_warned in
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6449 ac_tool_warned=yes ;;
6451 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6454 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6457 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6459 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6460 if ${lt_cv_path_mainfest_tool+:} false; then :
6461 $as_echo_n "(cached) " >&6
6463 lt_cv_path_mainfest_tool=no
6464 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6465 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6466 cat conftest.err >&5
6467 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6468 lt_cv_path_mainfest_tool=yes
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6473 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6474 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6484 rhapsody* | darwin*)
6485 if test -n "$ac_tool_prefix"; then
6486 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6487 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6491 $as_echo_n "(cached) " >&6
6493 if test -n "$DSYMUTIL"; then
6494 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 test -z "$as_dir" && as_dir=.
6501 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6503 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6513 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6514 if test -n "$DSYMUTIL"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6516 $as_echo "$DSYMUTIL" >&6; }
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6524 if test -z "$ac_cv_prog_DSYMUTIL"; then
6525 ac_ct_DSYMUTIL=$DSYMUTIL
6526 # Extract the first word of "dsymutil", so it can be a program name with args.
6527 set dummy dsymutil; ac_word=$2
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 $as_echo_n "checking for $ac_word... " >&6; }
6530 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6531 $as_echo_n "(cached) " >&6
6533 if test -n "$ac_ct_DSYMUTIL"; then
6534 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6543 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6553 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6554 if test -n "$ac_ct_DSYMUTIL"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6556 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 $as_echo "no" >&6; }
6562 if test "x$ac_ct_DSYMUTIL" = x; then
6565 case $cross_compiling:$ac_tool_warned in
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6569 ac_tool_warned=yes ;;
6571 DSYMUTIL=$ac_ct_DSYMUTIL
6574 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6577 if test -n "$ac_tool_prefix"; then
6578 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6579 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581 $as_echo_n "checking for $ac_word... " >&6; }
6582 if ${ac_cv_prog_NMEDIT+:} false; then :
6583 $as_echo_n "(cached) " >&6
6585 if test -n "$NMEDIT"; then
6586 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 NMEDIT=$ac_cv_prog_NMEDIT
6606 if test -n "$NMEDIT"; then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6608 $as_echo "$NMEDIT" >&6; }
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 $as_echo "no" >&6; }
6616 if test -z "$ac_cv_prog_NMEDIT"; then
6617 ac_ct_NMEDIT=$NMEDIT
6618 # Extract the first word of "nmedit", so it can be a program name with args.
6619 set dummy nmedit; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6623 $as_echo_n "(cached) " >&6
6625 if test -n "$ac_ct_NMEDIT"; then
6626 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6646 if test -n "$ac_ct_NMEDIT"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6648 $as_echo "$ac_ct_NMEDIT" >&6; }
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6654 if test "x$ac_ct_NMEDIT" = x; then
6657 case $cross_compiling:$ac_tool_warned in
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6661 ac_tool_warned=yes ;;
6663 NMEDIT=$ac_ct_NMEDIT
6666 NMEDIT="$ac_cv_prog_NMEDIT"
6669 if test -n "$ac_tool_prefix"; then
6670 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6671 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if ${ac_cv_prog_LIPO+:} false; then :
6675 $as_echo_n "(cached) " >&6
6677 if test -n "$LIPO"; then
6678 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6687 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6697 LIPO=$ac_cv_prog_LIPO
6698 if test -n "$LIPO"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6700 $as_echo "$LIPO" >&6; }
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6708 if test -z "$ac_cv_prog_LIPO"; then
6710 # Extract the first word of "lipo", so it can be a program name with args.
6711 set dummy lipo; ac_word=$2
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713 $as_echo_n "checking for $ac_word... " >&6; }
6714 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6715 $as_echo_n "(cached) " >&6
6717 if test -n "$ac_ct_LIPO"; then
6718 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 test -z "$as_dir" && as_dir=.
6725 for ac_exec_ext in '' $ac_executable_extensions; do
6726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6727 ac_cv_prog_ac_ct_LIPO="lipo"
6728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6738 if test -n "$ac_ct_LIPO"; then
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6740 $as_echo "$ac_ct_LIPO" >&6; }
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743 $as_echo "no" >&6; }
6746 if test "x$ac_ct_LIPO" = x; then
6749 case $cross_compiling:$ac_tool_warned in
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6753 ac_tool_warned=yes ;;
6758 LIPO="$ac_cv_prog_LIPO"
6761 if test -n "$ac_tool_prefix"; then
6762 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6763 set dummy ${ac_tool_prefix}otool; ac_word=$2
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765 $as_echo_n "checking for $ac_word... " >&6; }
6766 if ${ac_cv_prog_OTOOL+:} false; then :
6767 $as_echo_n "(cached) " >&6
6769 if test -n "$OTOOL"; then
6770 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 test -z "$as_dir" && as_dir=.
6777 for ac_exec_ext in '' $ac_executable_extensions; do
6778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6779 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6789 OTOOL=$ac_cv_prog_OTOOL
6790 if test -n "$OTOOL"; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6792 $as_echo "$OTOOL" >&6; }
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795 $as_echo "no" >&6; }
6800 if test -z "$ac_cv_prog_OTOOL"; then
6802 # Extract the first word of "otool", so it can be a program name with args.
6803 set dummy otool; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6807 $as_echo_n "(cached) " >&6
6809 if test -n "$ac_ct_OTOOL"; then
6810 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 test -z "$as_dir" && as_dir=.
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819 ac_cv_prog_ac_ct_OTOOL="otool"
6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6829 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6830 if test -n "$ac_ct_OTOOL"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6832 $as_echo "$ac_ct_OTOOL" >&6; }
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6838 if test "x$ac_ct_OTOOL" = x; then
6841 case $cross_compiling:$ac_tool_warned in
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6845 ac_tool_warned=yes ;;
6850 OTOOL="$ac_cv_prog_OTOOL"
6853 if test -n "$ac_tool_prefix"; then
6854 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6855 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 $as_echo_n "checking for $ac_word... " >&6; }
6858 if ${ac_cv_prog_OTOOL64+:} false; then :
6859 $as_echo_n "(cached) " >&6
6861 if test -n "$OTOOL64"; then
6862 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 test -z "$as_dir" && as_dir=.
6869 for ac_exec_ext in '' $ac_executable_extensions; do
6870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6871 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6881 OTOOL64=$ac_cv_prog_OTOOL64
6882 if test -n "$OTOOL64"; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6884 $as_echo "$OTOOL64" >&6; }
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887 $as_echo "no" >&6; }
6892 if test -z "$ac_cv_prog_OTOOL64"; then
6893 ac_ct_OTOOL64=$OTOOL64
6894 # Extract the first word of "otool64", so it can be a program name with args.
6895 set dummy otool64; ac_word=$2
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897 $as_echo_n "checking for $ac_word... " >&6; }
6898 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6899 $as_echo_n "(cached) " >&6
6901 if test -n "$ac_ct_OTOOL64"; then
6902 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 test -z "$as_dir" && as_dir=.
6909 for ac_exec_ext in '' $ac_executable_extensions; do
6910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6911 ac_cv_prog_ac_ct_OTOOL64="otool64"
6912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6921 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6922 if test -n "$ac_ct_OTOOL64"; then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6924 $as_echo "$ac_ct_OTOOL64" >&6; }
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6927 $as_echo "no" >&6; }
6930 if test "x$ac_ct_OTOOL64" = x; then
6933 case $cross_compiling:$ac_tool_warned in
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6937 ac_tool_warned=yes ;;
6939 OTOOL64=$ac_ct_OTOOL64
6942 OTOOL64="$ac_cv_prog_OTOOL64"
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6972 $as_echo_n "checking for -single_module linker flag... " >&6; }
6973 if ${lt_cv_apple_cc_single_mod+:} false; then :
6974 $as_echo_n "(cached) " >&6
6976 lt_cv_apple_cc_single_mod=no
6977 if test -z "${LT_MULTI_MODULE}"; then
6978 # By default we will add the -single_module flag. You can override
6979 # by either setting the environment variable LT_MULTI_MODULE
6980 # non-empty at configure time, or by adding -multi_module to the
6982 rm -rf libconftest.dylib*
6983 echo "int foo(void){return 1;}" > conftest.c
6984 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6985 -dynamiclib -Wl,-single_module conftest.c" >&5
6986 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6987 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6989 # If there is a non-empty error log, and "single_module"
6990 # appears in it, assume the flag caused a linker warning
6991 if test -s conftest.err && $GREP single_module conftest.err; then
6992 cat conftest.err >&5
6993 # Otherwise, if the output was created with a 0 exit code from
6994 # the compiler, it worked.
6995 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6996 lt_cv_apple_cc_single_mod=yes
6998 cat conftest.err >&5
7000 rm -rf libconftest.dylib*
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7005 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7008 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7009 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7010 $as_echo_n "(cached) " >&6
7012 lt_cv_ld_exported_symbols_list=no
7013 save_LDFLAGS=$LDFLAGS
7014 echo "_main" > conftest.sym
7015 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017 /* end confdefs.h. */
7027 if ac_fn_c_try_link "$LINENO"; then :
7028 lt_cv_ld_exported_symbols_list=yes
7030 lt_cv_ld_exported_symbols_list=no
7032 rm -f core conftest.err conftest.$ac_objext \
7033 conftest$ac_exeext conftest.$ac_ext
7034 LDFLAGS="$save_LDFLAGS"
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7038 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7041 $as_echo_n "checking for -force_load linker flag... " >&6; }
7042 if ${lt_cv_ld_force_load+:} false; then :
7043 $as_echo_n "(cached) " >&6
7045 lt_cv_ld_force_load=no
7046 cat > conftest.c << _LT_EOF
7047 int forced_loaded() { return 2;}
7049 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7050 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7051 echo "$AR cru libconftest.a conftest.o" >&5
7052 $AR cru libconftest.a conftest.o 2>&5
7053 echo "$RANLIB libconftest.a" >&5
7054 $RANLIB libconftest.a 2>&5
7055 cat > conftest.c << _LT_EOF
7056 int main() { return 0;}
7058 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7059 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7061 if test -s conftest.err && $GREP force_load conftest.err; then
7062 cat conftest.err >&5
7063 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7064 lt_cv_ld_force_load=yes
7066 cat conftest.err >&5
7068 rm -f conftest.err libconftest.a conftest conftest.c
7069 rm -rf conftest.dSYM
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7073 $as_echo "$lt_cv_ld_force_load" >&6; }
7075 rhapsody* | darwin1.[012])
7076 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7078 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7079 darwin*) # darwin 5.x on
7080 # if running on 10.5 or later, the deployment target defaults
7081 # to the OS version, if on x86, and 10.4, the deployment
7082 # target defaults to 10.4. Don't you love it?
7083 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7084 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7085 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7087 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7089 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7093 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7094 _lt_dar_single_mod='$single_module'
7096 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7097 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7099 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7101 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7102 _lt_dsymutil='~$DSYMUTIL $lib || :'
7110 ac_cpp='$CPP $CPPFLAGS'
7111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7115 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7116 # On Suns, sometimes $CPP names a directory.
7117 if test -n "$CPP" && test -d "$CPP"; then
7120 if test -z "$CPP"; then
7121 if ${ac_cv_prog_CPP+:} false; then :
7122 $as_echo_n "(cached) " >&6
7124 # Double quotes because CPP needs to be expanded
7125 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7128 for ac_c_preproc_warn_flag in '' yes
7130 # Use a header file that comes with gcc, so configuring glibc
7131 # with a fresh cross-compiler works.
7132 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7133 # <limits.h> exists even on freestanding compilers.
7134 # On the NeXT, cc -E runs the code through the compiler's parser,
7135 # not just through cpp. "Syntax error" is here to catch this case.
7136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7137 /* end confdefs.h. */
7139 # include <limits.h>
7141 # include <assert.h>
7145 if ac_fn_c_try_cpp "$LINENO"; then :
7148 # Broken: fails on valid input.
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7153 # OK, works on sane cases. Now check whether nonexistent headers
7154 # can be detected and how.
7155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7156 /* end confdefs.h. */
7157 #include <ac_nonexistent.h>
7159 if ac_fn_c_try_cpp "$LINENO"; then :
7160 # Broken: success on invalid input.
7163 # Passes both tests.
7167 rm -f conftest.err conftest.i conftest.$ac_ext
7170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7171 rm -f conftest.i conftest.err conftest.$ac_ext
7172 if $ac_preproc_ok; then :
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7185 $as_echo "$CPP" >&6; }
7187 for ac_c_preproc_warn_flag in '' yes
7189 # Use a header file that comes with gcc, so configuring glibc
7190 # with a fresh cross-compiler works.
7191 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7192 # <limits.h> exists even on freestanding compilers.
7193 # On the NeXT, cc -E runs the code through the compiler's parser,
7194 # not just through cpp. "Syntax error" is here to catch this case.
7195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7198 # include <limits.h>
7200 # include <assert.h>
7204 if ac_fn_c_try_cpp "$LINENO"; then :
7207 # Broken: fails on valid input.
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7212 # OK, works on sane cases. Now check whether nonexistent headers
7213 # can be detected and how.
7214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7215 /* end confdefs.h. */
7216 #include <ac_nonexistent.h>
7218 if ac_fn_c_try_cpp "$LINENO"; then :
7219 # Broken: success on invalid input.
7222 # Passes both tests.
7226 rm -f conftest.err conftest.i conftest.$ac_ext
7229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7230 rm -f conftest.i conftest.err conftest.$ac_ext
7231 if $ac_preproc_ok; then :
7234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7236 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7237 See \`config.log' for more details" "$LINENO" 5; }
7241 ac_cpp='$CPP $CPPFLAGS'
7242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7248 $as_echo_n "checking for ANSI C header files... " >&6; }
7249 if ${ac_cv_header_stdc+:} false; then :
7250 $as_echo_n "(cached) " >&6
7252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h. */
7267 if ac_fn_c_try_compile "$LINENO"; then :
7268 ac_cv_header_stdc=yes
7270 ac_cv_header_stdc=no
7272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7274 if test $ac_cv_header_stdc = yes; then
7275 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7282 $EGREP "memchr" >/dev/null 2>&1; then :
7285 ac_cv_header_stdc=no
7291 if test $ac_cv_header_stdc = yes; then
7292 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7294 /* end confdefs.h. */
7298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7299 $EGREP "free" >/dev/null 2>&1; then :
7302 ac_cv_header_stdc=no
7308 if test $ac_cv_header_stdc = yes; then
7309 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7310 if test "$cross_compiling" = yes; then :
7313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7314 /* end confdefs.h. */
7317 #if ((' ' & 0x0FF) == 0x020)
7318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7321 # define ISLOWER(c) \
7322 (('a' <= (c) && (c) <= 'i') \
7323 || ('j' <= (c) && (c) <= 'r') \
7324 || ('s' <= (c) && (c) <= 'z'))
7325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7333 for (i = 0; i < 256; i++)
7334 if (XOR (islower (i), ISLOWER (i))
7335 || toupper (i) != TOUPPER (i))
7340 if ac_fn_c_try_run "$LINENO"; then :
7343 ac_cv_header_stdc=no
7345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7346 conftest.$ac_objext conftest.beam conftest.$ac_ext
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7352 $as_echo "$ac_cv_header_stdc" >&6; }
7353 if test $ac_cv_header_stdc = yes; then
7355 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7359 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7360 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7361 inttypes.h stdint.h unistd.h
7363 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7364 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7366 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7367 cat >>confdefs.h <<_ACEOF
7368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7376 for ac_header in dlfcn.h
7378 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7380 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7381 cat >>confdefs.h <<_ACEOF
7382 #define HAVE_DLFCN_H 1
7403 # Check whether --enable-shared was given.
7404 if test "${enable_shared+set}" = set; then :
7405 enableval=$enable_shared; p=${PACKAGE-default}
7407 yes) enable_shared=yes ;;
7408 no) enable_shared=no ;;
7411 # Look at the argument we got. We use all the common list separators.
7412 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7413 for pkg in $enableval; do
7415 if test "X$pkg" = "X$p"; then
7434 # Check whether --enable-static was given.
7435 if test "${enable_static+set}" = set; then :
7436 enableval=$enable_static; p=${PACKAGE-default}
7438 yes) enable_static=yes ;;
7439 no) enable_static=no ;;
7442 # Look at the argument we got. We use all the common list separators.
7443 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7444 for pkg in $enableval; do
7446 if test "X$pkg" = "X$p"; then
7466 # Check whether --with-pic was given.
7467 if test "${with_pic+set}" = set; then :
7468 withval=$with_pic; lt_p=${PACKAGE-default}
7470 yes|no) pic_mode=$withval ;;
7473 # Look at the argument we got. We use all the common list separators.
7474 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7475 for lt_pkg in $withval; do
7477 if test "X$lt_pkg" = "X$lt_p"; then
7489 test -z "$pic_mode" && pic_mode=default
7497 # Check whether --enable-fast-install was given.
7498 if test "${enable_fast_install+set}" = set; then :
7499 enableval=$enable_fast_install; p=${PACKAGE-default}
7501 yes) enable_fast_install=yes ;;
7502 no) enable_fast_install=no ;;
7504 enable_fast_install=no
7505 # Look at the argument we got. We use all the common list separators.
7506 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7507 for pkg in $enableval; do
7509 if test "X$pkg" = "X$p"; then
7510 enable_fast_install=yes
7517 enable_fast_install=yes
7530 # This can be used to rebuild libtool when needed
7531 LIBTOOL_DEPS="$ltmain"
7533 # Always use our own libtool.
7534 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7565 test -z "$LN_S" && LN_S="ln -s"
7580 if test -n "${ZSH_VERSION+set}" ; then
7581 setopt NO_GLOB_SUBST
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7585 $as_echo_n "checking for objdir... " >&6; }
7586 if ${lt_cv_objdir+:} false; then :
7587 $as_echo_n "(cached) " >&6
7589 rm -f .libs 2>/dev/null
7590 mkdir .libs 2>/dev/null
7591 if test -d .libs; then
7594 # MS-DOS does not allow filenames that begin with a dot.
7597 rmdir .libs 2>/dev/null
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7600 $as_echo "$lt_cv_objdir" >&6; }
7601 objdir=$lt_cv_objdir
7607 cat >>confdefs.h <<_ACEOF
7608 #define LT_OBJDIR "$lt_cv_objdir/"
7616 # AIX sometimes has problems with the GCC collect2 program. For some
7617 # reason, if we set the COLLECT_NAMES environment variable, the problems
7618 # vanish in a puff of smoke.
7619 if test "X${COLLECT_NAMES+set}" != Xset; then
7621 export COLLECT_NAMES
7628 can_build_shared=yes
7630 # All known linkers require a `.a' archive for static linking (except MSVC,
7631 # which needs '.lib').
7634 with_gnu_ld="$lt_cv_prog_gnu_ld"
7637 old_CFLAGS="$CFLAGS"
7639 # Set sane defaults for various variables
7640 test -z "$CC" && CC=cc
7641 test -z "$LTCC" && LTCC=$CC
7642 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7643 test -z "$LD" && LD=ld
7644 test -z "$ac_objext" && ac_objext=o
7646 for cc_temp in $compiler""; do
7648 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7649 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7654 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7657 # Only perform the check for file, if the check method requires it
7658 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7659 case $deplibs_check_method in
7661 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7663 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7664 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7665 $as_echo_n "(cached) " >&6
7669 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7672 lt_save_MAGIC_CMD="$MAGIC_CMD"
7673 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7674 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7675 for ac_dir in $ac_dummy; do
7677 test -z "$ac_dir" && ac_dir=.
7678 if test -f $ac_dir/${ac_tool_prefix}file; then
7679 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7680 if test -n "$file_magic_test_file"; then
7681 case $deplibs_check_method in
7683 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7684 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7685 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7686 $EGREP "$file_magic_regex" > /dev/null; then
7691 *** Warning: the command libtool uses to detect shared libraries,
7692 *** $file_magic_cmd, produces output that libtool cannot recognize.
7693 *** The result is that libtool may fail to recognize shared libraries
7694 *** as such. This will affect the creation of libtool libraries that
7695 *** depend on shared libraries, but programs linked with such libtool
7696 *** libraries will work regardless of this problem. Nevertheless, you
7697 *** may want to report the problem to your system manager and/or to
7698 *** bug-libtool@gnu.org
7708 MAGIC_CMD="$lt_save_MAGIC_CMD"
7713 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7714 if test -n "$MAGIC_CMD"; then
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7716 $as_echo "$MAGIC_CMD" >&6; }
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719 $as_echo "no" >&6; }
7726 if test -z "$lt_cv_path_MAGIC_CMD"; then
7727 if test -n "$ac_tool_prefix"; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7729 $as_echo_n "checking for file... " >&6; }
7730 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7731 $as_echo_n "(cached) " >&6
7735 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7738 lt_save_MAGIC_CMD="$MAGIC_CMD"
7739 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7740 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7741 for ac_dir in $ac_dummy; do
7743 test -z "$ac_dir" && ac_dir=.
7744 if test -f $ac_dir/file; then
7745 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7746 if test -n "$file_magic_test_file"; then
7747 case $deplibs_check_method in
7749 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7750 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7751 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7752 $EGREP "$file_magic_regex" > /dev/null; then
7757 *** Warning: the command libtool uses to detect shared libraries,
7758 *** $file_magic_cmd, produces output that libtool cannot recognize.
7759 *** The result is that libtool may fail to recognize shared libraries
7760 *** as such. This will affect the creation of libtool libraries that
7761 *** depend on shared libraries, but programs linked with such libtool
7762 *** libraries will work regardless of this problem. Nevertheless, you
7763 *** may want to report the problem to your system manager and/or to
7764 *** bug-libtool@gnu.org
7774 MAGIC_CMD="$lt_save_MAGIC_CMD"
7779 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7780 if test -n "$MAGIC_CMD"; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7782 $as_echo "$MAGIC_CMD" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7785 $as_echo "no" >&6; }
7798 # Use C for the default configuration in the libtool script
7802 ac_cpp='$CPP $CPPFLAGS'
7803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7808 # Source file extension for C test sources.
7811 # Object file extension for compiled C test sources.
7815 # Code to be used in simple compile tests
7816 lt_simple_compile_test_code="int some_variable = 0;"
7818 # Code to be used in simple link tests
7819 lt_simple_link_test_code='int main(){return(0);}'
7827 # If no C compiler was specified, use CC.
7830 # If no C compiler flags were specified, use CFLAGS.
7831 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7833 # Allow CC to be a program name with arguments.
7836 # Save the default compiler, since it gets overwritten when the other
7837 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7838 compiler_DEFAULT=$CC
7840 # save warnings/boilerplate of simple test code
7841 ac_outfile=conftest.$ac_objext
7842 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7843 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7844 _lt_compiler_boilerplate=`cat conftest.err`
7847 ac_outfile=conftest.$ac_objext
7848 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7849 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7850 _lt_linker_boilerplate=`cat conftest.err`
7854 if test -n "$compiler"; then
7856 lt_prog_compiler_no_builtin_flag=
7858 if test "$GCC" = yes; then
7859 case $cc_basename in
7861 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7863 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7867 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7868 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7869 $as_echo_n "(cached) " >&6
7871 lt_cv_prog_compiler_rtti_exceptions=no
7872 ac_outfile=conftest.$ac_objext
7873 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7874 lt_compiler_flag="-fno-rtti -fno-exceptions"
7875 # Insert the option either (1) after the last *FLAGS variable, or
7876 # (2) before a word containing "conftest.", or (3) at the end.
7877 # Note that $ac_compile itself does not contain backslashes and begins
7878 # with a dollar sign (not a hyphen), so the echo should work correctly.
7879 # The option is referenced via a variable to avoid confusing sed.
7880 lt_compile=`echo "$ac_compile" | $SED \
7881 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7883 -e 's:$: $lt_compiler_flag:'`
7884 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7885 (eval "$lt_compile" 2>conftest.err)
7887 cat conftest.err >&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 if (exit $ac_status) && test -s "$ac_outfile"; then
7890 # The compiler can only warn and ignore the option if not recognized
7891 # So say no if there are warnings other than the usual output.
7892 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7893 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7894 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7895 lt_cv_prog_compiler_rtti_exceptions=yes
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7902 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7904 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7905 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7917 lt_prog_compiler_wl=
7918 lt_prog_compiler_pic=
7919 lt_prog_compiler_static=
7922 if test "$GCC" = yes; then
7923 lt_prog_compiler_wl='-Wl,'
7924 lt_prog_compiler_static='-static'
7928 # All AIX code is PIC.
7929 if test "$host_cpu" = ia64; then
7930 # AIX 5 now supports IA64 processor
7931 lt_prog_compiler_static='-Bstatic'
7938 # see comment about AmigaOS4 .so support
7939 lt_prog_compiler_pic='-fPIC'
7942 # FIXME: we need at least 68020 code to build shared libraries, but
7943 # adding the `-m68020' flag to GCC prevents building anything better,
7945 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7950 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7951 # PIC is the default for these OSes.
7954 mingw* | cygwin* | pw32* | os2* | cegcc*)
7955 # This hack is so that the source file can tell whether it is being
7956 # built for inclusion in a dll (and should export symbols for example).
7957 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7958 # (--disable-auto-import) libraries
7959 lt_prog_compiler_pic='-DDLL_EXPORT'
7962 darwin* | rhapsody*)
7963 # PIC is the default on this platform
7964 # Common symbols not allowed in MH_DYLIB files
7965 lt_prog_compiler_pic='-fno-common'
7969 # PIC is the default for Haiku.
7970 # The "-static" flag exists, but is broken.
7971 lt_prog_compiler_static=
7975 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7976 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7977 # sets the default TLS model and affects inlining.
7983 lt_prog_compiler_pic='-fPIC'
7989 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7990 # Instead, we relocate shared libraries at runtime.
7994 # Just because we use GCC doesn't mean we suddenly get shared libraries
7995 # on systems that don't support them.
7996 lt_prog_compiler_can_build_shared=no
8001 # QNX uses GNU C++, but need to define -shared option too, otherwise
8003 lt_prog_compiler_pic='-fPIC -shared'
8007 if test -d /usr/nec; then
8008 lt_prog_compiler_pic=-Kconform_pic
8013 lt_prog_compiler_pic='-fPIC'
8017 case $cc_basename in
8018 nvcc*) # Cuda Compiler Driver 2.2
8019 lt_prog_compiler_wl='-Xlinker '
8020 if test -n "$lt_prog_compiler_pic"; then
8021 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8026 # PORTME Check for flag to pass linker flags through the system compiler.
8029 lt_prog_compiler_wl='-Wl,'
8030 if test "$host_cpu" = ia64; then
8031 # AIX 5 now supports IA64 processor
8032 lt_prog_compiler_static='-Bstatic'
8034 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8038 mingw* | cygwin* | pw32* | os2* | cegcc*)
8039 # This hack is so that the source file can tell whether it is being
8040 # built for inclusion in a dll (and should export symbols for example).
8041 lt_prog_compiler_pic='-DDLL_EXPORT'
8044 hpux9* | hpux10* | hpux11*)
8045 lt_prog_compiler_wl='-Wl,'
8046 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8053 lt_prog_compiler_pic='+Z'
8056 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8057 lt_prog_compiler_static='${wl}-a ${wl}archive'
8060 irix5* | irix6* | nonstopux*)
8061 lt_prog_compiler_wl='-Wl,'
8062 # PIC (with -KPIC) is the default.
8063 lt_prog_compiler_static='-non_shared'
8066 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8067 case $cc_basename in
8068 # old Intel for x86_64 which still supported -KPIC.
8070 lt_prog_compiler_wl='-Wl,'
8071 lt_prog_compiler_pic='-KPIC'
8072 lt_prog_compiler_static='-static'
8074 # icc used to be incompatible with GCC.
8075 # ICC 10 doesn't accept -KPIC any more.
8077 lt_prog_compiler_wl='-Wl,'
8078 lt_prog_compiler_pic='-fPIC'
8079 lt_prog_compiler_static='-static'
8081 # Lahey Fortran 8.1.
8083 lt_prog_compiler_wl='-Wl,'
8084 lt_prog_compiler_pic='--shared'
8085 lt_prog_compiler_static='--static'
8088 # NAG Fortran compiler
8089 lt_prog_compiler_wl='-Wl,-Wl,,'
8090 lt_prog_compiler_pic='-PIC'
8091 lt_prog_compiler_static='-Bstatic'
8093 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8094 # Portland Group compilers (*not* the Pentium gcc compiler,
8095 # which looks to be a dead project)
8096 lt_prog_compiler_wl='-Wl,'
8097 lt_prog_compiler_pic='-fpic'
8098 lt_prog_compiler_static='-Bstatic'
8101 lt_prog_compiler_wl='-Wl,'
8102 # All Alpha code is PIC.
8103 lt_prog_compiler_static='-non_shared'
8105 xl* | bgxl* | bgf* | mpixl*)
8106 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8107 lt_prog_compiler_wl='-Wl,'
8108 lt_prog_compiler_pic='-qpic'
8109 lt_prog_compiler_static='-qstaticlink'
8112 case `$CC -V 2>&1 | sed 5q` in
8113 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8114 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8115 lt_prog_compiler_pic='-KPIC'
8116 lt_prog_compiler_static='-Bstatic'
8117 lt_prog_compiler_wl=''
8119 *Sun\ F* | *Sun*Fortran*)
8120 lt_prog_compiler_pic='-KPIC'
8121 lt_prog_compiler_static='-Bstatic'
8122 lt_prog_compiler_wl='-Qoption ld '
8126 lt_prog_compiler_pic='-KPIC'
8127 lt_prog_compiler_static='-Bstatic'
8128 lt_prog_compiler_wl='-Wl,'
8130 *Intel*\ [CF]*Compiler*)
8131 lt_prog_compiler_wl='-Wl,'
8132 lt_prog_compiler_pic='-fPIC'
8133 lt_prog_compiler_static='-static'
8136 lt_prog_compiler_wl='-Wl,'
8137 lt_prog_compiler_pic='-fpic'
8138 lt_prog_compiler_static='-Bstatic'
8146 lt_prog_compiler_pic='-KPIC'
8147 lt_prog_compiler_static='-Bstatic'
8151 # QNX uses GNU C++, but need to define -shared option too, otherwise
8153 lt_prog_compiler_pic='-fPIC -shared'
8156 osf3* | osf4* | osf5*)
8157 lt_prog_compiler_wl='-Wl,'
8158 # All OSF/1 code is PIC.
8159 lt_prog_compiler_static='-non_shared'
8163 lt_prog_compiler_static='-non_shared'
8167 lt_prog_compiler_pic='-KPIC'
8168 lt_prog_compiler_static='-Bstatic'
8169 case $cc_basename in
8170 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8171 lt_prog_compiler_wl='-Qoption ld ';;
8173 lt_prog_compiler_wl='-Wl,';;
8178 lt_prog_compiler_wl='-Qoption ld '
8179 lt_prog_compiler_pic='-PIC'
8180 lt_prog_compiler_static='-Bstatic'
8183 sysv4 | sysv4.2uw2* | sysv4.3*)
8184 lt_prog_compiler_wl='-Wl,'
8185 lt_prog_compiler_pic='-KPIC'
8186 lt_prog_compiler_static='-Bstatic'
8190 if test -d /usr/nec ;then
8191 lt_prog_compiler_pic='-Kconform_pic'
8192 lt_prog_compiler_static='-Bstatic'
8196 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8197 lt_prog_compiler_wl='-Wl,'
8198 lt_prog_compiler_pic='-KPIC'
8199 lt_prog_compiler_static='-Bstatic'
8203 lt_prog_compiler_wl='-Wl,'
8204 lt_prog_compiler_can_build_shared=no
8208 lt_prog_compiler_pic='-pic'
8209 lt_prog_compiler_static='-Bstatic'
8213 lt_prog_compiler_can_build_shared=no
8219 # For platforms which do not support PIC, -DPIC is meaningless:
8221 lt_prog_compiler_pic=
8224 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8229 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8230 if ${lt_cv_prog_compiler_pic+:} false; then :
8231 $as_echo_n "(cached) " >&6
8233 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8236 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8237 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8240 # Check to make sure the PIC flag actually works.
8242 if test -n "$lt_prog_compiler_pic"; then
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8244 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8245 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8246 $as_echo_n "(cached) " >&6
8248 lt_cv_prog_compiler_pic_works=no
8249 ac_outfile=conftest.$ac_objext
8250 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8251 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8252 # Insert the option either (1) after the last *FLAGS variable, or
8253 # (2) before a word containing "conftest.", or (3) at the end.
8254 # Note that $ac_compile itself does not contain backslashes and begins
8255 # with a dollar sign (not a hyphen), so the echo should work correctly.
8256 # The option is referenced via a variable to avoid confusing sed.
8257 lt_compile=`echo "$ac_compile" | $SED \
8258 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8260 -e 's:$: $lt_compiler_flag:'`
8261 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8262 (eval "$lt_compile" 2>conftest.err)
8264 cat conftest.err >&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 if (exit $ac_status) && test -s "$ac_outfile"; then
8267 # The compiler can only warn and ignore the option if not recognized
8268 # So say no if there are warnings other than the usual output.
8269 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8270 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8271 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8272 lt_cv_prog_compiler_pic_works=yes
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8279 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8281 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8282 case $lt_prog_compiler_pic in
8284 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8287 lt_prog_compiler_pic=
8288 lt_prog_compiler_can_build_shared=no
8304 # Check to make sure the static flag actually works.
8306 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8308 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8309 if ${lt_cv_prog_compiler_static_works+:} false; then :
8310 $as_echo_n "(cached) " >&6
8312 lt_cv_prog_compiler_static_works=no
8313 save_LDFLAGS="$LDFLAGS"
8314 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8315 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8316 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8317 # The linker can only warn and ignore the option if not recognized
8318 # So say no if there are warnings
8319 if test -s conftest.err; then
8320 # Append any errors to the config.log.
8321 cat conftest.err 1>&5
8322 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8323 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8324 if diff conftest.exp conftest.er2 >/dev/null; then
8325 lt_cv_prog_compiler_static_works=yes
8328 lt_cv_prog_compiler_static_works=yes
8332 LDFLAGS="$save_LDFLAGS"
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8336 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8338 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8341 lt_prog_compiler_static=
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8351 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8352 if ${lt_cv_prog_compiler_c_o+:} false; then :
8353 $as_echo_n "(cached) " >&6
8355 lt_cv_prog_compiler_c_o=no
8356 $RM -r conftest 2>/dev/null
8360 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8362 lt_compiler_flag="-o out/conftest2.$ac_objext"
8363 # Insert the option either (1) after the last *FLAGS variable, or
8364 # (2) before a word containing "conftest.", or (3) at the end.
8365 # Note that $ac_compile itself does not contain backslashes and begins
8366 # with a dollar sign (not a hyphen), so the echo should work correctly.
8367 lt_compile=`echo "$ac_compile" | $SED \
8368 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8369 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8370 -e 's:$: $lt_compiler_flag:'`
8371 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8372 (eval "$lt_compile" 2>out/conftest.err)
8374 cat out/conftest.err >&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8378 # The compiler can only warn and ignore the option if not recognized
8379 # So say no if there are warnings
8380 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8381 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8382 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8383 lt_cv_prog_compiler_c_o=yes
8388 # SGI C++ compiler will create directory out/ii_files/ for
8389 # template instantiation
8390 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8391 $RM out/* && rmdir out
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8398 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8406 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8407 if ${lt_cv_prog_compiler_c_o+:} false; then :
8408 $as_echo_n "(cached) " >&6
8410 lt_cv_prog_compiler_c_o=no
8411 $RM -r conftest 2>/dev/null
8415 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8417 lt_compiler_flag="-o out/conftest2.$ac_objext"
8418 # Insert the option either (1) after the last *FLAGS variable, or
8419 # (2) before a word containing "conftest.", or (3) at the end.
8420 # Note that $ac_compile itself does not contain backslashes and begins
8421 # with a dollar sign (not a hyphen), so the echo should work correctly.
8422 lt_compile=`echo "$ac_compile" | $SED \
8423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8425 -e 's:$: $lt_compiler_flag:'`
8426 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8427 (eval "$lt_compile" 2>out/conftest.err)
8429 cat out/conftest.err >&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8433 # The compiler can only warn and ignore the option if not recognized
8434 # So say no if there are warnings
8435 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8436 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8437 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8438 lt_cv_prog_compiler_c_o=yes
8443 # SGI C++ compiler will create directory out/ii_files/ for
8444 # template instantiation
8445 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8446 $RM out/* && rmdir out
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8453 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8458 hard_links="nottested"
8459 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8460 # do not overwrite the value of need_locks provided by the user
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8462 $as_echo_n "checking if we can lock with hard links... " >&6; }
8465 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8467 ln conftest.a conftest.b 2>&5 || hard_links=no
8468 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8470 $as_echo "$hard_links" >&6; }
8471 if test "$hard_links" = no; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8473 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8486 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8489 allow_undefined_flag=
8490 always_export_symbols=no
8492 archive_expsym_cmds=
8493 compiler_needs_object=no
8494 enable_shared_with_static_runtimes=no
8495 export_dynamic_flag_spec=
8496 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8497 hardcode_automatic=no
8499 hardcode_direct_absolute=no
8500 hardcode_libdir_flag_spec=
8501 hardcode_libdir_separator=
8503 hardcode_shlibpath_var=unsupported
8505 link_all_deplibs=unknown
8508 old_archive_from_new_cmds=
8509 old_archive_from_expsyms_cmds=
8510 thread_safe_flag_spec=
8511 whole_archive_flag_spec=
8512 # include_expsyms should be a list of space-separated symbols to be *always*
8513 # included in the symbol list
8515 # exclude_expsyms can be an extended regexp of symbols to exclude
8516 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8517 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8518 # as well as any symbol that contains `d'.
8519 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8520 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8521 # platforms (ab)use it in PIC code, but their linkers get confused if
8522 # the symbol is explicitly referenced. Since portable code cannot
8523 # rely on this symbol name, it's probably fine to never include it in
8524 # preloaded symbol tables.
8525 # Exclude shared library initialization/finalization symbols.
8526 extract_expsyms_cmds=
8529 cygwin* | mingw* | pw32* | cegcc*)
8530 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8531 # When not using gcc, we currently assume that we are using
8532 # Microsoft Visual C++.
8533 if test "$GCC" != yes; then
8538 # we just hope/assume this is gcc and not c89 (= MSVC++)
8544 linux* | k*bsd*-gnu | gnu*)
8551 # On some targets, GNU ld is compatible enough with the native linker
8552 # that we're better off using the native interface for both.
8553 lt_use_gnu_ld_interface=no
8554 if test "$with_gnu_ld" = yes; then
8557 # The AIX port of GNU ld has always aspired to compatibility
8558 # with the native linker. However, as the warning in the GNU ld
8559 # block says, versions before 2.19.5* couldn't really create working
8560 # shared libraries, regardless of the interface used.
8561 case `$LD -v 2>&1` in
8562 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8563 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8564 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8566 lt_use_gnu_ld_interface=yes
8571 lt_use_gnu_ld_interface=yes
8576 if test "$lt_use_gnu_ld_interface" = yes; then
8577 # If archive_cmds runs LD, not CC, wlarc should be empty
8580 # Set some defaults for GNU ld with shared library support. These
8581 # are reset later if shared libraries are not supported. Putting them
8582 # here allows them to be overridden if necessary.
8583 runpath_var=LD_RUN_PATH
8584 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8585 export_dynamic_flag_spec='${wl}--export-dynamic'
8586 # ancient GNU ld didn't support --whole-archive et. al.
8587 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8588 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8590 whole_archive_flag_spec=
8592 supports_anon_versioning=no
8593 case `$LD -v 2>&1` in
8594 *GNU\ gold*) supports_anon_versioning=yes ;;
8595 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8596 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8597 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8598 *\ 2.11.*) ;; # other 2.11 versions
8599 *) supports_anon_versioning=yes ;;
8602 # See if GNU ld supports shared libraries.
8605 # On AIX/PPC, the GNU linker is very broken
8606 if test "$host_cpu" != ia64; then
8610 *** Warning: the GNU linker, at least up to release 2.19, is reported
8611 *** to be unable to reliably create shared libraries on AIX.
8612 *** Therefore, libtool is disabling shared libraries support. If you
8613 *** really care for shared libraries, you may want to install binutils
8614 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8615 *** You will then need to restart the configuration process.
8624 # see comment about AmigaOS4 .so support
8625 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8626 archive_expsym_cmds=''
8629 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)'
8630 hardcode_libdir_flag_spec='-L$libdir'
8631 hardcode_minus_L=yes
8637 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8638 allow_undefined_flag=unsupported
8639 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8640 # support --undefined. This deserves some investigation. FIXME
8641 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8647 cygwin* | mingw* | pw32* | cegcc*)
8648 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8649 # as there is no search path for DLLs.
8650 hardcode_libdir_flag_spec='-L$libdir'
8651 export_dynamic_flag_spec='${wl}--export-all-symbols'
8652 allow_undefined_flag=unsupported
8653 always_export_symbols=no
8654 enable_shared_with_static_runtimes=yes
8655 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'
8656 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8658 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8659 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8660 # If the export-symbols file already is a .def file (1st line
8661 # is EXPORTS), use it as is; otherwise, prepend...
8662 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8663 cp $export_symbols $output_objdir/$soname.def;
8665 echo EXPORTS > $output_objdir/$soname.def;
8666 cat $export_symbols >> $output_objdir/$soname.def;
8668 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8675 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8676 link_all_deplibs=yes
8681 hardcode_shlibpath_var=no
8682 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8683 export_dynamic_flag_spec='${wl}-E'
8684 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8685 # Instead, shared libraries are loaded at an image base (0x10000000 by
8686 # default) and relocated if they conflict, which is a slow very memory
8687 # consuming and fragmenting process. To avoid this, we pick a random,
8688 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8689 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8690 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8691 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'
8694 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8696 if test "$host_os" = linux-dietlibc; then
8697 case $cc_basename in
8698 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8701 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8702 && test "$tmp_diet" = no
8704 tmp_addflag=' $pic_flag'
8705 tmp_sharedflag='-shared'
8706 case $cc_basename,$host_cpu in
8707 pgcc*) # Portland Group C compiler
8708 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'
8709 tmp_addflag=' $pic_flag'
8711 pgf77* | pgf90* | pgf95* | pgfortran*)
8712 # Portland Group f77 and f90 compilers
8713 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'
8714 tmp_addflag=' $pic_flag -Mnomain' ;;
8715 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8716 tmp_addflag=' -i_dynamic' ;;
8717 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8718 tmp_addflag=' -i_dynamic -nofor_main' ;;
8719 ifc* | ifort*) # Intel Fortran compiler
8720 tmp_addflag=' -nofor_main' ;;
8721 lf95*) # Lahey Fortran 8.1
8722 whole_archive_flag_spec=
8723 tmp_sharedflag='--shared' ;;
8724 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8725 tmp_sharedflag='-qmkshrobj'
8727 nvcc*) # Cuda Compiler Driver 2.2
8728 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'
8729 compiler_needs_object=yes
8732 case `$CC -V 2>&1 | sed 5q` in
8733 *Sun\ C*) # Sun C 5.9
8734 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'
8735 compiler_needs_object=yes
8736 tmp_sharedflag='-G' ;;
8737 *Sun\ F*) # Sun Fortran 8.3
8738 tmp_sharedflag='-G' ;;
8740 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8742 if test "x$supports_anon_versioning" = xyes; then
8743 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8744 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8745 echo "local: *; };" >> $output_objdir/$libname.ver~
8746 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8749 case $cc_basename in
8750 xlf* | bgf* | bgxlf* | mpixlf*)
8751 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8752 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8753 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8754 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8755 if test "x$supports_anon_versioning" = xyes; then
8756 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8757 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8758 echo "local: *; };" >> $output_objdir/$libname.ver~
8759 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8768 netbsd* | netbsdelf*-gnu)
8769 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8770 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8773 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8774 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8779 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8783 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8784 *** create shared libraries on Solaris systems. Therefore, libtool
8785 *** is disabling shared libraries support. We urge you to upgrade GNU
8786 *** binutils to release 2.9.1 or newer. Another option is to modify
8787 *** your PATH or compiler configuration so that the native linker is
8788 *** used, and then restart.
8791 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8792 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8793 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8799 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8800 case `$LD -v 2>&1` in
8801 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8805 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8806 *** reliably create shared libraries on SCO systems. Therefore, libtool
8807 *** is disabling shared libraries support. We urge you to upgrade GNU
8808 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8809 *** your PATH or compiler configuration so that the native linker is
8810 *** used, and then restart.
8815 # For security reasons, it is highly recommended that you always
8816 # use absolute paths for naming shared libraries, and exclude the
8817 # DT_RUNPATH tag from executables and libraries. But doing so
8818 # requires that you compile everything twice, which is a pain.
8819 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8820 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8821 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8822 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8831 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8834 hardcode_shlibpath_var=no
8838 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8839 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8840 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8847 if test "$ld_shlibs" = no; then
8849 hardcode_libdir_flag_spec=
8850 export_dynamic_flag_spec=
8851 whole_archive_flag_spec=
8854 # PORTME fill in a description of your system's linker (not GNU ld)
8857 allow_undefined_flag=unsupported
8858 always_export_symbols=yes
8859 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'
8860 # Note: this linker hardcodes the directories in LIBPATH if there
8861 # are no directories specified by -L.
8862 hardcode_minus_L=yes
8863 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8864 # Neither direct hardcoding nor static linking is supported with a
8866 hardcode_direct=unsupported
8871 if test "$host_cpu" = ia64; then
8872 # On IA64, the linker does run time linking by default, so we don't
8873 # have to do anything special.
8874 aix_use_runtimelinking=no
8875 exp_sym_flag='-Bexport'
8878 # If we're using GNU nm, then we don't want the "-C" option.
8879 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8880 # Also, AIX nm treats weak defined symbols like other global
8881 # defined symbols, whereas GNU nm marks them as "W".
8882 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8883 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'
8885 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'
8887 aix_use_runtimelinking=no
8889 # Test if we are trying to use run time linking or normal
8890 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8891 # need to do runtime linking.
8892 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8893 for ld_flag in $LDFLAGS; do
8894 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8895 aix_use_runtimelinking=yes
8902 exp_sym_flag='-bexport'
8903 no_entry_flag='-bnoentry'
8906 # When large executables or shared objects are built, AIX ld can
8907 # have problems creating the table of contents. If linking a library
8908 # or program results in "error TOC overflow" add -mminimal-toc to
8909 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8910 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8914 hardcode_direct_absolute=yes
8915 hardcode_libdir_separator=':'
8916 link_all_deplibs=yes
8917 file_list_spec='${wl}-f,'
8919 if test "$GCC" = yes; then
8920 case $host_os in aix4.[012]|aix4.[012].*)
8921 # We only want to do this on AIX 4.2 and lower, the check
8922 # below for broken collect2 doesn't work under 4.3+
8923 collect2name=`${CC} -print-prog-name=collect2`
8924 if test -f "$collect2name" &&
8925 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8927 # We have reworked collect2
8930 # We have old collect2
8931 hardcode_direct=unsupported
8932 # It fails to find uninstalled libraries when the uninstalled
8933 # path is not listed in the libpath. Setting hardcode_minus_L
8934 # to unsupported forces relinking
8935 hardcode_minus_L=yes
8936 hardcode_libdir_flag_spec='-L$libdir'
8937 hardcode_libdir_separator=
8941 shared_flag='-shared'
8942 if test "$aix_use_runtimelinking" = yes; then
8943 shared_flag="$shared_flag "'${wl}-G'
8948 if test "$host_cpu" = ia64; then
8949 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8950 # chokes on -Wl,-G. The following line is correct:
8953 if test "$aix_use_runtimelinking" = yes; then
8954 shared_flag='${wl}-G'
8956 shared_flag='${wl}-bM:SRE'
8961 export_dynamic_flag_spec='${wl}-bexpall'
8962 # It seems that -bexpall does not export symbols beginning with
8963 # underscore (_), so it is better to generate a list of symbols to export.
8964 always_export_symbols=yes
8965 if test "$aix_use_runtimelinking" = yes; then
8966 # Warning - without using the other runtime loading flags (-brtl),
8967 # -berok will link without error, but may produce a broken library.
8968 allow_undefined_flag='-berok'
8969 # Determine the default libpath from the value encoded in an
8971 if test "${lt_cv_aix_libpath+set}" = set; then
8972 aix_libpath=$lt_cv_aix_libpath
8974 if ${lt_cv_aix_libpath_+:} false; then :
8975 $as_echo_n "(cached) " >&6
8977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8978 /* end confdefs.h. */
8988 if ac_fn_c_try_link "$LINENO"; then :
8990 lt_aix_libpath_sed='
8991 /Import File Strings/,/^$/ {
8993 s/^0 *\([^ ]*\) *$/\1/
8997 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8998 # Check for a 64-bit object if we didn't find anything.
8999 if test -z "$lt_cv_aix_libpath_"; then
9000 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9003 rm -f core conftest.err conftest.$ac_objext \
9004 conftest$ac_exeext conftest.$ac_ext
9005 if test -z "$lt_cv_aix_libpath_"; then
9006 lt_cv_aix_libpath_="/usr/lib:/lib"
9011 aix_libpath=$lt_cv_aix_libpath_
9014 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9015 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"
9017 if test "$host_cpu" = ia64; then
9018 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9019 allow_undefined_flag="-z nodefs"
9020 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"
9022 # Determine the default libpath from the value encoded in an
9024 if test "${lt_cv_aix_libpath+set}" = set; then
9025 aix_libpath=$lt_cv_aix_libpath
9027 if ${lt_cv_aix_libpath_+:} false; then :
9028 $as_echo_n "(cached) " >&6
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9041 if ac_fn_c_try_link "$LINENO"; then :
9043 lt_aix_libpath_sed='
9044 /Import File Strings/,/^$/ {
9046 s/^0 *\([^ ]*\) *$/\1/
9050 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9051 # Check for a 64-bit object if we didn't find anything.
9052 if test -z "$lt_cv_aix_libpath_"; then
9053 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9056 rm -f core conftest.err conftest.$ac_objext \
9057 conftest$ac_exeext conftest.$ac_ext
9058 if test -z "$lt_cv_aix_libpath_"; then
9059 lt_cv_aix_libpath_="/usr/lib:/lib"
9064 aix_libpath=$lt_cv_aix_libpath_
9067 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9068 # Warning - without using the other run time loading flags,
9069 # -berok will link without error, but may produce a broken library.
9070 no_undefined_flag=' ${wl}-bernotok'
9071 allow_undefined_flag=' ${wl}-berok'
9072 if test "$with_gnu_ld" = yes; then
9073 # We only use this code for GNU lds that support --whole-archive.
9074 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9076 # Exported symbols can be pulled into shared objects from archives
9077 whole_archive_flag_spec='$convenience'
9079 archive_cmds_need_lc=yes
9080 # This is similar to how AIX traditionally builds its shared libraries.
9081 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'
9089 # see comment about AmigaOS4 .so support
9090 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9091 archive_expsym_cmds=''
9094 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)'
9095 hardcode_libdir_flag_spec='-L$libdir'
9096 hardcode_minus_L=yes
9102 export_dynamic_flag_spec=-rdynamic
9105 cygwin* | mingw* | pw32* | cegcc*)
9106 # When not using gcc, we currently assume that we are using
9107 # Microsoft Visual C++.
9108 # hardcode_libdir_flag_spec is actually meaningless, as there is
9109 # no search path for DLLs.
9110 case $cc_basename in
9113 hardcode_libdir_flag_spec=' '
9114 allow_undefined_flag=unsupported
9115 always_export_symbols=yes
9117 # Tell ltmain to make .lib files, not .a files.
9119 # Tell ltmain to make .dll files, not .so files.
9121 # FIXME: Setting linknames here is a bad hack.
9122 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9123 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9124 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9126 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9128 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9130 # The linker will not automatically build a static lib if we build a DLL.
9131 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9132 enable_shared_with_static_runtimes=yes
9133 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9134 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9136 old_postinstall_cmds='chmod 644 $oldlib'
9137 postlink_cmds='lt_outputfile="@OUTPUT@"~
9138 lt_tool_outputfile="@TOOL_OUTPUT@"~
9139 case $lt_outputfile in
9142 lt_outputfile="$lt_outputfile.exe"
9143 lt_tool_outputfile="$lt_tool_outputfile.exe"
9146 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9147 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9148 $RM "$lt_outputfile.manifest";
9152 # Assume MSVC wrapper
9153 hardcode_libdir_flag_spec=' '
9154 allow_undefined_flag=unsupported
9155 # Tell ltmain to make .lib files, not .a files.
9157 # Tell ltmain to make .dll files, not .so files.
9159 # FIXME: Setting linknames here is a bad hack.
9160 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9161 # The linker will automatically build a .lib file if we build a DLL.
9162 old_archive_from_new_cmds='true'
9163 # FIXME: Should let the user specify the lib program.
9164 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9165 enable_shared_with_static_runtimes=yes
9170 darwin* | rhapsody*)
9173 archive_cmds_need_lc=no
9175 hardcode_automatic=yes
9176 hardcode_shlibpath_var=unsupported
9177 if test "$lt_cv_ld_force_load" = "yes"; then
9178 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\"`'
9181 whole_archive_flag_spec=''
9183 link_all_deplibs=yes
9184 allow_undefined_flag="$_lt_dar_allow_undefined"
9185 case $cc_basename in
9186 ifort*) _lt_dar_can_shared=yes ;;
9187 *) _lt_dar_can_shared=$GCC ;;
9189 if test "$_lt_dar_can_shared" = "yes"; then
9190 output_verbose_link_cmd=func_echo_all
9191 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9192 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9193 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}"
9194 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}"
9203 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9204 hardcode_libdir_flag_spec='-L$libdir'
9205 hardcode_shlibpath_var=no
9208 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9209 # support. Future versions do this automatically, but an explicit c++rt0.o
9210 # does not break anything, and helps significantly (at the cost of a little
9213 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9214 hardcode_libdir_flag_spec='-R$libdir'
9216 hardcode_shlibpath_var=no
9219 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9221 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9223 hardcode_minus_L=yes
9224 hardcode_shlibpath_var=no
9227 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9228 freebsd* | dragonfly*)
9229 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9230 hardcode_libdir_flag_spec='-R$libdir'
9232 hardcode_shlibpath_var=no
9236 if test "$GCC" = yes; then
9237 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'
9239 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'
9241 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9242 hardcode_libdir_separator=:
9245 # hardcode_minus_L: Not really in the search PATH,
9246 # but as the default location of the library.
9247 hardcode_minus_L=yes
9248 export_dynamic_flag_spec='${wl}-E'
9252 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9253 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9255 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9257 if test "$with_gnu_ld" = no; then
9258 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9259 hardcode_libdir_separator=:
9261 hardcode_direct_absolute=yes
9262 export_dynamic_flag_spec='${wl}-E'
9263 # hardcode_minus_L: Not really in the search PATH,
9264 # but as the default location of the library.
9265 hardcode_minus_L=yes
9270 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9273 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9276 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9279 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9285 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9288 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9292 # Older versions of the 11.00 compiler do not understand -b yet
9293 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9295 $as_echo_n "checking if $CC understands -b... " >&6; }
9296 if ${lt_cv_prog_compiler__b+:} false; then :
9297 $as_echo_n "(cached) " >&6
9299 lt_cv_prog_compiler__b=no
9300 save_LDFLAGS="$LDFLAGS"
9301 LDFLAGS="$LDFLAGS -b"
9302 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9303 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9304 # The linker can only warn and ignore the option if not recognized
9305 # So say no if there are warnings
9306 if test -s conftest.err; then
9307 # Append any errors to the config.log.
9308 cat conftest.err 1>&5
9309 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9310 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9311 if diff conftest.exp conftest.er2 >/dev/null; then
9312 lt_cv_prog_compiler__b=yes
9315 lt_cv_prog_compiler__b=yes
9319 LDFLAGS="$save_LDFLAGS"
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9323 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9325 if test x"$lt_cv_prog_compiler__b" = xyes; then
9326 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9328 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9334 if test "$with_gnu_ld" = no; then
9335 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9336 hardcode_libdir_separator=:
9341 hardcode_shlibpath_var=no
9345 hardcode_direct_absolute=yes
9346 export_dynamic_flag_spec='${wl}-E'
9348 # hardcode_minus_L: Not really in the search PATH,
9349 # but as the default location of the library.
9350 hardcode_minus_L=yes
9356 irix5* | irix6* | nonstopux*)
9357 if test "$GCC" = yes; then
9358 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'
9359 # Try to use the -exported_symbol ld option, if it does not
9360 # work, assume that -exports_file does not work either and
9361 # implicitly export all symbols.
9362 # This should be the same for all languages, so no per-tag cache variable.
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9364 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9365 if ${lt_cv_irix_exported_symbol+:} false; then :
9366 $as_echo_n "(cached) " >&6
9368 save_LDFLAGS="$LDFLAGS"
9369 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9372 int foo (void) { return 0; }
9374 if ac_fn_c_try_link "$LINENO"; then :
9375 lt_cv_irix_exported_symbol=yes
9377 lt_cv_irix_exported_symbol=no
9379 rm -f core conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9381 LDFLAGS="$save_LDFLAGS"
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9384 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9385 if test "$lt_cv_irix_exported_symbol" = yes; then
9386 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'
9389 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'
9390 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'
9392 archive_cmds_need_lc='no'
9393 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9394 hardcode_libdir_separator=:
9396 link_all_deplibs=yes
9399 netbsd* | netbsdelf*-gnu)
9400 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9401 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9403 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9405 hardcode_libdir_flag_spec='-R$libdir'
9407 hardcode_shlibpath_var=no
9411 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9413 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9414 hardcode_libdir_separator=:
9415 hardcode_shlibpath_var=no
9422 if test -f /usr/libexec/ld.so; then
9424 hardcode_shlibpath_var=no
9425 hardcode_direct_absolute=yes
9426 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9427 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9428 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9429 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9430 export_dynamic_flag_spec='${wl}-E'
9433 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9434 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9435 hardcode_libdir_flag_spec='-R$libdir'
9438 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9439 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9449 hardcode_libdir_flag_spec='-L$libdir'
9450 hardcode_minus_L=yes
9451 allow_undefined_flag=unsupported
9452 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'
9453 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9457 if test "$GCC" = yes; then
9458 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9459 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'
9461 allow_undefined_flag=' -expect_unresolved \*'
9462 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'
9464 archive_cmds_need_lc='no'
9465 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9466 hardcode_libdir_separator=:
9469 osf4* | osf5*) # as osf3* with the addition of -msym flag
9470 if test "$GCC" = yes; then
9471 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9472 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'
9473 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9475 allow_undefined_flag=' -expect_unresolved \*'
9476 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'
9477 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~
9478 $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'
9480 # Both c and cxx compiler support -rpath directly
9481 hardcode_libdir_flag_spec='-rpath $libdir'
9483 archive_cmds_need_lc='no'
9484 hardcode_libdir_separator=:
9488 no_undefined_flag=' -z defs'
9489 if test "$GCC" = yes; then
9491 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9492 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9493 $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'
9495 case `$CC -V 2>&1` in
9498 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9499 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9500 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9504 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9505 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9506 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9510 hardcode_libdir_flag_spec='-R$libdir'
9511 hardcode_shlibpath_var=no
9513 solaris2.[0-5] | solaris2.[0-5].*) ;;
9515 # The compiler driver will combine and reorder linker options,
9516 # but understands `-z linker_flag'. GCC discards it without `$wl',
9517 # but is careful enough not to reorder.
9518 # Supported since Solaris 2.6 (maybe 2.5.1?)
9519 if test "$GCC" = yes; then
9520 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9522 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9526 link_all_deplibs=yes
9530 if test "x$host_vendor" = xsequent; then
9531 # Use $CC to link under sequent, because it throws in some extra .o
9532 # files that make .init and .fini sections work.
9533 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9535 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9537 hardcode_libdir_flag_spec='-L$libdir'
9539 hardcode_minus_L=yes
9540 hardcode_shlibpath_var=no
9544 case $host_vendor in
9546 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9547 hardcode_direct=yes # is this really true???
9550 ## LD is ld it makes a PLAMLIB
9551 ## CC just makes a GrossModule.
9552 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9553 reload_cmds='$CC -r -o $output$reload_objs'
9557 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9558 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9561 runpath_var='LD_RUN_PATH'
9562 hardcode_shlibpath_var=no
9566 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9567 hardcode_shlibpath_var=no
9568 export_dynamic_flag_spec='-Bexport'
9572 if test -d /usr/nec; then
9573 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9574 hardcode_shlibpath_var=no
9575 runpath_var=LD_RUN_PATH
9576 hardcode_runpath_var=yes
9581 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9582 no_undefined_flag='${wl}-z,text'
9583 archive_cmds_need_lc=no
9584 hardcode_shlibpath_var=no
9585 runpath_var='LD_RUN_PATH'
9587 if test "$GCC" = yes; then
9588 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9589 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9591 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9592 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9596 sysv5* | sco3.2v5* | sco5v6*)
9597 # Note: We can NOT use -z defs as we might desire, because we do not
9598 # link with -lc, and that would cause any symbols used from libc to
9599 # always be unresolved, which means just about no library would
9600 # ever link correctly. If we're not using GNU ld we use -z text
9601 # though, which does catch some bad symbols but isn't as heavy-handed
9603 no_undefined_flag='${wl}-z,text'
9604 allow_undefined_flag='${wl}-z,nodefs'
9605 archive_cmds_need_lc=no
9606 hardcode_shlibpath_var=no
9607 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9608 hardcode_libdir_separator=':'
9609 link_all_deplibs=yes
9610 export_dynamic_flag_spec='${wl}-Bexport'
9611 runpath_var='LD_RUN_PATH'
9613 if test "$GCC" = yes; then
9614 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9615 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9617 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9618 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9623 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9624 hardcode_libdir_flag_spec='-L$libdir'
9625 hardcode_shlibpath_var=no
9633 if test x$host_vendor = xsni; then
9635 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9636 export_dynamic_flag_spec='${wl}-Blargedynsym'
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9643 $as_echo "$ld_shlibs" >&6; }
9644 test "$ld_shlibs" = no && can_build_shared=no
9646 with_gnu_ld=$with_gnu_ld
9663 # Do we need to explicitly link libc?
9665 case "x$archive_cmds_need_lc" in
9667 # Assume -lc should be added
9668 archive_cmds_need_lc=yes
9670 if test "$enable_shared" = yes && test "$GCC" = yes; then
9671 case $archive_cmds in
9673 # FIXME: we may have to deal with multi-command sequences.
9676 # Test whether the compiler implicitly links with -lc since on some
9677 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9678 # to ld, don't add -lc before -lgcc.
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9680 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9681 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9682 $as_echo_n "(cached) " >&6
9685 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9687 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9688 (eval $ac_compile) 2>&5
9690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9691 test $ac_status = 0; } 2>conftest.err; then
9694 libobjs=conftest.$ac_objext
9696 wl=$lt_prog_compiler_wl
9697 pic_flag=$lt_prog_compiler_pic
9703 lt_save_allow_undefined_flag=$allow_undefined_flag
9704 allow_undefined_flag=
9705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9706 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9709 test $ac_status = 0; }
9711 lt_cv_archive_cmds_need_lc=no
9713 lt_cv_archive_cmds_need_lc=yes
9715 allow_undefined_flag=$lt_save_allow_undefined_flag
9717 cat conftest.err 1>&5
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9723 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9724 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9883 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9885 if test "$GCC" = yes; then
9887 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9888 *) lt_awk_arg="/^libraries:/" ;;
9891 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9892 *) lt_sed_strip_eq="s,=/,/,g" ;;
9894 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9895 case $lt_search_path_spec in
9897 # if the path contains ";" then we assume it to be the separator
9898 # otherwise default to the standard path separator (i.e. ":") - it is
9899 # assumed that no part of a normal pathname contains ";" but that should
9900 # okay in the real world where ";" in dirpaths is itself problematic.
9901 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9904 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9907 # Ok, now we have the path, separated by spaces, we can step through it
9908 # and add multilib dir if necessary.
9909 lt_tmp_lt_search_path_spec=
9910 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9911 for lt_sys_path in $lt_search_path_spec; do
9912 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9913 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9915 test -d "$lt_sys_path" && \
9916 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9919 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9920 BEGIN {RS=" "; FS="/|\n";} {
9923 for (lt_i = NF; lt_i > 0; lt_i--) {
9924 if ($lt_i != "" && $lt_i != ".") {
9925 if ($lt_i == "..") {
9928 if (lt_count == 0) {
9929 lt_foo="/" $lt_i lt_foo;
9936 if (lt_foo != "") { lt_freq[lt_foo]++; }
9937 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9939 # AWK program above erroneously prepends '/' to C:/dos/paths
9942 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9943 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9945 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9947 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9950 libname_spec='lib$name'
9958 shlibpath_overrides_runpath=unknown
9960 dynamic_linker="$host_os ld.so"
9961 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9962 need_lib_prefix=unknown
9963 hardcode_into_libs=no
9965 # when you set need_version to no, make sure it does not cause -set_version
9966 # flags to be left without arguments
9967 need_version=unknown
9971 version_type=linux # correct to gnu/linux during the next big refactor
9972 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9973 shlibpath_var=LIBPATH
9975 # AIX 3 has no versioning support, so we append a major version to the name.
9976 soname_spec='${libname}${release}${shared_ext}$major'
9980 version_type=linux # correct to gnu/linux during the next big refactor
9983 hardcode_into_libs=yes
9984 if test "$host_cpu" = ia64; then
9985 # AIX 5 supports IA64
9986 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9987 shlibpath_var=LD_LIBRARY_PATH
9989 # With GCC up to 2.95.x, collect2 would create an import file
9990 # for dependence libraries. The import file would start with
9991 # the line `#! .'. This would cause the generated library to
9992 # depend on `.', always an invalid library. This was fixed in
9993 # development snapshots of GCC prior to 3.0.
9995 aix4 | aix4.[01] | aix4.[01].*)
9996 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9998 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10001 can_build_shared=no
10005 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10006 # soname into executable. Probably we can add versioning support to
10007 # collect2, so additional links can be useful in future.
10008 if test "$aix_use_runtimelinking" = yes; then
10009 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10010 # instead of lib<name>.a to let people know that these are not
10011 # typical AIX shared libraries.
10012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10014 # We preserve .a as extension for shared libraries through AIX4.2
10015 # and later when we are not doing run time linking.
10016 library_names_spec='${libname}${release}.a $libname.a'
10017 soname_spec='${libname}${release}${shared_ext}$major'
10019 shlibpath_var=LIBPATH
10026 # Since July 2007 AmigaOS4 officially supports .so libraries.
10027 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10031 library_names_spec='$libname.ixlibrary $libname.a'
10032 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10033 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'
10039 library_names_spec='${libname}${shared_ext}'
10040 dynamic_linker="$host_os ld.so"
10041 shlibpath_var=LIBRARY_PATH
10045 version_type=linux # correct to gnu/linux during the next big refactor
10047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10048 soname_spec='${libname}${release}${shared_ext}$major'
10049 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10050 shlibpath_var=LD_LIBRARY_PATH
10051 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10052 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10053 # the default ld.so.conf also contains /usr/contrib/lib and
10054 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10055 # libtool to hard-code these into programs
10058 cygwin* | mingw* | pw32* | cegcc*)
10059 version_type=windows
10064 case $GCC,$cc_basename in
10067 library_names_spec='$libname.dll.a'
10068 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10069 postinstall_cmds='base_file=`basename \${file}`~
10070 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10071 dldir=$destdir/`dirname \$dlpath`~
10072 test -d \$dldir || mkdir -p \$dldir~
10073 $install_prog $dir/$dlname \$dldir/$dlname~
10074 chmod a+x \$dldir/$dlname~
10075 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10076 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10078 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10079 dlpath=$dir/\$dldll~
10081 shlibpath_overrides_runpath=yes
10085 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10086 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10088 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10091 # MinGW DLLs use traditional 'lib' prefix
10092 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10095 # pw32 DLLs use 'pw' prefix rather than 'lib'
10096 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10099 dynamic_linker='Win32 ld.exe'
10104 libname_spec='$name'
10105 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10106 library_names_spec='${libname}.dll.lib'
10110 sys_lib_search_path_spec=
10113 for lt_path in $LIB
10116 # Let DOS variable expansion print the short 8.3 style file name.
10117 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10118 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10121 # Convert to MSYS style.
10122 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10125 # Convert to unix form, then to dos form, then back to unix form
10126 # but this time dos style (no spaces!) so that the unix form looks
10127 # like /cygdrive/c/PROGRA~1:/cygdr...
10128 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10129 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10130 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10133 sys_lib_search_path_spec="$LIB"
10134 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10135 # It is most probably a Windows format PATH.
10136 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10138 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10140 # FIXME: find the short name or the path components, as spaces are
10141 # common. (e.g. "Program Files" -> "PROGRA~1")
10145 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10146 postinstall_cmds='base_file=`basename \${file}`~
10147 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10148 dldir=$destdir/`dirname \$dlpath`~
10149 test -d \$dldir || mkdir -p \$dldir~
10150 $install_prog $dir/$dlname \$dldir/$dlname'
10151 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10152 dlpath=$dir/\$dldll~
10154 shlibpath_overrides_runpath=yes
10155 dynamic_linker='Win32 link.exe'
10159 # Assume MSVC wrapper
10160 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10161 dynamic_linker='Win32 ld.exe'
10164 # FIXME: first we should search . and the directory the executable is in
10168 darwin* | rhapsody*)
10169 dynamic_linker="$host_os dyld"
10170 version_type=darwin
10173 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10174 soname_spec='${libname}${release}${major}$shared_ext'
10175 shlibpath_overrides_runpath=yes
10176 shlibpath_var=DYLD_LIBRARY_PATH
10177 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10179 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10180 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10184 version_type=linux # correct to gnu/linux during the next big refactor
10187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10188 soname_spec='${libname}${release}${shared_ext}$major'
10189 shlibpath_var=LD_LIBRARY_PATH
10192 freebsd* | dragonfly*)
10193 # DragonFly does not have aout. When/if they implement a new
10194 # versioning mechanism, adjust this.
10195 if test -x /usr/bin/objformat; then
10196 objformat=`/usr/bin/objformat`
10199 freebsd[23].*) objformat=aout ;;
10200 *) objformat=elf ;;
10203 version_type=freebsd-$objformat
10204 case $version_type in
10206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10211 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10215 shlibpath_var=LD_LIBRARY_PATH
10218 shlibpath_overrides_runpath=yes
10220 freebsd3.[01]* | freebsdelf3.[01]*)
10221 shlibpath_overrides_runpath=yes
10222 hardcode_into_libs=yes
10224 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10225 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10226 shlibpath_overrides_runpath=no
10227 hardcode_into_libs=yes
10229 *) # from 4.6 on, and DragonFly
10230 shlibpath_overrides_runpath=yes
10231 hardcode_into_libs=yes
10237 version_type=linux # correct to gnu/linux during the next big refactor
10240 dynamic_linker="$host_os runtime_loader"
10241 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10242 soname_spec='${libname}${release}${shared_ext}$major'
10243 shlibpath_var=LIBRARY_PATH
10244 shlibpath_overrides_runpath=yes
10245 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10246 hardcode_into_libs=yes
10249 hpux9* | hpux10* | hpux11*)
10250 # Give a soname corresponding to the major version so that dld.sl refuses to
10251 # link against other versions.
10258 hardcode_into_libs=yes
10259 dynamic_linker="$host_os dld.so"
10260 shlibpath_var=LD_LIBRARY_PATH
10261 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10263 soname_spec='${libname}${release}${shared_ext}$major'
10264 if test "X$HPUX_IA64_MODE" = X32; then
10265 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10267 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10269 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10273 hardcode_into_libs=yes
10274 dynamic_linker="$host_os dld.sl"
10275 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10276 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10278 soname_spec='${libname}${release}${shared_ext}$major'
10279 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10280 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10284 dynamic_linker="$host_os dld.sl"
10285 shlibpath_var=SHLIB_PATH
10286 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10288 soname_spec='${libname}${release}${shared_ext}$major'
10291 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10292 postinstall_cmds='chmod 555 $lib'
10293 # or fails outright, so override atomically:
10294 install_override_mode=555
10298 version_type=linux # correct to gnu/linux during the next big refactor
10301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10302 soname_spec='${libname}${release}${shared_ext}$major'
10303 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10304 shlibpath_var=LD_LIBRARY_PATH
10305 shlibpath_overrides_runpath=no
10306 hardcode_into_libs=yes
10309 irix5* | irix6* | nonstopux*)
10311 nonstopux*) version_type=nonstopux ;;
10313 if test "$lt_cv_prog_gnu_ld" = yes; then
10314 version_type=linux # correct to gnu/linux during the next big refactor
10321 soname_spec='${libname}${release}${shared_ext}$major'
10322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10324 irix5* | nonstopux*)
10325 libsuff= shlibsuff=
10328 case $LD in # libtool.m4 will add one of these switches to LD
10329 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10330 libsuff= shlibsuff= libmagic=32-bit;;
10331 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10332 libsuff=32 shlibsuff=N32 libmagic=N32;;
10333 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10334 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10335 *) libsuff= shlibsuff= libmagic=never-match;;
10339 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10340 shlibpath_overrides_runpath=no
10341 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10342 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10343 hardcode_into_libs=yes
10346 # No shared lib support for Linux oldld, aout, or coff.
10347 linux*oldld* | linux*aout* | linux*coff*)
10351 # This must be glibc/ELF.
10352 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10353 version_type=linux # correct to gnu/linux during the next big refactor
10356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357 soname_spec='${libname}${release}${shared_ext}$major'
10358 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10359 shlibpath_var=LD_LIBRARY_PATH
10360 shlibpath_overrides_runpath=no
10362 # Some binutils ld are patched to set DT_RUNPATH
10363 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10364 $as_echo_n "(cached) " >&6
10366 lt_cv_shlibpath_overrides_runpath=no
10367 save_LDFLAGS=$LDFLAGS
10368 save_libdir=$libdir
10369 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10370 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10382 if ac_fn_c_try_link "$LINENO"; then :
10383 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10384 lt_cv_shlibpath_overrides_runpath=yes
10387 rm -f core conftest.err conftest.$ac_objext \
10388 conftest$ac_exeext conftest.$ac_ext
10389 LDFLAGS=$save_LDFLAGS
10390 libdir=$save_libdir
10394 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10396 # This implies no fast_install, which is unacceptable.
10397 # Some rework will be needed to allow for fast_install
10398 # before this can be enabled.
10399 hardcode_into_libs=yes
10401 # Append ld.so.conf contents to the search path
10402 if test -f /etc/ld.so.conf; then
10403 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' ' '`
10404 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10407 # We used to test for /lib/ld.so.1 and disable shared libraries on
10408 # powerpc, because MkLinux only supported shared libraries with the
10409 # GNU dynamic linker. Since this was broken with cross compilers,
10410 # most powerpc-linux boxes support dynamic linking these days and
10411 # people can always --disable-shared, the test was removed, and we
10412 # assume the GNU/Linux dynamic linker is in use.
10413 dynamic_linker='GNU/Linux ld.so'
10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10421 soname_spec='${libname}${release}${shared_ext}$major'
10422 shlibpath_var=LD_LIBRARY_PATH
10423 shlibpath_overrides_runpath=no
10424 hardcode_into_libs=yes
10425 dynamic_linker='NetBSD ld.elf_so'
10432 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10434 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10435 dynamic_linker='NetBSD (a.out) ld.so'
10437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10438 soname_spec='${libname}${release}${shared_ext}$major'
10439 dynamic_linker='NetBSD ld.elf_so'
10441 shlibpath_var=LD_LIBRARY_PATH
10442 shlibpath_overrides_runpath=yes
10443 hardcode_into_libs=yes
10447 version_type=linux # correct to gnu/linux during the next big refactor
10448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10449 shlibpath_var=LD_LIBRARY_PATH
10450 shlibpath_overrides_runpath=yes
10457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10458 soname_spec='${libname}${release}${shared_ext}$major'
10459 shlibpath_var=LD_LIBRARY_PATH
10460 shlibpath_overrides_runpath=no
10461 hardcode_into_libs=yes
10462 dynamic_linker='ldqnx.so'
10467 sys_lib_dlsearch_path_spec="/usr/lib"
10469 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10471 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10472 *) need_version=no ;;
10474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10475 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10476 shlibpath_var=LD_LIBRARY_PATH
10477 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10479 openbsd2.[89] | openbsd2.[89].*)
10480 shlibpath_overrides_runpath=no
10483 shlibpath_overrides_runpath=yes
10487 shlibpath_overrides_runpath=yes
10492 libname_spec='$name'
10495 library_names_spec='$libname${shared_ext} $libname.a'
10496 dynamic_linker='OS/2 ld.exe'
10497 shlibpath_var=LIBPATH
10500 osf3* | osf4* | osf5*)
10504 soname_spec='${libname}${release}${shared_ext}$major'
10505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10506 shlibpath_var=LD_LIBRARY_PATH
10507 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10508 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10516 version_type=linux # correct to gnu/linux during the next big refactor
10519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10520 soname_spec='${libname}${release}${shared_ext}$major'
10521 shlibpath_var=LD_LIBRARY_PATH
10522 shlibpath_overrides_runpath=yes
10523 hardcode_into_libs=yes
10524 # ldd complains unless libraries are executable
10525 postinstall_cmds='chmod +x $lib'
10530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10531 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10532 shlibpath_var=LD_LIBRARY_PATH
10533 shlibpath_overrides_runpath=yes
10534 if test "$with_gnu_ld" = yes; then
10541 version_type=linux # correct to gnu/linux during the next big refactor
10542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 soname_spec='${libname}${release}${shared_ext}$major'
10544 shlibpath_var=LD_LIBRARY_PATH
10545 case $host_vendor in
10547 shlibpath_overrides_runpath=no
10549 runpath_var=LD_RUN_PATH
10557 shlibpath_overrides_runpath=no
10558 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10564 if test -d /usr/nec ;then
10565 version_type=linux # correct to gnu/linux during the next big refactor
10566 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10567 soname_spec='$libname${shared_ext}.$major'
10568 shlibpath_var=LD_LIBRARY_PATH
10572 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10573 version_type=freebsd-elf
10576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10577 soname_spec='${libname}${release}${shared_ext}$major'
10578 shlibpath_var=LD_LIBRARY_PATH
10579 shlibpath_overrides_runpath=yes
10580 hardcode_into_libs=yes
10581 if test "$with_gnu_ld" = yes; then
10582 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10584 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10587 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10591 sys_lib_dlsearch_path_spec='/usr/lib'
10595 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10596 version_type=linux # correct to gnu/linux during the next big refactor
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 shlibpath_var=LD_LIBRARY_PATH
10601 shlibpath_overrides_runpath=no
10602 hardcode_into_libs=yes
10606 version_type=linux # correct to gnu/linux during the next big refactor
10607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10609 shlibpath_var=LD_LIBRARY_PATH
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10617 $as_echo "$dynamic_linker" >&6; }
10618 test "$dynamic_linker" = no && can_build_shared=no
10620 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10621 if test "$GCC" = yes; then
10622 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10625 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10626 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10628 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10629 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10724 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10726 if test -n "$hardcode_libdir_flag_spec" ||
10727 test -n "$runpath_var" ||
10728 test "X$hardcode_automatic" = "Xyes" ; then
10730 # We can hardcode non-existent directories.
10731 if test "$hardcode_direct" != no &&
10732 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10733 # have to relink, otherwise we might link with an installed library
10734 # when we should be linking with a yet-to-be-installed one
10735 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10736 test "$hardcode_minus_L" != no; then
10737 # Linking always hardcodes the temporary library directory.
10738 hardcode_action=relink
10740 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10741 hardcode_action=immediate
10744 # We cannot hardcode anything, or else we can only hardcode existing
10746 hardcode_action=unsupported
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10749 $as_echo "$hardcode_action" >&6; }
10751 if test "$hardcode_action" = relink ||
10752 test "$inherit_rpath" = yes; then
10753 # Fast installation is not supported
10754 enable_fast_install=no
10755 elif test "$shlibpath_overrides_runpath" = yes ||
10756 test "$enable_shared" = no; then
10757 # Fast installation is not necessary
10758 enable_fast_install=needless
10766 if test "x$enable_dlopen" != xyes; then
10767 enable_dlopen=unknown
10768 enable_dlopen_self=unknown
10769 enable_dlopen_self_static=unknown
10776 lt_cv_dlopen="load_add_on"
10778 lt_cv_dlopen_self=yes
10781 mingw* | pw32* | cegcc*)
10782 lt_cv_dlopen="LoadLibrary"
10787 lt_cv_dlopen="dlopen"
10792 # if libdl is installed we need to link against it
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10794 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10795 if ${ac_cv_lib_dl_dlopen+:} false; then :
10796 $as_echo_n "(cached) " >&6
10798 ac_check_lib_save_LIBS=$LIBS
10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10818 if ac_fn_c_try_link "$LINENO"; then :
10819 ac_cv_lib_dl_dlopen=yes
10821 ac_cv_lib_dl_dlopen=no
10823 rm -f core conftest.err conftest.$ac_objext \
10824 conftest$ac_exeext conftest.$ac_ext
10825 LIBS=$ac_check_lib_save_LIBS
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10828 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10829 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10830 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10833 lt_cv_dlopen="dyld"
10835 lt_cv_dlopen_self=yes
10842 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10843 if test "x$ac_cv_func_shl_load" = xyes; then :
10844 lt_cv_dlopen="shl_load"
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10847 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10848 if ${ac_cv_lib_dld_shl_load+:} false; then :
10849 $as_echo_n "(cached) " >&6
10851 ac_check_lib_save_LIBS=$LIBS
10853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10856 /* Override any GCC internal prototype to avoid an error.
10857 Use char because int might match the return type of a GCC
10858 builtin and then its argument prototype would still apply. */
10866 return shl_load ();
10871 if ac_fn_c_try_link "$LINENO"; then :
10872 ac_cv_lib_dld_shl_load=yes
10874 ac_cv_lib_dld_shl_load=no
10876 rm -f core conftest.err conftest.$ac_objext \
10877 conftest$ac_exeext conftest.$ac_ext
10878 LIBS=$ac_check_lib_save_LIBS
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10881 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10882 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10883 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10885 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10886 if test "x$ac_cv_func_dlopen" = xyes; then :
10887 lt_cv_dlopen="dlopen"
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10890 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10891 if ${ac_cv_lib_dl_dlopen+:} false; then :
10892 $as_echo_n "(cached) " >&6
10894 ac_check_lib_save_LIBS=$LIBS
10896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10899 /* Override any GCC internal prototype to avoid an error.
10900 Use char because int might match the return type of a GCC
10901 builtin and then its argument prototype would still apply. */
10914 if ac_fn_c_try_link "$LINENO"; then :
10915 ac_cv_lib_dl_dlopen=yes
10917 ac_cv_lib_dl_dlopen=no
10919 rm -f core conftest.err conftest.$ac_objext \
10920 conftest$ac_exeext conftest.$ac_ext
10921 LIBS=$ac_check_lib_save_LIBS
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10924 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10925 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10926 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10929 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10930 if ${ac_cv_lib_svld_dlopen+:} false; then :
10931 $as_echo_n "(cached) " >&6
10933 ac_check_lib_save_LIBS=$LIBS
10934 LIBS="-lsvld $LIBS"
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10938 /* Override any GCC internal prototype to avoid an error.
10939 Use char because int might match the return type of a GCC
10940 builtin and then its argument prototype would still apply. */
10953 if ac_fn_c_try_link "$LINENO"; then :
10954 ac_cv_lib_svld_dlopen=yes
10956 ac_cv_lib_svld_dlopen=no
10958 rm -f core conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10963 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10964 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10965 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10968 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10969 if ${ac_cv_lib_dld_dld_link+:} false; then :
10970 $as_echo_n "(cached) " >&6
10972 ac_check_lib_save_LIBS=$LIBS
10974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10987 return dld_link ();
10992 if ac_fn_c_try_link "$LINENO"; then :
10993 ac_cv_lib_dld_dld_link=yes
10995 ac_cv_lib_dld_dld_link=no
10997 rm -f core conftest.err conftest.$ac_objext \
10998 conftest$ac_exeext conftest.$ac_ext
10999 LIBS=$ac_check_lib_save_LIBS
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11002 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11003 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11004 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11025 if test "x$lt_cv_dlopen" != xno; then
11031 case $lt_cv_dlopen in
11033 save_CPPFLAGS="$CPPFLAGS"
11034 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11036 save_LDFLAGS="$LDFLAGS"
11037 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11040 LIBS="$lt_cv_dlopen_libs $LIBS"
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11043 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11044 if ${lt_cv_dlopen_self+:} false; then :
11045 $as_echo_n "(cached) " >&6
11047 if test "$cross_compiling" = yes; then :
11048 lt_cv_dlopen_self=cross
11050 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11051 lt_status=$lt_dlunknown
11052 cat > conftest.$ac_ext <<_LT_EOF
11053 #line $LINENO "configure"
11054 #include "confdefs.h"
11063 # define LT_DLGLOBAL RTLD_GLOBAL
11066 # define LT_DLGLOBAL DL_GLOBAL
11068 # define LT_DLGLOBAL 0
11072 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11073 find out it does not work in some platform. */
11074 #ifndef LT_DLLAZY_OR_NOW
11076 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11079 # define LT_DLLAZY_OR_NOW DL_LAZY
11082 # define LT_DLLAZY_OR_NOW RTLD_NOW
11085 # define LT_DLLAZY_OR_NOW DL_NOW
11087 # define LT_DLLAZY_OR_NOW 0
11094 /* When -fvisbility=hidden is used, assume the code has been annotated
11095 correspondingly for the symbols needed. */
11096 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11097 int fnord () __attribute__((visibility("default")));
11100 int fnord () { return 42; }
11103 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11104 int status = $lt_dlunknown;
11108 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11111 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11112 else puts (dlerror ());
11114 /* dlclose (self); */
11122 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11123 (eval $ac_link) 2>&5
11125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11126 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11127 (./conftest; exit; ) >&5 2>/dev/null
11129 case x$lt_status in
11130 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11131 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11132 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11135 # compilation failed
11136 lt_cv_dlopen_self=no
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11144 $as_echo "$lt_cv_dlopen_self" >&6; }
11146 if test "x$lt_cv_dlopen_self" = xyes; then
11147 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11149 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11150 if ${lt_cv_dlopen_self_static+:} false; then :
11151 $as_echo_n "(cached) " >&6
11153 if test "$cross_compiling" = yes; then :
11154 lt_cv_dlopen_self_static=cross
11156 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11157 lt_status=$lt_dlunknown
11158 cat > conftest.$ac_ext <<_LT_EOF
11159 #line $LINENO "configure"
11160 #include "confdefs.h"
11169 # define LT_DLGLOBAL RTLD_GLOBAL
11172 # define LT_DLGLOBAL DL_GLOBAL
11174 # define LT_DLGLOBAL 0
11178 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11179 find out it does not work in some platform. */
11180 #ifndef LT_DLLAZY_OR_NOW
11182 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11185 # define LT_DLLAZY_OR_NOW DL_LAZY
11188 # define LT_DLLAZY_OR_NOW RTLD_NOW
11191 # define LT_DLLAZY_OR_NOW DL_NOW
11193 # define LT_DLLAZY_OR_NOW 0
11200 /* When -fvisbility=hidden is used, assume the code has been annotated
11201 correspondingly for the symbols needed. */
11202 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11203 int fnord () __attribute__((visibility("default")));
11206 int fnord () { return 42; }
11209 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11210 int status = $lt_dlunknown;
11214 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11217 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11218 else puts (dlerror ());
11220 /* dlclose (self); */
11228 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11229 (eval $ac_link) 2>&5
11231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11232 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11233 (./conftest; exit; ) >&5 2>/dev/null
11235 case x$lt_status in
11236 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11237 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11238 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11241 # compilation failed
11242 lt_cv_dlopen_self_static=no
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11250 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11253 CPPFLAGS="$save_CPPFLAGS"
11254 LDFLAGS="$save_LDFLAGS"
11259 case $lt_cv_dlopen_self in
11260 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11261 *) enable_dlopen_self=unknown ;;
11264 case $lt_cv_dlopen_self_static in
11265 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11266 *) enable_dlopen_self_static=unknown ;;
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11289 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11290 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11291 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11292 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11294 $as_echo "yes" >&6; }
11296 # FIXME - insert some real tests, host_os isn't really good enough
11299 if test -n "$STRIP" ; then
11300 striplib="$STRIP -x"
11301 old_striplib="$STRIP -S"
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11303 $as_echo "yes" >&6; }
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11306 $as_echo "no" >&6; }
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11311 $as_echo "no" >&6; }
11327 # Report which library types will actually be built
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11329 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11331 $as_echo "$can_build_shared" >&6; }
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11334 $as_echo_n "checking whether to build shared libraries... " >&6; }
11335 test "$can_build_shared" = "no" && enable_shared=no
11337 # On AIX, shared libraries and static libraries use the same namespace, and
11338 # are all built from PIC.
11341 test "$enable_shared" = yes && enable_static=no
11342 if test -n "$RANLIB"; then
11343 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11344 postinstall_cmds='$RANLIB $lib'
11349 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11350 test "$enable_shared" = yes && enable_static=no
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11355 $as_echo "$enable_shared" >&6; }
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11358 $as_echo_n "checking whether to build static libraries... " >&6; }
11359 # Make sure either enable_shared or enable_static is yes.
11360 test "$enable_shared" = yes || enable_static=yes
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11362 $as_echo "$enable_static" >&6; }
11369 ac_cpp='$CPP $CPPFLAGS'
11370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11390 ac_config_commands="$ac_config_commands libtool"
11395 # Only expand once:
11400 # Check whether --with-dpdk was given.
11401 if test "${with_dpdk+set}" = set; then :
11402 withval=$with_dpdk; with_dpdk=1
11409 # Check whether --with-pre-data was given.
11410 if test "${with_pre_data+set}" = set; then :
11411 withval=$with_pre_data; case $with_pre_data in
11414 *) with_pre_data="pre-data-not-set" ;;
11421 if test "$with_dpdk" = "1"; then
11423 WITH_DPDK_FALSE='#'
11429 DPDK=-DDPDK=${with_dpdk}
11431 PRE_DATA_SIZE=$with_pre_data
11434 ac_config_files="$ac_config_files Makefile"
11436 cat >confcache <<\_ACEOF
11437 # This file is a shell script that caches the results of configure
11438 # tests run on this system so they can be shared between configure
11439 # scripts and configure runs, see configure's option --config-cache.
11440 # It is not useful on other systems. If it contains results you don't
11441 # want to keep, you may remove or edit it.
11443 # config.status only pays attention to the cache file if you give it
11444 # the --recheck option to rerun configure.
11446 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11447 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11448 # following values.
11452 # The following way of writing the cache mishandles newlines in values,
11453 # but we know of no workaround that is simple, portable, and efficient.
11454 # So, we kill variables containing newlines.
11455 # Ultrix sh set writes to stderr and can't be redirected directly,
11456 # and sets the high bit in the cache file unless we assign to the vars.
11458 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11459 eval ac_val=\$$ac_var
11463 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11464 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11467 _ | IFS | as_nl) ;; #(
11468 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11469 *) { eval $ac_var=; unset $ac_var;} ;;
11475 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11476 *${as_nl}ac_space=\ *)
11477 # `set' does not quote correctly, so add quotes: double-quote
11478 # substitution turns \\\\ into \\, and sed turns \\ into \.
11481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11484 # `set' quotes correctly as required by POSIX, so do not add quotes.
11485 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11494 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11496 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11498 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11499 if test -w "$cache_file"; then
11500 if test "x$cache_file" != "x/dev/null"; then
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11502 $as_echo "$as_me: updating cache $cache_file" >&6;}
11503 if test ! -f "$cache_file" || test -h "$cache_file"; then
11504 cat confcache >"$cache_file"
11506 case $cache_file in #(
11508 mv -f confcache "$cache_file"$$ &&
11509 mv -f "$cache_file"$$ "$cache_file" ;; #(
11511 mv -f confcache "$cache_file" ;;
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11517 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11522 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11523 # Let make expand exec_prefix.
11524 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11526 # Transform confdefs.h into DEFS.
11527 # Protect against shell expansion while executing Makefile rules.
11528 # Protect against Makefile macro expansion.
11530 # If the first sed substitution is executed (which looks for macros that
11531 # take arguments), then branch to the quote section. Otherwise,
11532 # look for a macro that doesn't take arguments.
11542 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
11544 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
11548 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11561 DEFS=`sed -n "$ac_script" confdefs.h`
11567 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11568 # 1. Remove the extension, and $U if already installed.
11569 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11570 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11571 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11572 # will be set to the directory where LIBOBJS objects are built.
11573 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11574 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11576 LIBOBJS=$ac_libobjs
11578 LTLIBOBJS=$ac_ltlibobjs
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11582 $as_echo_n "checking that generated files are newer than configure... " >&6; }
11583 if test -n "$am_sleep_pid"; then
11584 # Hide warnings about reused PIDs.
11585 wait $am_sleep_pid 2>/dev/null
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11588 $as_echo "done" >&6; }
11589 if test -n "$EXEEXT"; then
11591 am__EXEEXT_FALSE='#'
11593 am__EXEEXT_TRUE='#'
11597 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11598 as_fn_error $? "conditional \"AMDEP\" was never defined.
11599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11601 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11602 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11605 if test -z "${WITH_DPDK_TRUE}" && test -z "${WITH_DPDK_FALSE}"; then
11606 as_fn_error $? "conditional \"WITH_DPDK\" was never defined.
11607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11610 : "${CONFIG_STATUS=./config.status}"
11612 ac_clean_files_save=$ac_clean_files
11613 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11615 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11617 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11619 # Generated by $as_me.
11620 # Run this file to recreate the current configuration.
11621 # Compiler output produced by configure, useful for debugging
11622 # configure, is in config.log if it exists.
11625 ac_cs_recheck=false
11628 SHELL=\${CONFIG_SHELL-$SHELL}
11631 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11632 ## -------------------- ##
11633 ## M4sh Initialization. ##
11634 ## -------------------- ##
11636 # Be more Bourne compatible
11637 DUALCASE=1; export DUALCASE # for MKS sh
11638 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11641 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11642 # is contrary to our usage. Disable this feature.
11643 alias -g '${1+"$@"}'='"$@"'
11644 setopt NO_GLOB_SUBST
11646 case `(set -o) 2>/dev/null` in #(
11658 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11659 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11660 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11661 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11662 # Prefer a ksh shell builtin over an external printf program on Solaris,
11663 # but without wasting forks for bash or zsh.
11664 if test -z "$BASH_VERSION$ZSH_VERSION" \
11665 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11666 as_echo='print -r --'
11667 as_echo_n='print -rn --'
11668 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11669 as_echo='printf %s\n'
11670 as_echo_n='printf %s'
11672 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11673 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11674 as_echo_n='/usr/ucb/echo -n'
11676 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11677 as_echo_n_body='eval
11681 expr "X$arg" : "X\\(.*\\)$as_nl";
11682 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11684 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11686 export as_echo_n_body
11687 as_echo_n='sh -c $as_echo_n_body as_echo'
11689 export as_echo_body
11690 as_echo='sh -c $as_echo_body as_echo'
11693 # The user is always right.
11694 if test "${PATH_SEPARATOR+set}" != set; then
11696 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11697 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11704 # We need space, tab and new line, in precisely that order. Quoting is
11705 # there to prevent editors from complaining about space-tab.
11706 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11707 # splitting by setting IFS to empty value.)
11710 # Find who we are. Look in the path if we contain no directory separator.
11713 *[\\/]* ) as_myself=$0 ;;
11714 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11715 for as_dir in $PATH
11718 test -z "$as_dir" && as_dir=.
11719 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11725 # We did not find ourselves, most probably we were run as `sh COMMAND'
11726 # in which case we are not to be found in the path.
11727 if test "x$as_myself" = x; then
11730 if test ! -f "$as_myself"; then
11731 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11735 # Unset variables that we do not need and which cause bugs (e.g. in
11736 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11737 # suppresses any "Segmentation fault" message there. '((' could
11738 # trigger a bug in pdksh 5.2.14.
11739 for as_var in BASH_ENV ENV MAIL MAILPATH
11740 do eval test x\${$as_var+set} = xset \
11741 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11754 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11757 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11758 # ----------------------------------------
11759 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11760 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11761 # script with STATUS, using 1 if that was 0.
11764 as_status=$1; test $as_status -eq 0 && as_status=1
11766 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11767 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11769 $as_echo "$as_me: error: $2" >&2
11770 as_fn_exit $as_status
11774 # as_fn_set_status STATUS
11775 # -----------------------
11776 # Set $? to STATUS, without forking.
11777 as_fn_set_status ()
11780 } # as_fn_set_status
11782 # as_fn_exit STATUS
11783 # -----------------
11784 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11788 as_fn_set_status $1
11794 # Portably unset VAR.
11797 { eval $1=; unset $1;}
11799 as_unset=as_fn_unset
11800 # as_fn_append VAR VALUE
11801 # ----------------------
11802 # Append the text in VALUE to the end of the definition contained in VAR. Take
11803 # advantage of any shell optimizations that allow amortized linear growth over
11804 # repeated appends, instead of the typical quadratic growth present in naive
11806 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11807 eval 'as_fn_append ()
11818 # as_fn_arith ARG...
11819 # ------------------
11820 # Perform arithmetic evaluation on the ARGs, and store the result in the
11821 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11822 # must be portable across $(()) and expr.
11823 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11824 eval 'as_fn_arith ()
11831 as_val=`expr "$@" || test $? -eq 1`
11836 if expr a : '\(a\)' >/dev/null 2>&1 &&
11837 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11843 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11844 as_basename=basename
11849 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11855 as_me=`$as_basename -- "$0" ||
11856 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11857 X"$0" : 'X\(//\)$' \| \
11858 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11860 sed '/^.*\/\([^/][^/]*\)\/*$/{
11874 # Avoid depending upon Character Ranges.
11875 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11876 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11877 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11878 as_cr_digits='0123456789'
11879 as_cr_alnum=$as_cr_Letters$as_cr_digits
11881 ECHO_C= ECHO_N= ECHO_T=
11882 case `echo -n x` in #(((((
11884 case `echo 'xy\c'` in
11885 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11887 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11894 rm -f conf$$ conf$$.exe conf$$.file
11895 if test -d conf$$.dir; then
11896 rm -f conf$$.dir/conf$$.file
11899 mkdir conf$$.dir 2>/dev/null
11901 if (echo >conf$$.file) 2>/dev/null; then
11902 if ln -s conf$$.file conf$$ 2>/dev/null; then
11904 # ... but there are two gotchas:
11905 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11906 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11907 # In both cases, we have to default to `cp -pR'.
11908 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11910 elif ln conf$$.file conf$$ 2>/dev/null; then
11918 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11919 rmdir conf$$.dir 2>/dev/null
11924 # Create "$as_dir" as a directory, including parents if necessary.
11929 -*) as_dir=./$as_dir;;
11931 test -d "$as_dir" || eval $as_mkdir_p || {
11935 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11936 *) as_qdir=$as_dir;;
11938 as_dirs="'$as_qdir' $as_dirs"
11939 as_dir=`$as_dirname -- "$as_dir" ||
11940 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11941 X"$as_dir" : 'X\(//\)[^/]' \| \
11942 X"$as_dir" : 'X\(//\)$' \| \
11943 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11944 $as_echo X"$as_dir" |
11945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11949 /^X\(\/\/\)[^/].*/{
11962 test -d "$as_dir" && break
11964 test -z "$as_dirs" || eval "mkdir $as_dirs"
11965 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11969 if mkdir -p . 2>/dev/null; then
11970 as_mkdir_p='mkdir -p "$as_dir"'
11972 test -d ./-p && rmdir ./-p
11977 # as_fn_executable_p FILE
11978 # -----------------------
11979 # Test if FILE is an executable regular file.
11980 as_fn_executable_p ()
11982 test -f "$1" && test -x "$1"
11983 } # as_fn_executable_p
11984 as_test_x='test -x'
11985 as_executable_p=as_fn_executable_p
11987 # Sed expression to map a string onto a valid CPP name.
11988 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11990 # Sed expression to map a string onto a valid variable name.
11991 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11995 ## ----------------------------------- ##
11996 ## Main body of $CONFIG_STATUS script. ##
11997 ## ----------------------------------- ##
11999 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12002 # Save the log message, to keep $0 and so on meaningful, and to
12003 # report actual input values of CONFIG_FILES etc. instead of their
12004 # values after options handling.
12006 This file was extended by vlib $as_me 1.1, which was
12007 generated by GNU Autoconf 2.69. Invocation command line was
12009 CONFIG_FILES = $CONFIG_FILES
12010 CONFIG_HEADERS = $CONFIG_HEADERS
12011 CONFIG_LINKS = $CONFIG_LINKS
12012 CONFIG_COMMANDS = $CONFIG_COMMANDS
12015 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12020 case $ac_config_files in *"
12021 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12027 # Files that config.status was made for.
12028 config_files="$ac_config_files"
12029 config_commands="$ac_config_commands"
12033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12035 \`$as_me' instantiates files and other configuration actions
12036 from templates according to the current configuration. Unless the files
12037 and actions are specified as TAGs, all are instantiated by default.
12039 Usage: $0 [OPTION]... [TAG]...
12041 -h, --help print this help, then exit
12042 -V, --version print version number and configuration settings, then exit
12043 --config print configuration, then exit
12044 -q, --quiet, --silent
12045 do not print progress messages
12046 -d, --debug don't remove temporary files
12047 --recheck update $as_me by reconfiguring in the same conditions
12048 --file=FILE[:TEMPLATE]
12049 instantiate the configuration file FILE
12051 Configuration files:
12054 Configuration commands:
12057 Report bugs to the package provider."
12060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12061 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12063 vlib config.status 1.1
12064 configured by $0, generated by GNU Autoconf 2.69,
12065 with options \\"\$ac_cs_config\\"
12067 Copyright (C) 2012 Free Software Foundation, Inc.
12068 This config.status script is free software; the Free Software Foundation
12069 gives unlimited permission to copy, distribute and modify it."
12076 test -n "\$AWK" || AWK=awk
12079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12080 # The default lists apply if the user does not specify any file.
12086 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12087 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12091 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12103 # Handling of the options.
12104 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12106 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12107 $as_echo "$ac_cs_version"; exit ;;
12108 --config | --confi | --conf | --con | --co | --c )
12109 $as_echo "$ac_cs_config"; exit ;;
12110 --debug | --debu | --deb | --de | --d | -d )
12112 --file | --fil | --fi | --f )
12115 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12116 '') as_fn_error $? "missing file argument" ;;
12118 as_fn_append CONFIG_FILES " '$ac_optarg'"
12119 ac_need_defaults=false;;
12120 --he | --h | --help | --hel | -h )
12121 $as_echo "$ac_cs_usage"; exit ;;
12122 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12123 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12126 # This is an error.
12127 -*) as_fn_error $? "unrecognized option: \`$1'
12128 Try \`$0 --help' for more information." ;;
12130 *) as_fn_append ac_config_targets " $1"
12131 ac_need_defaults=false ;;
12137 ac_configure_extra_args=
12139 if $ac_cs_silent; then
12141 ac_configure_extra_args="$ac_configure_extra_args --silent"
12145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12146 if \$ac_cs_recheck; then
12147 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12149 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12150 CONFIG_SHELL='$SHELL'
12151 export CONFIG_SHELL
12156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12160 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12161 ## Running $as_me. ##
12167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12171 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12174 # The HP-UX ksh and POSIX shell print the target directory to stdout
12175 # if CDPATH is set.
12176 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12178 sed_quote_subst='$sed_quote_subst'
12179 double_quote_subst='$double_quote_subst'
12180 delay_variable_subst='$delay_variable_subst'
12181 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12182 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12183 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12184 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12185 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12186 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12187 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12188 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12189 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12190 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12191 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12192 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12193 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12194 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12195 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12196 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12197 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12198 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12199 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12200 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12201 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12202 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12203 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12204 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12205 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12206 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12207 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12208 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12209 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12210 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12211 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12212 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12213 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12214 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12215 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12216 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12217 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12218 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12219 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12220 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12221 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12222 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12223 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12224 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12225 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12226 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12227 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12228 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12229 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12230 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12231 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12232 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12233 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12234 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12235 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12236 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12237 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"`'
12238 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12239 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12240 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12241 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12242 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12243 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12244 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12245 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12246 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12247 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12248 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12249 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12250 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12251 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12252 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12253 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12254 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12255 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12256 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12257 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12258 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12259 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12260 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12261 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12262 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12263 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12264 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12265 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12266 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12267 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12268 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12269 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12270 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12271 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12272 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12273 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12274 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12275 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12276 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12277 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12278 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12279 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12280 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12281 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12282 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12283 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12284 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12285 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12286 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12287 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12288 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12289 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12290 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12291 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12292 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12293 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12294 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12295 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12296 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12297 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12298 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12299 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12300 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12301 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12302 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12303 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12304 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12305 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12306 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12307 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12308 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12309 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12310 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12313 LTCFLAGS='$LTCFLAGS'
12314 compiler='$compiler_DEFAULT'
12316 # A function that is used when there is no print builtin or printf.
12317 func_fallback_echo ()
12319 eval 'cat <<_LTECHO_EOF
12324 # Quote evaled strings.
12339 deplibs_check_method \
12344 sharedlib_from_linklib_cmd \
12347 archiver_list_spec \
12353 lt_cv_sys_global_symbol_pipe \
12354 lt_cv_sys_global_symbol_to_cdecl \
12355 lt_cv_sys_global_symbol_to_c_name_address \
12356 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12357 nm_file_list_spec \
12358 lt_prog_compiler_no_builtin_flag \
12359 lt_prog_compiler_pic \
12360 lt_prog_compiler_wl \
12361 lt_prog_compiler_static \
12362 lt_cv_prog_compiler_c_o \
12371 export_dynamic_flag_spec \
12372 whole_archive_flag_spec \
12373 compiler_needs_object \
12375 allow_undefined_flag \
12376 no_undefined_flag \
12377 hardcode_libdir_flag_spec \
12378 hardcode_libdir_separator \
12382 variables_saved_for_relink \
12384 library_names_spec \
12386 install_override_mode \
12390 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12391 *[\\\\\\\`\\"\\\$]*)
12392 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12395 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12400 # Double-quote double-evaled strings.
12401 for var in reload_cmds \
12402 old_postinstall_cmds \
12403 old_postuninstall_cmds \
12405 extract_expsyms_cmds \
12406 old_archive_from_new_cmds \
12407 old_archive_from_expsyms_cmds \
12409 archive_expsym_cmds \
12411 module_expsym_cmds \
12412 export_symbols_cmds \
12416 postuninstall_cmds \
12418 sys_lib_search_path_spec \
12419 sys_lib_dlsearch_path_spec; do
12420 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12421 *[\\\\\\\`\\"\\\$]*)
12422 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12425 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12430 ac_aux_dir='$ac_aux_dir'
12431 xsi_shell='$xsi_shell'
12432 lt_shell_append='$lt_shell_append'
12434 # See if we are running on zsh, and set the options which allow our
12435 # commands through without removal of \ escapes INIT.
12436 if test -n "\${ZSH_VERSION+set}" ; then
12437 setopt NO_GLOB_SUBST
12443 TIMESTAMP='$TIMESTAMP'
12452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12454 # Handling of arguments.
12455 for ac_config_target in $ac_config_targets
12457 case $ac_config_target in
12458 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12459 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12460 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12462 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12467 # If the user did not use the arguments to specify the items to instantiate,
12468 # then the envvar interface is used. Set only those that are not.
12469 # We use the long form for the default assignment because of an extremely
12470 # bizarre bug on SunOS 4.1.3.
12471 if $ac_need_defaults; then
12472 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12473 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12476 # Have a temporary directory for convenience. Make it in the build tree
12477 # simply because there is no reason against having it here, and in addition,
12478 # creating and moving files from /tmp can sometimes cause problems.
12479 # Hook for its removal unless debugging.
12480 # Note that there is a small window in which the directory will not be cleaned:
12481 # after its creation but before its name has been assigned to `$tmp'.
12485 trap 'exit_status=$?
12486 : "${ac_tmp:=$tmp}"
12487 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12489 trap 'as_fn_exit 1' 1 2 13 15
12491 # Create a (secure) tmp directory for tmp files.
12494 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12498 tmp=./conf$$-$RANDOM
12499 (umask 077 && mkdir "$tmp")
12500 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12503 # Set up the scripts for CONFIG_FILES section.
12504 # No need to generate them if there are no CONFIG_FILES.
12505 # This happens for instance with `./config.status config.h'.
12506 if test -n "$CONFIG_FILES"; then
12509 ac_cr=`echo X | tr X '\015'`
12510 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12511 # But we know of no other shell where ac_cr would be empty at this
12512 # point, so we can use a bashism as a fallback.
12513 if test "x$ac_cr" = x; then
12514 eval ac_cr=\$\'\\r\'
12516 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12517 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12520 ac_cs_awk_cr=$ac_cr
12523 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12528 echo "cat >conf$$subs.awk <<_ACEOF" &&
12529 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12531 } >conf$$subs.sh ||
12532 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12533 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12535 for ac_last_try in false false false false false :; do
12536 . ./conf$$subs.sh ||
12537 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12539 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12540 if test $ac_delim_n = $ac_delim_num; then
12542 elif $ac_last_try; then
12543 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12545 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12548 rm -f conf$$subs.sh
12550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12551 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12555 s/^/S["/; s/!.*/"]=/
12565 s/\(.\{148\}\)..*/\1/
12567 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12572 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12579 s/\(.\{148\}\)..*/\1/
12581 s/["\\]/\\&/g; s/^/"/; s/$/"/
12585 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12590 ' <conf$$subs.awk | sed '
12595 ' >>$CONFIG_STATUS || ac_write_fail=1
12596 rm -f conf$$subs.awk
12597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12599 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12600 for (key in S) S_is_set[key] = 1
12606 nfields = split(line, field, "@")
12608 len = length(field[1])
12609 for (i = 2; i < nfields; i++) {
12611 keylen = length(key)
12612 if (S_is_set[key]) {
12614 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12615 len += length(value) + length(field[++i])
12626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12627 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12628 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12631 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12632 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12635 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12636 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12637 # trailing colons and then remove the whole line if VPATH becomes empty
12638 # (actually we leave an empty line to preserve line numbers).
12639 if test "x$srcdir" = x.; then
12640 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12659 fi # test -n "$CONFIG_FILES"
12662 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
12667 :[FHLC]) ac_mode=$ac_tag; continue;;
12669 case $ac_mode$ac_tag in
12671 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12672 :[FH]-) ac_tag=-:-;;
12673 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12690 -) ac_f="$ac_tmp/stdin";;
12691 *) # Look for the file first in the build tree, then in the source tree
12692 # (if the path is not absolute). The absolute path cannot be DOS-style,
12693 # because $ac_f cannot contain `:'.
12697 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12699 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12701 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12702 as_fn_append ac_file_inputs " '$ac_f'"
12705 # Let's still pretend it is `configure' which instantiates (i.e., don't
12706 # use $as_me), people would be surprised to read:
12707 # /* config.h. Generated by config.status. */
12708 configure_input='Generated from '`
12709 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12711 if test x"$ac_file" != x-; then
12712 configure_input="$ac_file. $configure_input"
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12714 $as_echo "$as_me: creating $ac_file" >&6;}
12716 # Neutralize special characters interpreted by sed in replacement strings.
12717 case $configure_input in #(
12718 *\&* | *\|* | *\\* )
12719 ac_sed_conf_input=`$as_echo "$configure_input" |
12720 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12721 *) ac_sed_conf_input=$configure_input;;
12725 *:-:* | *:-) cat >"$ac_tmp/stdin" \
12726 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12731 ac_dir=`$as_dirname -- "$ac_file" ||
12732 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12733 X"$ac_file" : 'X\(//\)[^/]' \| \
12734 X"$ac_file" : 'X\(//\)$' \| \
12735 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12736 $as_echo X"$ac_file" |
12737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12741 /^X\(\/\/\)[^/].*/{
12754 as_dir="$ac_dir"; as_fn_mkdir_p
12758 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12760 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12761 # A ".." for each directory in $ac_dir_suffix.
12762 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12763 case $ac_top_builddir_sub in
12764 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12765 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12768 ac_abs_top_builddir=$ac_pwd
12769 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12770 # for backward compatibility:
12771 ac_top_builddir=$ac_top_build_prefix
12774 .) # We are building in place.
12776 ac_top_srcdir=$ac_top_builddir_sub
12777 ac_abs_top_srcdir=$ac_pwd ;;
12778 [\\/]* | ?:[\\/]* ) # Absolute name.
12779 ac_srcdir=$srcdir$ac_dir_suffix;
12780 ac_top_srcdir=$srcdir
12781 ac_abs_top_srcdir=$srcdir ;;
12782 *) # Relative name.
12783 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12784 ac_top_srcdir=$ac_top_build_prefix$srcdir
12785 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12787 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12797 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12798 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12800 ac_MKDIR_P=$MKDIR_P
12802 [\\/$]* | ?:[\\/]* ) ;;
12803 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12808 # If the template does not know about datarootdir, expand it.
12809 # FIXME: This hack should be removed a few years after 2.60.
12810 ac_datarootdir_hack=; ac_datarootdir_seen=
12821 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12822 *datarootdir*) ac_datarootdir_seen=yes;;
12823 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12825 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12828 ac_datarootdir_hack='
12829 s&@datadir@&$datadir&g
12830 s&@docdir@&$docdir&g
12831 s&@infodir@&$infodir&g
12832 s&@localedir@&$localedir&g
12833 s&@mandir@&$mandir&g
12834 s&\\\${datarootdir}&$datarootdir&g' ;;
12838 # Neutralize VPATH when `$srcdir' = `.'.
12839 # Shell code in configure.ac might set extrasub.
12840 # FIXME: do we really want to maintain this feature?
12841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12842 ac_sed_extra="$ac_vpsub
12845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12847 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12848 s|@configure_input@|$ac_sed_conf_input|;t t
12849 s&@top_builddir@&$ac_top_builddir_sub&;t t
12850 s&@top_build_prefix@&$ac_top_build_prefix&;t t
12851 s&@srcdir@&$ac_srcdir&;t t
12852 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12853 s&@top_srcdir@&$ac_top_srcdir&;t t
12854 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12855 s&@builddir@&$ac_builddir&;t t
12856 s&@abs_builddir@&$ac_abs_builddir&;t t
12857 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12858 s&@INSTALL@&$ac_INSTALL&;t t
12859 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12860 $ac_datarootdir_hack
12862 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
12863 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12865 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12866 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
12867 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12868 "$ac_tmp/out"`; test -z "$ac_out"; } &&
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12870 which seems to be undefined. Please make sure it is defined" >&5
12871 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12872 which seems to be undefined. Please make sure it is defined" >&2;}
12874 rm -f "$ac_tmp/stdin"
12876 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12877 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12879 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12883 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12884 $as_echo "$as_me: executing $ac_file commands" >&6;}
12889 case $ac_file$ac_mode in
12890 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12891 # Older Autoconf quotes --file arguments for eval, but not when files
12892 # are listed without --file. Let's play safe and only enable the eval
12893 # if we detect the quoting.
12894 case $CONFIG_FILES in
12895 *\'*) eval set x "$CONFIG_FILES" ;;
12896 *) set x $CONFIG_FILES ;;
12901 # Strip MF so we end up with the name of the file.
12902 mf=`echo "$mf" | sed -e 's/:.*$//'`
12903 # Check whether this is an Automake generated Makefile or not.
12904 # We used to match only the files named 'Makefile.in', but
12905 # some people rename them; so instead we look at the file content.
12906 # Grep'ing the first line is not enough: some people post-process
12907 # each Makefile.in and add a new line on top of each file to say so.
12908 # Grep'ing the whole file is not good either: AIX grep has a line
12909 # limit of 2048, but all sed's we know have understand at least 4000.
12910 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12911 dirpart=`$as_dirname -- "$mf" ||
12912 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12913 X"$mf" : 'X\(//\)[^/]' \| \
12914 X"$mf" : 'X\(//\)$' \| \
12915 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12921 /^X\(\/\/\)[^/].*/{
12937 # Extract the definition of DEPDIR, am__include, and am__quote
12938 # from the Makefile without running 'make'.
12939 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12940 test -z "$DEPDIR" && continue
12941 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12942 test -z "$am__include" && continue
12943 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12944 # Find all dependency output files, they are included files with
12945 # $(DEPDIR) in their names. We invoke sed twice because it is the
12946 # simplest approach to changing $(DEPDIR) to its actual value in the
12948 for file in `sed -n "
12949 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12950 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
12951 # Make sure the directory exists.
12952 test -f "$dirpart/$file" && continue
12953 fdir=`$as_dirname -- "$file" ||
12954 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12955 X"$file" : 'X\(//\)[^/]' \| \
12956 X"$file" : 'X\(//\)$' \| \
12957 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12958 $as_echo X"$file" |
12959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12963 /^X\(\/\/\)[^/].*/{
12976 as_dir=$dirpart/$fdir; as_fn_mkdir_p
12977 # echo "creating $dirpart/$file"
12978 echo '# dummy' > "$dirpart/$file"
12985 # See if we are running on zsh, and set the options which allow our
12986 # commands through without removal of \ escapes.
12987 if test -n "${ZSH_VERSION+set}" ; then
12988 setopt NO_GLOB_SUBST
12991 cfgfile="${ofile}T"
12992 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12995 cat <<_LT_EOF >> "$cfgfile"
12998 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12999 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13000 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13001 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13003 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13004 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13006 # Written by Gordon Matzigkeit, 1996
13008 # This file is part of GNU Libtool.
13010 # GNU Libtool is free software; you can redistribute it and/or
13011 # modify it under the terms of the GNU General Public License as
13012 # published by the Free Software Foundation; either version 2 of
13013 # the License, or (at your option) any later version.
13015 # As a special exception to the GNU General Public License,
13016 # if you distribute this file as part of a program or library that
13017 # is built using GNU Libtool, you may include this file under the
13018 # same distribution terms that you use for the rest of that program.
13020 # GNU Libtool is distributed in the hope that it will be useful,
13021 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13022 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13023 # GNU General Public License for more details.
13025 # You should have received a copy of the GNU General Public License
13026 # along with GNU Libtool; see the file COPYING. If not, a copy
13027 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13028 # obtained by writing to the Free Software Foundation, Inc.,
13029 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13032 # The names of the tagged configurations supported by this script.
13035 # ### BEGIN LIBTOOL CONFIG
13037 # Which release of libtool.m4 was used?
13038 macro_version=$macro_version
13039 macro_revision=$macro_revision
13041 # Whether or not to build shared libraries.
13042 build_libtool_libs=$enable_shared
13044 # Whether or not to build static libraries.
13045 build_old_libs=$enable_static
13047 # What type of objects to build.
13050 # Whether or not to optimize for fast installation.
13051 fast_install=$enable_fast_install
13053 # Shell to use when invoking shell scripts.
13056 # An echo program that protects backslashes.
13059 # The PATH separator for the build system.
13060 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13063 host_alias=$host_alias
13067 # The build system.
13068 build_alias=$build_alias
13072 # A sed program that does not truncate output.
13075 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13076 Xsed="\$SED -e 1s/^X//"
13078 # A grep program that handles long lines.
13084 # A literal string matcher.
13087 # A BSD- or MS-compatible name lister.
13090 # Whether we need soft or hard links.
13093 # What is the maximum length of a command?
13094 max_cmd_len=$max_cmd_len
13096 # Object file suffix (normally "o").
13099 # Executable file suffix (normally "").
13102 # whether the shell understands "unset".
13105 # turn spaces into newlines.
13108 # turn newlines into spaces.
13111 # convert \$build file names to \$host format.
13112 to_host_file_cmd=$lt_cv_to_host_file_cmd
13114 # convert \$build files to toolchain format.
13115 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13117 # An object symbol dumper.
13118 OBJDUMP=$lt_OBJDUMP
13120 # Method to check whether dependent libraries are shared objects.
13121 deplibs_check_method=$lt_deplibs_check_method
13123 # Command to use when deplibs_check_method = "file_magic".
13124 file_magic_cmd=$lt_file_magic_cmd
13126 # How to find potential files when deplibs_check_method = "file_magic".
13127 file_magic_glob=$lt_file_magic_glob
13129 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13130 want_nocaseglob=$lt_want_nocaseglob
13132 # DLL creation program.
13133 DLLTOOL=$lt_DLLTOOL
13135 # Command to associate shared and link libraries.
13136 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13141 # Flags to create an archive.
13142 AR_FLAGS=$lt_AR_FLAGS
13144 # How to feed a file listing to the archiver.
13145 archiver_list_spec=$lt_archiver_list_spec
13147 # A symbol stripping program.
13150 # Commands used to install an old-style archive.
13152 old_postinstall_cmds=$lt_old_postinstall_cmds
13153 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13155 # Whether to use a lock for old archive extraction.
13156 lock_old_archive_extraction=$lock_old_archive_extraction
13161 # LTCC compiler flags.
13162 LTCFLAGS=$lt_CFLAGS
13164 # Take the output of nm and produce a listing of raw symbols and C names.
13165 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13167 # Transform the output of nm in a proper C declaration.
13168 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13170 # Transform the output of nm in a C name address pair.
13171 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13173 # Transform the output of nm in a C name address pair when lib prefix is needed.
13174 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13176 # Specify filename containing input files for \$NM.
13177 nm_file_list_spec=$lt_nm_file_list_spec
13179 # The root where to search for dependent libraries,and in which our libraries should be installed.
13180 lt_sysroot=$lt_sysroot
13182 # The name of the directory that contains temporary libtool files.
13185 # Used to examine libraries when file_magic_cmd begins with "file".
13186 MAGIC_CMD=$MAGIC_CMD
13188 # Must we lock files when doing compilation?
13189 need_locks=$lt_need_locks
13192 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13194 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13195 DSYMUTIL=$lt_DSYMUTIL
13197 # Tool to change global to local symbols on Mac OS X.
13200 # Tool to manipulate fat objects and archives on Mac OS X.
13203 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13206 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13207 OTOOL64=$lt_OTOOL64
13209 # Old archive suffix (normally "a").
13212 # Shared library suffix (normally ".so").
13213 shrext_cmds=$lt_shrext_cmds
13215 # The commands to extract the exported symbol list from a shared archive.
13216 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13218 # Variables whose values should be saved in libtool wrapper scripts and
13219 # restored at link time.
13220 variables_saved_for_relink=$lt_variables_saved_for_relink
13222 # Do we need the "lib" prefix for modules?
13223 need_lib_prefix=$need_lib_prefix
13225 # Do we need a version for libraries?
13226 need_version=$need_version
13228 # Library versioning type.
13229 version_type=$version_type
13231 # Shared library runtime path variable.
13232 runpath_var=$runpath_var
13234 # Shared library path variable.
13235 shlibpath_var=$shlibpath_var
13237 # Is shlibpath searched before the hard-coded library search path?
13238 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13240 # Format of library name prefix.
13241 libname_spec=$lt_libname_spec
13243 # List of archive names. First name is the real one, the rest are links.
13244 # The last name is the one that the linker finds with -lNAME
13245 library_names_spec=$lt_library_names_spec
13247 # The coded name of the library, if different from the real name.
13248 soname_spec=$lt_soname_spec
13250 # Permission mode override for installation of shared libraries.
13251 install_override_mode=$lt_install_override_mode
13253 # Command to use after installation of a shared archive.
13254 postinstall_cmds=$lt_postinstall_cmds
13256 # Command to use after uninstallation of a shared archive.
13257 postuninstall_cmds=$lt_postuninstall_cmds
13259 # Commands used to finish a libtool library installation in a directory.
13260 finish_cmds=$lt_finish_cmds
13262 # As "finish_cmds", except a single script fragment to be evaled but
13264 finish_eval=$lt_finish_eval
13266 # Whether we should hardcode library paths into libraries.
13267 hardcode_into_libs=$hardcode_into_libs
13269 # Compile-time system search path for libraries.
13270 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13272 # Run-time system search path for libraries.
13273 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13275 # Whether dlopen is supported.
13276 dlopen_support=$enable_dlopen
13278 # Whether dlopen of programs is supported.
13279 dlopen_self=$enable_dlopen_self
13281 # Whether dlopen of statically linked programs is supported.
13282 dlopen_self_static=$enable_dlopen_self_static
13284 # Commands to strip libraries.
13285 old_striplib=$lt_old_striplib
13286 striplib=$lt_striplib
13289 # The linker used to build libraries.
13292 # How to create reloadable object files.
13293 reload_flag=$lt_reload_flag
13294 reload_cmds=$lt_reload_cmds
13296 # Commands used to build an old-style archive.
13297 old_archive_cmds=$lt_old_archive_cmds
13299 # A language specific compiler.
13302 # Is the compiler the GNU compiler?
13305 # Compiler flag to turn off builtin functions.
13306 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13308 # Additional compiler flags for building library objects.
13309 pic_flag=$lt_lt_prog_compiler_pic
13311 # How to pass a linker flag through the compiler.
13312 wl=$lt_lt_prog_compiler_wl
13314 # Compiler flag to prevent dynamic linking.
13315 link_static_flag=$lt_lt_prog_compiler_static
13317 # Does compiler simultaneously support -c and -o options?
13318 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13320 # Whether or not to add -lc for building shared libraries.
13321 build_libtool_need_lc=$archive_cmds_need_lc
13323 # Whether or not to disallow shared libs when runtime libs are static.
13324 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13326 # Compiler flag to allow reflexive dlopens.
13327 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13329 # Compiler flag to generate shared objects directly from archives.
13330 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13332 # Whether the compiler copes with passing no objects directly.
13333 compiler_needs_object=$lt_compiler_needs_object
13335 # Create an old-style archive from a shared archive.
13336 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13338 # Create a temporary old-style archive to link instead of a shared archive.
13339 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13341 # Commands used to build a shared archive.
13342 archive_cmds=$lt_archive_cmds
13343 archive_expsym_cmds=$lt_archive_expsym_cmds
13345 # Commands used to build a loadable module if different from building
13346 # a shared archive.
13347 module_cmds=$lt_module_cmds
13348 module_expsym_cmds=$lt_module_expsym_cmds
13350 # Whether we are building with GNU ld or not.
13351 with_gnu_ld=$lt_with_gnu_ld
13353 # Flag that allows shared libraries with undefined symbols to be built.
13354 allow_undefined_flag=$lt_allow_undefined_flag
13356 # Flag that enforces no undefined symbols.
13357 no_undefined_flag=$lt_no_undefined_flag
13359 # Flag to hardcode \$libdir into a binary during linking.
13360 # This must work even if \$libdir does not exist
13361 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13363 # Whether we need a single "-rpath" flag with a separated argument.
13364 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13366 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13367 # DIR into the resulting binary.
13368 hardcode_direct=$hardcode_direct
13370 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13371 # DIR into the resulting binary and the resulting library dependency is
13372 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13373 # library is relocated.
13374 hardcode_direct_absolute=$hardcode_direct_absolute
13376 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13377 # into the resulting binary.
13378 hardcode_minus_L=$hardcode_minus_L
13380 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13381 # into the resulting binary.
13382 hardcode_shlibpath_var=$hardcode_shlibpath_var
13384 # Set to "yes" if building a shared library automatically hardcodes DIR
13385 # into the library and all subsequent libraries and executables linked
13387 hardcode_automatic=$hardcode_automatic
13389 # Set to yes if linker adds runtime paths of dependent libraries
13390 # to runtime path list.
13391 inherit_rpath=$inherit_rpath
13393 # Whether libtool must link a program against all its dependency libraries.
13394 link_all_deplibs=$link_all_deplibs
13396 # Set to "yes" if exported symbols are required.
13397 always_export_symbols=$always_export_symbols
13399 # The commands to list exported symbols.
13400 export_symbols_cmds=$lt_export_symbols_cmds
13402 # Symbols that should not be listed in the preloaded symbols.
13403 exclude_expsyms=$lt_exclude_expsyms
13405 # Symbols that must always be exported.
13406 include_expsyms=$lt_include_expsyms
13408 # Commands necessary for linking programs (against libraries) with templates.
13409 prelink_cmds=$lt_prelink_cmds
13411 # Commands necessary for finishing linking programs.
13412 postlink_cmds=$lt_postlink_cmds
13414 # Specify filename containing input files.
13415 file_list_spec=$lt_file_list_spec
13417 # How to hardcode a shared library path into an executable.
13418 hardcode_action=$hardcode_action
13420 # ### END LIBTOOL CONFIG
13426 cat <<\_LT_EOF >> "$cfgfile"
13427 # AIX sometimes has problems with the GCC collect2 program. For some
13428 # reason, if we set the COLLECT_NAMES environment variable, the problems
13429 # vanish in a puff of smoke.
13430 if test "X${COLLECT_NAMES+set}" != Xset; then
13432 export COLLECT_NAMES
13439 ltmain="$ac_aux_dir/ltmain.sh"
13442 # We use sed instead of cat because bash on DJGPP gets confused if
13443 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13444 # text mode, it properly converts lines to CR/LF. This bash problem
13445 # is reportedly fixed, but why not run on old versions too?
13446 sed '$q' "$ltmain" >> "$cfgfile" \
13447 || (rm -f "$cfgfile"; exit 1)
13449 if test x"$xsi_shell" = xyes; then
13450 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13454 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13455 \ * ) func_dirname_result="${3}" ;;\
13457 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13458 && mv -f "$cfgfile.tmp" "$cfgfile" \
13459 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13460 test 0 -eq $? || _lt_function_replace_fail=:
13463 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13466 \ func_basename_result="${1##*/}"\
13467 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13468 && mv -f "$cfgfile.tmp" "$cfgfile" \
13469 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13470 test 0 -eq $? || _lt_function_replace_fail=:
13473 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13474 func_dirname_and_basename ()\
13477 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13478 \ * ) func_dirname_result="${3}" ;;\
13480 \ func_basename_result="${1##*/}"\
13481 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13482 && mv -f "$cfgfile.tmp" "$cfgfile" \
13483 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13484 test 0 -eq $? || _lt_function_replace_fail=:
13487 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13490 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13491 \ # positional parameters, so assign one to ordinary parameter first.\
13492 \ func_stripname_result=${3}\
13493 \ func_stripname_result=${func_stripname_result#"${1}"}\
13494 \ func_stripname_result=${func_stripname_result%"${2}"}\
13495 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13496 && mv -f "$cfgfile.tmp" "$cfgfile" \
13497 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13498 test 0 -eq $? || _lt_function_replace_fail=:
13501 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13502 func_split_long_opt ()\
13504 \ func_split_long_opt_name=${1%%=*}\
13505 \ func_split_long_opt_arg=${1#*=}\
13506 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13507 && mv -f "$cfgfile.tmp" "$cfgfile" \
13508 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13509 test 0 -eq $? || _lt_function_replace_fail=:
13512 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13513 func_split_short_opt ()\
13515 \ func_split_short_opt_arg=${1#??}\
13516 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13517 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13518 && mv -f "$cfgfile.tmp" "$cfgfile" \
13519 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13520 test 0 -eq $? || _lt_function_replace_fail=:
13523 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13527 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13528 \ *) func_lo2o_result=${1} ;;\
13530 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13531 && mv -f "$cfgfile.tmp" "$cfgfile" \
13532 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13533 test 0 -eq $? || _lt_function_replace_fail=:
13536 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13539 func_xform_result=${1%.*}.lo\
13540 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13541 && mv -f "$cfgfile.tmp" "$cfgfile" \
13542 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13543 test 0 -eq $? || _lt_function_replace_fail=:
13546 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13549 func_arith_result=$(( $* ))\
13550 } # Extended-shell func_arith implementation' "$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 sed -e '/^func_len ()$/,/^} # func_len /c\
13559 func_len_result=${#1}\
13560 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13561 && mv -f "$cfgfile.tmp" "$cfgfile" \
13562 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13563 test 0 -eq $? || _lt_function_replace_fail=:
13567 if test x"$lt_shell_append" = xyes; then
13568 sed -e '/^func_append ()$/,/^} # func_append /c\
13571 eval "${1}+=\\${2}"\
13572 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13573 && mv -f "$cfgfile.tmp" "$cfgfile" \
13574 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13575 test 0 -eq $? || _lt_function_replace_fail=:
13578 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13579 func_append_quoted ()\
13581 \ func_quote_for_eval "${2}"\
13582 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13583 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13584 && mv -f "$cfgfile.tmp" "$cfgfile" \
13585 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13586 test 0 -eq $? || _lt_function_replace_fail=:
13589 # Save a `func_append' function call where possible by direct use of '+='
13590 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13591 && mv -f "$cfgfile.tmp" "$cfgfile" \
13592 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13593 test 0 -eq $? || _lt_function_replace_fail=:
13595 # Save a `func_append' function call even when '+=' is not available
13596 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13597 && mv -f "$cfgfile.tmp" "$cfgfile" \
13598 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13599 test 0 -eq $? || _lt_function_replace_fail=:
13602 if test x"$_lt_function_replace_fail" = x":"; then
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13604 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13608 mv -f "$cfgfile" "$ofile" ||
13609 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13620 ac_clean_files=$ac_clean_files_save
13622 test $ac_write_fail = 0 ||
13623 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13626 # configure is writing to config.log, and then calls config.status.
13627 # config.status does its own redirection, appending to config.log.
13628 # Unfortunately, on DOS this fails, as config.log is still kept open
13629 # by configure, so config.status won't be able to write to it; its
13630 # output is simply discarded. So we exec the FD to /dev/null,
13631 # effectively closing config.log, so it can be properly (re)opened and
13632 # appended to by config.status. When coming back to configure, we
13633 # need to make the FD available again.
13634 if test "$no_create" != yes; then
13636 ac_config_status_args=
13637 test "$silent" = yes &&
13638 ac_config_status_args="$ac_config_status_args --quiet"
13640 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13642 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13643 # would make configure fail if this is the last instruction.
13644 $ac_cs_success || as_fn_exit 1
13646 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13648 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}