2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libtirpc 0.2.5.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
588 PACKAGE_NAME='libtirpc'
589 PACKAGE_TARNAME='libtirpc'
590 PACKAGE_VERSION='0.2.5'
591 PACKAGE_STRING='libtirpc 0.2.5'
595 ac_unique_file="src/auth_des.c"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_default_prefix=/usr
633 ac_subst_vars='am__EXEEXT_FALSE
702 INSTALL_STRIP_PROGRAM
744 program_transform_name
757 enable_option_checking
761 enable_dependency_tracking
770 ac_precious_vars='build_alias
781 # Initialize some variables set by options.
783 ac_init_version=false
784 ac_unrecognized_opts=
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
795 program_transform_name=s,x,x,
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir='${exec_prefix}/bin'
810 sbindir='${exec_prefix}/sbin'
811 libexecdir='${exec_prefix}/libexec'
812 datarootdir='${prefix}/share'
813 datadir='${datarootdir}'
814 sysconfdir='${prefix}/etc'
815 sharedstatedir='${prefix}/com'
816 localstatedir='${prefix}/var'
817 includedir='${prefix}/include'
818 oldincludedir='/usr/include'
819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir='${datarootdir}/info'
825 libdir='${exec_prefix}/lib'
826 localedir='${datarootdir}/locale'
827 mandir='${datarootdir}/man'
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\$ac_option
841 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
846 # Accept the important Cygnus configure options, so we can diagnose typos.
848 case $ac_dashdash$ac_option in
852 -bindir | --bindir | --bindi | --bind | --bin | --bi)
854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
857 -build | --build | --buil | --bui | --bu)
858 ac_prev=build_alias ;;
859 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
860 build_alias=$ac_optarg ;;
862 -cache-file | --cache-file | --cache-fil | --cache-fi \
863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
864 ac_prev=cache_file ;;
865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
867 cache_file=$ac_optarg ;;
870 cache_file=config.cache ;;
872 -datadir | --datadir | --datadi | --datad)
874 -datadir=* | --datadir=* | --datadi=* | --datad=*)
875 datadir=$ac_optarg ;;
877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
878 | --dataroo | --dataro | --datar)
879 ac_prev=datarootdir ;;
880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
882 datarootdir=$ac_optarg ;;
884 -disable-* | --disable-*)
885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888 as_fn_error $? "invalid feature name: $ac_useropt"
889 ac_useropt_orig=$ac_useropt
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
896 ac_unrecognized_sep=', ';;
898 eval enable_$ac_useropt=no ;;
900 -docdir | --docdir | --docdi | --doc | --do)
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
910 -enable-* | --enable-*)
911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914 as_fn_error $? "invalid feature name: $ac_useropt"
915 ac_useropt_orig=$ac_useropt
916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
922 ac_unrecognized_sep=', ';;
924 eval enable_$ac_useropt=\$ac_optarg ;;
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
939 -help | --help | --hel | --he | -h)
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
955 htmldir=$ac_optarg ;;
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
969 -libdir | --libdir | --libdi | --libd)
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
981 -localedir | --localedir | --localedi | --localed | --locale)
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999 # Obsolete; use --without-fp.
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1060 -psdir | --psdir | --psdi | --psd | --ps)
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1073 sbindir=$ac_optarg ;;
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1084 sharedstatedir=$ac_optarg ;;
1086 -site | --site | --sit)
1088 -site=* | --site=* | --sit=*)
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1128 eval with_$ac_useropt=\$ac_optarg ;;
1130 -without-* | --without-*)
1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134 as_fn_error $? "invalid package name: $ac_useropt"
1135 ac_useropt_orig=$ac_useropt
1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142 ac_unrecognized_sep=', ';;
1144 eval with_$ac_useropt=no ;;
1147 # Obsolete; use --with-x.
1150 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151 | --x-incl | --x-inc | --x-in | --x-i)
1152 ac_prev=x_includes ;;
1153 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1155 x_includes=$ac_optarg ;;
1157 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1159 ac_prev=x_libraries ;;
1160 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1162 x_libraries=$ac_optarg ;;
1164 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1165 Try \`$0 --help' for more information"
1169 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1170 # Reject names that are not valid shell variable names.
1171 case $ac_envvar in #(
1172 '' | [0-9]* | *[!_$as_cr_alnum]* )
1173 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1175 eval $ac_envvar=\$ac_optarg
1176 export $ac_envvar ;;
1179 # FIXME: should be removed in autoconf 3.0.
1180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1183 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1189 if test -n "$ac_prev"; then
1190 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1191 as_fn_error $? "missing argument to $ac_option"
1194 if test -n "$ac_unrecognized_opts"; then
1195 case $enable_option_checking in
1197 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1202 # Check all directory arguments for consistency.
1203 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204 datadir sysconfdir sharedstatedir localstatedir includedir \
1205 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206 libdir localedir mandir
1208 eval ac_val=\$$ac_var
1209 # Remove trailing slashes.
1212 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213 eval $ac_var=\$ac_val;;
1215 # Be sure to have absolute directory names.
1217 [\\/$]* | ?:[\\/]* ) continue;;
1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1220 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1228 target=$target_alias
1230 # FIXME: To remove some day.
1231 if test "x$host_alias" != x; then
1232 if test "x$build_alias" = x; then
1233 cross_compiling=maybe
1234 elif test "x$build_alias" != "x$host_alias"; then
1240 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1242 test "$silent" = yes && exec 6>/dev/null
1245 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di=`ls -di .` &&
1247 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1248 as_fn_error $? "working directory cannot be determined"
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 as_fn_error $? "pwd does not report name of working directory"
1253 # Find the source files, if location was not specified.
1254 if test -z "$srcdir"; then
1255 ac_srcdir_defaulted=yes
1256 # Try the directory containing this script, then the parent directory.
1257 ac_confdir=`$as_dirname -- "$as_myself" ||
1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$as_myself" : 'X\(//\)[^/]' \| \
1260 X"$as_myself" : 'X\(//\)$' \| \
1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262 $as_echo X"$as_myself" |
1263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1285 ac_srcdir_defaulted=no
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1288 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1289 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1291 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1295 # When building in place, set srcdir=.
1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1303 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1305 for ac_var in $ac_precious_vars; do
1306 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_${ac_var}_value=\$${ac_var}
1308 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1313 # Report the --help message.
1315 if test "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1319 \`configure' configures libtirpc 0.2.5 to adapt to many kinds of systems.
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE. See below for descriptions of some of the useful variables.
1326 Defaults for the options are specified in brackets.
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking ...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1339 Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1341 [$ac_default_prefix]
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1350 For better control, use the options below.
1352 Fine tuning of the installation directories:
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root [DATAROOTDIR/doc/libtirpc]
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
1377 --program-prefix=PREFIX prepend PREFIX to installed program names
1378 --program-suffix=SUFFIX append SUFFIX to installed program names
1379 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1382 --build=BUILD configure for building on BUILD [guessed]
1383 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1387 if test -n "$ac_init_help"; then
1388 case $ac_init_help in
1389 short | recursive ) echo "Configuration of libtirpc 0.2.5:";;
1394 --disable-option-checking ignore unrecognized --enable/--with options
1395 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1396 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1397 --enable-silent-rules less verbose build output (undo: "make V=1")
1398 --disable-silent-rules verbose build output (undo: "make V=0")
1399 --disable-gssapi Disable GSSAPI support [default=no]
1400 --disable-ipv6 Disable IPv6 support [default=no]
1401 --enable-dependency-tracking
1402 do not reject slow dependency extractors
1403 --disable-dependency-tracking
1404 speeds up one-time build
1405 --enable-shared[=PKGS] build shared libraries [default=yes]
1406 --enable-static[=PKGS] build static libraries [default=yes]
1407 --enable-fast-install[=PKGS]
1408 optimize for fast installation [default=yes]
1409 --disable-libtool-lock avoid locking (might break parallel builds)
1412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1414 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1416 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1417 --with-sysroot=DIR Search for dependent libraries within DIR
1418 (or the compiler's sysroot if not specified).
1420 Some influential environment variables:
1421 CC C compiler command
1422 CFLAGS C compiler flags
1423 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1424 nonstandard directory <lib dir>
1425 LIBS libraries to pass to the linker, e.g. -l<library>
1426 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1427 you have headers in a nonstandard directory <include dir>
1430 Use these variables to override the choices made by `configure' or to help
1431 it to find libraries and programs with nonstandard names/locations.
1433 Report bugs to the package provider.
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441 test -d "$ac_dir" ||
1442 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1450 # A ".." for each directory in $ac_dir_suffix.
1451 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1452 case $ac_top_builddir_sub in
1453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1457 ac_abs_top_builddir=$ac_pwd
1458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1459 # for backward compatibility:
1460 ac_top_builddir=$ac_top_build_prefix
1463 .) # We are building in place.
1465 ac_top_srcdir=$ac_top_builddir_sub
1466 ac_abs_top_srcdir=$ac_pwd ;;
1467 [\\/]* | ?:[\\/]* ) # Absolute name.
1468 ac_srcdir=$srcdir$ac_dir_suffix;
1469 ac_top_srcdir=$srcdir
1470 ac_abs_top_srcdir=$srcdir ;;
1472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1473 ac_top_srcdir=$ac_top_build_prefix$srcdir
1474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1478 cd "$ac_dir" || { ac_status=$?; continue; }
1479 # Check for guested configure.
1480 if test -f "$ac_srcdir/configure.gnu"; then
1482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1483 elif test -f "$ac_srcdir/configure"; then
1485 $SHELL "$ac_srcdir/configure" --help=recursive
1487 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1489 cd "$ac_pwd" || { ac_status=$?; break; }
1493 test -n "$ac_init_help" && exit $ac_status
1494 if $ac_init_version; then
1496 libtirpc configure 0.2.5
1497 generated by GNU Autoconf 2.69
1499 Copyright (C) 2012 Free Software Foundation, Inc.
1500 This configure script is free software; the Free Software Foundation
1501 gives unlimited permission to copy, distribute and modify it.
1506 ## ------------------------ ##
1507 ## Autoconf initialization. ##
1508 ## ------------------------ ##
1510 # ac_fn_c_try_compile LINENO
1511 # --------------------------
1512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1513 ac_fn_c_try_compile ()
1515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1516 rm -f conftest.$ac_objext
1517 if { { ac_try="$ac_compile"
1519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1520 *) ac_try_echo=$ac_try;;
1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_compile") 2>conftest.err
1526 if test -s conftest.err; then
1527 grep -v '^ *+' conftest.err >conftest.er1
1528 cat conftest.er1 >&5
1529 mv -f conftest.er1 conftest.err
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest.$ac_objext; then :
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.$ac_ext >&5
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1544 as_fn_set_status $ac_retval
1546 } # ac_fn_c_try_compile
1548 # ac_fn_c_try_link LINENO
1549 # -----------------------
1550 # Try to link conftest.$ac_ext, and return whether this succeeded.
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 rm -f conftest.$ac_objext conftest$ac_exeext
1555 if { { ac_try="$ac_link"
1557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_link") 2>conftest.err
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } && {
1571 test -z "$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1573 } && test -s conftest$ac_exeext && {
1574 test "$cross_compiling" = yes ||
1575 test -x conftest$ac_exeext
1579 $as_echo "$as_me: failed program was:" >&5
1580 sed 's/^/| /' conftest.$ac_ext >&5
1584 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1585 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1586 # interfere with the next link command; also delete a directory that is
1587 # left behind by Apple's compiler. We do this before executing the actions.
1588 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status $ac_retval
1592 } # ac_fn_c_try_link
1594 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1595 # -------------------------------------------------------
1596 # Tests whether HEADER exists and can be compiled using the include files in
1597 # INCLUDES, setting the cache variable VAR accordingly.
1598 ac_fn_c_check_header_compile ()
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1602 $as_echo_n "checking for $2... " >&6; }
1603 if eval \${$3+:} false; then :
1604 $as_echo_n "(cached) " >&6
1606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1607 /* end confdefs.h. */
1611 if ac_fn_c_try_compile "$LINENO"; then :
1616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623 } # ac_fn_c_check_header_compile
1625 # ac_fn_c_try_cpp LINENO
1626 # ----------------------
1627 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 if { { ac_try="$ac_cpp conftest.$ac_ext"
1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1640 if test -s conftest.err; then
1641 grep -v '^ *+' conftest.err >conftest.er1
1642 cat conftest.er1 >&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } > conftest.i && {
1647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 as_fn_set_status $ac_retval
1662 # ac_fn_c_try_run LINENO
1663 # ----------------------
1664 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1665 # that executables *can* be run.
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 if { { ac_try="$ac_link"
1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672 *) ac_try_echo=$ac_try;;
1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675 $as_echo "$ac_try_echo"; } >&5
1676 (eval "$ac_link") 2>&5
1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1680 { { case "(($ac_try" in
1681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682 *) ac_try_echo=$ac_try;;
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_try") 2>&5
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; }; }; then :
1692 $as_echo "$as_me: program exited with status $ac_status" >&5
1693 $as_echo "$as_me: failed program was:" >&5
1694 sed 's/^/| /' conftest.$ac_ext >&5
1696 ac_retval=$ac_status
1698 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700 as_fn_set_status $ac_retval
1704 # ac_fn_c_check_func LINENO FUNC VAR
1705 # ----------------------------------
1706 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1707 ac_fn_c_check_func ()
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711 $as_echo_n "checking for $2... " >&6; }
1712 if eval \${$3+:} false; then :
1713 $as_echo_n "(cached) " >&6
1715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h. */
1717 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1719 #define $2 innocuous_$2
1721 /* System header to define __stub macros and hopefully few prototypes,
1722 which can conflict with char $2 (); below.
1723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1724 <limits.h> exists even on freestanding compilers. */
1727 # include <limits.h>
1729 # include <assert.h>
1734 /* Override any GCC internal prototype to avoid an error.
1735 Use char because int might match the return type of a GCC
1736 builtin and then its argument prototype would still apply. */
1741 /* The GNU C library defines this for functions which it implements
1742 to always fail with ENOSYS. Some functions are actually named
1743 something starting with __ and the normal name is an alias. */
1744 #if defined __stub_$2 || defined __stub___$2
1756 if ac_fn_c_try_link "$LINENO"; then :
1761 rm -f core conftest.err conftest.$ac_objext \
1762 conftest$ac_exeext conftest.$ac_ext
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766 $as_echo "$ac_res" >&6; }
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 } # ac_fn_c_check_func
1771 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1772 # -------------------------------------------------------
1773 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1774 # the include files in INCLUDES and setting the cache variable VAR
1776 ac_fn_c_check_header_mongrel ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 if eval \${$3+:} false; then :
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if eval \${$3+:} false; then :
1783 $as_echo_n "(cached) " >&6
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1789 # Is the header compilable?
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1791 $as_echo_n "checking $2 usability... " >&6; }
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1797 if ac_fn_c_try_compile "$LINENO"; then :
1798 ac_header_compiler=yes
1800 ac_header_compiler=no
1802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1804 $as_echo "$ac_header_compiler" >&6; }
1806 # Is the header present?
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1808 $as_echo_n "checking $2 presence... " >&6; }
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1813 if ac_fn_c_try_cpp "$LINENO"; then :
1814 ac_header_preproc=yes
1816 ac_header_preproc=no
1818 rm -f conftest.err conftest.i conftest.$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1820 $as_echo "$ac_header_preproc" >&6; }
1822 # So? What about this header?
1823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1826 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1828 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1832 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1834 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1836 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1838 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1840 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844 $as_echo_n "checking for $2... " >&6; }
1845 if eval \${$3+:} false; then :
1846 $as_echo_n "(cached) " >&6
1848 eval "$3=\$ac_header_compiler"
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1856 } # ac_fn_c_check_header_mongrel
1857 cat >config.log <<_ACEOF
1858 This file contains any messages produced by compilers while
1859 running configure, to aid debugging if configure makes a mistake.
1861 It was created by libtirpc $as_me 0.2.5, which was
1862 generated by GNU Autoconf 2.69. Invocation command line was
1874 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1875 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1876 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1877 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1878 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1880 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1881 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1883 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1884 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1885 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1886 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1887 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1888 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1889 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897 test -z "$as_dir" && as_dir=.
1898 $as_echo "PATH: $as_dir"
1914 # Keep a trace of the command line.
1915 # Strip out --no-create and --no-recursion so they do not pile up.
1916 # Strip out --silent because we don't want to record it for future runs.
1917 # Also quote any args containing shell meta-characters.
1918 # Make two passes to allow for proper duplicate-argument suppression.
1922 ac_must_keep_next=false
1928 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1929 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1930 | -silent | --silent | --silen | --sile | --sil)
1933 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1936 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1938 as_fn_append ac_configure_args1 " '$ac_arg'"
1939 if test $ac_must_keep_next = true; then
1940 ac_must_keep_next=false # Got value, back to normal.
1943 *=* | --config-cache | -C | -disable-* | --disable-* \
1944 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1945 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1946 | -with-* | --with-* | -without-* | --without-* | --x)
1947 case "$ac_configure_args0 " in
1948 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1951 -* ) ac_must_keep_next=true ;;
1954 as_fn_append ac_configure_args " '$ac_arg'"
1959 { ac_configure_args0=; unset ac_configure_args0;}
1960 { ac_configure_args1=; unset ac_configure_args1;}
1962 # When interrupted or exit'd, cleanup temporary files, and complete
1963 # config.log. We remove comments because anyway the quotes in there
1964 # would cause problems or look ugly.
1965 # WARNING: Use '\'' to represent an apostrophe within the trap.
1966 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1967 trap 'exit_status=$?
1968 # Save into config.log some information that might help in debugging.
1972 $as_echo "## ---------------- ##
1973 ## Cache variables. ##
1974 ## ---------------- ##"
1976 # The following way of writing the cache mishandles newlines in values,
1978 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1979 eval ac_val=\$$ac_var
1983 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1984 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1987 _ | IFS | as_nl) ;; #(
1988 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1989 *) { eval $ac_var=; unset $ac_var;} ;;
1994 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1995 *${as_nl}ac_space=\ *)
1997 "s/'\''/'\''\\\\'\'''\''/g;
1998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2001 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2008 $as_echo "## ----------------- ##
2009 ## Output variables. ##
2010 ## ----------------- ##"
2012 for ac_var in $ac_subst_vars
2014 eval ac_val=\$$ac_var
2016 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2018 $as_echo "$ac_var='\''$ac_val'\''"
2022 if test -n "$ac_subst_files"; then
2023 $as_echo "## ------------------- ##
2024 ## File substitutions. ##
2025 ## ------------------- ##"
2027 for ac_var in $ac_subst_files
2029 eval ac_val=\$$ac_var
2031 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2033 $as_echo "$ac_var='\''$ac_val'\''"
2038 if test -s confdefs.h; then
2039 $as_echo "## ----------- ##
2046 test "$ac_signal" != 0 &&
2047 $as_echo "$as_me: caught signal $ac_signal"
2048 $as_echo "$as_me: exit $exit_status"
2050 rm -f core *.core core.conftest.* &&
2051 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2054 for ac_signal in 1 2 13 15; do
2055 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2059 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2060 rm -f -r conftest* confdefs.h
2062 $as_echo "/* confdefs.h */" > confdefs.h
2064 # Predefined preprocessor variables.
2066 cat >>confdefs.h <<_ACEOF
2067 #define PACKAGE_NAME "$PACKAGE_NAME"
2070 cat >>confdefs.h <<_ACEOF
2071 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2074 cat >>confdefs.h <<_ACEOF
2075 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2078 cat >>confdefs.h <<_ACEOF
2079 #define PACKAGE_STRING "$PACKAGE_STRING"
2082 cat >>confdefs.h <<_ACEOF
2083 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2086 cat >>confdefs.h <<_ACEOF
2087 #define PACKAGE_URL "$PACKAGE_URL"
2091 # Let the site file select an alternate cache file if it wants to.
2092 # Prefer an explicitly selected file to automatically selected ones.
2095 if test -n "$CONFIG_SITE"; then
2096 # We do not want a PATH search for config.site.
2097 case $CONFIG_SITE in #((
2098 -*) ac_site_file1=./$CONFIG_SITE;;
2099 */*) ac_site_file1=$CONFIG_SITE;;
2100 *) ac_site_file1=./$CONFIG_SITE;;
2102 elif test "x$prefix" != xNONE; then
2103 ac_site_file1=$prefix/share/config.site
2104 ac_site_file2=$prefix/etc/config.site
2106 ac_site_file1=$ac_default_prefix/share/config.site
2107 ac_site_file2=$ac_default_prefix/etc/config.site
2109 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2111 test "x$ac_site_file" = xNONE && continue
2112 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2114 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2115 sed 's/^/| /' "$ac_site_file" >&5
2117 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2119 as_fn_error $? "failed to load site script $ac_site_file
2120 See \`config.log' for more details" "$LINENO" 5; }
2124 if test -r "$cache_file"; then
2125 # Some versions of bash will fail to source /dev/null (special files
2126 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2127 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2129 $as_echo "$as_me: loading cache $cache_file" >&6;}
2131 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2132 *) . "./$cache_file";;
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2137 $as_echo "$as_me: creating cache $cache_file" >&6;}
2141 # Check that the precious variables saved in the cache have kept the same
2143 ac_cache_corrupted=false
2144 for ac_var in $ac_precious_vars; do
2145 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2146 eval ac_new_set=\$ac_env_${ac_var}_set
2147 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2148 eval ac_new_val=\$ac_env_${ac_var}_value
2149 case $ac_old_set,$ac_new_set in
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2152 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2153 ac_cache_corrupted=: ;;
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2156 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2157 ac_cache_corrupted=: ;;
2160 if test "x$ac_old_val" != "x$ac_new_val"; then
2161 # differences in whitespace do not lead to failure.
2162 ac_old_val_w=`echo x $ac_old_val`
2163 ac_new_val_w=`echo x $ac_new_val`
2164 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2166 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2167 ac_cache_corrupted=:
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2170 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2171 eval $ac_var=\$ac_old_val
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2174 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2176 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2179 # Pass precious variables to config.status.
2180 if test "$ac_new_set" = set; then
2182 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2183 *) ac_arg=$ac_var=$ac_new_val ;;
2185 case " $ac_configure_args " in
2186 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2187 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2191 if $ac_cache_corrupted; then
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2195 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2196 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2198 ## -------------------- ##
2199 ## Main body of script. ##
2200 ## -------------------- ##
2203 ac_cpp='$CPP $CPPFLAGS'
2204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2209 am__api_version='1.13'
2212 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2213 if test -f "$ac_dir/install-sh"; then
2215 ac_install_sh="$ac_aux_dir/install-sh -c"
2217 elif test -f "$ac_dir/install.sh"; then
2219 ac_install_sh="$ac_aux_dir/install.sh -c"
2221 elif test -f "$ac_dir/shtool"; then
2223 ac_install_sh="$ac_aux_dir/shtool install -c"
2227 if test -z "$ac_aux_dir"; then
2228 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2231 # These three variables are undocumented and unsupported,
2232 # and are intended to be withdrawn in a future Autoconf release.
2233 # They can cause serious problems if a builder's source tree is in a directory
2234 # whose full name contains unusual characters.
2235 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2236 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2237 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2240 # Find a good install program. We prefer a C program (faster),
2241 # so one script is as good as another. But avoid the broken or
2242 # incompatible versions:
2243 # SysV /etc/install, /usr/sbin/install
2244 # SunOS /usr/etc/install
2245 # IRIX /sbin/install
2247 # AmigaOS /C/install, which installs bootblocks on floppy discs
2248 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2249 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2250 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2251 # OS/2's system install, which has a completely different semantic
2252 # ./install, which can be erroneously created by make from ./install.sh.
2253 # Reject install programs that cannot install multiple files.
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2255 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2256 if test -z "$INSTALL"; then
2257 if ${ac_cv_path_install+:} false; then :
2258 $as_echo_n "(cached) " >&6
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir=.
2265 # Account for people who put trailing slashes in PATH elements.
2266 case $as_dir/ in #((
2267 ./ | .// | /[cC]/* | \
2268 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2269 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2272 # OSF1 and SCO ODT 3.0 have their own names for install.
2273 # Don't use installbsd from OSF since it installs stuff as root
2275 for ac_prog in ginstall scoinst install; do
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2278 if test $ac_prog = install &&
2279 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2280 # AIX install. It has an incompatible calling convention.
2282 elif test $ac_prog = install &&
2283 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2284 # program-specific install script used by HP pwplus--don't use.
2287 rm -rf conftest.one conftest.two conftest.dir
2288 echo one > conftest.one
2289 echo two > conftest.two
2291 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2292 test -s conftest.one && test -s conftest.two &&
2293 test -s conftest.dir/conftest.one &&
2294 test -s conftest.dir/conftest.two
2296 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2309 rm -rf conftest.one conftest.two conftest.dir
2312 if test "${ac_cv_path_install+set}" = set; then
2313 INSTALL=$ac_cv_path_install
2315 # As a last resort, use the slow shell script. Don't cache a
2316 # value for INSTALL within a source directory, because that will
2317 # break other packages using the cache if that directory is
2318 # removed, or if the value is a relative name.
2319 INSTALL=$ac_install_sh
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2323 $as_echo "$INSTALL" >&6; }
2325 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2326 # It thinks the first close brace ends the variable substitution.
2327 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2329 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2331 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2334 $as_echo_n "checking whether build environment is sane... " >&6; }
2335 # Reject unsafe characters in $srcdir or the absolute working directory
2336 # name. Accept space and tab only in the latter.
2340 *[\\\"\#\$\&\'\`$am_lf]*)
2341 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2344 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2345 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2348 # Do 'set' in a subshell so we don't clobber the current shell's
2349 # arguments. Must try -L first in case configure is actually a
2350 # symlink; some systems play weird games with the mod time of symlinks
2351 # (eg FreeBSD returns the mod time of the symlink's containing
2355 for am_try in 1 2; do
2356 echo "timestamp, slept: $am_has_slept" > conftest.file
2357 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2358 if test "$*" = "X"; then
2360 set X `ls -t "$srcdir/configure" conftest.file`
2362 if test "$*" != "X $srcdir/configure conftest.file" \
2363 && test "$*" != "X conftest.file $srcdir/configure"; then
2365 # If neither matched, then we have a broken ls. This can happen
2366 # if, for instance, CONFIG_SHELL is bash and it inherits a
2367 # broken ls alias from the environment. This has actually
2368 # happened. Such a system could not be considered "sane".
2369 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2370 alias in your environment" "$LINENO" 5
2372 if test "$2" = conftest.file || test $am_try -eq 2; then
2379 test "$2" = conftest.file
2385 as_fn_error $? "newly created file is older than distributed files!
2386 Check your system clock" "$LINENO" 5
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2389 $as_echo "yes" >&6; }
2390 # If we didn't sleep, we still need to ensure time stamps of config.status and
2391 # generated files are strictly newer.
2393 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2400 test "$program_prefix" != NONE &&
2401 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2402 # Use a double $ so make ignores it.
2403 test "$program_suffix" != NONE &&
2404 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2405 # Double any \ or $.
2406 # By default was `s,x,x', remove it if useless.
2407 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2408 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2410 # expand $ac_aux_dir to an absolute path
2411 am_aux_dir=`cd $ac_aux_dir && pwd`
2413 if test x"${MISSING+set}" != xset; then
2416 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2418 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2421 # Use eval to expand $SHELL
2422 if eval "$MISSING --is-lightweight"; then
2423 am_missing_run="$MISSING "
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2427 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2430 if test x"${install_sh}" != xset; then
2433 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2435 install_sh="\${SHELL} $am_aux_dir/install-sh"
2439 # Installed binaries are usually stripped using 'strip' when the user
2440 # run "make install-strip". However 'strip' might not be the right
2441 # tool to use in cross-compilation environments, therefore Automake
2442 # will honor the 'STRIP' environment variable to overrule this program.
2443 if test "$cross_compiling" != no; then
2444 if test -n "$ac_tool_prefix"; then
2445 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2446 set dummy ${ac_tool_prefix}strip; ac_word=$2
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2448 $as_echo_n "checking for $ac_word... " >&6; }
2449 if ${ac_cv_prog_STRIP+:} false; then :
2450 $as_echo_n "(cached) " >&6
2452 if test -n "$STRIP"; then
2453 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 test -z "$as_dir" && as_dir=.
2460 for ac_exec_ext in '' $ac_executable_extensions; do
2461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2462 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 STRIP=$ac_cv_prog_STRIP
2473 if test -n "$STRIP"; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2475 $as_echo "$STRIP" >&6; }
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2478 $as_echo "no" >&6; }
2483 if test -z "$ac_cv_prog_STRIP"; then
2485 # Extract the first word of "strip", so it can be a program name with args.
2486 set dummy strip; ac_word=$2
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2488 $as_echo_n "checking for $ac_word... " >&6; }
2489 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2490 $as_echo_n "(cached) " >&6
2492 if test -n "$ac_ct_STRIP"; then
2493 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 test -z "$as_dir" && as_dir=.
2500 for ac_exec_ext in '' $ac_executable_extensions; do
2501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2502 ac_cv_prog_ac_ct_STRIP="strip"
2503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2512 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2513 if test -n "$ac_ct_STRIP"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2515 $as_echo "$ac_ct_STRIP" >&6; }
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2518 $as_echo "no" >&6; }
2521 if test "x$ac_ct_STRIP" = x; then
2524 case $cross_compiling:$ac_tool_warned in
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2528 ac_tool_warned=yes ;;
2533 STRIP="$ac_cv_prog_STRIP"
2537 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2540 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2541 if test -z "$MKDIR_P"; then
2542 if ${ac_cv_path_mkdir+:} false; then :
2543 $as_echo_n "(cached) " >&6
2545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2546 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2549 test -z "$as_dir" && as_dir=.
2550 for ac_prog in mkdir gmkdir; do
2551 for ac_exec_ext in '' $ac_executable_extensions; do
2552 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2553 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2554 'mkdir (GNU coreutils) '* | \
2555 'mkdir (coreutils) '* | \
2556 'mkdir (fileutils) '4.1*)
2557 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2567 test -d ./--version && rmdir ./--version
2568 if test "${ac_cv_path_mkdir+set}" = set; then
2569 MKDIR_P="$ac_cv_path_mkdir -p"
2571 # As a last resort, use the slow shell script. Don't cache a
2572 # value for MKDIR_P within a source directory, because that will
2573 # break other packages using the cache if that directory is
2574 # removed, or if the value is a relative name.
2575 MKDIR_P="$ac_install_sh -d"
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2579 $as_echo "$MKDIR_P" >&6; }
2581 for ac_prog in gawk mawk nawk awk
2583 # Extract the first word of "$ac_prog", so it can be a program name with args.
2584 set dummy $ac_prog; ac_word=$2
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2586 $as_echo_n "checking for $ac_word... " >&6; }
2587 if ${ac_cv_prog_AWK+:} false; then :
2588 $as_echo_n "(cached) " >&6
2590 if test -n "$AWK"; then
2591 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 test -z "$as_dir" && as_dir=.
2598 for ac_exec_ext in '' $ac_executable_extensions; do
2599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2600 ac_cv_prog_AWK="$ac_prog"
2601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 if test -n "$AWK"; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2613 $as_echo "$AWK" >&6; }
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2616 $as_echo "no" >&6; }
2620 test -n "$AWK" && break
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2624 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2626 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2627 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2628 $as_echo_n "(cached) " >&6
2630 cat >conftest.make <<\_ACEOF
2633 @echo '@@@%%%=$(MAKE)=@@@%%%'
2635 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2636 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2638 eval ac_cv_prog_make_${ac_make}_set=yes;;
2640 eval ac_cv_prog_make_${ac_make}_set=no;;
2644 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2646 $as_echo "yes" >&6; }
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2651 SET_MAKE="MAKE=${MAKE-make}"
2654 rm -rf .tst 2>/dev/null
2655 mkdir .tst 2>/dev/null
2656 if test -d .tst; then
2661 rmdir .tst 2>/dev/null
2663 # Check whether --enable-silent-rules was given.
2664 if test "${enable_silent_rules+set}" = set; then :
2665 enableval=$enable_silent_rules;
2668 case $enable_silent_rules in # (((
2669 yes) AM_DEFAULT_VERBOSITY=0;;
2670 no) AM_DEFAULT_VERBOSITY=1;;
2671 *) AM_DEFAULT_VERBOSITY=1;;
2673 am_make=${MAKE-make}
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2675 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2676 if ${am_cv_make_support_nested_variables+:} false; then :
2677 $as_echo_n "(cached) " >&6
2679 if $as_echo 'TRUE=$(BAR$(V))
2685 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2686 am_cv_make_support_nested_variables=yes
2688 am_cv_make_support_nested_variables=no
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2692 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2693 if test $am_cv_make_support_nested_variables = yes; then
2695 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2697 AM_V=$AM_DEFAULT_VERBOSITY
2698 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2702 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2703 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2704 # is not polluted with repeated "-I."
2705 am__isrc=' -I$(srcdir)'
2706 # test to see if srcdir already configured
2707 if test -f $srcdir/config.status; then
2708 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2712 # test whether we have cygpath
2713 if test -z "$CYGPATH_W"; then
2714 if (cygpath --version) >/dev/null 2>/dev/null; then
2715 CYGPATH_W='cygpath -w'
2722 # Define the identity of the package.
2727 cat >>confdefs.h <<_ACEOF
2728 #define PACKAGE "$PACKAGE"
2732 cat >>confdefs.h <<_ACEOF
2733 #define VERSION "$VERSION"
2736 # Some tools Automake needs.
2738 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2741 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2744 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2747 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2750 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2752 # For better backward compatibility. To be removed once Automake 1.9.x
2753 # dies out for good. For more background, see:
2754 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2755 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2756 mkdir_p='$(MKDIR_P)'
2758 # We need awk for the "check" target. The system "awk" is bad on
2760 # Always define AMTAR for backward compatibility. Yes, it's still used
2761 # in the wild :-( We should find a proper way to deprecate it ...
2765 # We'll loop over all known methods to create a tar archive until one works.
2766 _am_tools='gnutar pax cpio none'
2768 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2775 # Check whether --enable-silent-rules was given.
2776 if test "${enable_silent_rules+set}" = set; then :
2777 enableval=$enable_silent_rules;
2780 case $enable_silent_rules in # (((
2781 yes) AM_DEFAULT_VERBOSITY=0;;
2782 no) AM_DEFAULT_VERBOSITY=1;;
2783 *) AM_DEFAULT_VERBOSITY=0;;
2785 am_make=${MAKE-make}
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2787 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2788 if ${am_cv_make_support_nested_variables+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 if $as_echo 'TRUE=$(BAR$(V))
2797 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2798 am_cv_make_support_nested_variables=yes
2800 am_cv_make_support_nested_variables=no
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2804 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2805 if test $am_cv_make_support_nested_variables = yes; then
2807 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2809 AM_V=$AM_DEFAULT_VERBOSITY
2810 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2817 # Check whether --enable-gssapi was given.
2818 if test "${enable_gssapi+set}" = set; then :
2819 enableval=$enable_gssapi;
2824 if test x$enable_gssapi = xyes; then
2833 if test x$enable_gssapi = xyes; then
2834 GSSAPI_CFLAGS=`krb5-config --cflags gssapi`
2835 GSSAPI_LIBS=`krb5-config --libs gssapi`
2839 # Check whether --enable-ipv6 was given.
2840 if test "${enable_ipv6+set}" = set; then :
2841 enableval=$enable_ipv6;
2846 if test "x$disable_ipv6" != xno; then
2854 if test "x$enable_ipv6" != xno; then
2856 $as_echo "#define INET6 1" >>confdefs.h
2861 ac_cpp='$CPP $CPPFLAGS'
2862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2865 if test -n "$ac_tool_prefix"; then
2866 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2867 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2869 $as_echo_n "checking for $ac_word... " >&6; }
2870 if ${ac_cv_prog_CC+:} false; then :
2871 $as_echo_n "(cached) " >&6
2873 if test -n "$CC"; then
2874 ac_cv_prog_CC="$CC" # Let the user override the test.
2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2880 test -z "$as_dir" && as_dir=.
2881 for ac_exec_ext in '' $ac_executable_extensions; do
2882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2883 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 if test -n "$CC"; then
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2896 $as_echo "$CC" >&6; }
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2899 $as_echo "no" >&6; }
2904 if test -z "$ac_cv_prog_CC"; then
2906 # Extract the first word of "gcc", so it can be a program name with args.
2907 set dummy gcc; ac_word=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$ac_ct_CC"; then
2914 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir=.
2921 for ac_exec_ext in '' $ac_executable_extensions; do
2922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2923 ac_cv_prog_ac_ct_CC="gcc"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2934 if test -n "$ac_ct_CC"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2936 $as_echo "$ac_ct_CC" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2942 if test "x$ac_ct_CC" = x; then
2945 case $cross_compiling:$ac_tool_warned in
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2949 ac_tool_warned=yes ;;
2957 if test -z "$CC"; then
2958 if test -n "$ac_tool_prefix"; then
2959 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2960 set dummy ${ac_tool_prefix}cc; ac_word=$2
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2962 $as_echo_n "checking for $ac_word... " >&6; }
2963 if ${ac_cv_prog_CC+:} false; then :
2964 $as_echo_n "(cached) " >&6
2966 if test -n "$CC"; then
2967 ac_cv_prog_CC="$CC" # Let the user override the test.
2969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2973 test -z "$as_dir" && as_dir=.
2974 for ac_exec_ext in '' $ac_executable_extensions; do
2975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2976 ac_cv_prog_CC="${ac_tool_prefix}cc"
2977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 if test -n "$CC"; then
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2989 $as_echo "$CC" >&6; }
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2992 $as_echo "no" >&6; }
2998 if test -z "$CC"; then
2999 # Extract the first word of "cc", so it can be a program name with args.
3000 set dummy cc; ac_word=$2
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002 $as_echo_n "checking for $ac_word... " >&6; }
3003 if ${ac_cv_prog_CC+:} false; then :
3004 $as_echo_n "(cached) " >&6
3006 if test -n "$CC"; then
3007 ac_cv_prog_CC="$CC" # Let the user override the test.
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir=.
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3018 ac_prog_rejected=yes
3022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029 if test $ac_prog_rejected = yes; then
3030 # We found a bogon in the path, so make sure we never use it.
3031 set dummy $ac_cv_prog_CC
3033 if test $# != 0; then
3034 # We chose a different compiler from the bogus one.
3035 # However, it has the same basename, so the bogon will be chosen
3036 # first if we set CC to just the basename; use the full file name.
3038 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3044 if test -n "$CC"; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3046 $as_echo "$CC" >&6; }
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3049 $as_echo "no" >&6; }
3054 if test -z "$CC"; then
3055 if test -n "$ac_tool_prefix"; then
3056 for ac_prog in cl.exe
3058 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3059 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3061 $as_echo_n "checking for $ac_word... " >&6; }
3062 if ${ac_cv_prog_CC+:} false; then :
3063 $as_echo_n "(cached) " >&6
3065 if test -n "$CC"; then
3066 ac_cv_prog_CC="$CC" # Let the user override the test.
3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072 test -z "$as_dir" && as_dir=.
3073 for ac_exec_ext in '' $ac_executable_extensions; do
3074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3075 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 if test -n "$CC"; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3088 $as_echo "$CC" >&6; }
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091 $as_echo "no" >&6; }
3095 test -n "$CC" && break
3098 if test -z "$CC"; then
3100 for ac_prog in cl.exe
3102 # Extract the first word of "$ac_prog", so it can be a program name with args.
3103 set dummy $ac_prog; ac_word=$2
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105 $as_echo_n "checking for $ac_word... " >&6; }
3106 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3107 $as_echo_n "(cached) " >&6
3109 if test -n "$ac_ct_CC"; then
3110 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3119 ac_cv_prog_ac_ct_CC="$ac_prog"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3130 if test -n "$ac_ct_CC"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3132 $as_echo "$ac_ct_CC" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3139 test -n "$ac_ct_CC" && break
3142 if test "x$ac_ct_CC" = x; then
3145 case $cross_compiling:$ac_tool_warned in
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3149 ac_tool_warned=yes ;;
3158 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3160 as_fn_error $? "no acceptable C compiler found in \$PATH
3161 See \`config.log' for more details" "$LINENO" 5; }
3163 # Provide some information about the compiler.
3164 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3167 for ac_option in --version -v -V -qversion; do
3168 { { ac_try="$ac_compiler $ac_option >&5"
3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3174 $as_echo "$ac_try_echo"; } >&5
3175 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3177 if test -s conftest.err; then
3179 ... rest of stderr output deleted ...
3180 10q' conftest.err >conftest.er1
3181 cat conftest.er1 >&5
3183 rm -f conftest.er1 conftest.err
3184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3185 test $ac_status = 0; }
3188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3189 /* end confdefs.h. */
3199 ac_clean_files_save=$ac_clean_files
3200 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3201 # Try to create an executable without -o first, disregard a.out.
3202 # It will help us diagnose broken compilers, and finding out an intuition
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3205 $as_echo_n "checking whether the C compiler works... " >&6; }
3206 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3208 # The possible output files:
3209 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3212 for ac_file in $ac_files
3215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3216 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3221 if { { ac_try="$ac_link_default"
3223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3224 *) ac_try_echo=$ac_try;;
3226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3227 $as_echo "$ac_try_echo"; } >&5
3228 (eval "$ac_link_default") 2>&5
3230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3231 test $ac_status = 0; }; then :
3232 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3233 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3234 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3235 # so that the user can short-circuit this test for compilers unknown to
3237 for ac_file in $ac_files ''
3239 test -f "$ac_file" || continue
3241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3244 # We found the default executable, but exeext='' is most
3248 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3250 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3252 # We set ac_cv_exeext here because the later test for it is not
3253 # safe: cross compilers may not add the suffix if given an `-o'
3254 # argument, so we may need to know it at that point already.
3255 # Even if this section looks crufty: it has the advantage of
3262 test "$ac_cv_exeext" = no && ac_cv_exeext=
3267 if test -z "$ac_file"; then :
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3269 $as_echo "no" >&6; }
3270 $as_echo "$as_me: failed program was:" >&5
3271 sed 's/^/| /' conftest.$ac_ext >&5
3273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3275 as_fn_error 77 "C compiler cannot create executables
3276 See \`config.log' for more details" "$LINENO" 5; }
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3279 $as_echo "yes" >&6; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3282 $as_echo_n "checking for C compiler default output file name... " >&6; }
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3284 $as_echo "$ac_file" >&6; }
3285 ac_exeext=$ac_cv_exeext
3287 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3288 ac_clean_files=$ac_clean_files_save
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3290 $as_echo_n "checking for suffix of executables... " >&6; }
3291 if { { ac_try="$ac_link"
3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294 *) ac_try_echo=$ac_try;;
3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297 $as_echo "$ac_try_echo"; } >&5
3298 (eval "$ac_link") 2>&5
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301 test $ac_status = 0; }; then :
3302 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3303 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3304 # work properly (i.e., refer to `conftest.exe'), while it won't with
3306 for ac_file in conftest.exe conftest conftest.*; do
3307 test -f "$ac_file" || continue
3309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3310 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3318 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3319 See \`config.log' for more details" "$LINENO" 5; }
3321 rm -f conftest conftest$ac_cv_exeext
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3323 $as_echo "$ac_cv_exeext" >&6; }
3325 rm -f conftest.$ac_ext
3326 EXEEXT=$ac_cv_exeext
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3334 FILE *f = fopen ("conftest.out", "w");
3335 return ferror (f) || fclose (f) != 0;
3341 ac_clean_files="$ac_clean_files conftest.out"
3342 # Check that the compiler produces executables we can run. If not, either
3343 # the compiler is broken, or we cross compile.
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3345 $as_echo_n "checking whether we are cross compiling... " >&6; }
3346 if test "$cross_compiling" != yes; then
3347 { { ac_try="$ac_link"
3349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3350 *) ac_try_echo=$ac_try;;
3352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3353 $as_echo "$ac_try_echo"; } >&5
3354 (eval "$ac_link") 2>&5
3356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357 test $ac_status = 0; }
3358 if { ac_try='./conftest$ac_cv_exeext'
3359 { { case "(($ac_try" in
3360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3361 *) ac_try_echo=$ac_try;;
3363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3364 $as_echo "$ac_try_echo"; } >&5
3365 (eval "$ac_try") 2>&5
3367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3368 test $ac_status = 0; }; }; then
3371 if test "$cross_compiling" = maybe; then
3374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 as_fn_error $? "cannot run C compiled programs.
3377 If you meant to cross compile, use \`--host'.
3378 See \`config.log' for more details" "$LINENO" 5; }
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3383 $as_echo "$cross_compiling" >&6; }
3385 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3386 ac_clean_files=$ac_clean_files_save
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3388 $as_echo_n "checking for suffix of object files... " >&6; }
3389 if ${ac_cv_objext+:} false; then :
3390 $as_echo_n "(cached) " >&6
3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3403 rm -f conftest.o conftest.obj
3404 if { { ac_try="$ac_compile"
3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407 *) ac_try_echo=$ac_try;;
3409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3410 $as_echo "$ac_try_echo"; } >&5
3411 (eval "$ac_compile") 2>&5
3413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3414 test $ac_status = 0; }; then :
3415 for ac_file in conftest.o conftest.obj conftest.*; do
3416 test -f "$ac_file" || continue;
3418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3419 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3424 $as_echo "$as_me: failed program was:" >&5
3425 sed 's/^/| /' conftest.$ac_ext >&5
3427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429 as_fn_error $? "cannot compute suffix of object files: cannot compile
3430 See \`config.log' for more details" "$LINENO" 5; }
3432 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3435 $as_echo "$ac_cv_objext" >&6; }
3436 OBJEXT=$ac_cv_objext
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3439 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3440 if ${ac_cv_c_compiler_gnu+:} false; then :
3441 $as_echo_n "(cached) " >&6
3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444 /* end confdefs.h. */
3457 if ac_fn_c_try_compile "$LINENO"; then :
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3467 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3468 if test $ac_compiler_gnu = yes; then
3473 ac_test_CFLAGS=${CFLAGS+set}
3474 ac_save_CFLAGS=$CFLAGS
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3476 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3477 if ${ac_cv_prog_cc_g+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 ac_save_c_werror_flag=$ac_c_werror_flag
3481 ac_c_werror_flag=yes
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3495 if ac_fn_c_try_compile "$LINENO"; then :
3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h. */
3510 if ac_fn_c_try_compile "$LINENO"; then :
3513 ac_c_werror_flag=$ac_save_c_werror_flag
3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h. */
3526 if ac_fn_c_try_compile "$LINENO"; then :
3529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 ac_c_werror_flag=$ac_save_c_werror_flag
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3537 $as_echo "$ac_cv_prog_cc_g" >&6; }
3538 if test "$ac_test_CFLAGS" = set; then
3539 CFLAGS=$ac_save_CFLAGS
3540 elif test $ac_cv_prog_cc_g = yes; then
3541 if test "$GCC" = yes; then
3547 if test "$GCC" = yes; then
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3554 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3555 if ${ac_cv_prog_cc_c89+:} false; then :
3556 $as_echo_n "(cached) " >&6
3558 ac_cv_prog_cc_c89=no
3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3565 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3566 struct buf { int x; };
3567 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3568 static char *e (p, i)
3574 static char *f (char * (*g) (char **, int), char **p, ...)
3579 s = g (p, va_arg (v,int));
3584 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3585 function prototypes and stuff, but not '\xHH' hex character constants.
3586 These don't provoke an error unfortunately, instead are silently treated
3587 as 'x'. The following induces an error, until -std is added to get
3588 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3589 array size at least. It's necessary to write '\x00'==0 to get something
3590 that's true only with -std. */
3591 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3593 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3594 inside strings and character constants. */
3596 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3598 int test (int i, double x);
3599 struct s1 {int (*f) (int a);};
3600 struct s2 {int (*f) (double a);};
3601 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3607 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3612 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3613 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3615 CC="$ac_save_CC $ac_arg"
3616 if ac_fn_c_try_compile "$LINENO"; then :
3617 ac_cv_prog_cc_c89=$ac_arg
3619 rm -f core conftest.err conftest.$ac_objext
3620 test "x$ac_cv_prog_cc_c89" != "xno" && break
3622 rm -f conftest.$ac_ext
3627 case "x$ac_cv_prog_cc_c89" in
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3630 $as_echo "none needed" >&6; } ;;
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3633 $as_echo "unsupported" >&6; } ;;
3635 CC="$CC $ac_cv_prog_cc_c89"
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3637 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3639 if test "x$ac_cv_prog_cc_c89" != xno; then :
3644 ac_cpp='$CPP $CPPFLAGS'
3645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3648 DEPDIR="${am__leading_dot}deps"
3650 ac_config_commands="$ac_config_commands depfiles"
3653 am_make=${MAKE-make}
3654 cat > confinc << 'END'
3656 @echo this is the am__doit target
3659 # If we don't find an include directive, just comment out the code.
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3661 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3665 # First try GNU make style include.
3666 echo "include confinc" > confmf
3667 # Ignore all kinds of additional output from 'make'.
3668 case `$am_make -s -f confmf 2> /dev/null` in #(
3669 *the\ am__doit\ target*)
3675 # Now try BSD make style include.
3676 if test "$am__include" = "#"; then
3677 echo '.include "confinc"' > confmf
3678 case `$am_make -s -f confmf 2> /dev/null` in #(
3679 *the\ am__doit\ target*)
3680 am__include=.include
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3689 $as_echo "$_am_result" >&6; }
3690 rm -f confinc confmf
3692 # Check whether --enable-dependency-tracking was given.
3693 if test "${enable_dependency_tracking+set}" = set; then :
3694 enableval=$enable_dependency_tracking;
3697 if test "x$enable_dependency_tracking" != xno; then
3698 am_depcomp="$ac_aux_dir/depcomp"
3702 if test "x$enable_dependency_tracking" != xno; then
3712 depcc="$CC" am_compiler_list=
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3715 $as_echo_n "checking dependency style of $depcc... " >&6; }
3716 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3717 $as_echo_n "(cached) " >&6
3719 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3720 # We make a subdir and do the tests there. Otherwise we can end up
3721 # making bogus files that we don't know about and never remove. For
3722 # instance it was reported that on HP-UX the gcc test will end up
3723 # making a dummy file named 'D' -- because '-MD' means "put the output
3727 # Copy depcomp to subdir because otherwise we won't find it if we're
3728 # using a relative directory.
3729 cp "$am_depcomp" conftest.dir
3731 # We will build objects and dependencies in a subdirectory because
3732 # it helps to detect inapplicable dependency modes. For instance
3733 # both Tru64's cc and ICC support -MD to output dependencies as a
3734 # side effect of compilation, but ICC will put the dependencies in
3735 # the current directory while Tru64 will put them in the object
3739 am_cv_CC_dependencies_compiler_type=none
3740 if test "$am_compiler_list" = ""; then
3741 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3744 case " $depcc " in #(
3745 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3748 for depmode in $am_compiler_list; do
3749 # Setup a source with many dependencies, because some compilers
3750 # like to wrap large dependency lists on column 80 (with \), and
3751 # we should not choose a depcomp mode which is confused by this.
3753 # We need to recreate these files for each test, as the compiler may
3754 # overwrite some of them when testing with obscure command lines.
3755 # This happens at least with the AIX C compiler.
3757 for i in 1 2 3 4 5 6; do
3758 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3759 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3760 # Solaris 10 /bin/sh.
3761 echo '/* dummy */' > sub/conftst$i.h
3763 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3765 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3766 # mode. It turns out that the SunPro C++ compiler does not properly
3767 # handle '-M -o', and we need to detect this. Also, some Intel
3768 # versions had trouble with output in subdirs.
3769 am__obj=sub/conftest.${OBJEXT-o}
3770 am__minus_obj="-o $am__obj"
3773 # This depmode causes a compiler race in universal mode.
3774 test "$am__universal" = false || continue
3777 # After this tag, mechanisms are not by side-effect, so they'll
3778 # only be used when explicitly requested.
3779 if test "x$enable_dependency_tracking" = xyes; then
3785 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3786 # This compiler won't grok '-c -o', but also, the minuso test has
3787 # not run yet. These depmodes are late enough in the game, and
3788 # so weak that their functioning should not be impacted.
3789 am__obj=conftest.${OBJEXT-o}
3794 if depmode=$depmode \
3795 source=sub/conftest.c object=$am__obj \
3796 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3797 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3798 >/dev/null 2>conftest.err &&
3799 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3800 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3801 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3802 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3803 # icc doesn't choke on unknown options, it will just issue warnings
3804 # or remarks (even with -Werror). So we grep stderr for any message
3805 # that says an option was ignored or not supported.
3806 # When given -MP, icc 7.0 and 7.1 complain thusly:
3807 # icc: Command line warning: ignoring option '-M'; no argument required
3808 # The diagnosis changed in icc 8.0:
3809 # icc: Command line remark: option '-MP' not supported
3810 if (grep 'ignoring option' conftest.err ||
3811 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3812 am_cv_CC_dependencies_compiler_type=$depmode
3821 am_cv_CC_dependencies_compiler_type=none
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3826 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3827 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3830 test "x$enable_dependency_tracking" != xno \
3831 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3833 am__fastdepCC_FALSE='#'
3835 am__fastdepCC_TRUE='#'
3836 am__fastdepCC_FALSE=
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3844 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3849 macro_version='2.4.2'
3850 macro_revision='1.3337'
3864 ltmain="$ac_aux_dir/ltmain.sh"
3866 # Make sure we can run config.sub.
3867 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3868 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3871 $as_echo_n "checking build system type... " >&6; }
3872 if ${ac_cv_build+:} false; then :
3873 $as_echo_n "(cached) " >&6
3875 ac_build_alias=$build_alias
3876 test "x$ac_build_alias" = x &&
3877 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3878 test "x$ac_build_alias" = x &&
3879 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3880 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3881 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3885 $as_echo "$ac_cv_build" >&6; }
3886 case $ac_cv_build in
3888 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3891 ac_save_IFS=$IFS; IFS='-'
3897 # Remember, the first character of IFS is used to create $*,
3898 # except with old shells:
3901 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3905 $as_echo_n "checking host system type... " >&6; }
3906 if ${ac_cv_host+:} false; then :
3907 $as_echo_n "(cached) " >&6
3909 if test "x$host_alias" = x; then
3910 ac_cv_host=$ac_cv_build
3912 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3913 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3918 $as_echo "$ac_cv_host" >&6; }
3921 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3924 ac_save_IFS=$IFS; IFS='-'
3930 # Remember, the first character of IFS is used to create $*,
3931 # except with old shells:
3934 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3937 # Backslashify metacharacters that are still active within
3938 # double-quoted strings.
3939 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3941 # Same as above, but do not quote variable references.
3942 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3944 # Sed substitution to delay expansion of an escaped shell variable in a
3945 # double_quote_subst'ed string.
3946 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3948 # Sed substitution to delay expansion of an escaped single quote.
3949 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3951 # Sed substitution to avoid accidental globbing in evaled expressions
3952 no_glob_subst='s/\*/\\\*/g'
3954 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3955 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3956 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3959 $as_echo_n "checking how to print strings... " >&6; }
3960 # Test print first, because it will be a builtin if present.
3961 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3962 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3964 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3967 # Use this function as a fallback that always works.
3968 func_fallback_echo ()
3970 eval 'cat <<_LTECHO_EOF
3974 ECHO='func_fallback_echo'
3977 # func_echo_all arg...
3978 # Invoke $ECHO with all args, space-separated.
3985 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3986 $as_echo "printf" >&6; } ;;
3987 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3988 $as_echo "print -r" >&6; } ;;
3989 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3990 $as_echo "cat" >&6; } ;;
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4007 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4008 if ${ac_cv_path_SED+:} false; then :
4009 $as_echo_n "(cached) " >&6
4011 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4012 for ac_i in 1 2 3 4 5 6 7; do
4013 ac_script="$ac_script$as_nl$ac_script"
4015 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4016 { ac_script=; unset ac_script;}
4017 if test -z "$SED"; then
4018 ac_path_SED_found=false
4019 # Loop through the user's path and test for each of PROGNAME-LIST
4020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4024 test -z "$as_dir" && as_dir=.
4025 for ac_prog in sed gsed; do
4026 for ac_exec_ext in '' $ac_executable_extensions; do
4027 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4028 as_fn_executable_p "$ac_path_SED" || continue
4029 # Check for GNU ac_path_SED and select it if it is found.
4030 # Check for GNU $ac_path_SED
4031 case `"$ac_path_SED" --version 2>&1` in
4033 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4036 $as_echo_n 0123456789 >"conftest.in"
4039 cat "conftest.in" "conftest.in" >"conftest.tmp"
4040 mv "conftest.tmp" "conftest.in"
4041 cp "conftest.in" "conftest.nl"
4042 $as_echo '' >> "conftest.nl"
4043 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4045 as_fn_arith $ac_count + 1 && ac_count=$as_val
4046 if test $ac_count -gt ${ac_path_SED_max-0}; then
4047 # Best one so far, save it but keep looking for a better one
4048 ac_cv_path_SED="$ac_path_SED"
4049 ac_path_SED_max=$ac_count
4051 # 10*(2^10) chars as input seems more than enough
4052 test $ac_count -gt 10 && break
4054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4057 $ac_path_SED_found && break 3
4062 if test -z "$ac_cv_path_SED"; then
4063 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4071 $as_echo "$ac_cv_path_SED" >&6; }
4072 SED="$ac_cv_path_SED"
4075 test -z "$SED" && SED=sed
4076 Xsed="$SED -e 1s/^X//"
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4089 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4090 if ${ac_cv_path_GREP+:} false; then :
4091 $as_echo_n "(cached) " >&6
4093 if test -z "$GREP"; then
4094 ac_path_GREP_found=false
4095 # Loop through the user's path and test for each of PROGNAME-LIST
4096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4100 test -z "$as_dir" && as_dir=.
4101 for ac_prog in grep ggrep; do
4102 for ac_exec_ext in '' $ac_executable_extensions; do
4103 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4104 as_fn_executable_p "$ac_path_GREP" || continue
4105 # Check for GNU ac_path_GREP and select it if it is found.
4106 # Check for GNU $ac_path_GREP
4107 case `"$ac_path_GREP" --version 2>&1` in
4109 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4112 $as_echo_n 0123456789 >"conftest.in"
4115 cat "conftest.in" "conftest.in" >"conftest.tmp"
4116 mv "conftest.tmp" "conftest.in"
4117 cp "conftest.in" "conftest.nl"
4118 $as_echo 'GREP' >> "conftest.nl"
4119 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4120 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4121 as_fn_arith $ac_count + 1 && ac_count=$as_val
4122 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4123 # Best one so far, save it but keep looking for a better one
4124 ac_cv_path_GREP="$ac_path_GREP"
4125 ac_path_GREP_max=$ac_count
4127 # 10*(2^10) chars as input seems more than enough
4128 test $ac_count -gt 10 && break
4130 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4133 $ac_path_GREP_found && break 3
4138 if test -z "$ac_cv_path_GREP"; then
4139 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4142 ac_cv_path_GREP=$GREP
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4147 $as_echo "$ac_cv_path_GREP" >&6; }
4148 GREP="$ac_cv_path_GREP"
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4152 $as_echo_n "checking for egrep... " >&6; }
4153 if ${ac_cv_path_EGREP+:} false; then :
4154 $as_echo_n "(cached) " >&6
4156 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4157 then ac_cv_path_EGREP="$GREP -E"
4159 if test -z "$EGREP"; then
4160 ac_path_EGREP_found=false
4161 # Loop through the user's path and test for each of PROGNAME-LIST
4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4166 test -z "$as_dir" && as_dir=.
4167 for ac_prog in egrep; do
4168 for ac_exec_ext in '' $ac_executable_extensions; do
4169 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4170 as_fn_executable_p "$ac_path_EGREP" || continue
4171 # Check for GNU ac_path_EGREP and select it if it is found.
4172 # Check for GNU $ac_path_EGREP
4173 case `"$ac_path_EGREP" --version 2>&1` in
4175 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4178 $as_echo_n 0123456789 >"conftest.in"
4181 cat "conftest.in" "conftest.in" >"conftest.tmp"
4182 mv "conftest.tmp" "conftest.in"
4183 cp "conftest.in" "conftest.nl"
4184 $as_echo 'EGREP' >> "conftest.nl"
4185 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4186 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4187 as_fn_arith $ac_count + 1 && ac_count=$as_val
4188 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4189 # Best one so far, save it but keep looking for a better one
4190 ac_cv_path_EGREP="$ac_path_EGREP"
4191 ac_path_EGREP_max=$ac_count
4193 # 10*(2^10) chars as input seems more than enough
4194 test $ac_count -gt 10 && break
4196 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4199 $ac_path_EGREP_found && break 3
4204 if test -z "$ac_cv_path_EGREP"; then
4205 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4208 ac_cv_path_EGREP=$EGREP
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4214 $as_echo "$ac_cv_path_EGREP" >&6; }
4215 EGREP="$ac_cv_path_EGREP"
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4219 $as_echo_n "checking for fgrep... " >&6; }
4220 if ${ac_cv_path_FGREP+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4224 then ac_cv_path_FGREP="$GREP -F"
4226 if test -z "$FGREP"; then
4227 ac_path_FGREP_found=false
4228 # Loop through the user's path and test for each of PROGNAME-LIST
4229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4233 test -z "$as_dir" && as_dir=.
4234 for ac_prog in fgrep; do
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4237 as_fn_executable_p "$ac_path_FGREP" || continue
4238 # Check for GNU ac_path_FGREP and select it if it is found.
4239 # Check for GNU $ac_path_FGREP
4240 case `"$ac_path_FGREP" --version 2>&1` in
4242 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4245 $as_echo_n 0123456789 >"conftest.in"
4248 cat "conftest.in" "conftest.in" >"conftest.tmp"
4249 mv "conftest.tmp" "conftest.in"
4250 cp "conftest.in" "conftest.nl"
4251 $as_echo 'FGREP' >> "conftest.nl"
4252 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4253 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4254 as_fn_arith $ac_count + 1 && ac_count=$as_val
4255 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4256 # Best one so far, save it but keep looking for a better one
4257 ac_cv_path_FGREP="$ac_path_FGREP"
4258 ac_path_FGREP_max=$ac_count
4260 # 10*(2^10) chars as input seems more than enough
4261 test $ac_count -gt 10 && break
4263 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4266 $ac_path_FGREP_found && break 3
4271 if test -z "$ac_cv_path_FGREP"; then
4272 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4275 ac_cv_path_FGREP=$FGREP
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4281 $as_echo "$ac_cv_path_FGREP" >&6; }
4282 FGREP="$ac_cv_path_FGREP"
4285 test -z "$GREP" && GREP=grep
4305 # Check whether --with-gnu-ld was given.
4306 if test "${with_gnu_ld+set}" = set; then :
4307 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4313 if test "$GCC" = yes; then
4314 # Check if gcc -print-prog-name=ld gives a path.
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4316 $as_echo_n "checking for ld used by $CC... " >&6; }
4319 # gcc leaves a trailing carriage return which upsets mingw
4320 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4322 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4325 # Accept absolute paths.
4327 re_direlt='/[^/][^/]*/\.\./'
4328 # Canonicalize the pathname of ld
4329 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4330 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4331 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4333 test -z "$LD" && LD="$ac_prog"
4336 # If it fails, then pretend we aren't using GCC.
4340 # If it is relative, then search for the first ld in PATH.
4344 elif test "$with_gnu_ld" = yes; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4346 $as_echo_n "checking for GNU ld... " >&6; }
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4349 $as_echo_n "checking for non-GNU ld... " >&6; }
4351 if ${lt_cv_path_LD+:} false; then :
4352 $as_echo_n "(cached) " >&6
4354 if test -z "$LD"; then
4355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4356 for ac_dir in $PATH; do
4358 test -z "$ac_dir" && ac_dir=.
4359 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4360 lt_cv_path_LD="$ac_dir/$ac_prog"
4361 # Check to see if the program is GNU ld. I'd rather use --version,
4362 # but apparently some variants of GNU ld only accept -v.
4363 # Break only if it was the GNU/non-GNU ld that we prefer.
4364 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4365 *GNU* | *'with BFD'*)
4366 test "$with_gnu_ld" != no && break
4369 test "$with_gnu_ld" != yes && break
4376 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4381 if test -n "$LD"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4383 $as_echo "$LD" >&6; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4388 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4390 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4391 if ${lt_cv_prog_gnu_ld+:} false; then :
4392 $as_echo_n "(cached) " >&6
4394 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4395 case `$LD -v 2>&1 </dev/null` in
4396 *GNU* | *'with BFD'*)
4397 lt_cv_prog_gnu_ld=yes
4400 lt_cv_prog_gnu_ld=no
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4405 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4406 with_gnu_ld=$lt_cv_prog_gnu_ld
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4417 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4418 if ${lt_cv_path_NM+:} false; then :
4419 $as_echo_n "(cached) " >&6
4421 if test -n "$NM"; then
4422 # Let the user override the test.
4425 lt_nm_to_check="${ac_tool_prefix}nm"
4426 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4427 lt_nm_to_check="$lt_nm_to_check nm"
4429 for lt_tmp_nm in $lt_nm_to_check; do
4430 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4431 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4433 test -z "$ac_dir" && ac_dir=.
4434 tmp_nm="$ac_dir/$lt_tmp_nm"
4435 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4436 # Check to see if the nm accepts a BSD-compat flag.
4437 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4438 # nm: unknown option "B" ignored
4439 # Tru64's nm complains that /dev/null is an invalid object file
4440 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4441 */dev/null* | *'Invalid file or object type'*)
4442 lt_cv_path_NM="$tmp_nm -B"
4446 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4448 lt_cv_path_NM="$tmp_nm -p"
4452 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4453 continue # so that we can try to find one that supports BSD flags
4462 : ${lt_cv_path_NM=no}
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4466 $as_echo "$lt_cv_path_NM" >&6; }
4467 if test "$lt_cv_path_NM" != "no"; then
4470 # Didn't find any BSD compatible name lister, look for dumpbin.
4471 if test -n "$DUMPBIN"; then :
4472 # Let the user override the test.
4474 if test -n "$ac_tool_prefix"; then
4475 for ac_prog in dumpbin "link -dump"
4477 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if ${ac_cv_prog_DUMPBIN+:} false; then :
4482 $as_echo_n "(cached) " >&6
4484 if test -n "$DUMPBIN"; then
4485 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491 test -z "$as_dir" && as_dir=.
4492 for ac_exec_ext in '' $ac_executable_extensions; do
4493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4494 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4504 DUMPBIN=$ac_cv_prog_DUMPBIN
4505 if test -n "$DUMPBIN"; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4507 $as_echo "$DUMPBIN" >&6; }
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4514 test -n "$DUMPBIN" && break
4517 if test -z "$DUMPBIN"; then
4518 ac_ct_DUMPBIN=$DUMPBIN
4519 for ac_prog in dumpbin "link -dump"
4521 # Extract the first word of "$ac_prog", so it can be a program name with args.
4522 set dummy $ac_prog; ac_word=$2
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524 $as_echo_n "checking for $ac_word... " >&6; }
4525 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4526 $as_echo_n "(cached) " >&6
4528 if test -n "$ac_ct_DUMPBIN"; then
4529 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535 test -z "$as_dir" && as_dir=.
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4548 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4549 if test -n "$ac_ct_DUMPBIN"; then
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4551 $as_echo "$ac_ct_DUMPBIN" >&6; }
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4554 $as_echo "no" >&6; }
4558 test -n "$ac_ct_DUMPBIN" && break
4561 if test "x$ac_ct_DUMPBIN" = x; then
4564 case $cross_compiling:$ac_tool_warned in
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4568 ac_tool_warned=yes ;;
4570 DUMPBIN=$ac_ct_DUMPBIN
4574 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4576 DUMPBIN="$DUMPBIN -symbols"
4584 if test "$DUMPBIN" != ":"; then
4588 test -z "$NM" && NM=nm
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4596 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4597 if ${lt_cv_nm_interface+:} false; then :
4598 $as_echo_n "(cached) " >&6
4600 lt_cv_nm_interface="BSD nm"
4601 echo "int some_variable = 0;" > conftest.$ac_ext
4602 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4603 (eval "$ac_compile" 2>conftest.err)
4604 cat conftest.err >&5
4605 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4606 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4607 cat conftest.err >&5
4608 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4609 cat conftest.out >&5
4610 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4611 lt_cv_nm_interface="MS dumpbin"
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4616 $as_echo "$lt_cv_nm_interface" >&6; }
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4619 $as_echo_n "checking whether ln -s works... " >&6; }
4621 if test "$LN_S" = "ln -s"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4623 $as_echo "yes" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4626 $as_echo "no, using $LN_S" >&6; }
4629 # find the maximum length of command line arguments
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4631 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4632 if ${lt_cv_sys_max_cmd_len+:} false; then :
4633 $as_echo_n "(cached) " >&6
4640 # On DJGPP, this test can blow up pretty badly due to problems in libc
4641 # (any single argument exceeding 2000 bytes causes a buffer overrun
4642 # during glob expansion). Even if it were fixed, the result of this
4643 # check would be larger than it should be.
4644 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4648 # Under GNU Hurd, this test is not required because there is
4649 # no limit to the length of command line arguments.
4650 # Libtool will interpret -1 as no limit whatsoever
4651 lt_cv_sys_max_cmd_len=-1;
4654 cygwin* | mingw* | cegcc*)
4655 # On Win9x/ME, this test blows up -- it succeeds, but takes
4656 # about 5 minutes as the teststring grows exponentially.
4657 # Worse, since 9x/ME are not pre-emptively multitasking,
4658 # you end up with a "frozen" computer, even though with patience
4659 # the test eventually succeeds (with a max line length of 256k).
4660 # Instead, let's just punt: use the minimum linelength reported by
4661 # all of the supported platforms: 8192 (on NT/2K/XP).
4662 lt_cv_sys_max_cmd_len=8192;
4666 # On MiNT this can take a long time and run out of memory.
4667 lt_cv_sys_max_cmd_len=8192;
4671 # On AmigaOS with pdksh, this test takes hours, literally.
4672 # So we just punt and use a minimum line length of 8192.
4673 lt_cv_sys_max_cmd_len=8192;
4676 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4677 # This has been around since 386BSD, at least. Likely further.
4678 if test -x /sbin/sysctl; then
4679 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4680 elif test -x /usr/sbin/sysctl; then
4681 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4683 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4685 # And add a safety zone
4686 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4687 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4691 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4692 lt_cv_sys_max_cmd_len=196608
4696 # The test takes a long time on OS/2.
4697 lt_cv_sys_max_cmd_len=8192
4701 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4702 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4703 # nice to cause kernel panics so lets avoid the loop below.
4704 # First set a reasonable default.
4705 lt_cv_sys_max_cmd_len=16384
4707 if test -x /sbin/sysconfig; then
4708 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4709 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4714 lt_cv_sys_max_cmd_len=102400
4716 sysv5* | sco5v6* | sysv4.2uw2*)
4717 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4718 if test -n "$kargmax"; then
4719 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4721 lt_cv_sys_max_cmd_len=32768
4725 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4726 if test -n "$lt_cv_sys_max_cmd_len"; then
4727 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4728 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4730 # Make teststring a little bigger before we do anything with it.
4731 # a 1K string should be a reasonable start.
4732 for i in 1 2 3 4 5 6 7 8 ; do
4733 teststring=$teststring$teststring
4735 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4736 # If test is not a shell built-in, we'll probably end up computing a
4737 # maximum length that is only half of the actual maximum length, but
4739 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4740 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4741 test $i != 17 # 1/2 MB should be enough
4744 teststring=$teststring$teststring
4746 # Only check the string length outside the loop.
4747 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4749 # Add a significant safety factor because C++ compilers can tack on
4750 # massive amounts of additional arguments before passing them to the
4751 # linker. It appears as though 1/2 is a usable value.
4752 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4759 if test -n $lt_cv_sys_max_cmd_len ; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4761 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4764 $as_echo "none" >&6; }
4766 max_cmd_len=$lt_cv_sys_max_cmd_len
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4778 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4779 # Try some XSI features
4782 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4784 && eval 'test $(( 1 + 1 )) -eq 2 \
4785 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4788 $as_echo "$xsi_shell" >&6; }
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4792 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4794 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4796 && lt_shell_append=yes
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4798 $as_echo "$lt_shell_append" >&6; }
4801 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4811 # test EBCDIC or ASCII
4812 case `echo X|tr X '\101'` in
4813 A) # ASCII based system
4814 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4815 lt_SP2NL='tr \040 \012'
4816 lt_NL2SP='tr \015\012 \040\040'
4818 *) # EBCDIC based system
4819 lt_SP2NL='tr \100 \n'
4820 lt_NL2SP='tr \r\n \100\100'
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4833 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4834 if ${lt_cv_to_host_file_cmd+:} false; then :
4835 $as_echo_n "(cached) " >&6
4840 *-*-mingw* ) # actually msys
4841 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4844 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4846 * ) # otherwise, assume *nix
4847 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4853 *-*-mingw* ) # actually msys
4854 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4857 lt_cv_to_host_file_cmd=func_convert_file_noop
4859 * ) # otherwise, assume *nix
4860 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4864 * ) # unhandled hosts (and "normal" native builds)
4865 lt_cv_to_host_file_cmd=func_convert_file_noop
4871 to_host_file_cmd=$lt_cv_to_host_file_cmd
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4873 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4880 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4881 if ${lt_cv_to_tool_file_cmd+:} false; then :
4882 $as_echo_n "(cached) " >&6
4884 #assume ordinary cross tools, or native build.
4885 lt_cv_to_tool_file_cmd=func_convert_file_noop
4889 *-*-mingw* ) # actually msys
4890 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4898 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4900 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4907 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4908 if ${lt_cv_ld_reload_flag+:} false; then :
4909 $as_echo_n "(cached) " >&6
4911 lt_cv_ld_reload_flag='-r'
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4914 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4915 reload_flag=$lt_cv_ld_reload_flag
4916 case $reload_flag in
4918 *) reload_flag=" $reload_flag" ;;
4920 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4922 cygwin* | mingw* | pw32* | cegcc*)
4923 if test "$GCC" != yes; then
4928 if test "$GCC" = yes; then
4929 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4931 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4944 if test -n "$ac_tool_prefix"; then
4945 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4946 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if ${ac_cv_prog_OBJDUMP+:} false; then :
4950 $as_echo_n "(cached) " >&6
4952 if test -n "$OBJDUMP"; then
4953 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir=.
4960 for ac_exec_ext in '' $ac_executable_extensions; do
4961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4962 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 OBJDUMP=$ac_cv_prog_OBJDUMP
4973 if test -n "$OBJDUMP"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4975 $as_echo "$OBJDUMP" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4983 if test -z "$ac_cv_prog_OBJDUMP"; then
4984 ac_ct_OBJDUMP=$OBJDUMP
4985 # Extract the first word of "objdump", so it can be a program name with args.
4986 set dummy objdump; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$ac_ct_OBJDUMP"; then
4993 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5013 if test -n "$ac_ct_OBJDUMP"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5015 $as_echo "$ac_ct_OBJDUMP" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5021 if test "x$ac_ct_OBJDUMP" = x; then
5024 case $cross_compiling:$ac_tool_warned in
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5028 ac_tool_warned=yes ;;
5030 OBJDUMP=$ac_ct_OBJDUMP
5033 OBJDUMP="$ac_cv_prog_OBJDUMP"
5036 test -z "$OBJDUMP" && OBJDUMP=objdump
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5047 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5048 if ${lt_cv_deplibs_check_method+:} false; then :
5049 $as_echo_n "(cached) " >&6
5051 lt_cv_file_magic_cmd='$MAGIC_CMD'
5052 lt_cv_file_magic_test_file=
5053 lt_cv_deplibs_check_method='unknown'
5054 # Need to set the preceding variable on all platforms that support
5055 # interlibrary dependencies.
5056 # 'none' -- dependencies not supported.
5057 # `unknown' -- same as none, but documents that we really don't know.
5058 # 'pass_all' -- all dependencies passed with no checks.
5059 # 'test_compile' -- check by making test program.
5060 # 'file_magic [[regex]]' -- check by looking for files in library path
5061 # which responds to the $file_magic_cmd with a given extended regex.
5062 # If you have `file' or equivalent on your system and you're not sure
5063 # whether `pass_all' will *always* work, you probably want this one.
5067 lt_cv_deplibs_check_method=pass_all
5071 lt_cv_deplibs_check_method=pass_all
5075 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5076 lt_cv_file_magic_cmd='/usr/bin/file -L'
5077 lt_cv_file_magic_test_file=/shlib/libc.so
5081 # func_win32_libid is a shell function defined in ltmain.sh
5082 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5083 lt_cv_file_magic_cmd='func_win32_libid'
5087 # Base MSYS/MinGW do not provide the 'file' command needed by
5088 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5089 # unless we find 'file', for example because we are cross-compiling.
5090 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5091 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5092 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5093 lt_cv_file_magic_cmd='func_win32_libid'
5095 # Keep this pattern in sync with the one in func_win32_libid.
5096 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5097 lt_cv_file_magic_cmd='$OBJDUMP -f'
5102 # use the weaker test based on 'objdump'. See mingw*.
5103 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5104 lt_cv_file_magic_cmd='$OBJDUMP -f'
5107 darwin* | rhapsody*)
5108 lt_cv_deplibs_check_method=pass_all
5111 freebsd* | dragonfly*)
5112 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5115 # Not sure whether the presence of OpenBSD here was a mistake.
5116 # Let's accept both of them until this is cleared up.
5117 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5118 lt_cv_file_magic_cmd=/usr/bin/file
5119 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5123 lt_cv_deplibs_check_method=pass_all
5128 lt_cv_deplibs_check_method=pass_all
5132 lt_cv_deplibs_check_method=pass_all
5135 hpux10.20* | hpux11*)
5136 lt_cv_file_magic_cmd=/usr/bin/file
5139 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5140 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5143 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]'
5144 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5147 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5148 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5154 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5155 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5158 irix5* | irix6* | nonstopux*)
5160 *-32|*"-32 ") libmagic=32-bit;;
5161 *-n32|*"-n32 ") libmagic=N32;;
5162 *-64|*"-64 ") libmagic=64-bit;;
5163 *) libmagic=never-match;;
5165 lt_cv_deplibs_check_method=pass_all
5168 # This must be glibc/ELF.
5169 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5170 lt_cv_deplibs_check_method=pass_all
5174 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5175 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5177 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5182 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5183 lt_cv_file_magic_cmd=/usr/bin/file
5184 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5188 lt_cv_deplibs_check_method=pass_all
5192 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5193 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5195 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5199 osf3* | osf4* | osf5*)
5200 lt_cv_deplibs_check_method=pass_all
5204 lt_cv_deplibs_check_method=pass_all
5208 lt_cv_deplibs_check_method=pass_all
5211 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5212 lt_cv_deplibs_check_method=pass_all
5216 case $host_vendor in
5218 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]'
5219 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5222 lt_cv_deplibs_check_method=pass_all
5225 lt_cv_file_magic_cmd='/bin/file'
5226 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5229 lt_cv_file_magic_cmd='/bin/file'
5230 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5231 lt_cv_file_magic_test_file=/lib/libc.so
5234 lt_cv_deplibs_check_method=pass_all
5237 lt_cv_deplibs_check_method=pass_all
5243 lt_cv_deplibs_check_method=pass_all
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5249 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5253 if test "$build" = "$host"; then
5256 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5259 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5265 file_magic_cmd=$lt_cv_file_magic_cmd
5266 deplibs_check_method=$lt_cv_deplibs_check_method
5267 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5290 if test -n "$ac_tool_prefix"; then
5291 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5292 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if ${ac_cv_prog_DLLTOOL+:} false; then :
5296 $as_echo_n "(cached) " >&6
5298 if test -n "$DLLTOOL"; then
5299 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir=.
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5308 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 DLLTOOL=$ac_cv_prog_DLLTOOL
5319 if test -n "$DLLTOOL"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5321 $as_echo "$DLLTOOL" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5329 if test -z "$ac_cv_prog_DLLTOOL"; then
5330 ac_ct_DLLTOOL=$DLLTOOL
5331 # Extract the first word of "dlltool", so it can be a program name with args.
5332 set dummy dlltool; ac_word=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5336 $as_echo_n "(cached) " >&6
5338 if test -n "$ac_ct_DLLTOOL"; then
5339 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5348 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5359 if test -n "$ac_ct_DLLTOOL"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5361 $as_echo "$ac_ct_DLLTOOL" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5367 if test "x$ac_ct_DLLTOOL" = x; then
5370 case $cross_compiling:$ac_tool_warned in
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5374 ac_tool_warned=yes ;;
5376 DLLTOOL=$ac_ct_DLLTOOL
5379 DLLTOOL="$ac_cv_prog_DLLTOOL"
5382 test -z "$DLLTOOL" && DLLTOOL=dlltool
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5394 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5395 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5396 $as_echo_n "(cached) " >&6
5398 lt_cv_sharedlib_from_linklib_cmd='unknown'
5401 cygwin* | mingw* | pw32* | cegcc*)
5402 # two different shell functions defined in ltmain.sh
5403 # decide which to use based on capabilities of $DLLTOOL
5404 case `$DLLTOOL --help 2>&1` in
5405 *--identify-strict*)
5406 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5409 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5414 # fallback: assume linklib IS sharedlib
5415 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5421 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5422 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5423 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5432 if test -n "$ac_tool_prefix"; then
5435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5436 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_prog_AR+:} false; then :
5440 $as_echo_n "(cached) " >&6
5442 if test -n "$AR"; then
5443 ac_cv_prog_AR="$AR" # Let the user override the test.
5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5449 test -z "$as_dir" && as_dir=.
5450 for ac_exec_ext in '' $ac_executable_extensions; do
5451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5452 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5463 if test -n "$AR"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5465 $as_echo "$AR" >&6; }
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5472 test -n "$AR" && break
5475 if test -z "$AR"; then
5479 # Extract the first word of "$ac_prog", so it can be a program name with args.
5480 set dummy $ac_prog; ac_word=$2
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482 $as_echo_n "checking for $ac_word... " >&6; }
5483 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5484 $as_echo_n "(cached) " >&6
5486 if test -n "$ac_ct_AR"; then
5487 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 test -z "$as_dir" && as_dir=.
5494 for ac_exec_ext in '' $ac_executable_extensions; do
5495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5496 ac_cv_prog_ac_ct_AR="$ac_prog"
5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5507 if test -n "$ac_ct_AR"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5509 $as_echo "$ac_ct_AR" >&6; }
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5516 test -n "$ac_ct_AR" && break
5519 if test "x$ac_ct_AR" = x; then
5522 case $cross_compiling:$ac_tool_warned in
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5526 ac_tool_warned=yes ;;
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5546 $as_echo_n "checking for archiver @FILE support... " >&6; }
5547 if ${lt_cv_ar_at_file+:} false; then :
5548 $as_echo_n "(cached) " >&6
5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5552 /* end confdefs.h. */
5562 if ac_fn_c_try_compile "$LINENO"; then :
5563 echo conftest.$ac_objext > conftest.lst
5564 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5565 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5566 (eval $lt_ar_try) 2>&5
5568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5569 test $ac_status = 0; }
5570 if test "$ac_status" -eq 0; then
5571 # Ensure the archiver fails upon bogus file names.
5572 rm -f conftest.$ac_objext libconftest.a
5573 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5574 (eval $lt_ar_try) 2>&5
5576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5577 test $ac_status = 0; }
5578 if test "$ac_status" -ne 0; then
5582 rm -f conftest.* libconftest.a
5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5589 $as_echo "$lt_cv_ar_at_file" >&6; }
5591 if test "x$lt_cv_ar_at_file" = xno; then
5594 archiver_list_spec=$lt_cv_ar_at_file
5603 if test -n "$ac_tool_prefix"; then
5604 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5605 set dummy ${ac_tool_prefix}strip; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_prog_STRIP+:} false; then :
5609 $as_echo_n "(cached) " >&6
5611 if test -n "$STRIP"; then
5612 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5631 STRIP=$ac_cv_prog_STRIP
5632 if test -n "$STRIP"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5634 $as_echo "$STRIP" >&6; }
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5642 if test -z "$ac_cv_prog_STRIP"; then
5644 # Extract the first word of "strip", so it can be a program name with args.
5645 set dummy strip; ac_word=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5649 $as_echo_n "(cached) " >&6
5651 if test -n "$ac_ct_STRIP"; then
5652 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5661 ac_cv_prog_ac_ct_STRIP="strip"
5662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5672 if test -n "$ac_ct_STRIP"; then
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5674 $as_echo "$ac_ct_STRIP" >&6; }
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5680 if test "x$ac_ct_STRIP" = x; then
5683 case $cross_compiling:$ac_tool_warned in
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5687 ac_tool_warned=yes ;;
5692 STRIP="$ac_cv_prog_STRIP"
5695 test -z "$STRIP" && STRIP=:
5702 if test -n "$ac_tool_prefix"; then
5703 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5704 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if ${ac_cv_prog_RANLIB+:} false; then :
5708 $as_echo_n "(cached) " >&6
5710 if test -n "$RANLIB"; then
5711 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 RANLIB=$ac_cv_prog_RANLIB
5731 if test -n "$RANLIB"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5733 $as_echo "$RANLIB" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5741 if test -z "$ac_cv_prog_RANLIB"; then
5742 ac_ct_RANLIB=$RANLIB
5743 # Extract the first word of "ranlib", so it can be a program name with args.
5744 set dummy ranlib; ac_word=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5748 $as_echo_n "(cached) " >&6
5750 if test -n "$ac_ct_RANLIB"; then
5751 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir=.
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5760 ac_cv_prog_ac_ct_RANLIB="ranlib"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5771 if test -n "$ac_ct_RANLIB"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5773 $as_echo "$ac_ct_RANLIB" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5779 if test "x$ac_ct_RANLIB" = x; then
5782 case $cross_compiling:$ac_tool_warned in
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5786 ac_tool_warned=yes ;;
5788 RANLIB=$ac_ct_RANLIB
5791 RANLIB="$ac_cv_prog_RANLIB"
5794 test -z "$RANLIB" && RANLIB=:
5801 # Determine commands to create old-style static archives.
5802 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5803 old_postinstall_cmds='chmod 644 $oldlib'
5804 old_postuninstall_cmds=
5806 if test -n "$RANLIB"; then
5809 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5812 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5815 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5820 lock_old_archive_extraction=yes ;;
5822 lock_old_archive_extraction=no ;;
5863 # If no C compiler was specified, use CC.
5866 # If no C compiler flags were specified, use CFLAGS.
5867 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5869 # Allow CC to be a program name with arguments.
5873 # Check for command to grab the raw symbol name followed by C symbol from nm.
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5875 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5876 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5877 $as_echo_n "(cached) " >&6
5880 # These are sane defaults that work on at least a few old systems.
5881 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5883 # Character class describing NM global symbol codes.
5884 symcode='[BCDEGRST]'
5886 # Regexp to match symbols that can be accessed directly from C.
5887 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5889 # Define system-specific variables.
5894 cygwin* | mingw* | pw32* | cegcc*)
5895 symcode='[ABCDGISTW]'
5898 if test "$host_cpu" = ia64; then
5899 symcode='[ABCDEGRST]'
5903 symcode='[BCDEGRST]'
5906 symcode='[BCDEGQRST]'
5917 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5925 # If we're using GNU nm, then use its standard symbol codes.
5926 case `$NM -V 2>&1` in
5927 *GNU* | *'with BFD'*)
5928 symcode='[ABCDGIRSTW]' ;;
5931 # Transform an extracted symbol line into a proper C declaration.
5932 # Some systems (esp. on ia64) link data and code symbols differently,
5933 # so use this general approach.
5934 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5936 # Transform an extracted symbol line into symbol name and symbol address
5937 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5938 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'"
5940 # Handle CRLF in mingw tool chain
5944 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5948 # Try without a prefix underscore, then with it.
5949 for ac_symprfx in "" "_"; do
5951 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5952 symxfrm="\\1 $ac_symprfx\\2 \\2"
5954 # Write the raw and C identifiers.
5955 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5956 # Fake it for dumpbin and say T for any non-static function
5957 # and D for any global variable.
5958 # Also find C++ and __fastcall symbols from MSVC++,
5959 # which start with @ or ?.
5960 lt_cv_sys_global_symbol_pipe="$AWK '"\
5961 " {last_section=section; section=\$ 3};"\
5962 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5963 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5964 " \$ 0!~/External *\|/{next};"\
5965 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5966 " {if(hide[section]) next};"\
5967 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5968 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5969 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5970 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5971 " ' prfx=^$ac_symprfx"
5973 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5975 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5977 # Check to see that the pipe works correctly.
5981 cat > conftest.$ac_ext <<_LT_EOF
5986 void nm_test_func(void);
5987 void nm_test_func(void){}
5991 int main(){nm_test_var='a';nm_test_func();return(0);}
5994 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5995 (eval $ac_compile) 2>&5
5997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5998 test $ac_status = 0; }; then
5999 # Now try to grab the symbols.
6001 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6002 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6005 test $ac_status = 0; } && test -s "$nlist"; then
6006 # Try sorting and uniquifying the output.
6007 if sort "$nlist" | uniq > "$nlist"T; then
6008 mv -f "$nlist"T "$nlist"
6013 # Make sure that we snagged all the symbols we need.
6014 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6015 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6016 cat <<_LT_EOF > conftest.$ac_ext
6017 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6018 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6019 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6020 relocations are performed -- see ld's documentation on pseudo-relocs. */
6021 # define LT_DLSYM_CONST
6022 #elif defined(__osf__)
6023 /* This system does not cope well with relocations in const data. */
6024 # define LT_DLSYM_CONST
6026 # define LT_DLSYM_CONST const
6034 # Now generate the symbol file.
6035 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6037 cat <<_LT_EOF >> conftest.$ac_ext
6039 /* The mapping between symbol names and symbols. */
6040 LT_DLSYM_CONST struct {
6044 lt__PROGRAM__LTX_preloaded_symbols[] =
6046 { "@PROGRAM@", (void *) 0 },
6048 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6049 cat <<\_LT_EOF >> conftest.$ac_ext
6053 /* This works around a problem in FreeBSD linker */
6054 #ifdef FREEBSD_WORKAROUND
6055 static const void *lt_preloaded_setup() {
6056 return lt__PROGRAM__LTX_preloaded_symbols;
6064 # Now try linking the two files.
6065 mv conftest.$ac_objext conftstm.$ac_objext
6066 lt_globsym_save_LIBS=$LIBS
6067 lt_globsym_save_CFLAGS=$CFLAGS
6068 LIBS="conftstm.$ac_objext"
6069 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6071 (eval $ac_link) 2>&5
6073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6074 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6077 LIBS=$lt_globsym_save_LIBS
6078 CFLAGS=$lt_globsym_save_CFLAGS
6080 echo "cannot find nm_test_func in $nlist" >&5
6083 echo "cannot find nm_test_var in $nlist" >&5
6086 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6089 echo "$progname: failed program was:" >&5
6090 cat conftest.$ac_ext >&5
6092 rm -rf conftest* conftst*
6094 # Do not use the global_symbol_pipe unless it works.
6095 if test "$pipe_works" = yes; then
6098 lt_cv_sys_global_symbol_pipe=
6104 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6105 lt_cv_sys_global_symbol_to_cdecl=
6107 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6109 $as_echo "failed" >&6; }
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6112 $as_echo "ok" >&6; }
6115 # Response file support.
6116 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6117 nm_file_list_spec='@'
6118 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6119 nm_file_list_spec='@'
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6149 $as_echo_n "checking for sysroot... " >&6; }
6151 # Check whether --with-sysroot was given.
6152 if test "${with_sysroot+set}" = set; then :
6153 withval=$with_sysroot;
6160 case ${with_sysroot} in #(
6162 if test "$GCC" = yes; then
6163 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6167 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6173 $as_echo "${with_sysroot}" >&6; }
6174 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6179 $as_echo "${lt_sysroot:-no}" >&6; }
6185 # Check whether --enable-libtool-lock was given.
6186 if test "${enable_libtool_lock+set}" = set; then :
6187 enableval=$enable_libtool_lock;
6190 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6192 # Some flags need to be propagated to the compiler or linker for good
6196 # Find out which ABI we are using.
6197 echo 'int i;' > conftest.$ac_ext
6198 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6199 (eval $ac_compile) 2>&5
6201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6202 test $ac_status = 0; }; then
6203 case `/usr/bin/file conftest.$ac_objext` in
6215 # Find out which ABI we are using.
6216 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6217 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6218 (eval $ac_compile) 2>&5
6220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6221 test $ac_status = 0; }; then
6222 if test "$lt_cv_prog_gnu_ld" = yes; then
6223 case `/usr/bin/file conftest.$ac_objext` in
6225 LD="${LD-ld} -melf32bsmip"
6228 LD="${LD-ld} -melf32bmipn32"
6231 LD="${LD-ld} -melf64bmip"
6235 case `/usr/bin/file conftest.$ac_objext` in
6251 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6252 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6253 # Find out which ABI we are using.
6254 echo 'int i;' > conftest.$ac_ext
6255 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6256 (eval $ac_compile) 2>&5
6258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6259 test $ac_status = 0; }; then
6260 case `/usr/bin/file conftest.o` in
6263 x86_64-*kfreebsd*-gnu)
6264 LD="${LD-ld} -m elf_i386_fbsd"
6267 LD="${LD-ld} -m elf_i386"
6269 powerpc64le-*linux*)
6270 LD="${LD-ld} -m elf32lppclinux"
6273 LD="${LD-ld} -m elf32ppclinux"
6276 LD="${LD-ld} -m elf_s390"
6279 LD="${LD-ld} -m elf32_sparc"
6285 x86_64-*kfreebsd*-gnu)
6286 LD="${LD-ld} -m elf_x86_64_fbsd"
6289 LD="${LD-ld} -m elf_x86_64"
6292 LD="${LD-ld} -m elf64lppc"
6295 LD="${LD-ld} -m elf64ppc"
6297 s390*-*linux*|s390*-*tpf*)
6298 LD="${LD-ld} -m elf64_s390"
6301 LD="${LD-ld} -m elf64_sparc"
6311 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6312 SAVE_CFLAGS="$CFLAGS"
6313 CFLAGS="$CFLAGS -belf"
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6315 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6316 if ${lt_cv_cc_needs_belf+:} false; then :
6317 $as_echo_n "(cached) " >&6
6320 ac_cpp='$CPP $CPPFLAGS'
6321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6326 /* end confdefs.h. */
6336 if ac_fn_c_try_link "$LINENO"; then :
6337 lt_cv_cc_needs_belf=yes
6339 lt_cv_cc_needs_belf=no
6341 rm -f core conftest.err conftest.$ac_objext \
6342 conftest$ac_exeext conftest.$ac_ext
6344 ac_cpp='$CPP $CPPFLAGS'
6345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6351 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6352 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6353 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6354 CFLAGS="$SAVE_CFLAGS"
6358 # Find out which ABI we are using.
6359 echo 'int i;' > conftest.$ac_ext
6360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6361 (eval $ac_compile) 2>&5
6363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6364 test $ac_status = 0; }; then
6365 case `/usr/bin/file conftest.o` in
6367 case $lt_cv_prog_gnu_ld in
6371 LD="${LD-ld} -m elf_x86_64"
6374 LD="${LD-ld} -m elf64_sparc"
6377 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6378 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6383 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6395 need_locks="$enable_libtool_lock"
6397 if test -n "$ac_tool_prefix"; then
6398 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6399 set dummy ${ac_tool_prefix}mt; ac_word=$2
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6401 $as_echo_n "checking for $ac_word... " >&6; }
6402 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6403 $as_echo_n "(cached) " >&6
6405 if test -n "$MANIFEST_TOOL"; then
6406 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6412 test -z "$as_dir" && as_dir=.
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6415 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6426 if test -n "$MANIFEST_TOOL"; then
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6428 $as_echo "$MANIFEST_TOOL" >&6; }
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6431 $as_echo "no" >&6; }
6436 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6437 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6438 # Extract the first word of "mt", so it can be a program name with args.
6439 set dummy mt; ac_word=$2
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441 $as_echo_n "checking for $ac_word... " >&6; }
6442 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6443 $as_echo_n "(cached) " >&6
6445 if test -n "$ac_ct_MANIFEST_TOOL"; then
6446 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6455 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6465 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6466 if test -n "$ac_ct_MANIFEST_TOOL"; then
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6468 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6471 $as_echo "no" >&6; }
6474 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6477 case $cross_compiling:$ac_tool_warned in
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6481 ac_tool_warned=yes ;;
6483 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6486 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6489 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6491 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6492 if ${lt_cv_path_mainfest_tool+:} false; then :
6493 $as_echo_n "(cached) " >&6
6495 lt_cv_path_mainfest_tool=no
6496 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6497 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6498 cat conftest.err >&5
6499 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6500 lt_cv_path_mainfest_tool=yes
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6505 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6506 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6516 rhapsody* | darwin*)
6517 if test -n "$ac_tool_prefix"; then
6518 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6519 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6521 $as_echo_n "checking for $ac_word... " >&6; }
6522 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6523 $as_echo_n "(cached) " >&6
6525 if test -n "$DSYMUTIL"; then
6526 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 test -z "$as_dir" && as_dir=.
6533 for ac_exec_ext in '' $ac_executable_extensions; do
6534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6535 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6546 if test -n "$DSYMUTIL"; then
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6548 $as_echo "$DSYMUTIL" >&6; }
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6551 $as_echo "no" >&6; }
6556 if test -z "$ac_cv_prog_DSYMUTIL"; then
6557 ac_ct_DSYMUTIL=$DSYMUTIL
6558 # Extract the first word of "dsymutil", so it can be a program name with args.
6559 set dummy dsymutil; ac_word=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 $as_echo_n "checking for $ac_word... " >&6; }
6562 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6563 $as_echo_n "(cached) " >&6
6565 if test -n "$ac_ct_DSYMUTIL"; then
6566 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6575 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6585 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6586 if test -n "$ac_ct_DSYMUTIL"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6588 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591 $as_echo "no" >&6; }
6594 if test "x$ac_ct_DSYMUTIL" = x; then
6597 case $cross_compiling:$ac_tool_warned in
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6601 ac_tool_warned=yes ;;
6603 DSYMUTIL=$ac_ct_DSYMUTIL
6606 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6609 if test -n "$ac_tool_prefix"; then
6610 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6611 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 $as_echo_n "checking for $ac_word... " >&6; }
6614 if ${ac_cv_prog_NMEDIT+:} false; then :
6615 $as_echo_n "(cached) " >&6
6617 if test -n "$NMEDIT"; then
6618 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6627 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 NMEDIT=$ac_cv_prog_NMEDIT
6638 if test -n "$NMEDIT"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6640 $as_echo "$NMEDIT" >&6; }
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6648 if test -z "$ac_cv_prog_NMEDIT"; then
6649 ac_ct_NMEDIT=$NMEDIT
6650 # Extract the first word of "nmedit", so it can be a program name with args.
6651 set dummy nmedit; ac_word=$2
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 $as_echo_n "checking for $ac_word... " >&6; }
6654 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6655 $as_echo_n "(cached) " >&6
6657 if test -n "$ac_ct_NMEDIT"; then
6658 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664 test -z "$as_dir" && as_dir=.
6665 for ac_exec_ext in '' $ac_executable_extensions; do
6666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6667 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6678 if test -n "$ac_ct_NMEDIT"; then
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6680 $as_echo "$ac_ct_NMEDIT" >&6; }
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 $as_echo "no" >&6; }
6686 if test "x$ac_ct_NMEDIT" = x; then
6689 case $cross_compiling:$ac_tool_warned in
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6693 ac_tool_warned=yes ;;
6695 NMEDIT=$ac_ct_NMEDIT
6698 NMEDIT="$ac_cv_prog_NMEDIT"
6701 if test -n "$ac_tool_prefix"; then
6702 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6703 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705 $as_echo_n "checking for $ac_word... " >&6; }
6706 if ${ac_cv_prog_LIPO+:} false; then :
6707 $as_echo_n "(cached) " >&6
6709 if test -n "$LIPO"; then
6710 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6719 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729 LIPO=$ac_cv_prog_LIPO
6730 if test -n "$LIPO"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6732 $as_echo "$LIPO" >&6; }
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735 $as_echo "no" >&6; }
6740 if test -z "$ac_cv_prog_LIPO"; then
6742 # Extract the first word of "lipo", so it can be a program name with args.
6743 set dummy lipo; ac_word=$2
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745 $as_echo_n "checking for $ac_word... " >&6; }
6746 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6747 $as_echo_n "(cached) " >&6
6749 if test -n "$ac_ct_LIPO"; then
6750 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 test -z "$as_dir" && as_dir=.
6757 for ac_exec_ext in '' $ac_executable_extensions; do
6758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6759 ac_cv_prog_ac_ct_LIPO="lipo"
6760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6769 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6770 if test -n "$ac_ct_LIPO"; then
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6772 $as_echo "$ac_ct_LIPO" >&6; }
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6775 $as_echo "no" >&6; }
6778 if test "x$ac_ct_LIPO" = x; then
6781 case $cross_compiling:$ac_tool_warned in
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6785 ac_tool_warned=yes ;;
6790 LIPO="$ac_cv_prog_LIPO"
6793 if test -n "$ac_tool_prefix"; then
6794 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6795 set dummy ${ac_tool_prefix}otool; ac_word=$2
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6797 $as_echo_n "checking for $ac_word... " >&6; }
6798 if ${ac_cv_prog_OTOOL+:} false; then :
6799 $as_echo_n "(cached) " >&6
6801 if test -n "$OTOOL"; then
6802 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6808 test -z "$as_dir" && as_dir=.
6809 for ac_exec_ext in '' $ac_executable_extensions; do
6810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6811 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821 OTOOL=$ac_cv_prog_OTOOL
6822 if test -n "$OTOOL"; then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6824 $as_echo "$OTOOL" >&6; }
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6827 $as_echo "no" >&6; }
6832 if test -z "$ac_cv_prog_OTOOL"; then
6834 # Extract the first word of "otool", so it can be a program name with args.
6835 set dummy otool; ac_word=$2
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 $as_echo_n "checking for $ac_word... " >&6; }
6838 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6839 $as_echo_n "(cached) " >&6
6841 if test -n "$ac_ct_OTOOL"; then
6842 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 test -z "$as_dir" && as_dir=.
6849 for ac_exec_ext in '' $ac_executable_extensions; do
6850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_ac_ct_OTOOL="otool"
6852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6862 if test -n "$ac_ct_OTOOL"; then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6864 $as_echo "$ac_ct_OTOOL" >&6; }
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 $as_echo "no" >&6; }
6870 if test "x$ac_ct_OTOOL" = x; then
6873 case $cross_compiling:$ac_tool_warned in
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6877 ac_tool_warned=yes ;;
6882 OTOOL="$ac_cv_prog_OTOOL"
6885 if test -n "$ac_tool_prefix"; then
6886 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6887 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889 $as_echo_n "checking for $ac_word... " >&6; }
6890 if ${ac_cv_prog_OTOOL64+:} false; then :
6891 $as_echo_n "(cached) " >&6
6893 if test -n "$OTOOL64"; then
6894 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900 test -z "$as_dir" && as_dir=.
6901 for ac_exec_ext in '' $ac_executable_extensions; do
6902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6903 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6913 OTOOL64=$ac_cv_prog_OTOOL64
6914 if test -n "$OTOOL64"; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6916 $as_echo "$OTOOL64" >&6; }
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919 $as_echo "no" >&6; }
6924 if test -z "$ac_cv_prog_OTOOL64"; then
6925 ac_ct_OTOOL64=$OTOOL64
6926 # Extract the first word of "otool64", so it can be a program name with args.
6927 set dummy otool64; ac_word=$2
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6929 $as_echo_n "checking for $ac_word... " >&6; }
6930 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6931 $as_echo_n "(cached) " >&6
6933 if test -n "$ac_ct_OTOOL64"; then
6934 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940 test -z "$as_dir" && as_dir=.
6941 for ac_exec_ext in '' $ac_executable_extensions; do
6942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6943 ac_cv_prog_ac_ct_OTOOL64="otool64"
6944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6953 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6954 if test -n "$ac_ct_OTOOL64"; then
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6956 $as_echo "$ac_ct_OTOOL64" >&6; }
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6959 $as_echo "no" >&6; }
6962 if test "x$ac_ct_OTOOL64" = x; then
6965 case $cross_compiling:$ac_tool_warned in
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6969 ac_tool_warned=yes ;;
6971 OTOOL64=$ac_ct_OTOOL64
6974 OTOOL64="$ac_cv_prog_OTOOL64"
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7004 $as_echo_n "checking for -single_module linker flag... " >&6; }
7005 if ${lt_cv_apple_cc_single_mod+:} false; then :
7006 $as_echo_n "(cached) " >&6
7008 lt_cv_apple_cc_single_mod=no
7009 if test -z "${LT_MULTI_MODULE}"; then
7010 # By default we will add the -single_module flag. You can override
7011 # by either setting the environment variable LT_MULTI_MODULE
7012 # non-empty at configure time, or by adding -multi_module to the
7014 rm -rf libconftest.dylib*
7015 echo "int foo(void){return 1;}" > conftest.c
7016 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7017 -dynamiclib -Wl,-single_module conftest.c" >&5
7018 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7019 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7021 # If there is a non-empty error log, and "single_module"
7022 # appears in it, assume the flag caused a linker warning
7023 if test -s conftest.err && $GREP single_module conftest.err; then
7024 cat conftest.err >&5
7025 # Otherwise, if the output was created with a 0 exit code from
7026 # the compiler, it worked.
7027 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7028 lt_cv_apple_cc_single_mod=yes
7030 cat conftest.err >&5
7032 rm -rf libconftest.dylib*
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7037 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7040 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7041 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7042 $as_echo_n "(cached) " >&6
7044 lt_cv_ld_exported_symbols_list=no
7045 save_LDFLAGS=$LDFLAGS
7046 echo "_main" > conftest.sym
7047 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7059 if ac_fn_c_try_link "$LINENO"; then :
7060 lt_cv_ld_exported_symbols_list=yes
7062 lt_cv_ld_exported_symbols_list=no
7064 rm -f core conftest.err conftest.$ac_objext \
7065 conftest$ac_exeext conftest.$ac_ext
7066 LDFLAGS="$save_LDFLAGS"
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7070 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7073 $as_echo_n "checking for -force_load linker flag... " >&6; }
7074 if ${lt_cv_ld_force_load+:} false; then :
7075 $as_echo_n "(cached) " >&6
7077 lt_cv_ld_force_load=no
7078 cat > conftest.c << _LT_EOF
7079 int forced_loaded() { return 2;}
7081 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7082 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7083 echo "$AR cru libconftest.a conftest.o" >&5
7084 $AR cru libconftest.a conftest.o 2>&5
7085 echo "$RANLIB libconftest.a" >&5
7086 $RANLIB libconftest.a 2>&5
7087 cat > conftest.c << _LT_EOF
7088 int main() { return 0;}
7090 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7091 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7093 if test -s conftest.err && $GREP force_load conftest.err; then
7094 cat conftest.err >&5
7095 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7096 lt_cv_ld_force_load=yes
7098 cat conftest.err >&5
7100 rm -f conftest.err libconftest.a conftest conftest.c
7101 rm -rf conftest.dSYM
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7105 $as_echo "$lt_cv_ld_force_load" >&6; }
7107 rhapsody* | darwin1.[012])
7108 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7110 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7111 darwin*) # darwin 5.x on
7112 # if running on 10.5 or later, the deployment target defaults
7113 # to the OS version, if on x86, and 10.4, the deployment
7114 # target defaults to 10.4. Don't you love it?
7115 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7116 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7117 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7119 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7121 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7125 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7126 _lt_dar_single_mod='$single_module'
7128 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7129 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7131 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7133 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7134 _lt_dsymutil='~$DSYMUTIL $lib || :'
7142 ac_cpp='$CPP $CPPFLAGS'
7143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7147 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7148 # On Suns, sometimes $CPP names a directory.
7149 if test -n "$CPP" && test -d "$CPP"; then
7152 if test -z "$CPP"; then
7153 if ${ac_cv_prog_CPP+:} false; then :
7154 $as_echo_n "(cached) " >&6
7156 # Double quotes because CPP needs to be expanded
7157 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7160 for ac_c_preproc_warn_flag in '' yes
7162 # Use a header file that comes with gcc, so configuring glibc
7163 # with a fresh cross-compiler works.
7164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7165 # <limits.h> exists even on freestanding compilers.
7166 # On the NeXT, cc -E runs the code through the compiler's parser,
7167 # not just through cpp. "Syntax error" is here to catch this case.
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7171 # include <limits.h>
7173 # include <assert.h>
7177 if ac_fn_c_try_cpp "$LINENO"; then :
7180 # Broken: fails on valid input.
7183 rm -f conftest.err conftest.i conftest.$ac_ext
7185 # OK, works on sane cases. Now check whether nonexistent headers
7186 # can be detected and how.
7187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7188 /* end confdefs.h. */
7189 #include <ac_nonexistent.h>
7191 if ac_fn_c_try_cpp "$LINENO"; then :
7192 # Broken: success on invalid input.
7195 # Passes both tests.
7199 rm -f conftest.err conftest.i conftest.$ac_ext
7202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7203 rm -f conftest.i conftest.err conftest.$ac_ext
7204 if $ac_preproc_ok; then :
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7217 $as_echo "$CPP" >&6; }
7219 for ac_c_preproc_warn_flag in '' yes
7221 # Use a header file that comes with gcc, so configuring glibc
7222 # with a fresh cross-compiler works.
7223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7224 # <limits.h> exists even on freestanding compilers.
7225 # On the NeXT, cc -E runs the code through the compiler's parser,
7226 # not just through cpp. "Syntax error" is here to catch this case.
7227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7228 /* end confdefs.h. */
7230 # include <limits.h>
7232 # include <assert.h>
7236 if ac_fn_c_try_cpp "$LINENO"; then :
7239 # Broken: fails on valid input.
7242 rm -f conftest.err conftest.i conftest.$ac_ext
7244 # OK, works on sane cases. Now check whether nonexistent headers
7245 # can be detected and how.
7246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7247 /* end confdefs.h. */
7248 #include <ac_nonexistent.h>
7250 if ac_fn_c_try_cpp "$LINENO"; then :
7251 # Broken: success on invalid input.
7254 # Passes both tests.
7258 rm -f conftest.err conftest.i conftest.$ac_ext
7261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7262 rm -f conftest.i conftest.err conftest.$ac_ext
7263 if $ac_preproc_ok; then :
7266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7268 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7269 See \`config.log' for more details" "$LINENO" 5; }
7273 ac_cpp='$CPP $CPPFLAGS'
7274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7280 $as_echo_n "checking for ANSI C header files... " >&6; }
7281 if ${ac_cv_header_stdc+:} false; then :
7282 $as_echo_n "(cached) " >&6
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7299 if ac_fn_c_try_compile "$LINENO"; then :
7300 ac_cv_header_stdc=yes
7302 ac_cv_header_stdc=no
7304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7306 if test $ac_cv_header_stdc = yes; then
7307 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h. */
7313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7314 $EGREP "memchr" >/dev/null 2>&1; then :
7317 ac_cv_header_stdc=no
7323 if test $ac_cv_header_stdc = yes; then
7324 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7326 /* end confdefs.h. */
7330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7331 $EGREP "free" >/dev/null 2>&1; then :
7334 ac_cv_header_stdc=no
7340 if test $ac_cv_header_stdc = yes; then
7341 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7342 if test "$cross_compiling" = yes; then :
7345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7346 /* end confdefs.h. */
7349 #if ((' ' & 0x0FF) == 0x020)
7350 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7351 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7353 # define ISLOWER(c) \
7354 (('a' <= (c) && (c) <= 'i') \
7355 || ('j' <= (c) && (c) <= 'r') \
7356 || ('s' <= (c) && (c) <= 'z'))
7357 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7360 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7365 for (i = 0; i < 256; i++)
7366 if (XOR (islower (i), ISLOWER (i))
7367 || toupper (i) != TOUPPER (i))
7372 if ac_fn_c_try_run "$LINENO"; then :
7375 ac_cv_header_stdc=no
7377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7378 conftest.$ac_objext conftest.beam conftest.$ac_ext
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7384 $as_echo "$ac_cv_header_stdc" >&6; }
7385 if test $ac_cv_header_stdc = yes; then
7387 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7391 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7392 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7393 inttypes.h stdint.h unistd.h
7395 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7396 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7398 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7399 cat >>confdefs.h <<_ACEOF
7400 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7408 for ac_header in dlfcn.h
7410 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7412 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7413 cat >>confdefs.h <<_ACEOF
7414 #define HAVE_DLFCN_H 1
7435 # Check whether --enable-shared was given.
7436 if test "${enable_shared+set}" = set; then :
7437 enableval=$enable_shared; p=${PACKAGE-default}
7439 yes) enable_shared=yes ;;
7440 no) enable_shared=no ;;
7443 # Look at the argument we got. We use all the common list separators.
7444 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7445 for pkg in $enableval; do
7447 if test "X$pkg" = "X$p"; then
7466 # Check whether --enable-static was given.
7467 if test "${enable_static+set}" = set; then :
7468 enableval=$enable_static; p=${PACKAGE-default}
7470 yes) enable_static=yes ;;
7471 no) enable_static=no ;;
7474 # Look at the argument we got. We use all the common list separators.
7475 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7476 for pkg in $enableval; do
7478 if test "X$pkg" = "X$p"; then
7498 # Check whether --with-pic was given.
7499 if test "${with_pic+set}" = set; then :
7500 withval=$with_pic; lt_p=${PACKAGE-default}
7502 yes|no) pic_mode=$withval ;;
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 lt_pkg in $withval; do
7509 if test "X$lt_pkg" = "X$lt_p"; then
7521 test -z "$pic_mode" && pic_mode=default
7529 # Check whether --enable-fast-install was given.
7530 if test "${enable_fast_install+set}" = set; then :
7531 enableval=$enable_fast_install; p=${PACKAGE-default}
7533 yes) enable_fast_install=yes ;;
7534 no) enable_fast_install=no ;;
7536 enable_fast_install=no
7537 # Look at the argument we got. We use all the common list separators.
7538 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7539 for pkg in $enableval; do
7541 if test "X$pkg" = "X$p"; then
7542 enable_fast_install=yes
7549 enable_fast_install=yes
7562 # This can be used to rebuild libtool when needed
7563 LIBTOOL_DEPS="$ltmain"
7565 # Always use our own libtool.
7566 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7597 test -z "$LN_S" && LN_S="ln -s"
7612 if test -n "${ZSH_VERSION+set}" ; then
7613 setopt NO_GLOB_SUBST
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7617 $as_echo_n "checking for objdir... " >&6; }
7618 if ${lt_cv_objdir+:} false; then :
7619 $as_echo_n "(cached) " >&6
7621 rm -f .libs 2>/dev/null
7622 mkdir .libs 2>/dev/null
7623 if test -d .libs; then
7626 # MS-DOS does not allow filenames that begin with a dot.
7629 rmdir .libs 2>/dev/null
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7632 $as_echo "$lt_cv_objdir" >&6; }
7633 objdir=$lt_cv_objdir
7639 cat >>confdefs.h <<_ACEOF
7640 #define LT_OBJDIR "$lt_cv_objdir/"
7648 # AIX sometimes has problems with the GCC collect2 program. For some
7649 # reason, if we set the COLLECT_NAMES environment variable, the problems
7650 # vanish in a puff of smoke.
7651 if test "X${COLLECT_NAMES+set}" != Xset; then
7653 export COLLECT_NAMES
7660 can_build_shared=yes
7662 # All known linkers require a `.a' archive for static linking (except MSVC,
7663 # which needs '.lib').
7666 with_gnu_ld="$lt_cv_prog_gnu_ld"
7669 old_CFLAGS="$CFLAGS"
7671 # Set sane defaults for various variables
7672 test -z "$CC" && CC=cc
7673 test -z "$LTCC" && LTCC=$CC
7674 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7675 test -z "$LD" && LD=ld
7676 test -z "$ac_objext" && ac_objext=o
7678 for cc_temp in $compiler""; do
7680 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7681 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7686 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7689 # Only perform the check for file, if the check method requires it
7690 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7691 case $deplibs_check_method in
7693 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7695 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7696 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7697 $as_echo_n "(cached) " >&6
7701 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7704 lt_save_MAGIC_CMD="$MAGIC_CMD"
7705 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7706 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7707 for ac_dir in $ac_dummy; do
7709 test -z "$ac_dir" && ac_dir=.
7710 if test -f $ac_dir/${ac_tool_prefix}file; then
7711 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7712 if test -n "$file_magic_test_file"; then
7713 case $deplibs_check_method in
7715 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7716 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7717 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7718 $EGREP "$file_magic_regex" > /dev/null; then
7723 *** Warning: the command libtool uses to detect shared libraries,
7724 *** $file_magic_cmd, produces output that libtool cannot recognize.
7725 *** The result is that libtool may fail to recognize shared libraries
7726 *** as such. This will affect the creation of libtool libraries that
7727 *** depend on shared libraries, but programs linked with such libtool
7728 *** libraries will work regardless of this problem. Nevertheless, you
7729 *** may want to report the problem to your system manager and/or to
7730 *** bug-libtool@gnu.org
7740 MAGIC_CMD="$lt_save_MAGIC_CMD"
7745 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7746 if test -n "$MAGIC_CMD"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7748 $as_echo "$MAGIC_CMD" >&6; }
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 $as_echo "no" >&6; }
7758 if test -z "$lt_cv_path_MAGIC_CMD"; then
7759 if test -n "$ac_tool_prefix"; then
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7761 $as_echo_n "checking for file... " >&6; }
7762 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7763 $as_echo_n "(cached) " >&6
7767 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7770 lt_save_MAGIC_CMD="$MAGIC_CMD"
7771 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7772 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7773 for ac_dir in $ac_dummy; do
7775 test -z "$ac_dir" && ac_dir=.
7776 if test -f $ac_dir/file; then
7777 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7778 if test -n "$file_magic_test_file"; then
7779 case $deplibs_check_method in
7781 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7782 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7783 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7784 $EGREP "$file_magic_regex" > /dev/null; then
7789 *** Warning: the command libtool uses to detect shared libraries,
7790 *** $file_magic_cmd, produces output that libtool cannot recognize.
7791 *** The result is that libtool may fail to recognize shared libraries
7792 *** as such. This will affect the creation of libtool libraries that
7793 *** depend on shared libraries, but programs linked with such libtool
7794 *** libraries will work regardless of this problem. Nevertheless, you
7795 *** may want to report the problem to your system manager and/or to
7796 *** bug-libtool@gnu.org
7806 MAGIC_CMD="$lt_save_MAGIC_CMD"
7811 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7812 if test -n "$MAGIC_CMD"; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7814 $as_echo "$MAGIC_CMD" >&6; }
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7817 $as_echo "no" >&6; }
7830 # Use C for the default configuration in the libtool script
7834 ac_cpp='$CPP $CPPFLAGS'
7835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7840 # Source file extension for C test sources.
7843 # Object file extension for compiled C test sources.
7847 # Code to be used in simple compile tests
7848 lt_simple_compile_test_code="int some_variable = 0;"
7850 # Code to be used in simple link tests
7851 lt_simple_link_test_code='int main(){return(0);}'
7859 # If no C compiler was specified, use CC.
7862 # If no C compiler flags were specified, use CFLAGS.
7863 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7865 # Allow CC to be a program name with arguments.
7868 # Save the default compiler, since it gets overwritten when the other
7869 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7870 compiler_DEFAULT=$CC
7872 # save warnings/boilerplate of simple test code
7873 ac_outfile=conftest.$ac_objext
7874 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7875 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7876 _lt_compiler_boilerplate=`cat conftest.err`
7879 ac_outfile=conftest.$ac_objext
7880 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7881 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7882 _lt_linker_boilerplate=`cat conftest.err`
7886 if test -n "$compiler"; then
7888 lt_prog_compiler_no_builtin_flag=
7890 if test "$GCC" = yes; then
7891 case $cc_basename in
7893 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7895 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7899 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7900 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7901 $as_echo_n "(cached) " >&6
7903 lt_cv_prog_compiler_rtti_exceptions=no
7904 ac_outfile=conftest.$ac_objext
7905 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7906 lt_compiler_flag="-fno-rtti -fno-exceptions"
7907 # Insert the option either (1) after the last *FLAGS variable, or
7908 # (2) before a word containing "conftest.", or (3) at the end.
7909 # Note that $ac_compile itself does not contain backslashes and begins
7910 # with a dollar sign (not a hyphen), so the echo should work correctly.
7911 # The option is referenced via a variable to avoid confusing sed.
7912 lt_compile=`echo "$ac_compile" | $SED \
7913 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7914 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7915 -e 's:$: $lt_compiler_flag:'`
7916 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7917 (eval "$lt_compile" 2>conftest.err)
7919 cat conftest.err >&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 if (exit $ac_status) && test -s "$ac_outfile"; then
7922 # The compiler can only warn and ignore the option if not recognized
7923 # So say no if there are warnings other than the usual output.
7924 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7925 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7926 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7927 lt_cv_prog_compiler_rtti_exceptions=yes
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7934 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7936 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7937 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7949 lt_prog_compiler_wl=
7950 lt_prog_compiler_pic=
7951 lt_prog_compiler_static=
7954 if test "$GCC" = yes; then
7955 lt_prog_compiler_wl='-Wl,'
7956 lt_prog_compiler_static='-static'
7960 # All AIX code is PIC.
7961 if test "$host_cpu" = ia64; then
7962 # AIX 5 now supports IA64 processor
7963 lt_prog_compiler_static='-Bstatic'
7970 # see comment about AmigaOS4 .so support
7971 lt_prog_compiler_pic='-fPIC'
7974 # FIXME: we need at least 68020 code to build shared libraries, but
7975 # adding the `-m68020' flag to GCC prevents building anything better,
7977 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7982 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7983 # PIC is the default for these OSes.
7986 mingw* | cygwin* | pw32* | os2* | cegcc*)
7987 # This hack is so that the source file can tell whether it is being
7988 # built for inclusion in a dll (and should export symbols for example).
7989 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7990 # (--disable-auto-import) libraries
7991 lt_prog_compiler_pic='-DDLL_EXPORT'
7994 darwin* | rhapsody*)
7995 # PIC is the default on this platform
7996 # Common symbols not allowed in MH_DYLIB files
7997 lt_prog_compiler_pic='-fno-common'
8001 # PIC is the default for Haiku.
8002 # The "-static" flag exists, but is broken.
8003 lt_prog_compiler_static=
8007 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8008 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8009 # sets the default TLS model and affects inlining.
8015 lt_prog_compiler_pic='-fPIC'
8021 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8022 # Instead, we relocate shared libraries at runtime.
8026 # Just because we use GCC doesn't mean we suddenly get shared libraries
8027 # on systems that don't support them.
8028 lt_prog_compiler_can_build_shared=no
8033 # QNX uses GNU C++, but need to define -shared option too, otherwise
8035 lt_prog_compiler_pic='-fPIC -shared'
8039 if test -d /usr/nec; then
8040 lt_prog_compiler_pic=-Kconform_pic
8045 lt_prog_compiler_pic='-fPIC'
8049 case $cc_basename in
8050 nvcc*) # Cuda Compiler Driver 2.2
8051 lt_prog_compiler_wl='-Xlinker '
8052 if test -n "$lt_prog_compiler_pic"; then
8053 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8058 # PORTME Check for flag to pass linker flags through the system compiler.
8061 lt_prog_compiler_wl='-Wl,'
8062 if test "$host_cpu" = ia64; then
8063 # AIX 5 now supports IA64 processor
8064 lt_prog_compiler_static='-Bstatic'
8066 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8070 mingw* | cygwin* | pw32* | os2* | cegcc*)
8071 # This hack is so that the source file can tell whether it is being
8072 # built for inclusion in a dll (and should export symbols for example).
8073 lt_prog_compiler_pic='-DDLL_EXPORT'
8076 hpux9* | hpux10* | hpux11*)
8077 lt_prog_compiler_wl='-Wl,'
8078 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8085 lt_prog_compiler_pic='+Z'
8088 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8089 lt_prog_compiler_static='${wl}-a ${wl}archive'
8092 irix5* | irix6* | nonstopux*)
8093 lt_prog_compiler_wl='-Wl,'
8094 # PIC (with -KPIC) is the default.
8095 lt_prog_compiler_static='-non_shared'
8098 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8099 case $cc_basename in
8100 # old Intel for x86_64 which still supported -KPIC.
8102 lt_prog_compiler_wl='-Wl,'
8103 lt_prog_compiler_pic='-KPIC'
8104 lt_prog_compiler_static='-static'
8106 # icc used to be incompatible with GCC.
8107 # ICC 10 doesn't accept -KPIC any more.
8109 lt_prog_compiler_wl='-Wl,'
8110 lt_prog_compiler_pic='-fPIC'
8111 lt_prog_compiler_static='-static'
8113 # Lahey Fortran 8.1.
8115 lt_prog_compiler_wl='-Wl,'
8116 lt_prog_compiler_pic='--shared'
8117 lt_prog_compiler_static='--static'
8120 # NAG Fortran compiler
8121 lt_prog_compiler_wl='-Wl,-Wl,,'
8122 lt_prog_compiler_pic='-PIC'
8123 lt_prog_compiler_static='-Bstatic'
8125 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8126 # Portland Group compilers (*not* the Pentium gcc compiler,
8127 # which looks to be a dead project)
8128 lt_prog_compiler_wl='-Wl,'
8129 lt_prog_compiler_pic='-fpic'
8130 lt_prog_compiler_static='-Bstatic'
8133 lt_prog_compiler_wl='-Wl,'
8134 # All Alpha code is PIC.
8135 lt_prog_compiler_static='-non_shared'
8137 xl* | bgxl* | bgf* | mpixl*)
8138 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8139 lt_prog_compiler_wl='-Wl,'
8140 lt_prog_compiler_pic='-qpic'
8141 lt_prog_compiler_static='-qstaticlink'
8144 case `$CC -V 2>&1 | sed 5q` in
8145 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8146 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8147 lt_prog_compiler_pic='-KPIC'
8148 lt_prog_compiler_static='-Bstatic'
8149 lt_prog_compiler_wl=''
8151 *Sun\ F* | *Sun*Fortran*)
8152 lt_prog_compiler_pic='-KPIC'
8153 lt_prog_compiler_static='-Bstatic'
8154 lt_prog_compiler_wl='-Qoption ld '
8158 lt_prog_compiler_pic='-KPIC'
8159 lt_prog_compiler_static='-Bstatic'
8160 lt_prog_compiler_wl='-Wl,'
8162 *Intel*\ [CF]*Compiler*)
8163 lt_prog_compiler_wl='-Wl,'
8164 lt_prog_compiler_pic='-fPIC'
8165 lt_prog_compiler_static='-static'
8168 lt_prog_compiler_wl='-Wl,'
8169 lt_prog_compiler_pic='-fpic'
8170 lt_prog_compiler_static='-Bstatic'
8178 lt_prog_compiler_pic='-KPIC'
8179 lt_prog_compiler_static='-Bstatic'
8183 # QNX uses GNU C++, but need to define -shared option too, otherwise
8185 lt_prog_compiler_pic='-fPIC -shared'
8188 osf3* | osf4* | osf5*)
8189 lt_prog_compiler_wl='-Wl,'
8190 # All OSF/1 code is PIC.
8191 lt_prog_compiler_static='-non_shared'
8195 lt_prog_compiler_static='-non_shared'
8199 lt_prog_compiler_pic='-KPIC'
8200 lt_prog_compiler_static='-Bstatic'
8201 case $cc_basename in
8202 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8203 lt_prog_compiler_wl='-Qoption ld ';;
8205 lt_prog_compiler_wl='-Wl,';;
8210 lt_prog_compiler_wl='-Qoption ld '
8211 lt_prog_compiler_pic='-PIC'
8212 lt_prog_compiler_static='-Bstatic'
8215 sysv4 | sysv4.2uw2* | sysv4.3*)
8216 lt_prog_compiler_wl='-Wl,'
8217 lt_prog_compiler_pic='-KPIC'
8218 lt_prog_compiler_static='-Bstatic'
8222 if test -d /usr/nec ;then
8223 lt_prog_compiler_pic='-Kconform_pic'
8224 lt_prog_compiler_static='-Bstatic'
8228 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8229 lt_prog_compiler_wl='-Wl,'
8230 lt_prog_compiler_pic='-KPIC'
8231 lt_prog_compiler_static='-Bstatic'
8235 lt_prog_compiler_wl='-Wl,'
8236 lt_prog_compiler_can_build_shared=no
8240 lt_prog_compiler_pic='-pic'
8241 lt_prog_compiler_static='-Bstatic'
8245 lt_prog_compiler_can_build_shared=no
8251 # For platforms which do not support PIC, -DPIC is meaningless:
8253 lt_prog_compiler_pic=
8256 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8261 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8262 if ${lt_cv_prog_compiler_pic+:} false; then :
8263 $as_echo_n "(cached) " >&6
8265 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8268 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8269 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8272 # Check to make sure the PIC flag actually works.
8274 if test -n "$lt_prog_compiler_pic"; then
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8276 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8277 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8278 $as_echo_n "(cached) " >&6
8280 lt_cv_prog_compiler_pic_works=no
8281 ac_outfile=conftest.$ac_objext
8282 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8283 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8284 # Insert the option either (1) after the last *FLAGS variable, or
8285 # (2) before a word containing "conftest.", or (3) at the end.
8286 # Note that $ac_compile itself does not contain backslashes and begins
8287 # with a dollar sign (not a hyphen), so the echo should work correctly.
8288 # The option is referenced via a variable to avoid confusing sed.
8289 lt_compile=`echo "$ac_compile" | $SED \
8290 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8291 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8292 -e 's:$: $lt_compiler_flag:'`
8293 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8294 (eval "$lt_compile" 2>conftest.err)
8296 cat conftest.err >&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 if (exit $ac_status) && test -s "$ac_outfile"; then
8299 # The compiler can only warn and ignore the option if not recognized
8300 # So say no if there are warnings other than the usual output.
8301 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8302 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8303 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8304 lt_cv_prog_compiler_pic_works=yes
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8311 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8313 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8314 case $lt_prog_compiler_pic in
8316 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8319 lt_prog_compiler_pic=
8320 lt_prog_compiler_can_build_shared=no
8336 # Check to make sure the static flag actually works.
8338 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8340 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8341 if ${lt_cv_prog_compiler_static_works+:} false; then :
8342 $as_echo_n "(cached) " >&6
8344 lt_cv_prog_compiler_static_works=no
8345 save_LDFLAGS="$LDFLAGS"
8346 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8347 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8348 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8349 # The linker can only warn and ignore the option if not recognized
8350 # So say no if there are warnings
8351 if test -s conftest.err; then
8352 # Append any errors to the config.log.
8353 cat conftest.err 1>&5
8354 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8355 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8356 if diff conftest.exp conftest.er2 >/dev/null; then
8357 lt_cv_prog_compiler_static_works=yes
8360 lt_cv_prog_compiler_static_works=yes
8364 LDFLAGS="$save_LDFLAGS"
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8368 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8370 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8373 lt_prog_compiler_static=
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8383 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8384 if ${lt_cv_prog_compiler_c_o+:} false; then :
8385 $as_echo_n "(cached) " >&6
8387 lt_cv_prog_compiler_c_o=no
8388 $RM -r conftest 2>/dev/null
8392 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8394 lt_compiler_flag="-o out/conftest2.$ac_objext"
8395 # Insert the option either (1) after the last *FLAGS variable, or
8396 # (2) before a word containing "conftest.", or (3) at the end.
8397 # Note that $ac_compile itself does not contain backslashes and begins
8398 # with a dollar sign (not a hyphen), so the echo should work correctly.
8399 lt_compile=`echo "$ac_compile" | $SED \
8400 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8401 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8402 -e 's:$: $lt_compiler_flag:'`
8403 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8404 (eval "$lt_compile" 2>out/conftest.err)
8406 cat out/conftest.err >&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8410 # The compiler can only warn and ignore the option if not recognized
8411 # So say no if there are warnings
8412 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8413 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8414 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8415 lt_cv_prog_compiler_c_o=yes
8420 # SGI C++ compiler will create directory out/ii_files/ for
8421 # template instantiation
8422 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8423 $RM out/* && rmdir out
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8430 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8438 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8439 if ${lt_cv_prog_compiler_c_o+:} false; then :
8440 $as_echo_n "(cached) " >&6
8442 lt_cv_prog_compiler_c_o=no
8443 $RM -r conftest 2>/dev/null
8447 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8449 lt_compiler_flag="-o out/conftest2.$ac_objext"
8450 # Insert the option either (1) after the last *FLAGS variable, or
8451 # (2) before a word containing "conftest.", or (3) at the end.
8452 # Note that $ac_compile itself does not contain backslashes and begins
8453 # with a dollar sign (not a hyphen), so the echo should work correctly.
8454 lt_compile=`echo "$ac_compile" | $SED \
8455 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8456 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8457 -e 's:$: $lt_compiler_flag:'`
8458 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8459 (eval "$lt_compile" 2>out/conftest.err)
8461 cat out/conftest.err >&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8465 # The compiler can only warn and ignore the option if not recognized
8466 # So say no if there are warnings
8467 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8468 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8469 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8470 lt_cv_prog_compiler_c_o=yes
8475 # SGI C++ compiler will create directory out/ii_files/ for
8476 # template instantiation
8477 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8478 $RM out/* && rmdir out
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8485 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8490 hard_links="nottested"
8491 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8492 # do not overwrite the value of need_locks provided by the user
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8494 $as_echo_n "checking if we can lock with hard links... " >&6; }
8497 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8499 ln conftest.a conftest.b 2>&5 || hard_links=no
8500 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8502 $as_echo "$hard_links" >&6; }
8503 if test "$hard_links" = no; then
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8505 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8518 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8521 allow_undefined_flag=
8522 always_export_symbols=no
8524 archive_expsym_cmds=
8525 compiler_needs_object=no
8526 enable_shared_with_static_runtimes=no
8527 export_dynamic_flag_spec=
8528 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8529 hardcode_automatic=no
8531 hardcode_direct_absolute=no
8532 hardcode_libdir_flag_spec=
8533 hardcode_libdir_separator=
8535 hardcode_shlibpath_var=unsupported
8537 link_all_deplibs=unknown
8540 old_archive_from_new_cmds=
8541 old_archive_from_expsyms_cmds=
8542 thread_safe_flag_spec=
8543 whole_archive_flag_spec=
8544 # include_expsyms should be a list of space-separated symbols to be *always*
8545 # included in the symbol list
8547 # exclude_expsyms can be an extended regexp of symbols to exclude
8548 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8549 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8550 # as well as any symbol that contains `d'.
8551 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8552 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8553 # platforms (ab)use it in PIC code, but their linkers get confused if
8554 # the symbol is explicitly referenced. Since portable code cannot
8555 # rely on this symbol name, it's probably fine to never include it in
8556 # preloaded symbol tables.
8557 # Exclude shared library initialization/finalization symbols.
8558 extract_expsyms_cmds=
8561 cygwin* | mingw* | pw32* | cegcc*)
8562 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8563 # When not using gcc, we currently assume that we are using
8564 # Microsoft Visual C++.
8565 if test "$GCC" != yes; then
8570 # we just hope/assume this is gcc and not c89 (= MSVC++)
8580 # On some targets, GNU ld is compatible enough with the native linker
8581 # that we're better off using the native interface for both.
8582 lt_use_gnu_ld_interface=no
8583 if test "$with_gnu_ld" = yes; then
8586 # The AIX port of GNU ld has always aspired to compatibility
8587 # with the native linker. However, as the warning in the GNU ld
8588 # block says, versions before 2.19.5* couldn't really create working
8589 # shared libraries, regardless of the interface used.
8590 case `$LD -v 2>&1` in
8591 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8592 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8593 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8595 lt_use_gnu_ld_interface=yes
8600 lt_use_gnu_ld_interface=yes
8605 if test "$lt_use_gnu_ld_interface" = yes; then
8606 # If archive_cmds runs LD, not CC, wlarc should be empty
8609 # Set some defaults for GNU ld with shared library support. These
8610 # are reset later if shared libraries are not supported. Putting them
8611 # here allows them to be overridden if necessary.
8612 runpath_var=LD_RUN_PATH
8613 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8614 export_dynamic_flag_spec='${wl}--export-dynamic'
8615 # ancient GNU ld didn't support --whole-archive et. al.
8616 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8617 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8619 whole_archive_flag_spec=
8621 supports_anon_versioning=no
8622 case `$LD -v 2>&1` in
8623 *GNU\ gold*) supports_anon_versioning=yes ;;
8624 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8625 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8626 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8627 *\ 2.11.*) ;; # other 2.11 versions
8628 *) supports_anon_versioning=yes ;;
8631 # See if GNU ld supports shared libraries.
8634 # On AIX/PPC, the GNU linker is very broken
8635 if test "$host_cpu" != ia64; then
8639 *** Warning: the GNU linker, at least up to release 2.19, is reported
8640 *** to be unable to reliably create shared libraries on AIX.
8641 *** Therefore, libtool is disabling shared libraries support. If you
8642 *** really care for shared libraries, you may want to install binutils
8643 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8644 *** You will then need to restart the configuration process.
8653 # see comment about AmigaOS4 .so support
8654 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8655 archive_expsym_cmds=''
8658 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)'
8659 hardcode_libdir_flag_spec='-L$libdir'
8660 hardcode_minus_L=yes
8666 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8667 allow_undefined_flag=unsupported
8668 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8669 # support --undefined. This deserves some investigation. FIXME
8670 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8676 cygwin* | mingw* | pw32* | cegcc*)
8677 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8678 # as there is no search path for DLLs.
8679 hardcode_libdir_flag_spec='-L$libdir'
8680 export_dynamic_flag_spec='${wl}--export-all-symbols'
8681 allow_undefined_flag=unsupported
8682 always_export_symbols=no
8683 enable_shared_with_static_runtimes=yes
8684 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'
8685 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8687 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8688 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8689 # If the export-symbols file already is a .def file (1st line
8690 # is EXPORTS), use it as is; otherwise, prepend...
8691 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8692 cp $export_symbols $output_objdir/$soname.def;
8694 echo EXPORTS > $output_objdir/$soname.def;
8695 cat $export_symbols >> $output_objdir/$soname.def;
8697 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8704 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8705 link_all_deplibs=yes
8710 hardcode_shlibpath_var=no
8711 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8712 export_dynamic_flag_spec='${wl}-E'
8713 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8714 # Instead, shared libraries are loaded at an image base (0x10000000 by
8715 # default) and relocated if they conflict, which is a slow very memory
8716 # consuming and fragmenting process. To avoid this, we pick a random,
8717 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8718 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8719 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8720 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'
8723 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8725 if test "$host_os" = linux-dietlibc; then
8726 case $cc_basename in
8727 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8730 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8731 && test "$tmp_diet" = no
8733 tmp_addflag=' $pic_flag'
8734 tmp_sharedflag='-shared'
8735 case $cc_basename,$host_cpu in
8736 pgcc*) # Portland Group C compiler
8737 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'
8738 tmp_addflag=' $pic_flag'
8740 pgf77* | pgf90* | pgf95* | pgfortran*)
8741 # Portland Group f77 and f90 compilers
8742 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'
8743 tmp_addflag=' $pic_flag -Mnomain' ;;
8744 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8745 tmp_addflag=' -i_dynamic' ;;
8746 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8747 tmp_addflag=' -i_dynamic -nofor_main' ;;
8748 ifc* | ifort*) # Intel Fortran compiler
8749 tmp_addflag=' -nofor_main' ;;
8750 lf95*) # Lahey Fortran 8.1
8751 whole_archive_flag_spec=
8752 tmp_sharedflag='--shared' ;;
8753 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8754 tmp_sharedflag='-qmkshrobj'
8756 nvcc*) # Cuda Compiler Driver 2.2
8757 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'
8758 compiler_needs_object=yes
8761 case `$CC -V 2>&1 | sed 5q` in
8762 *Sun\ C*) # Sun C 5.9
8763 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'
8764 compiler_needs_object=yes
8765 tmp_sharedflag='-G' ;;
8766 *Sun\ F*) # Sun Fortran 8.3
8767 tmp_sharedflag='-G' ;;
8769 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8771 if test "x$supports_anon_versioning" = xyes; then
8772 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8773 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8774 echo "local: *; };" >> $output_objdir/$libname.ver~
8775 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8778 case $cc_basename in
8779 xlf* | bgf* | bgxlf* | mpixlf*)
8780 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8781 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8782 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8783 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8784 if test "x$supports_anon_versioning" = xyes; then
8785 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8786 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8787 echo "local: *; };" >> $output_objdir/$libname.ver~
8788 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8798 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8799 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8802 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8803 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8808 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8812 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8813 *** create shared libraries on Solaris systems. Therefore, libtool
8814 *** is disabling shared libraries support. We urge you to upgrade GNU
8815 *** binutils to release 2.9.1 or newer. Another option is to modify
8816 *** your PATH or compiler configuration so that the native linker is
8817 *** used, and then restart.
8820 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8821 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8822 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8828 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8829 case `$LD -v 2>&1` in
8830 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8834 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8835 *** reliably create shared libraries on SCO systems. Therefore, libtool
8836 *** is disabling shared libraries support. We urge you to upgrade GNU
8837 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8838 *** your PATH or compiler configuration so that the native linker is
8839 *** used, and then restart.
8844 # For security reasons, it is highly recommended that you always
8845 # use absolute paths for naming shared libraries, and exclude the
8846 # DT_RUNPATH tag from executables and libraries. But doing so
8847 # requires that you compile everything twice, which is a pain.
8848 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8849 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8850 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8851 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8860 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8863 hardcode_shlibpath_var=no
8867 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8868 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8869 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8876 if test "$ld_shlibs" = no; then
8878 hardcode_libdir_flag_spec=
8879 export_dynamic_flag_spec=
8880 whole_archive_flag_spec=
8883 # PORTME fill in a description of your system's linker (not GNU ld)
8886 allow_undefined_flag=unsupported
8887 always_export_symbols=yes
8888 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'
8889 # Note: this linker hardcodes the directories in LIBPATH if there
8890 # are no directories specified by -L.
8891 hardcode_minus_L=yes
8892 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8893 # Neither direct hardcoding nor static linking is supported with a
8895 hardcode_direct=unsupported
8900 if test "$host_cpu" = ia64; then
8901 # On IA64, the linker does run time linking by default, so we don't
8902 # have to do anything special.
8903 aix_use_runtimelinking=no
8904 exp_sym_flag='-Bexport'
8907 # If we're using GNU nm, then we don't want the "-C" option.
8908 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8909 # Also, AIX nm treats weak defined symbols like other global
8910 # defined symbols, whereas GNU nm marks them as "W".
8911 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8912 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'
8914 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'
8916 aix_use_runtimelinking=no
8918 # Test if we are trying to use run time linking or normal
8919 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8920 # need to do runtime linking.
8921 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8922 for ld_flag in $LDFLAGS; do
8923 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8924 aix_use_runtimelinking=yes
8931 exp_sym_flag='-bexport'
8932 no_entry_flag='-bnoentry'
8935 # When large executables or shared objects are built, AIX ld can
8936 # have problems creating the table of contents. If linking a library
8937 # or program results in "error TOC overflow" add -mminimal-toc to
8938 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8939 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8943 hardcode_direct_absolute=yes
8944 hardcode_libdir_separator=':'
8945 link_all_deplibs=yes
8946 file_list_spec='${wl}-f,'
8948 if test "$GCC" = yes; then
8949 case $host_os in aix4.[012]|aix4.[012].*)
8950 # We only want to do this on AIX 4.2 and lower, the check
8951 # below for broken collect2 doesn't work under 4.3+
8952 collect2name=`${CC} -print-prog-name=collect2`
8953 if test -f "$collect2name" &&
8954 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8956 # We have reworked collect2
8959 # We have old collect2
8960 hardcode_direct=unsupported
8961 # It fails to find uninstalled libraries when the uninstalled
8962 # path is not listed in the libpath. Setting hardcode_minus_L
8963 # to unsupported forces relinking
8964 hardcode_minus_L=yes
8965 hardcode_libdir_flag_spec='-L$libdir'
8966 hardcode_libdir_separator=
8970 shared_flag='-shared'
8971 if test "$aix_use_runtimelinking" = yes; then
8972 shared_flag="$shared_flag "'${wl}-G'
8976 if test "$host_cpu" = ia64; then
8977 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8978 # chokes on -Wl,-G. The following line is correct:
8981 if test "$aix_use_runtimelinking" = yes; then
8982 shared_flag='${wl}-G'
8984 shared_flag='${wl}-bM:SRE'
8989 export_dynamic_flag_spec='${wl}-bexpall'
8990 # It seems that -bexpall does not export symbols beginning with
8991 # underscore (_), so it is better to generate a list of symbols to export.
8992 always_export_symbols=yes
8993 if test "$aix_use_runtimelinking" = yes; then
8994 # Warning - without using the other runtime loading flags (-brtl),
8995 # -berok will link without error, but may produce a broken library.
8996 allow_undefined_flag='-berok'
8997 # Determine the default libpath from the value encoded in an
8999 if test "${lt_cv_aix_libpath+set}" = set; then
9000 aix_libpath=$lt_cv_aix_libpath
9002 if ${lt_cv_aix_libpath_+:} false; then :
9003 $as_echo_n "(cached) " >&6
9005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9016 if ac_fn_c_try_link "$LINENO"; then :
9018 lt_aix_libpath_sed='
9019 /Import File Strings/,/^$/ {
9021 s/^0 *\([^ ]*\) *$/\1/
9025 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9026 # Check for a 64-bit object if we didn't find anything.
9027 if test -z "$lt_cv_aix_libpath_"; then
9028 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9031 rm -f core conftest.err conftest.$ac_objext \
9032 conftest$ac_exeext conftest.$ac_ext
9033 if test -z "$lt_cv_aix_libpath_"; then
9034 lt_cv_aix_libpath_="/usr/lib:/lib"
9039 aix_libpath=$lt_cv_aix_libpath_
9042 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9043 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"
9045 if test "$host_cpu" = ia64; then
9046 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9047 allow_undefined_flag="-z nodefs"
9048 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"
9050 # Determine the default libpath from the value encoded in an
9052 if test "${lt_cv_aix_libpath+set}" = set; then
9053 aix_libpath=$lt_cv_aix_libpath
9055 if ${lt_cv_aix_libpath_+:} false; then :
9056 $as_echo_n "(cached) " >&6
9058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9069 if ac_fn_c_try_link "$LINENO"; then :
9071 lt_aix_libpath_sed='
9072 /Import File Strings/,/^$/ {
9074 s/^0 *\([^ ]*\) *$/\1/
9078 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9079 # Check for a 64-bit object if we didn't find anything.
9080 if test -z "$lt_cv_aix_libpath_"; then
9081 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9084 rm -f core conftest.err conftest.$ac_objext \
9085 conftest$ac_exeext conftest.$ac_ext
9086 if test -z "$lt_cv_aix_libpath_"; then
9087 lt_cv_aix_libpath_="/usr/lib:/lib"
9092 aix_libpath=$lt_cv_aix_libpath_
9095 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9096 # Warning - without using the other run time loading flags,
9097 # -berok will link without error, but may produce a broken library.
9098 no_undefined_flag=' ${wl}-bernotok'
9099 allow_undefined_flag=' ${wl}-berok'
9100 if test "$with_gnu_ld" = yes; then
9101 # We only use this code for GNU lds that support --whole-archive.
9102 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9104 # Exported symbols can be pulled into shared objects from archives
9105 whole_archive_flag_spec='$convenience'
9107 archive_cmds_need_lc=yes
9108 # This is similar to how AIX traditionally builds its shared libraries.
9109 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'
9117 # see comment about AmigaOS4 .so support
9118 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9119 archive_expsym_cmds=''
9122 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)'
9123 hardcode_libdir_flag_spec='-L$libdir'
9124 hardcode_minus_L=yes
9130 export_dynamic_flag_spec=-rdynamic
9133 cygwin* | mingw* | pw32* | cegcc*)
9134 # When not using gcc, we currently assume that we are using
9135 # Microsoft Visual C++.
9136 # hardcode_libdir_flag_spec is actually meaningless, as there is
9137 # no search path for DLLs.
9138 case $cc_basename in
9141 hardcode_libdir_flag_spec=' '
9142 allow_undefined_flag=unsupported
9143 always_export_symbols=yes
9145 # Tell ltmain to make .lib files, not .a files.
9147 # Tell ltmain to make .dll files, not .so files.
9149 # FIXME: Setting linknames here is a bad hack.
9150 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9151 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9152 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9154 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9156 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9158 # The linker will not automatically build a static lib if we build a DLL.
9159 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9160 enable_shared_with_static_runtimes=yes
9161 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9162 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9164 old_postinstall_cmds='chmod 644 $oldlib'
9165 postlink_cmds='lt_outputfile="@OUTPUT@"~
9166 lt_tool_outputfile="@TOOL_OUTPUT@"~
9167 case $lt_outputfile in
9170 lt_outputfile="$lt_outputfile.exe"
9171 lt_tool_outputfile="$lt_tool_outputfile.exe"
9174 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9175 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9176 $RM "$lt_outputfile.manifest";
9180 # Assume MSVC wrapper
9181 hardcode_libdir_flag_spec=' '
9182 allow_undefined_flag=unsupported
9183 # Tell ltmain to make .lib files, not .a files.
9185 # Tell ltmain to make .dll files, not .so files.
9187 # FIXME: Setting linknames here is a bad hack.
9188 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9189 # The linker will automatically build a .lib file if we build a DLL.
9190 old_archive_from_new_cmds='true'
9191 # FIXME: Should let the user specify the lib program.
9192 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9193 enable_shared_with_static_runtimes=yes
9198 darwin* | rhapsody*)
9201 archive_cmds_need_lc=no
9203 hardcode_automatic=yes
9204 hardcode_shlibpath_var=unsupported
9205 if test "$lt_cv_ld_force_load" = "yes"; then
9206 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\"`'
9209 whole_archive_flag_spec=''
9211 link_all_deplibs=yes
9212 allow_undefined_flag="$_lt_dar_allow_undefined"
9213 case $cc_basename in
9214 ifort*) _lt_dar_can_shared=yes ;;
9215 *) _lt_dar_can_shared=$GCC ;;
9217 if test "$_lt_dar_can_shared" = "yes"; then
9218 output_verbose_link_cmd=func_echo_all
9219 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9220 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9221 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}"
9222 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}"
9231 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9232 hardcode_libdir_flag_spec='-L$libdir'
9233 hardcode_shlibpath_var=no
9236 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9237 # support. Future versions do this automatically, but an explicit c++rt0.o
9238 # does not break anything, and helps significantly (at the cost of a little
9241 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9242 hardcode_libdir_flag_spec='-R$libdir'
9244 hardcode_shlibpath_var=no
9247 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9249 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9251 hardcode_minus_L=yes
9252 hardcode_shlibpath_var=no
9255 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9256 freebsd* | dragonfly*)
9257 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9258 hardcode_libdir_flag_spec='-R$libdir'
9260 hardcode_shlibpath_var=no
9264 if test "$GCC" = yes; then
9265 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'
9267 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'
9269 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9270 hardcode_libdir_separator=:
9273 # hardcode_minus_L: Not really in the search PATH,
9274 # but as the default location of the library.
9275 hardcode_minus_L=yes
9276 export_dynamic_flag_spec='${wl}-E'
9280 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9281 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9283 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9285 if test "$with_gnu_ld" = no; then
9286 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9287 hardcode_libdir_separator=:
9289 hardcode_direct_absolute=yes
9290 export_dynamic_flag_spec='${wl}-E'
9291 # hardcode_minus_L: Not really in the search PATH,
9292 # but as the default location of the library.
9293 hardcode_minus_L=yes
9298 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9301 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9304 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9307 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9313 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9316 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9320 # Older versions of the 11.00 compiler do not understand -b yet
9321 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9323 $as_echo_n "checking if $CC understands -b... " >&6; }
9324 if ${lt_cv_prog_compiler__b+:} false; then :
9325 $as_echo_n "(cached) " >&6
9327 lt_cv_prog_compiler__b=no
9328 save_LDFLAGS="$LDFLAGS"
9329 LDFLAGS="$LDFLAGS -b"
9330 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9331 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9332 # The linker can only warn and ignore the option if not recognized
9333 # So say no if there are warnings
9334 if test -s conftest.err; then
9335 # Append any errors to the config.log.
9336 cat conftest.err 1>&5
9337 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9338 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9339 if diff conftest.exp conftest.er2 >/dev/null; then
9340 lt_cv_prog_compiler__b=yes
9343 lt_cv_prog_compiler__b=yes
9347 LDFLAGS="$save_LDFLAGS"
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9351 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9353 if test x"$lt_cv_prog_compiler__b" = xyes; then
9354 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9356 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9362 if test "$with_gnu_ld" = no; then
9363 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9364 hardcode_libdir_separator=:
9369 hardcode_shlibpath_var=no
9373 hardcode_direct_absolute=yes
9374 export_dynamic_flag_spec='${wl}-E'
9376 # hardcode_minus_L: Not really in the search PATH,
9377 # but as the default location of the library.
9378 hardcode_minus_L=yes
9384 irix5* | irix6* | nonstopux*)
9385 if test "$GCC" = yes; then
9386 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'
9387 # Try to use the -exported_symbol ld option, if it does not
9388 # work, assume that -exports_file does not work either and
9389 # implicitly export all symbols.
9390 # This should be the same for all languages, so no per-tag cache variable.
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9392 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9393 if ${lt_cv_irix_exported_symbol+:} false; then :
9394 $as_echo_n "(cached) " >&6
9396 save_LDFLAGS="$LDFLAGS"
9397 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9400 int foo (void) { return 0; }
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 lt_cv_irix_exported_symbol=yes
9405 lt_cv_irix_exported_symbol=no
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 LDFLAGS="$save_LDFLAGS"
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9412 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9413 if test "$lt_cv_irix_exported_symbol" = yes; then
9414 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'
9417 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'
9418 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'
9420 archive_cmds_need_lc='no'
9421 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9422 hardcode_libdir_separator=:
9424 link_all_deplibs=yes
9428 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9429 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9431 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9433 hardcode_libdir_flag_spec='-R$libdir'
9435 hardcode_shlibpath_var=no
9439 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9441 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9442 hardcode_libdir_separator=:
9443 hardcode_shlibpath_var=no
9450 if test -f /usr/libexec/ld.so; then
9452 hardcode_shlibpath_var=no
9453 hardcode_direct_absolute=yes
9454 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9455 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9456 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9457 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9458 export_dynamic_flag_spec='${wl}-E'
9461 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9462 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9463 hardcode_libdir_flag_spec='-R$libdir'
9466 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9467 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9477 hardcode_libdir_flag_spec='-L$libdir'
9478 hardcode_minus_L=yes
9479 allow_undefined_flag=unsupported
9480 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'
9481 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9485 if test "$GCC" = yes; then
9486 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9487 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'
9489 allow_undefined_flag=' -expect_unresolved \*'
9490 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'
9492 archive_cmds_need_lc='no'
9493 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9494 hardcode_libdir_separator=:
9497 osf4* | osf5*) # as osf3* with the addition of -msym flag
9498 if test "$GCC" = yes; then
9499 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9500 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'
9501 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9503 allow_undefined_flag=' -expect_unresolved \*'
9504 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'
9505 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~
9506 $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'
9508 # Both c and cxx compiler support -rpath directly
9509 hardcode_libdir_flag_spec='-rpath $libdir'
9511 archive_cmds_need_lc='no'
9512 hardcode_libdir_separator=:
9516 no_undefined_flag=' -z defs'
9517 if test "$GCC" = yes; then
9519 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9520 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9521 $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'
9523 case `$CC -V 2>&1` in
9526 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9527 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9528 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9532 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9533 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9534 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9538 hardcode_libdir_flag_spec='-R$libdir'
9539 hardcode_shlibpath_var=no
9541 solaris2.[0-5] | solaris2.[0-5].*) ;;
9543 # The compiler driver will combine and reorder linker options,
9544 # but understands `-z linker_flag'. GCC discards it without `$wl',
9545 # but is careful enough not to reorder.
9546 # Supported since Solaris 2.6 (maybe 2.5.1?)
9547 if test "$GCC" = yes; then
9548 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9550 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9554 link_all_deplibs=yes
9558 if test "x$host_vendor" = xsequent; then
9559 # Use $CC to link under sequent, because it throws in some extra .o
9560 # files that make .init and .fini sections work.
9561 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9563 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9565 hardcode_libdir_flag_spec='-L$libdir'
9567 hardcode_minus_L=yes
9568 hardcode_shlibpath_var=no
9572 case $host_vendor in
9574 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9575 hardcode_direct=yes # is this really true???
9578 ## LD is ld it makes a PLAMLIB
9579 ## CC just makes a GrossModule.
9580 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9581 reload_cmds='$CC -r -o $output$reload_objs'
9585 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9586 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9589 runpath_var='LD_RUN_PATH'
9590 hardcode_shlibpath_var=no
9594 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9595 hardcode_shlibpath_var=no
9596 export_dynamic_flag_spec='-Bexport'
9600 if test -d /usr/nec; then
9601 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9602 hardcode_shlibpath_var=no
9603 runpath_var=LD_RUN_PATH
9604 hardcode_runpath_var=yes
9609 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9610 no_undefined_flag='${wl}-z,text'
9611 archive_cmds_need_lc=no
9612 hardcode_shlibpath_var=no
9613 runpath_var='LD_RUN_PATH'
9615 if test "$GCC" = yes; then
9616 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9617 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9619 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9620 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9624 sysv5* | sco3.2v5* | sco5v6*)
9625 # Note: We can NOT use -z defs as we might desire, because we do not
9626 # link with -lc, and that would cause any symbols used from libc to
9627 # always be unresolved, which means just about no library would
9628 # ever link correctly. If we're not using GNU ld we use -z text
9629 # though, which does catch some bad symbols but isn't as heavy-handed
9631 no_undefined_flag='${wl}-z,text'
9632 allow_undefined_flag='${wl}-z,nodefs'
9633 archive_cmds_need_lc=no
9634 hardcode_shlibpath_var=no
9635 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9636 hardcode_libdir_separator=':'
9637 link_all_deplibs=yes
9638 export_dynamic_flag_spec='${wl}-Bexport'
9639 runpath_var='LD_RUN_PATH'
9641 if test "$GCC" = yes; then
9642 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9646 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9651 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9652 hardcode_libdir_flag_spec='-L$libdir'
9653 hardcode_shlibpath_var=no
9661 if test x$host_vendor = xsni; then
9663 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9664 export_dynamic_flag_spec='${wl}-Blargedynsym'
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9671 $as_echo "$ld_shlibs" >&6; }
9672 test "$ld_shlibs" = no && can_build_shared=no
9674 with_gnu_ld=$with_gnu_ld
9691 # Do we need to explicitly link libc?
9693 case "x$archive_cmds_need_lc" in
9695 # Assume -lc should be added
9696 archive_cmds_need_lc=yes
9698 if test "$enable_shared" = yes && test "$GCC" = yes; then
9699 case $archive_cmds in
9701 # FIXME: we may have to deal with multi-command sequences.
9704 # Test whether the compiler implicitly links with -lc since on some
9705 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9706 # to ld, don't add -lc before -lgcc.
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9708 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9709 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9710 $as_echo_n "(cached) " >&6
9713 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9716 (eval $ac_compile) 2>&5
9718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9719 test $ac_status = 0; } 2>conftest.err; then
9722 libobjs=conftest.$ac_objext
9724 wl=$lt_prog_compiler_wl
9725 pic_flag=$lt_prog_compiler_pic
9731 lt_save_allow_undefined_flag=$allow_undefined_flag
9732 allow_undefined_flag=
9733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9734 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9737 test $ac_status = 0; }
9739 lt_cv_archive_cmds_need_lc=no
9741 lt_cv_archive_cmds_need_lc=yes
9743 allow_undefined_flag=$lt_save_allow_undefined_flag
9745 cat conftest.err 1>&5
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9751 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9752 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9911 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9913 if test "$GCC" = yes; then
9915 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9916 *) lt_awk_arg="/^libraries:/" ;;
9919 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9920 *) lt_sed_strip_eq="s,=/,/,g" ;;
9922 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9923 case $lt_search_path_spec in
9925 # if the path contains ";" then we assume it to be the separator
9926 # otherwise default to the standard path separator (i.e. ":") - it is
9927 # assumed that no part of a normal pathname contains ";" but that should
9928 # okay in the real world where ";" in dirpaths is itself problematic.
9929 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9932 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9935 # Ok, now we have the path, separated by spaces, we can step through it
9936 # and add multilib dir if necessary.
9937 lt_tmp_lt_search_path_spec=
9938 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9939 for lt_sys_path in $lt_search_path_spec; do
9940 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9941 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9943 test -d "$lt_sys_path" && \
9944 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9947 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9948 BEGIN {RS=" "; FS="/|\n";} {
9951 for (lt_i = NF; lt_i > 0; lt_i--) {
9952 if ($lt_i != "" && $lt_i != ".") {
9953 if ($lt_i == "..") {
9956 if (lt_count == 0) {
9957 lt_foo="/" $lt_i lt_foo;
9964 if (lt_foo != "") { lt_freq[lt_foo]++; }
9965 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9967 # AWK program above erroneously prepends '/' to C:/dos/paths
9970 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9971 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9973 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9975 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9978 libname_spec='lib$name'
9986 shlibpath_overrides_runpath=unknown
9988 dynamic_linker="$host_os ld.so"
9989 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9990 need_lib_prefix=unknown
9991 hardcode_into_libs=no
9993 # when you set need_version to no, make sure it does not cause -set_version
9994 # flags to be left without arguments
9995 need_version=unknown
9999 version_type=linux # correct to gnu/linux during the next big refactor
10000 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10001 shlibpath_var=LIBPATH
10003 # AIX 3 has no versioning support, so we append a major version to the name.
10004 soname_spec='${libname}${release}${shared_ext}$major'
10008 version_type=linux # correct to gnu/linux during the next big refactor
10011 hardcode_into_libs=yes
10012 if test "$host_cpu" = ia64; then
10013 # AIX 5 supports IA64
10014 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10015 shlibpath_var=LD_LIBRARY_PATH
10017 # With GCC up to 2.95.x, collect2 would create an import file
10018 # for dependence libraries. The import file would start with
10019 # the line `#! .'. This would cause the generated library to
10020 # depend on `.', always an invalid library. This was fixed in
10021 # development snapshots of GCC prior to 3.0.
10023 aix4 | aix4.[01] | aix4.[01].*)
10024 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10026 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10029 can_build_shared=no
10033 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10034 # soname into executable. Probably we can add versioning support to
10035 # collect2, so additional links can be useful in future.
10036 if test "$aix_use_runtimelinking" = yes; then
10037 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10038 # instead of lib<name>.a to let people know that these are not
10039 # typical AIX shared libraries.
10040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10042 # We preserve .a as extension for shared libraries through AIX4.2
10043 # and later when we are not doing run time linking.
10044 library_names_spec='${libname}${release}.a $libname.a'
10045 soname_spec='${libname}${release}${shared_ext}$major'
10047 shlibpath_var=LIBPATH
10054 # Since July 2007 AmigaOS4 officially supports .so libraries.
10055 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10059 library_names_spec='$libname.ixlibrary $libname.a'
10060 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10061 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'
10067 library_names_spec='${libname}${shared_ext}'
10068 dynamic_linker="$host_os ld.so"
10069 shlibpath_var=LIBRARY_PATH
10073 version_type=linux # correct to gnu/linux during the next big refactor
10075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10076 soname_spec='${libname}${release}${shared_ext}$major'
10077 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10078 shlibpath_var=LD_LIBRARY_PATH
10079 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10080 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10081 # the default ld.so.conf also contains /usr/contrib/lib and
10082 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10083 # libtool to hard-code these into programs
10086 cygwin* | mingw* | pw32* | cegcc*)
10087 version_type=windows
10092 case $GCC,$cc_basename in
10095 library_names_spec='$libname.dll.a'
10096 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10097 postinstall_cmds='base_file=`basename \${file}`~
10098 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10099 dldir=$destdir/`dirname \$dlpath`~
10100 test -d \$dldir || mkdir -p \$dldir~
10101 $install_prog $dir/$dlname \$dldir/$dlname~
10102 chmod a+x \$dldir/$dlname~
10103 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10104 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10106 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10107 dlpath=$dir/\$dldll~
10109 shlibpath_overrides_runpath=yes
10113 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10114 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10116 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10119 # MinGW DLLs use traditional 'lib' prefix
10120 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10123 # pw32 DLLs use 'pw' prefix rather than 'lib'
10124 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10127 dynamic_linker='Win32 ld.exe'
10132 libname_spec='$name'
10133 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10134 library_names_spec='${libname}.dll.lib'
10138 sys_lib_search_path_spec=
10141 for lt_path in $LIB
10144 # Let DOS variable expansion print the short 8.3 style file name.
10145 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10146 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10149 # Convert to MSYS style.
10150 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10153 # Convert to unix form, then to dos form, then back to unix form
10154 # but this time dos style (no spaces!) so that the unix form looks
10155 # like /cygdrive/c/PROGRA~1:/cygdr...
10156 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10157 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10158 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10161 sys_lib_search_path_spec="$LIB"
10162 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10163 # It is most probably a Windows format PATH.
10164 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10166 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10168 # FIXME: find the short name or the path components, as spaces are
10169 # common. (e.g. "Program Files" -> "PROGRA~1")
10173 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10174 postinstall_cmds='base_file=`basename \${file}`~
10175 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10176 dldir=$destdir/`dirname \$dlpath`~
10177 test -d \$dldir || mkdir -p \$dldir~
10178 $install_prog $dir/$dlname \$dldir/$dlname'
10179 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10180 dlpath=$dir/\$dldll~
10182 shlibpath_overrides_runpath=yes
10183 dynamic_linker='Win32 link.exe'
10187 # Assume MSVC wrapper
10188 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10189 dynamic_linker='Win32 ld.exe'
10192 # FIXME: first we should search . and the directory the executable is in
10196 darwin* | rhapsody*)
10197 dynamic_linker="$host_os dyld"
10198 version_type=darwin
10201 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10202 soname_spec='${libname}${release}${major}$shared_ext'
10203 shlibpath_overrides_runpath=yes
10204 shlibpath_var=DYLD_LIBRARY_PATH
10205 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10207 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10208 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10212 version_type=linux # correct to gnu/linux during the next big refactor
10215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10216 soname_spec='${libname}${release}${shared_ext}$major'
10217 shlibpath_var=LD_LIBRARY_PATH
10220 freebsd* | dragonfly*)
10221 # DragonFly does not have aout. When/if they implement a new
10222 # versioning mechanism, adjust this.
10223 if test -x /usr/bin/objformat; then
10224 objformat=`/usr/bin/objformat`
10227 freebsd[23].*) objformat=aout ;;
10228 *) objformat=elf ;;
10231 version_type=freebsd-$objformat
10232 case $version_type in
10234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10239 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10243 shlibpath_var=LD_LIBRARY_PATH
10246 shlibpath_overrides_runpath=yes
10248 freebsd3.[01]* | freebsdelf3.[01]*)
10249 shlibpath_overrides_runpath=yes
10250 hardcode_into_libs=yes
10252 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10253 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10254 shlibpath_overrides_runpath=no
10255 hardcode_into_libs=yes
10257 *) # from 4.6 on, and DragonFly
10258 shlibpath_overrides_runpath=yes
10259 hardcode_into_libs=yes
10265 version_type=linux # correct to gnu/linux during the next big refactor
10268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10269 soname_spec='${libname}${release}${shared_ext}$major'
10270 shlibpath_var=LD_LIBRARY_PATH
10271 shlibpath_overrides_runpath=no
10272 hardcode_into_libs=yes
10276 version_type=linux # correct to gnu/linux during the next big refactor
10279 dynamic_linker="$host_os runtime_loader"
10280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10281 soname_spec='${libname}${release}${shared_ext}$major'
10282 shlibpath_var=LIBRARY_PATH
10283 shlibpath_overrides_runpath=yes
10284 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10285 hardcode_into_libs=yes
10288 hpux9* | hpux10* | hpux11*)
10289 # Give a soname corresponding to the major version so that dld.sl refuses to
10290 # link against other versions.
10297 hardcode_into_libs=yes
10298 dynamic_linker="$host_os dld.so"
10299 shlibpath_var=LD_LIBRARY_PATH
10300 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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 if test "X$HPUX_IA64_MODE" = X32; then
10304 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10306 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10308 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10312 hardcode_into_libs=yes
10313 dynamic_linker="$host_os dld.sl"
10314 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10315 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10317 soname_spec='${libname}${release}${shared_ext}$major'
10318 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10319 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10323 dynamic_linker="$host_os dld.sl"
10324 shlibpath_var=SHLIB_PATH
10325 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327 soname_spec='${libname}${release}${shared_ext}$major'
10330 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10331 postinstall_cmds='chmod 555 $lib'
10332 # or fails outright, so override atomically:
10333 install_override_mode=555
10337 version_type=linux # correct to gnu/linux during the next big refactor
10340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10341 soname_spec='${libname}${release}${shared_ext}$major'
10342 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10343 shlibpath_var=LD_LIBRARY_PATH
10344 shlibpath_overrides_runpath=no
10345 hardcode_into_libs=yes
10348 irix5* | irix6* | nonstopux*)
10350 nonstopux*) version_type=nonstopux ;;
10352 if test "$lt_cv_prog_gnu_ld" = yes; then
10353 version_type=linux # correct to gnu/linux during the next big refactor
10360 soname_spec='${libname}${release}${shared_ext}$major'
10361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10363 irix5* | nonstopux*)
10364 libsuff= shlibsuff=
10367 case $LD in # libtool.m4 will add one of these switches to LD
10368 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10369 libsuff= shlibsuff= libmagic=32-bit;;
10370 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10371 libsuff=32 shlibsuff=N32 libmagic=N32;;
10372 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10373 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10374 *) libsuff= shlibsuff= libmagic=never-match;;
10378 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10379 shlibpath_overrides_runpath=no
10380 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10381 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10382 hardcode_into_libs=yes
10385 # No shared lib support for Linux oldld, aout, or coff.
10386 linux*oldld* | linux*aout* | linux*coff*)
10390 # This must be glibc/ELF.
10391 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10392 version_type=linux # correct to gnu/linux during the next big refactor
10395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396 soname_spec='${libname}${release}${shared_ext}$major'
10397 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10398 shlibpath_var=LD_LIBRARY_PATH
10399 shlibpath_overrides_runpath=no
10401 # Some binutils ld are patched to set DT_RUNPATH
10402 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10403 $as_echo_n "(cached) " >&6
10405 lt_cv_shlibpath_overrides_runpath=no
10406 save_LDFLAGS=$LDFLAGS
10407 save_libdir=$libdir
10408 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10409 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10421 if ac_fn_c_try_link "$LINENO"; then :
10422 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10423 lt_cv_shlibpath_overrides_runpath=yes
10426 rm -f core conftest.err conftest.$ac_objext \
10427 conftest$ac_exeext conftest.$ac_ext
10428 LDFLAGS=$save_LDFLAGS
10429 libdir=$save_libdir
10433 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10435 # This implies no fast_install, which is unacceptable.
10436 # Some rework will be needed to allow for fast_install
10437 # before this can be enabled.
10438 hardcode_into_libs=yes
10440 # Add ABI-specific directories to the system library path.
10441 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10443 # Append ld.so.conf contents to the search path
10444 if test -f /etc/ld.so.conf; then
10445 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' ' '`
10446 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10450 # We used to test for /lib/ld.so.1 and disable shared libraries on
10451 # powerpc, because MkLinux only supported shared libraries with the
10452 # GNU dynamic linker. Since this was broken with cross compilers,
10453 # most powerpc-linux boxes support dynamic linking these days and
10454 # people can always --disable-shared, the test was removed, and we
10455 # assume the GNU/Linux dynamic linker is in use.
10456 dynamic_linker='GNU/Linux ld.so'
10463 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10465 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10466 dynamic_linker='NetBSD (a.out) ld.so'
10468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10469 soname_spec='${libname}${release}${shared_ext}$major'
10470 dynamic_linker='NetBSD ld.elf_so'
10472 shlibpath_var=LD_LIBRARY_PATH
10473 shlibpath_overrides_runpath=yes
10474 hardcode_into_libs=yes
10478 version_type=linux # correct to gnu/linux during the next big refactor
10479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10480 shlibpath_var=LD_LIBRARY_PATH
10481 shlibpath_overrides_runpath=yes
10488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10489 soname_spec='${libname}${release}${shared_ext}$major'
10490 shlibpath_var=LD_LIBRARY_PATH
10491 shlibpath_overrides_runpath=no
10492 hardcode_into_libs=yes
10493 dynamic_linker='ldqnx.so'
10498 sys_lib_dlsearch_path_spec="/usr/lib"
10500 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10502 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10503 *) need_version=no ;;
10505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10506 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10507 shlibpath_var=LD_LIBRARY_PATH
10508 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10510 openbsd2.[89] | openbsd2.[89].*)
10511 shlibpath_overrides_runpath=no
10514 shlibpath_overrides_runpath=yes
10518 shlibpath_overrides_runpath=yes
10523 libname_spec='$name'
10526 library_names_spec='$libname${shared_ext} $libname.a'
10527 dynamic_linker='OS/2 ld.exe'
10528 shlibpath_var=LIBPATH
10531 osf3* | osf4* | osf5*)
10535 soname_spec='${libname}${release}${shared_ext}$major'
10536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10537 shlibpath_var=LD_LIBRARY_PATH
10538 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10539 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10547 version_type=linux # correct to gnu/linux during the next big refactor
10550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10551 soname_spec='${libname}${release}${shared_ext}$major'
10552 shlibpath_var=LD_LIBRARY_PATH
10553 shlibpath_overrides_runpath=yes
10554 hardcode_into_libs=yes
10555 # ldd complains unless libraries are executable
10556 postinstall_cmds='chmod +x $lib'
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10562 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10563 shlibpath_var=LD_LIBRARY_PATH
10564 shlibpath_overrides_runpath=yes
10565 if test "$with_gnu_ld" = yes; then
10572 version_type=linux # correct to gnu/linux during the next big refactor
10573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10574 soname_spec='${libname}${release}${shared_ext}$major'
10575 shlibpath_var=LD_LIBRARY_PATH
10576 case $host_vendor in
10578 shlibpath_overrides_runpath=no
10580 runpath_var=LD_RUN_PATH
10588 shlibpath_overrides_runpath=no
10589 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10595 if test -d /usr/nec ;then
10596 version_type=linux # correct to gnu/linux during the next big refactor
10597 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10598 soname_spec='$libname${shared_ext}.$major'
10599 shlibpath_var=LD_LIBRARY_PATH
10603 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10604 version_type=freebsd-elf
10607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10609 shlibpath_var=LD_LIBRARY_PATH
10610 shlibpath_overrides_runpath=yes
10611 hardcode_into_libs=yes
10612 if test "$with_gnu_ld" = yes; then
10613 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10615 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10618 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10622 sys_lib_dlsearch_path_spec='/usr/lib'
10626 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10627 version_type=linux # correct to gnu/linux during the next big refactor
10630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10631 shlibpath_var=LD_LIBRARY_PATH
10632 shlibpath_overrides_runpath=no
10633 hardcode_into_libs=yes
10637 version_type=linux # correct to gnu/linux during the next big refactor
10638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639 soname_spec='${libname}${release}${shared_ext}$major'
10640 shlibpath_var=LD_LIBRARY_PATH
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10648 $as_echo "$dynamic_linker" >&6; }
10649 test "$dynamic_linker" = no && can_build_shared=no
10651 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10652 if test "$GCC" = yes; then
10653 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10656 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10657 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10659 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10660 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10755 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10757 if test -n "$hardcode_libdir_flag_spec" ||
10758 test -n "$runpath_var" ||
10759 test "X$hardcode_automatic" = "Xyes" ; then
10761 # We can hardcode non-existent directories.
10762 if test "$hardcode_direct" != no &&
10763 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10764 # have to relink, otherwise we might link with an installed library
10765 # when we should be linking with a yet-to-be-installed one
10766 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10767 test "$hardcode_minus_L" != no; then
10768 # Linking always hardcodes the temporary library directory.
10769 hardcode_action=relink
10771 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10772 hardcode_action=immediate
10775 # We cannot hardcode anything, or else we can only hardcode existing
10777 hardcode_action=unsupported
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10780 $as_echo "$hardcode_action" >&6; }
10782 if test "$hardcode_action" = relink ||
10783 test "$inherit_rpath" = yes; then
10784 # Fast installation is not supported
10785 enable_fast_install=no
10786 elif test "$shlibpath_overrides_runpath" = yes ||
10787 test "$enable_shared" = no; then
10788 # Fast installation is not necessary
10789 enable_fast_install=needless
10797 if test "x$enable_dlopen" != xyes; then
10798 enable_dlopen=unknown
10799 enable_dlopen_self=unknown
10800 enable_dlopen_self_static=unknown
10807 lt_cv_dlopen="load_add_on"
10809 lt_cv_dlopen_self=yes
10812 mingw* | pw32* | cegcc*)
10813 lt_cv_dlopen="LoadLibrary"
10818 lt_cv_dlopen="dlopen"
10823 # if libdl is installed we need to link against it
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10825 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10826 if ${ac_cv_lib_dl_dlopen+:} false; then :
10827 $as_echo_n "(cached) " >&6
10829 ac_check_lib_save_LIBS=$LIBS
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10849 if ac_fn_c_try_link "$LINENO"; then :
10850 ac_cv_lib_dl_dlopen=yes
10852 ac_cv_lib_dl_dlopen=no
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10859 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10860 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10861 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10864 lt_cv_dlopen="dyld"
10866 lt_cv_dlopen_self=yes
10873 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10874 if test "x$ac_cv_func_shl_load" = xyes; then :
10875 lt_cv_dlopen="shl_load"
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10878 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10879 if ${ac_cv_lib_dld_shl_load+:} false; then :
10880 $as_echo_n "(cached) " >&6
10882 ac_check_lib_save_LIBS=$LIBS
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10887 /* Override any GCC internal prototype to avoid an error.
10888 Use char because int might match the return type of a GCC
10889 builtin and then its argument prototype would still apply. */
10897 return shl_load ();
10902 if ac_fn_c_try_link "$LINENO"; then :
10903 ac_cv_lib_dld_shl_load=yes
10905 ac_cv_lib_dld_shl_load=no
10907 rm -f core conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10909 LIBS=$ac_check_lib_save_LIBS
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10912 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10913 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10914 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10916 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10917 if test "x$ac_cv_func_dlopen" = xyes; then :
10918 lt_cv_dlopen="dlopen"
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10921 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10922 if ${ac_cv_lib_dl_dlopen+:} false; then :
10923 $as_echo_n "(cached) " >&6
10925 ac_check_lib_save_LIBS=$LIBS
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10930 /* Override any GCC internal prototype to avoid an error.
10931 Use char because int might match the return type of a GCC
10932 builtin and then its argument prototype would still apply. */
10945 if ac_fn_c_try_link "$LINENO"; then :
10946 ac_cv_lib_dl_dlopen=yes
10948 ac_cv_lib_dl_dlopen=no
10950 rm -f core conftest.err conftest.$ac_objext \
10951 conftest$ac_exeext conftest.$ac_ext
10952 LIBS=$ac_check_lib_save_LIBS
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10955 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10956 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10957 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10960 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10961 if ${ac_cv_lib_svld_dlopen+:} false; then :
10962 $as_echo_n "(cached) " >&6
10964 ac_check_lib_save_LIBS=$LIBS
10965 LIBS="-lsvld $LIBS"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10984 if ac_fn_c_try_link "$LINENO"; then :
10985 ac_cv_lib_svld_dlopen=yes
10987 ac_cv_lib_svld_dlopen=no
10989 rm -f core conftest.err conftest.$ac_objext \
10990 conftest$ac_exeext conftest.$ac_ext
10991 LIBS=$ac_check_lib_save_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10994 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10995 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10996 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10999 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11000 if ${ac_cv_lib_dld_dld_link+:} false; then :
11001 $as_echo_n "(cached) " >&6
11003 ac_check_lib_save_LIBS=$LIBS
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11018 return dld_link ();
11023 if ac_fn_c_try_link "$LINENO"; then :
11024 ac_cv_lib_dld_dld_link=yes
11026 ac_cv_lib_dld_dld_link=no
11028 rm -f core conftest.err conftest.$ac_objext \
11029 conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11033 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11034 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11035 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11056 if test "x$lt_cv_dlopen" != xno; then
11062 case $lt_cv_dlopen in
11064 save_CPPFLAGS="$CPPFLAGS"
11065 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11067 save_LDFLAGS="$LDFLAGS"
11068 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11071 LIBS="$lt_cv_dlopen_libs $LIBS"
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11074 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11075 if ${lt_cv_dlopen_self+:} false; then :
11076 $as_echo_n "(cached) " >&6
11078 if test "$cross_compiling" = yes; then :
11079 lt_cv_dlopen_self=cross
11081 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11082 lt_status=$lt_dlunknown
11083 cat > conftest.$ac_ext <<_LT_EOF
11084 #line $LINENO "configure"
11085 #include "confdefs.h"
11094 # define LT_DLGLOBAL RTLD_GLOBAL
11097 # define LT_DLGLOBAL DL_GLOBAL
11099 # define LT_DLGLOBAL 0
11103 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11104 find out it does not work in some platform. */
11105 #ifndef LT_DLLAZY_OR_NOW
11107 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11110 # define LT_DLLAZY_OR_NOW DL_LAZY
11113 # define LT_DLLAZY_OR_NOW RTLD_NOW
11116 # define LT_DLLAZY_OR_NOW DL_NOW
11118 # define LT_DLLAZY_OR_NOW 0
11125 /* When -fvisbility=hidden is used, assume the code has been annotated
11126 correspondingly for the symbols needed. */
11127 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11128 int fnord () __attribute__((visibility("default")));
11131 int fnord () { return 42; }
11134 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11135 int status = $lt_dlunknown;
11139 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11142 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11143 else puts (dlerror ());
11145 /* dlclose (self); */
11153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11154 (eval $ac_link) 2>&5
11156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11157 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11158 (./conftest; exit; ) >&5 2>/dev/null
11160 case x$lt_status in
11161 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11162 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11163 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11166 # compilation failed
11167 lt_cv_dlopen_self=no
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11175 $as_echo "$lt_cv_dlopen_self" >&6; }
11177 if test "x$lt_cv_dlopen_self" = xyes; then
11178 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11180 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11181 if ${lt_cv_dlopen_self_static+:} false; then :
11182 $as_echo_n "(cached) " >&6
11184 if test "$cross_compiling" = yes; then :
11185 lt_cv_dlopen_self_static=cross
11187 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11188 lt_status=$lt_dlunknown
11189 cat > conftest.$ac_ext <<_LT_EOF
11190 #line $LINENO "configure"
11191 #include "confdefs.h"
11200 # define LT_DLGLOBAL RTLD_GLOBAL
11203 # define LT_DLGLOBAL DL_GLOBAL
11205 # define LT_DLGLOBAL 0
11209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11210 find out it does not work in some platform. */
11211 #ifndef LT_DLLAZY_OR_NOW
11213 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11216 # define LT_DLLAZY_OR_NOW DL_LAZY
11219 # define LT_DLLAZY_OR_NOW RTLD_NOW
11222 # define LT_DLLAZY_OR_NOW DL_NOW
11224 # define LT_DLLAZY_OR_NOW 0
11231 /* When -fvisbility=hidden is used, assume the code has been annotated
11232 correspondingly for the symbols needed. */
11233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11234 int fnord () __attribute__((visibility("default")));
11237 int fnord () { return 42; }
11240 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11241 int status = $lt_dlunknown;
11245 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11248 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11249 else puts (dlerror ());
11251 /* dlclose (self); */
11259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11260 (eval $ac_link) 2>&5
11262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11263 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11264 (./conftest; exit; ) >&5 2>/dev/null
11266 case x$lt_status in
11267 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11268 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11269 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11272 # compilation failed
11273 lt_cv_dlopen_self_static=no
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11281 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11284 CPPFLAGS="$save_CPPFLAGS"
11285 LDFLAGS="$save_LDFLAGS"
11290 case $lt_cv_dlopen_self in
11291 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11292 *) enable_dlopen_self=unknown ;;
11295 case $lt_cv_dlopen_self_static in
11296 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11297 *) enable_dlopen_self_static=unknown ;;
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11320 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11321 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11322 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11323 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11325 $as_echo "yes" >&6; }
11327 # FIXME - insert some real tests, host_os isn't really good enough
11330 if test -n "$STRIP" ; then
11331 striplib="$STRIP -x"
11332 old_striplib="$STRIP -S"
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11334 $as_echo "yes" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11337 $as_echo "no" >&6; }
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11342 $as_echo "no" >&6; }
11358 # Report which library types will actually be built
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11360 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11362 $as_echo "$can_build_shared" >&6; }
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11365 $as_echo_n "checking whether to build shared libraries... " >&6; }
11366 test "$can_build_shared" = "no" && enable_shared=no
11368 # On AIX, shared libraries and static libraries use the same namespace, and
11369 # are all built from PIC.
11372 test "$enable_shared" = yes && enable_static=no
11373 if test -n "$RANLIB"; then
11374 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11375 postinstall_cmds='$RANLIB $lib'
11380 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11381 test "$enable_shared" = yes && enable_static=no
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11386 $as_echo "$enable_shared" >&6; }
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11389 $as_echo_n "checking whether to build static libraries... " >&6; }
11390 # Make sure either enable_shared or enable_static is yes.
11391 test "$enable_shared" = yes || enable_static=yes
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11393 $as_echo "$enable_static" >&6; }
11400 ac_cpp='$CPP $CPPFLAGS'
11401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11421 ac_config_commands="$ac_config_commands libtool"
11426 # Only expand once:
11429 ac_header_dirent=no
11430 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
11431 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
11433 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
11434 if eval \${$as_ac_Header+:} false; then :
11435 $as_echo_n "(cached) " >&6
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439 #include <sys/types.h>
11451 if ac_fn_c_try_compile "$LINENO"; then :
11452 eval "$as_ac_Header=yes"
11454 eval "$as_ac_Header=no"
11456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11458 eval ac_res=\$$as_ac_Header
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11460 $as_echo "$ac_res" >&6; }
11461 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11462 cat >>confdefs.h <<_ACEOF
11463 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11466 ac_header_dirent=$ac_hdr; break
11470 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11471 if test $ac_header_dirent = dirent.h; then
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
11473 $as_echo_n "checking for library containing opendir... " >&6; }
11474 if ${ac_cv_search_opendir+:} false; then :
11475 $as_echo_n "(cached) " >&6
11477 ac_func_search_save_LIBS=$LIBS
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11496 for ac_lib in '' dir; do
11497 if test -z "$ac_lib"; then
11498 ac_res="none required"
11501 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 ac_cv_search_opendir=$ac_res
11506 rm -f core conftest.err conftest.$ac_objext \
11508 if ${ac_cv_search_opendir+:} false; then :
11512 if ${ac_cv_search_opendir+:} false; then :
11515 ac_cv_search_opendir=no
11517 rm conftest.$ac_ext
11518 LIBS=$ac_func_search_save_LIBS
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
11521 $as_echo "$ac_cv_search_opendir" >&6; }
11522 ac_res=$ac_cv_search_opendir
11523 if test "$ac_res" != no; then :
11524 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
11530 $as_echo_n "checking for library containing opendir... " >&6; }
11531 if ${ac_cv_search_opendir+:} false; then :
11532 $as_echo_n "(cached) " >&6
11534 ac_func_search_save_LIBS=$LIBS
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11553 for ac_lib in '' x; do
11554 if test -z "$ac_lib"; then
11555 ac_res="none required"
11558 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11560 if ac_fn_c_try_link "$LINENO"; then :
11561 ac_cv_search_opendir=$ac_res
11563 rm -f core conftest.err conftest.$ac_objext \
11565 if ${ac_cv_search_opendir+:} false; then :
11569 if ${ac_cv_search_opendir+:} false; then :
11572 ac_cv_search_opendir=no
11574 rm conftest.$ac_ext
11575 LIBS=$ac_func_search_save_LIBS
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
11578 $as_echo "$ac_cv_search_opendir" >&6; }
11579 ac_res=$ac_cv_search_opendir
11580 if test "$ac_res" != no; then :
11581 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11588 for ac_header in arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h
11590 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11591 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11592 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11593 cat >>confdefs.h <<_ACEOF
11594 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
11602 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
11603 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
11604 $as_echo_n "(cached) " >&6
11606 ac_check_lib_save_LIBS=$LIBS
11607 LIBS="-lpthread $LIBS"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11611 /* Override any GCC internal prototype to avoid an error.
11612 Use char because int might match the return type of a GCC
11613 builtin and then its argument prototype would still apply. */
11617 char pthread_create ();
11621 return pthread_create ();
11626 if ac_fn_c_try_link "$LINENO"; then :
11627 ac_cv_lib_pthread_pthread_create=yes
11629 ac_cv_lib_pthread_pthread_create=no
11631 rm -f core conftest.err conftest.$ac_objext \
11632 conftest$ac_exeext conftest.$ac_ext
11633 LIBS=$ac_check_lib_save_LIBS
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
11636 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
11637 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
11638 cat >>confdefs.h <<_ACEOF
11639 #define HAVE_LIBPTHREAD 1
11642 LIBS="-lpthread $LIBS"
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yp_get_default_domain in -lnsl" >&5
11647 $as_echo_n "checking for yp_get_default_domain in -lnsl... " >&6; }
11648 if ${ac_cv_lib_nsl_yp_get_default_domain+:} false; then :
11649 $as_echo_n "(cached) " >&6
11651 ac_check_lib_save_LIBS=$LIBS
11653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11654 /* end confdefs.h. */
11656 /* Override any GCC internal prototype to avoid an error.
11657 Use char because int might match the return type of a GCC
11658 builtin and then its argument prototype would still apply. */
11662 char yp_get_default_domain ();
11666 return yp_get_default_domain ();
11671 if ac_fn_c_try_link "$LINENO"; then :
11672 ac_cv_lib_nsl_yp_get_default_domain=yes
11674 ac_cv_lib_nsl_yp_get_default_domain=no
11676 rm -f core conftest.err conftest.$ac_objext \
11677 conftest$ac_exeext conftest.$ac_ext
11678 LIBS=$ac_check_lib_save_LIBS
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
11681 $as_echo "$ac_cv_lib_nsl_yp_get_default_domain" >&6; }
11682 if test "x$ac_cv_lib_nsl_yp_get_default_domain" = xyes; then :
11683 cat >>confdefs.h <<_ACEOF
11684 #define HAVE_LIBNSL 1
11693 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile doc/Makefile"
11695 ac_config_files="$ac_config_files libtirpc.pc"
11697 cat >confcache <<\_ACEOF
11698 # This file is a shell script that caches the results of configure
11699 # tests run on this system so they can be shared between configure
11700 # scripts and configure runs, see configure's option --config-cache.
11701 # It is not useful on other systems. If it contains results you don't
11702 # want to keep, you may remove or edit it.
11704 # config.status only pays attention to the cache file if you give it
11705 # the --recheck option to rerun configure.
11707 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11708 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11709 # following values.
11713 # The following way of writing the cache mishandles newlines in values,
11714 # but we know of no workaround that is simple, portable, and efficient.
11715 # So, we kill variables containing newlines.
11716 # Ultrix sh set writes to stderr and can't be redirected directly,
11717 # and sets the high bit in the cache file unless we assign to the vars.
11719 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11720 eval ac_val=\$$ac_var
11724 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11725 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11728 _ | IFS | as_nl) ;; #(
11729 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11730 *) { eval $ac_var=; unset $ac_var;} ;;
11736 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11737 *${as_nl}ac_space=\ *)
11738 # `set' does not quote correctly, so add quotes: double-quote
11739 # substitution turns \\\\ into \\, and sed turns \\ into \.
11742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11745 # `set' quotes correctly as required by POSIX, so do not add quotes.
11746 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11755 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11757 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11759 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11760 if test -w "$cache_file"; then
11761 if test "x$cache_file" != "x/dev/null"; then
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11763 $as_echo "$as_me: updating cache $cache_file" >&6;}
11764 if test ! -f "$cache_file" || test -h "$cache_file"; then
11765 cat confcache >"$cache_file"
11767 case $cache_file in #(
11769 mv -f confcache "$cache_file"$$ &&
11770 mv -f "$cache_file"$$ "$cache_file" ;; #(
11772 mv -f confcache "$cache_file" ;;
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11778 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11783 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11784 # Let make expand exec_prefix.
11785 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11787 # Transform confdefs.h into DEFS.
11788 # Protect against shell expansion while executing Makefile rules.
11789 # Protect against Makefile macro expansion.
11791 # If the first sed substitution is executed (which looks for macros that
11792 # take arguments), then branch to the quote section. Otherwise,
11793 # look for a macro that doesn't take arguments.
11803 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
11805 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
11809 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11822 DEFS=`sed -n "$ac_script" confdefs.h`
11828 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11829 # 1. Remove the extension, and $U if already installed.
11830 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11831 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11832 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11833 # will be set to the directory where LIBOBJS objects are built.
11834 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11835 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11837 LIBOBJS=$ac_libobjs
11839 LTLIBOBJS=$ac_ltlibobjs
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11843 $as_echo_n "checking that generated files are newer than configure... " >&6; }
11844 if test -n "$am_sleep_pid"; then
11845 # Hide warnings about reused PIDs.
11846 wait $am_sleep_pid 2>/dev/null
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11849 $as_echo "done" >&6; }
11850 if test -n "$EXEEXT"; then
11852 am__EXEEXT_FALSE='#'
11854 am__EXEEXT_TRUE='#'
11858 if test -z "${GSS_TRUE}" && test -z "${GSS_FALSE}"; then
11859 as_fn_error $? "conditional \"GSS\" was never defined.
11860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11862 if test -z "${INET6_TRUE}" && test -z "${INET6_FALSE}"; then
11863 as_fn_error $? "conditional \"INET6\" was never defined.
11864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11866 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11867 as_fn_error $? "conditional \"AMDEP\" was never defined.
11868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11870 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11871 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11875 : "${CONFIG_STATUS=./config.status}"
11877 ac_clean_files_save=$ac_clean_files
11878 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11880 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11882 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11884 # Generated by $as_me.
11885 # Run this file to recreate the current configuration.
11886 # Compiler output produced by configure, useful for debugging
11887 # configure, is in config.log if it exists.
11890 ac_cs_recheck=false
11893 SHELL=\${CONFIG_SHELL-$SHELL}
11896 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11897 ## -------------------- ##
11898 ## M4sh Initialization. ##
11899 ## -------------------- ##
11901 # Be more Bourne compatible
11902 DUALCASE=1; export DUALCASE # for MKS sh
11903 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11906 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11907 # is contrary to our usage. Disable this feature.
11908 alias -g '${1+"$@"}'='"$@"'
11909 setopt NO_GLOB_SUBST
11911 case `(set -o) 2>/dev/null` in #(
11923 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11924 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11925 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11926 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11927 # Prefer a ksh shell builtin over an external printf program on Solaris,
11928 # but without wasting forks for bash or zsh.
11929 if test -z "$BASH_VERSION$ZSH_VERSION" \
11930 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11931 as_echo='print -r --'
11932 as_echo_n='print -rn --'
11933 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11934 as_echo='printf %s\n'
11935 as_echo_n='printf %s'
11937 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11938 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11939 as_echo_n='/usr/ucb/echo -n'
11941 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11942 as_echo_n_body='eval
11946 expr "X$arg" : "X\\(.*\\)$as_nl";
11947 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11949 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11951 export as_echo_n_body
11952 as_echo_n='sh -c $as_echo_n_body as_echo'
11954 export as_echo_body
11955 as_echo='sh -c $as_echo_body as_echo'
11958 # The user is always right.
11959 if test "${PATH_SEPARATOR+set}" != set; then
11961 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11962 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11969 # We need space, tab and new line, in precisely that order. Quoting is
11970 # there to prevent editors from complaining about space-tab.
11971 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11972 # splitting by setting IFS to empty value.)
11975 # Find who we are. Look in the path if we contain no directory separator.
11978 *[\\/]* ) as_myself=$0 ;;
11979 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11980 for as_dir in $PATH
11983 test -z "$as_dir" && as_dir=.
11984 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11990 # We did not find ourselves, most probably we were run as `sh COMMAND'
11991 # in which case we are not to be found in the path.
11992 if test "x$as_myself" = x; then
11995 if test ! -f "$as_myself"; then
11996 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12000 # Unset variables that we do not need and which cause bugs (e.g. in
12001 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12002 # suppresses any "Segmentation fault" message there. '((' could
12003 # trigger a bug in pdksh 5.2.14.
12004 for as_var in BASH_ENV ENV MAIL MAILPATH
12005 do eval test x\${$as_var+set} = xset \
12006 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12019 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12022 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12023 # ----------------------------------------
12024 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12025 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12026 # script with STATUS, using 1 if that was 0.
12029 as_status=$1; test $as_status -eq 0 && as_status=1
12031 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12032 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12034 $as_echo "$as_me: error: $2" >&2
12035 as_fn_exit $as_status
12039 # as_fn_set_status STATUS
12040 # -----------------------
12041 # Set $? to STATUS, without forking.
12042 as_fn_set_status ()
12045 } # as_fn_set_status
12047 # as_fn_exit STATUS
12048 # -----------------
12049 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12053 as_fn_set_status $1
12059 # Portably unset VAR.
12062 { eval $1=; unset $1;}
12064 as_unset=as_fn_unset
12065 # as_fn_append VAR VALUE
12066 # ----------------------
12067 # Append the text in VALUE to the end of the definition contained in VAR. Take
12068 # advantage of any shell optimizations that allow amortized linear growth over
12069 # repeated appends, instead of the typical quadratic growth present in naive
12071 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12072 eval 'as_fn_append ()
12083 # as_fn_arith ARG...
12084 # ------------------
12085 # Perform arithmetic evaluation on the ARGs, and store the result in the
12086 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12087 # must be portable across $(()) and expr.
12088 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12089 eval 'as_fn_arith ()
12096 as_val=`expr "$@" || test $? -eq 1`
12101 if expr a : '\(a\)' >/dev/null 2>&1 &&
12102 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12108 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12109 as_basename=basename
12114 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12120 as_me=`$as_basename -- "$0" ||
12121 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12122 X"$0" : 'X\(//\)$' \| \
12123 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12125 sed '/^.*\/\([^/][^/]*\)\/*$/{
12139 # Avoid depending upon Character Ranges.
12140 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12141 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12142 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12143 as_cr_digits='0123456789'
12144 as_cr_alnum=$as_cr_Letters$as_cr_digits
12146 ECHO_C= ECHO_N= ECHO_T=
12147 case `echo -n x` in #(((((
12149 case `echo 'xy\c'` in
12150 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12152 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12159 rm -f conf$$ conf$$.exe conf$$.file
12160 if test -d conf$$.dir; then
12161 rm -f conf$$.dir/conf$$.file
12164 mkdir conf$$.dir 2>/dev/null
12166 if (echo >conf$$.file) 2>/dev/null; then
12167 if ln -s conf$$.file conf$$ 2>/dev/null; then
12169 # ... but there are two gotchas:
12170 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12171 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12172 # In both cases, we have to default to `cp -pR'.
12173 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12175 elif ln conf$$.file conf$$ 2>/dev/null; then
12183 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12184 rmdir conf$$.dir 2>/dev/null
12189 # Create "$as_dir" as a directory, including parents if necessary.
12194 -*) as_dir=./$as_dir;;
12196 test -d "$as_dir" || eval $as_mkdir_p || {
12200 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12201 *) as_qdir=$as_dir;;
12203 as_dirs="'$as_qdir' $as_dirs"
12204 as_dir=`$as_dirname -- "$as_dir" ||
12205 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12206 X"$as_dir" : 'X\(//\)[^/]' \| \
12207 X"$as_dir" : 'X\(//\)$' \| \
12208 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12209 $as_echo X"$as_dir" |
12210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12214 /^X\(\/\/\)[^/].*/{
12227 test -d "$as_dir" && break
12229 test -z "$as_dirs" || eval "mkdir $as_dirs"
12230 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12234 if mkdir -p . 2>/dev/null; then
12235 as_mkdir_p='mkdir -p "$as_dir"'
12237 test -d ./-p && rmdir ./-p
12242 # as_fn_executable_p FILE
12243 # -----------------------
12244 # Test if FILE is an executable regular file.
12245 as_fn_executable_p ()
12247 test -f "$1" && test -x "$1"
12248 } # as_fn_executable_p
12249 as_test_x='test -x'
12250 as_executable_p=as_fn_executable_p
12252 # Sed expression to map a string onto a valid CPP name.
12253 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12255 # Sed expression to map a string onto a valid variable name.
12256 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12260 ## ----------------------------------- ##
12261 ## Main body of $CONFIG_STATUS script. ##
12262 ## ----------------------------------- ##
12264 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12267 # Save the log message, to keep $0 and so on meaningful, and to
12268 # report actual input values of CONFIG_FILES etc. instead of their
12269 # values after options handling.
12271 This file was extended by libtirpc $as_me 0.2.5, which was
12272 generated by GNU Autoconf 2.69. Invocation command line was
12274 CONFIG_FILES = $CONFIG_FILES
12275 CONFIG_HEADERS = $CONFIG_HEADERS
12276 CONFIG_LINKS = $CONFIG_LINKS
12277 CONFIG_COMMANDS = $CONFIG_COMMANDS
12280 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12285 case $ac_config_files in *"
12286 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12292 # Files that config.status was made for.
12293 config_files="$ac_config_files"
12294 config_commands="$ac_config_commands"
12298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12300 \`$as_me' instantiates files and other configuration actions
12301 from templates according to the current configuration. Unless the files
12302 and actions are specified as TAGs, all are instantiated by default.
12304 Usage: $0 [OPTION]... [TAG]...
12306 -h, --help print this help, then exit
12307 -V, --version print version number and configuration settings, then exit
12308 --config print configuration, then exit
12309 -q, --quiet, --silent
12310 do not print progress messages
12311 -d, --debug don't remove temporary files
12312 --recheck update $as_me by reconfiguring in the same conditions
12313 --file=FILE[:TEMPLATE]
12314 instantiate the configuration file FILE
12316 Configuration files:
12319 Configuration commands:
12322 Report bugs to the package provider."
12325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12326 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12328 libtirpc config.status 0.2.5
12329 configured by $0, generated by GNU Autoconf 2.69,
12330 with options \\"\$ac_cs_config\\"
12332 Copyright (C) 2012 Free Software Foundation, Inc.
12333 This config.status script is free software; the Free Software Foundation
12334 gives unlimited permission to copy, distribute and modify it."
12341 test -n "\$AWK" || AWK=awk
12344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12345 # The default lists apply if the user does not specify any file.
12351 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12352 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12356 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12368 # Handling of the options.
12369 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12371 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12372 $as_echo "$ac_cs_version"; exit ;;
12373 --config | --confi | --conf | --con | --co | --c )
12374 $as_echo "$ac_cs_config"; exit ;;
12375 --debug | --debu | --deb | --de | --d | -d )
12377 --file | --fil | --fi | --f )
12380 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12381 '') as_fn_error $? "missing file argument" ;;
12383 as_fn_append CONFIG_FILES " '$ac_optarg'"
12384 ac_need_defaults=false;;
12385 --he | --h | --help | --hel | -h )
12386 $as_echo "$ac_cs_usage"; exit ;;
12387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12388 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12391 # This is an error.
12392 -*) as_fn_error $? "unrecognized option: \`$1'
12393 Try \`$0 --help' for more information." ;;
12395 *) as_fn_append ac_config_targets " $1"
12396 ac_need_defaults=false ;;
12402 ac_configure_extra_args=
12404 if $ac_cs_silent; then
12406 ac_configure_extra_args="$ac_configure_extra_args --silent"
12410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12411 if \$ac_cs_recheck; then
12412 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12414 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12415 CONFIG_SHELL='$SHELL'
12416 export CONFIG_SHELL
12421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12425 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12426 ## Running $as_me. ##
12432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12436 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12439 # The HP-UX ksh and POSIX shell print the target directory to stdout
12440 # if CDPATH is set.
12441 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12443 sed_quote_subst='$sed_quote_subst'
12444 double_quote_subst='$double_quote_subst'
12445 delay_variable_subst='$delay_variable_subst'
12446 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12447 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12448 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12449 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12450 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12451 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12452 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12453 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12454 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12455 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12456 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12457 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12458 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12459 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12460 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12461 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12462 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12463 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12464 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12465 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12466 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12467 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12468 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12469 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12470 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12471 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12472 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12473 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12474 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12475 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12476 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12477 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12478 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12479 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12480 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12481 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12482 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12483 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12484 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12485 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12486 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12487 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12488 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12489 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12490 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12491 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12492 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12493 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12494 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12495 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12496 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12497 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12498 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12499 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12500 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12501 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12502 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"`'
12503 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12504 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12505 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12506 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12507 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12508 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12509 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12510 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12511 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12512 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12513 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12514 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12515 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12516 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12517 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12518 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12519 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12520 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12521 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12522 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12523 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12524 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12525 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12526 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12527 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12528 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12529 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12530 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12531 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12532 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12533 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12534 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12535 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12536 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12537 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12538 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12539 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12540 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12541 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12542 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12543 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12544 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12545 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12546 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12547 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12548 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12549 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12550 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12551 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12552 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12553 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12554 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12555 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12556 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12557 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12558 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12559 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12560 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12561 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12562 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12563 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12564 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12565 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12566 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12567 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12568 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12569 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12570 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12571 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12572 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12573 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12574 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12575 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12578 LTCFLAGS='$LTCFLAGS'
12579 compiler='$compiler_DEFAULT'
12581 # A function that is used when there is no print builtin or printf.
12582 func_fallback_echo ()
12584 eval 'cat <<_LTECHO_EOF
12589 # Quote evaled strings.
12604 deplibs_check_method \
12609 sharedlib_from_linklib_cmd \
12612 archiver_list_spec \
12618 lt_cv_sys_global_symbol_pipe \
12619 lt_cv_sys_global_symbol_to_cdecl \
12620 lt_cv_sys_global_symbol_to_c_name_address \
12621 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12622 nm_file_list_spec \
12623 lt_prog_compiler_no_builtin_flag \
12624 lt_prog_compiler_pic \
12625 lt_prog_compiler_wl \
12626 lt_prog_compiler_static \
12627 lt_cv_prog_compiler_c_o \
12636 export_dynamic_flag_spec \
12637 whole_archive_flag_spec \
12638 compiler_needs_object \
12640 allow_undefined_flag \
12641 no_undefined_flag \
12642 hardcode_libdir_flag_spec \
12643 hardcode_libdir_separator \
12647 variables_saved_for_relink \
12649 library_names_spec \
12651 install_override_mode \
12655 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12656 *[\\\\\\\`\\"\\\$]*)
12657 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12660 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12665 # Double-quote double-evaled strings.
12666 for var in reload_cmds \
12667 old_postinstall_cmds \
12668 old_postuninstall_cmds \
12670 extract_expsyms_cmds \
12671 old_archive_from_new_cmds \
12672 old_archive_from_expsyms_cmds \
12674 archive_expsym_cmds \
12676 module_expsym_cmds \
12677 export_symbols_cmds \
12681 postuninstall_cmds \
12683 sys_lib_search_path_spec \
12684 sys_lib_dlsearch_path_spec; do
12685 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12686 *[\\\\\\\`\\"\\\$]*)
12687 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12690 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12695 ac_aux_dir='$ac_aux_dir'
12696 xsi_shell='$xsi_shell'
12697 lt_shell_append='$lt_shell_append'
12699 # See if we are running on zsh, and set the options which allow our
12700 # commands through without removal of \ escapes INIT.
12701 if test -n "\${ZSH_VERSION+set}" ; then
12702 setopt NO_GLOB_SUBST
12708 TIMESTAMP='$TIMESTAMP'
12717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12719 # Handling of arguments.
12720 for ac_config_target in $ac_config_targets
12722 case $ac_config_target in
12723 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12724 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12725 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12726 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12727 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
12728 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12729 "libtirpc.pc") CONFIG_FILES="$CONFIG_FILES libtirpc.pc" ;;
12731 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12736 # If the user did not use the arguments to specify the items to instantiate,
12737 # then the envvar interface is used. Set only those that are not.
12738 # We use the long form for the default assignment because of an extremely
12739 # bizarre bug on SunOS 4.1.3.
12740 if $ac_need_defaults; then
12741 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12742 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12745 # Have a temporary directory for convenience. Make it in the build tree
12746 # simply because there is no reason against having it here, and in addition,
12747 # creating and moving files from /tmp can sometimes cause problems.
12748 # Hook for its removal unless debugging.
12749 # Note that there is a small window in which the directory will not be cleaned:
12750 # after its creation but before its name has been assigned to `$tmp'.
12754 trap 'exit_status=$?
12755 : "${ac_tmp:=$tmp}"
12756 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12758 trap 'as_fn_exit 1' 1 2 13 15
12760 # Create a (secure) tmp directory for tmp files.
12763 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12767 tmp=./conf$$-$RANDOM
12768 (umask 077 && mkdir "$tmp")
12769 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12772 # Set up the scripts for CONFIG_FILES section.
12773 # No need to generate them if there are no CONFIG_FILES.
12774 # This happens for instance with `./config.status config.h'.
12775 if test -n "$CONFIG_FILES"; then
12778 ac_cr=`echo X | tr X '\015'`
12779 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12780 # But we know of no other shell where ac_cr would be empty at this
12781 # point, so we can use a bashism as a fallback.
12782 if test "x$ac_cr" = x; then
12783 eval ac_cr=\$\'\\r\'
12785 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12786 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12789 ac_cs_awk_cr=$ac_cr
12792 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12797 echo "cat >conf$$subs.awk <<_ACEOF" &&
12798 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12800 } >conf$$subs.sh ||
12801 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12802 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12804 for ac_last_try in false false false false false :; do
12805 . ./conf$$subs.sh ||
12806 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12808 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12809 if test $ac_delim_n = $ac_delim_num; then
12811 elif $ac_last_try; then
12812 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12814 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12817 rm -f conf$$subs.sh
12819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12820 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12824 s/^/S["/; s/!.*/"]=/
12834 s/\(.\{148\}\)..*/\1/
12836 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12841 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12848 s/\(.\{148\}\)..*/\1/
12850 s/["\\]/\\&/g; s/^/"/; s/$/"/
12854 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12859 ' <conf$$subs.awk | sed '
12864 ' >>$CONFIG_STATUS || ac_write_fail=1
12865 rm -f conf$$subs.awk
12866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12868 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12869 for (key in S) S_is_set[key] = 1
12875 nfields = split(line, field, "@")
12877 len = length(field[1])
12878 for (i = 2; i < nfields; i++) {
12880 keylen = length(key)
12881 if (S_is_set[key]) {
12883 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12884 len += length(value) + length(field[++i])
12895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12896 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12897 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12900 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12901 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12904 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12905 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12906 # trailing colons and then remove the whole line if VPATH becomes empty
12907 # (actually we leave an empty line to preserve line numbers).
12908 if test "x$srcdir" = x.; then
12909 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12928 fi # test -n "$CONFIG_FILES"
12931 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
12936 :[FHLC]) ac_mode=$ac_tag; continue;;
12938 case $ac_mode$ac_tag in
12940 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12941 :[FH]-) ac_tag=-:-;;
12942 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12959 -) ac_f="$ac_tmp/stdin";;
12960 *) # Look for the file first in the build tree, then in the source tree
12961 # (if the path is not absolute). The absolute path cannot be DOS-style,
12962 # because $ac_f cannot contain `:'.
12966 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12968 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12970 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12971 as_fn_append ac_file_inputs " '$ac_f'"
12974 # Let's still pretend it is `configure' which instantiates (i.e., don't
12975 # use $as_me), people would be surprised to read:
12976 # /* config.h. Generated by config.status. */
12977 configure_input='Generated from '`
12978 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12980 if test x"$ac_file" != x-; then
12981 configure_input="$ac_file. $configure_input"
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12983 $as_echo "$as_me: creating $ac_file" >&6;}
12985 # Neutralize special characters interpreted by sed in replacement strings.
12986 case $configure_input in #(
12987 *\&* | *\|* | *\\* )
12988 ac_sed_conf_input=`$as_echo "$configure_input" |
12989 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12990 *) ac_sed_conf_input=$configure_input;;
12994 *:-:* | *:-) cat >"$ac_tmp/stdin" \
12995 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13000 ac_dir=`$as_dirname -- "$ac_file" ||
13001 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13002 X"$ac_file" : 'X\(//\)[^/]' \| \
13003 X"$ac_file" : 'X\(//\)$' \| \
13004 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13005 $as_echo X"$ac_file" |
13006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13010 /^X\(\/\/\)[^/].*/{
13023 as_dir="$ac_dir"; as_fn_mkdir_p
13027 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13029 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13030 # A ".." for each directory in $ac_dir_suffix.
13031 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13032 case $ac_top_builddir_sub in
13033 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13034 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13037 ac_abs_top_builddir=$ac_pwd
13038 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13039 # for backward compatibility:
13040 ac_top_builddir=$ac_top_build_prefix
13043 .) # We are building in place.
13045 ac_top_srcdir=$ac_top_builddir_sub
13046 ac_abs_top_srcdir=$ac_pwd ;;
13047 [\\/]* | ?:[\\/]* ) # Absolute name.
13048 ac_srcdir=$srcdir$ac_dir_suffix;
13049 ac_top_srcdir=$srcdir
13050 ac_abs_top_srcdir=$srcdir ;;
13051 *) # Relative name.
13052 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13053 ac_top_srcdir=$ac_top_build_prefix$srcdir
13054 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13056 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13066 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13067 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13069 ac_MKDIR_P=$MKDIR_P
13071 [\\/$]* | ?:[\\/]* ) ;;
13072 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13077 # If the template does not know about datarootdir, expand it.
13078 # FIXME: This hack should be removed a few years after 2.60.
13079 ac_datarootdir_hack=; ac_datarootdir_seen=
13090 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13091 *datarootdir*) ac_datarootdir_seen=yes;;
13092 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13094 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13097 ac_datarootdir_hack='
13098 s&@datadir@&$datadir&g
13099 s&@docdir@&$docdir&g
13100 s&@infodir@&$infodir&g
13101 s&@localedir@&$localedir&g
13102 s&@mandir@&$mandir&g
13103 s&\\\${datarootdir}&$datarootdir&g' ;;
13107 # Neutralize VPATH when `$srcdir' = `.'.
13108 # Shell code in configure.ac might set extrasub.
13109 # FIXME: do we really want to maintain this feature?
13110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13111 ac_sed_extra="$ac_vpsub
13114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13116 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13117 s|@configure_input@|$ac_sed_conf_input|;t t
13118 s&@top_builddir@&$ac_top_builddir_sub&;t t
13119 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13120 s&@srcdir@&$ac_srcdir&;t t
13121 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13122 s&@top_srcdir@&$ac_top_srcdir&;t t
13123 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13124 s&@builddir@&$ac_builddir&;t t
13125 s&@abs_builddir@&$ac_abs_builddir&;t t
13126 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13127 s&@INSTALL@&$ac_INSTALL&;t t
13128 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13129 $ac_datarootdir_hack
13131 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13132 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13134 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13135 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13136 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13137 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13139 which seems to be undefined. Please make sure it is defined" >&5
13140 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13141 which seems to be undefined. Please make sure it is defined" >&2;}
13143 rm -f "$ac_tmp/stdin"
13145 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13146 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13148 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13152 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13153 $as_echo "$as_me: executing $ac_file commands" >&6;}
13158 case $ac_file$ac_mode in
13159 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13160 # Older Autoconf quotes --file arguments for eval, but not when files
13161 # are listed without --file. Let's play safe and only enable the eval
13162 # if we detect the quoting.
13163 case $CONFIG_FILES in
13164 *\'*) eval set x "$CONFIG_FILES" ;;
13165 *) set x $CONFIG_FILES ;;
13170 # Strip MF so we end up with the name of the file.
13171 mf=`echo "$mf" | sed -e 's/:.*$//'`
13172 # Check whether this is an Automake generated Makefile or not.
13173 # We used to match only the files named 'Makefile.in', but
13174 # some people rename them; so instead we look at the file content.
13175 # Grep'ing the first line is not enough: some people post-process
13176 # each Makefile.in and add a new line on top of each file to say so.
13177 # Grep'ing the whole file is not good either: AIX grep has a line
13178 # limit of 2048, but all sed's we know have understand at least 4000.
13179 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13180 dirpart=`$as_dirname -- "$mf" ||
13181 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13182 X"$mf" : 'X\(//\)[^/]' \| \
13183 X"$mf" : 'X\(//\)$' \| \
13184 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13190 /^X\(\/\/\)[^/].*/{
13206 # Extract the definition of DEPDIR, am__include, and am__quote
13207 # from the Makefile without running 'make'.
13208 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13209 test -z "$DEPDIR" && continue
13210 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13211 test -z "$am__include" && continue
13212 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13213 # Find all dependency output files, they are included files with
13214 # $(DEPDIR) in their names. We invoke sed twice because it is the
13215 # simplest approach to changing $(DEPDIR) to its actual value in the
13217 for file in `sed -n "
13218 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13219 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13220 # Make sure the directory exists.
13221 test -f "$dirpart/$file" && continue
13222 fdir=`$as_dirname -- "$file" ||
13223 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13224 X"$file" : 'X\(//\)[^/]' \| \
13225 X"$file" : 'X\(//\)$' \| \
13226 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13227 $as_echo X"$file" |
13228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13232 /^X\(\/\/\)[^/].*/{
13245 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13246 # echo "creating $dirpart/$file"
13247 echo '# dummy' > "$dirpart/$file"
13254 # See if we are running on zsh, and set the options which allow our
13255 # commands through without removal of \ escapes.
13256 if test -n "${ZSH_VERSION+set}" ; then
13257 setopt NO_GLOB_SUBST
13260 cfgfile="${ofile}T"
13261 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13264 cat <<_LT_EOF >> "$cfgfile"
13267 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13268 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13269 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13270 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13272 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13273 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13275 # Written by Gordon Matzigkeit, 1996
13277 # This file is part of GNU Libtool.
13279 # GNU Libtool is free software; you can redistribute it and/or
13280 # modify it under the terms of the GNU General Public License as
13281 # published by the Free Software Foundation; either version 2 of
13282 # the License, or (at your option) any later version.
13284 # As a special exception to the GNU General Public License,
13285 # if you distribute this file as part of a program or library that
13286 # is built using GNU Libtool, you may include this file under the
13287 # same distribution terms that you use for the rest of that program.
13289 # GNU Libtool is distributed in the hope that it will be useful,
13290 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13291 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13292 # GNU General Public License for more details.
13294 # You should have received a copy of the GNU General Public License
13295 # along with GNU Libtool; see the file COPYING. If not, a copy
13296 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13297 # obtained by writing to the Free Software Foundation, Inc.,
13298 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13301 # The names of the tagged configurations supported by this script.
13304 # ### BEGIN LIBTOOL CONFIG
13306 # Which release of libtool.m4 was used?
13307 macro_version=$macro_version
13308 macro_revision=$macro_revision
13310 # Whether or not to build shared libraries.
13311 build_libtool_libs=$enable_shared
13313 # Whether or not to build static libraries.
13314 build_old_libs=$enable_static
13316 # What type of objects to build.
13319 # Whether or not to optimize for fast installation.
13320 fast_install=$enable_fast_install
13322 # Shell to use when invoking shell scripts.
13325 # An echo program that protects backslashes.
13328 # The PATH separator for the build system.
13329 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13332 host_alias=$host_alias
13336 # The build system.
13337 build_alias=$build_alias
13341 # A sed program that does not truncate output.
13344 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13345 Xsed="\$SED -e 1s/^X//"
13347 # A grep program that handles long lines.
13353 # A literal string matcher.
13356 # A BSD- or MS-compatible name lister.
13359 # Whether we need soft or hard links.
13362 # What is the maximum length of a command?
13363 max_cmd_len=$max_cmd_len
13365 # Object file suffix (normally "o").
13368 # Executable file suffix (normally "").
13371 # whether the shell understands "unset".
13374 # turn spaces into newlines.
13377 # turn newlines into spaces.
13380 # convert \$build file names to \$host format.
13381 to_host_file_cmd=$lt_cv_to_host_file_cmd
13383 # convert \$build files to toolchain format.
13384 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13386 # An object symbol dumper.
13387 OBJDUMP=$lt_OBJDUMP
13389 # Method to check whether dependent libraries are shared objects.
13390 deplibs_check_method=$lt_deplibs_check_method
13392 # Command to use when deplibs_check_method = "file_magic".
13393 file_magic_cmd=$lt_file_magic_cmd
13395 # How to find potential files when deplibs_check_method = "file_magic".
13396 file_magic_glob=$lt_file_magic_glob
13398 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13399 want_nocaseglob=$lt_want_nocaseglob
13401 # DLL creation program.
13402 DLLTOOL=$lt_DLLTOOL
13404 # Command to associate shared and link libraries.
13405 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13410 # Flags to create an archive.
13411 AR_FLAGS=$lt_AR_FLAGS
13413 # How to feed a file listing to the archiver.
13414 archiver_list_spec=$lt_archiver_list_spec
13416 # A symbol stripping program.
13419 # Commands used to install an old-style archive.
13421 old_postinstall_cmds=$lt_old_postinstall_cmds
13422 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13424 # Whether to use a lock for old archive extraction.
13425 lock_old_archive_extraction=$lock_old_archive_extraction
13430 # LTCC compiler flags.
13431 LTCFLAGS=$lt_CFLAGS
13433 # Take the output of nm and produce a listing of raw symbols and C names.
13434 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13436 # Transform the output of nm in a proper C declaration.
13437 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13439 # Transform the output of nm in a C name address pair.
13440 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13442 # Transform the output of nm in a C name address pair when lib prefix is needed.
13443 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13445 # Specify filename containing input files for \$NM.
13446 nm_file_list_spec=$lt_nm_file_list_spec
13448 # The root where to search for dependent libraries,and in which our libraries should be installed.
13449 lt_sysroot=$lt_sysroot
13451 # The name of the directory that contains temporary libtool files.
13454 # Used to examine libraries when file_magic_cmd begins with "file".
13455 MAGIC_CMD=$MAGIC_CMD
13457 # Must we lock files when doing compilation?
13458 need_locks=$lt_need_locks
13461 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13463 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13464 DSYMUTIL=$lt_DSYMUTIL
13466 # Tool to change global to local symbols on Mac OS X.
13469 # Tool to manipulate fat objects and archives on Mac OS X.
13472 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13475 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13476 OTOOL64=$lt_OTOOL64
13478 # Old archive suffix (normally "a").
13481 # Shared library suffix (normally ".so").
13482 shrext_cmds=$lt_shrext_cmds
13484 # The commands to extract the exported symbol list from a shared archive.
13485 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13487 # Variables whose values should be saved in libtool wrapper scripts and
13488 # restored at link time.
13489 variables_saved_for_relink=$lt_variables_saved_for_relink
13491 # Do we need the "lib" prefix for modules?
13492 need_lib_prefix=$need_lib_prefix
13494 # Do we need a version for libraries?
13495 need_version=$need_version
13497 # Library versioning type.
13498 version_type=$version_type
13500 # Shared library runtime path variable.
13501 runpath_var=$runpath_var
13503 # Shared library path variable.
13504 shlibpath_var=$shlibpath_var
13506 # Is shlibpath searched before the hard-coded library search path?
13507 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13509 # Format of library name prefix.
13510 libname_spec=$lt_libname_spec
13512 # List of archive names. First name is the real one, the rest are links.
13513 # The last name is the one that the linker finds with -lNAME
13514 library_names_spec=$lt_library_names_spec
13516 # The coded name of the library, if different from the real name.
13517 soname_spec=$lt_soname_spec
13519 # Permission mode override for installation of shared libraries.
13520 install_override_mode=$lt_install_override_mode
13522 # Command to use after installation of a shared archive.
13523 postinstall_cmds=$lt_postinstall_cmds
13525 # Command to use after uninstallation of a shared archive.
13526 postuninstall_cmds=$lt_postuninstall_cmds
13528 # Commands used to finish a libtool library installation in a directory.
13529 finish_cmds=$lt_finish_cmds
13531 # As "finish_cmds", except a single script fragment to be evaled but
13533 finish_eval=$lt_finish_eval
13535 # Whether we should hardcode library paths into libraries.
13536 hardcode_into_libs=$hardcode_into_libs
13538 # Compile-time system search path for libraries.
13539 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13541 # Run-time system search path for libraries.
13542 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13544 # Whether dlopen is supported.
13545 dlopen_support=$enable_dlopen
13547 # Whether dlopen of programs is supported.
13548 dlopen_self=$enable_dlopen_self
13550 # Whether dlopen of statically linked programs is supported.
13551 dlopen_self_static=$enable_dlopen_self_static
13553 # Commands to strip libraries.
13554 old_striplib=$lt_old_striplib
13555 striplib=$lt_striplib
13558 # The linker used to build libraries.
13561 # How to create reloadable object files.
13562 reload_flag=$lt_reload_flag
13563 reload_cmds=$lt_reload_cmds
13565 # Commands used to build an old-style archive.
13566 old_archive_cmds=$lt_old_archive_cmds
13568 # A language specific compiler.
13571 # Is the compiler the GNU compiler?
13574 # Compiler flag to turn off builtin functions.
13575 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13577 # Additional compiler flags for building library objects.
13578 pic_flag=$lt_lt_prog_compiler_pic
13580 # How to pass a linker flag through the compiler.
13581 wl=$lt_lt_prog_compiler_wl
13583 # Compiler flag to prevent dynamic linking.
13584 link_static_flag=$lt_lt_prog_compiler_static
13586 # Does compiler simultaneously support -c and -o options?
13587 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13589 # Whether or not to add -lc for building shared libraries.
13590 build_libtool_need_lc=$archive_cmds_need_lc
13592 # Whether or not to disallow shared libs when runtime libs are static.
13593 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13595 # Compiler flag to allow reflexive dlopens.
13596 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13598 # Compiler flag to generate shared objects directly from archives.
13599 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13601 # Whether the compiler copes with passing no objects directly.
13602 compiler_needs_object=$lt_compiler_needs_object
13604 # Create an old-style archive from a shared archive.
13605 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13607 # Create a temporary old-style archive to link instead of a shared archive.
13608 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13610 # Commands used to build a shared archive.
13611 archive_cmds=$lt_archive_cmds
13612 archive_expsym_cmds=$lt_archive_expsym_cmds
13614 # Commands used to build a loadable module if different from building
13615 # a shared archive.
13616 module_cmds=$lt_module_cmds
13617 module_expsym_cmds=$lt_module_expsym_cmds
13619 # Whether we are building with GNU ld or not.
13620 with_gnu_ld=$lt_with_gnu_ld
13622 # Flag that allows shared libraries with undefined symbols to be built.
13623 allow_undefined_flag=$lt_allow_undefined_flag
13625 # Flag that enforces no undefined symbols.
13626 no_undefined_flag=$lt_no_undefined_flag
13628 # Flag to hardcode \$libdir into a binary during linking.
13629 # This must work even if \$libdir does not exist
13630 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13632 # Whether we need a single "-rpath" flag with a separated argument.
13633 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13635 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13636 # DIR into the resulting binary.
13637 hardcode_direct=$hardcode_direct
13639 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13640 # DIR into the resulting binary and the resulting library dependency is
13641 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13642 # library is relocated.
13643 hardcode_direct_absolute=$hardcode_direct_absolute
13645 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13646 # into the resulting binary.
13647 hardcode_minus_L=$hardcode_minus_L
13649 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13650 # into the resulting binary.
13651 hardcode_shlibpath_var=$hardcode_shlibpath_var
13653 # Set to "yes" if building a shared library automatically hardcodes DIR
13654 # into the library and all subsequent libraries and executables linked
13656 hardcode_automatic=$hardcode_automatic
13658 # Set to yes if linker adds runtime paths of dependent libraries
13659 # to runtime path list.
13660 inherit_rpath=$inherit_rpath
13662 # Whether libtool must link a program against all its dependency libraries.
13663 link_all_deplibs=$link_all_deplibs
13665 # Set to "yes" if exported symbols are required.
13666 always_export_symbols=$always_export_symbols
13668 # The commands to list exported symbols.
13669 export_symbols_cmds=$lt_export_symbols_cmds
13671 # Symbols that should not be listed in the preloaded symbols.
13672 exclude_expsyms=$lt_exclude_expsyms
13674 # Symbols that must always be exported.
13675 include_expsyms=$lt_include_expsyms
13677 # Commands necessary for linking programs (against libraries) with templates.
13678 prelink_cmds=$lt_prelink_cmds
13680 # Commands necessary for finishing linking programs.
13681 postlink_cmds=$lt_postlink_cmds
13683 # Specify filename containing input files.
13684 file_list_spec=$lt_file_list_spec
13686 # How to hardcode a shared library path into an executable.
13687 hardcode_action=$hardcode_action
13689 # ### END LIBTOOL CONFIG
13695 cat <<\_LT_EOF >> "$cfgfile"
13696 # AIX sometimes has problems with the GCC collect2 program. For some
13697 # reason, if we set the COLLECT_NAMES environment variable, the problems
13698 # vanish in a puff of smoke.
13699 if test "X${COLLECT_NAMES+set}" != Xset; then
13701 export COLLECT_NAMES
13708 ltmain="$ac_aux_dir/ltmain.sh"
13711 # We use sed instead of cat because bash on DJGPP gets confused if
13712 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13713 # text mode, it properly converts lines to CR/LF. This bash problem
13714 # is reportedly fixed, but why not run on old versions too?
13715 sed '$q' "$ltmain" >> "$cfgfile" \
13716 || (rm -f "$cfgfile"; exit 1)
13718 if test x"$xsi_shell" = xyes; then
13719 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13723 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13724 \ * ) func_dirname_result="${3}" ;;\
13726 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13727 && mv -f "$cfgfile.tmp" "$cfgfile" \
13728 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13729 test 0 -eq $? || _lt_function_replace_fail=:
13732 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13735 \ func_basename_result="${1##*/}"\
13736 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13737 && mv -f "$cfgfile.tmp" "$cfgfile" \
13738 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13739 test 0 -eq $? || _lt_function_replace_fail=:
13742 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13743 func_dirname_and_basename ()\
13746 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13747 \ * ) func_dirname_result="${3}" ;;\
13749 \ func_basename_result="${1##*/}"\
13750 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13751 && mv -f "$cfgfile.tmp" "$cfgfile" \
13752 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13753 test 0 -eq $? || _lt_function_replace_fail=:
13756 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13759 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13760 \ # positional parameters, so assign one to ordinary parameter first.\
13761 \ func_stripname_result=${3}\
13762 \ func_stripname_result=${func_stripname_result#"${1}"}\
13763 \ func_stripname_result=${func_stripname_result%"${2}"}\
13764 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13765 && mv -f "$cfgfile.tmp" "$cfgfile" \
13766 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13767 test 0 -eq $? || _lt_function_replace_fail=:
13770 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13771 func_split_long_opt ()\
13773 \ func_split_long_opt_name=${1%%=*}\
13774 \ func_split_long_opt_arg=${1#*=}\
13775 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13776 && mv -f "$cfgfile.tmp" "$cfgfile" \
13777 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13778 test 0 -eq $? || _lt_function_replace_fail=:
13781 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13782 func_split_short_opt ()\
13784 \ func_split_short_opt_arg=${1#??}\
13785 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13786 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13787 && mv -f "$cfgfile.tmp" "$cfgfile" \
13788 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13789 test 0 -eq $? || _lt_function_replace_fail=:
13792 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13796 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13797 \ *) func_lo2o_result=${1} ;;\
13799 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13800 && mv -f "$cfgfile.tmp" "$cfgfile" \
13801 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13802 test 0 -eq $? || _lt_function_replace_fail=:
13805 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13808 func_xform_result=${1%.*}.lo\
13809 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13810 && mv -f "$cfgfile.tmp" "$cfgfile" \
13811 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13812 test 0 -eq $? || _lt_function_replace_fail=:
13815 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13818 func_arith_result=$(( $* ))\
13819 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13820 && mv -f "$cfgfile.tmp" "$cfgfile" \
13821 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13822 test 0 -eq $? || _lt_function_replace_fail=:
13825 sed -e '/^func_len ()$/,/^} # func_len /c\
13828 func_len_result=${#1}\
13829 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13830 && mv -f "$cfgfile.tmp" "$cfgfile" \
13831 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13832 test 0 -eq $? || _lt_function_replace_fail=:
13836 if test x"$lt_shell_append" = xyes; then
13837 sed -e '/^func_append ()$/,/^} # func_append /c\
13840 eval "${1}+=\\${2}"\
13841 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13842 && mv -f "$cfgfile.tmp" "$cfgfile" \
13843 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13844 test 0 -eq $? || _lt_function_replace_fail=:
13847 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13848 func_append_quoted ()\
13850 \ func_quote_for_eval "${2}"\
13851 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13852 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13853 && mv -f "$cfgfile.tmp" "$cfgfile" \
13854 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13855 test 0 -eq $? || _lt_function_replace_fail=:
13858 # Save a `func_append' function call where possible by direct use of '+='
13859 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13860 && mv -f "$cfgfile.tmp" "$cfgfile" \
13861 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13862 test 0 -eq $? || _lt_function_replace_fail=:
13864 # Save a `func_append' function call even when '+=' is not available
13865 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13866 && mv -f "$cfgfile.tmp" "$cfgfile" \
13867 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13868 test 0 -eq $? || _lt_function_replace_fail=:
13871 if test x"$_lt_function_replace_fail" = x":"; then
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13873 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13877 mv -f "$cfgfile" "$ofile" ||
13878 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13889 ac_clean_files=$ac_clean_files_save
13891 test $ac_write_fail = 0 ||
13892 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13895 # configure is writing to config.log, and then calls config.status.
13896 # config.status does its own redirection, appending to config.log.
13897 # Unfortunately, on DOS this fails, as config.log is still kept open
13898 # by configure, so config.status won't be able to write to it; its
13899 # output is simply discarded. So we exec the FD to /dev/null,
13900 # effectively closing config.log, so it can be properly (re)opened and
13901 # appended to by config.status. When coming back to configure, we
13902 # need to make the FD available again.
13903 if test "$no_create" != yes; then
13905 ac_config_status_args=
13906 test "$silent" = yes &&
13907 ac_config_status_args="$ac_config_status_args --quiet"
13909 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13911 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13912 # would make configure fail if this is the last instruction.
13913 $ac_cs_success || as_fn_exit 1
13915 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13917 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}