2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for mech_eap 1.0.1.
5 # Report bugs to <bugs@project-moonshot.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: bugs@project-moonshot.org about your system, including
279 $0: any error possibly output before this message. Then
280 $0: install a modern shell, or manually run the script
281 $0: under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='mech_eap'
592 PACKAGE_TARNAME='mech_eap'
593 PACKAGE_VERSION='1.0.1'
594 PACKAGE_STRING='mech_eap 1.0.1'
595 PACKAGE_BUGREPORT='bugs@project-moonshot.org'
598 # Factoring default headers for most tests.
599 ac_includes_default="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
634 ac_subst_vars='am__EXEEXT_FALSE
658 SHIBRESOLVER_CXXFLAGS
674 GSSEAP_ENABLE_ACCEPTOR_FALSE
675 GSSEAP_ENABLE_ACCEPTOR_TRUE
676 GSSEAP_ENABLE_REAUTH_FALSE
677 GSSEAP_ENABLE_REAUTH_TRUE
716 MAINTAINER_MODE_FALSE
740 INSTALL_STRIP_PROGRAM
793 program_transform_name
806 enable_option_checking
807 enable_dependency_tracking
809 enable_maintainer_mode
829 ac_precious_vars='build_alias
845 # Initialize some variables set by options.
847 ac_init_version=false
848 ac_unrecognized_opts=
850 # The variables have the same names as the options, with
851 # dashes changed to underlines.
859 program_transform_name=s,x,x,
867 # Installation directory options.
868 # These are left unexpanded so users can "make install exec_prefix=/foo"
869 # and all the variables that are supposed to be based on exec_prefix
870 # by default will actually change.
871 # Use braces instead of parens because sh, perl, etc. also accept them.
872 # (The list follows the same order as the GNU Coding Standards.)
873 bindir='${exec_prefix}/bin'
874 sbindir='${exec_prefix}/sbin'
875 libexecdir='${exec_prefix}/libexec'
876 datarootdir='${prefix}/share'
877 datadir='${datarootdir}'
878 sysconfdir='${prefix}/etc'
879 sharedstatedir='${prefix}/com'
880 localstatedir='${prefix}/var'
881 runstatedir='${localstatedir}/run'
882 includedir='${prefix}/include'
883 oldincludedir='/usr/include'
884 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
885 infodir='${datarootdir}/info'
890 libdir='${exec_prefix}/lib'
891 localedir='${datarootdir}/locale'
892 mandir='${datarootdir}/man'
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\$ac_option
906 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir | --bindir | --bindi | --bind | --bin | --bi)
919 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
922 -build | --build | --buil | --bui | --bu)
923 ac_prev=build_alias ;;
924 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
925 build_alias=$ac_optarg ;;
927 -cache-file | --cache-file | --cache-fil | --cache-fi \
928 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
929 ac_prev=cache_file ;;
930 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
931 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
932 cache_file=$ac_optarg ;;
935 cache_file=config.cache ;;
937 -datadir | --datadir | --datadi | --datad)
939 -datadir=* | --datadir=* | --datadi=* | --datad=*)
940 datadir=$ac_optarg ;;
942 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
943 | --dataroo | --dataro | --datar)
944 ac_prev=datarootdir ;;
945 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
946 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
947 datarootdir=$ac_optarg ;;
949 -disable-* | --disable-*)
950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953 as_fn_error $? "invalid feature name: $ac_useropt"
954 ac_useropt_orig=$ac_useropt
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep=', ';;
963 eval enable_$ac_useropt=no ;;
965 -docdir | --docdir | --docdi | --doc | --do)
967 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
970 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
972 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
975 -enable-* | --enable-*)
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979 as_fn_error $? "invalid feature name: $ac_useropt"
980 ac_useropt_orig=$ac_useropt
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987 ac_unrecognized_sep=', ';;
989 eval enable_$ac_useropt=\$ac_optarg ;;
991 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
992 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
993 | --exec | --exe | --ex)
994 ac_prev=exec_prefix ;;
995 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
996 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
997 | --exec=* | --exe=* | --ex=*)
998 exec_prefix=$ac_optarg ;;
1000 -gas | --gas | --ga | --g)
1001 # Obsolete; use --with-gas.
1004 -help | --help | --hel | --he | -h)
1005 ac_init_help=long ;;
1006 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1007 ac_init_help=recursive ;;
1008 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1009 ac_init_help=short ;;
1011 -host | --host | --hos | --ho)
1012 ac_prev=host_alias ;;
1013 -host=* | --host=* | --hos=* | --ho=*)
1014 host_alias=$ac_optarg ;;
1016 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1018 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1020 htmldir=$ac_optarg ;;
1022 -includedir | --includedir | --includedi | --included | --include \
1023 | --includ | --inclu | --incl | --inc)
1024 ac_prev=includedir ;;
1025 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1026 | --includ=* | --inclu=* | --incl=* | --inc=*)
1027 includedir=$ac_optarg ;;
1029 -infodir | --infodir | --infodi | --infod | --info | --inf)
1031 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1032 infodir=$ac_optarg ;;
1034 -libdir | --libdir | --libdi | --libd)
1036 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1037 libdir=$ac_optarg ;;
1039 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1040 | --libexe | --libex | --libe)
1041 ac_prev=libexecdir ;;
1042 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1043 | --libexe=* | --libex=* | --libe=*)
1044 libexecdir=$ac_optarg ;;
1046 -localedir | --localedir | --localedi | --localed | --locale)
1047 ac_prev=localedir ;;
1048 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1049 localedir=$ac_optarg ;;
1051 -localstatedir | --localstatedir | --localstatedi | --localstated \
1052 | --localstate | --localstat | --localsta | --localst | --locals)
1053 ac_prev=localstatedir ;;
1054 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1055 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1056 localstatedir=$ac_optarg ;;
1058 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1060 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1061 mandir=$ac_optarg ;;
1063 -nfp | --nfp | --nf)
1064 # Obsolete; use --without-fp.
1067 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1068 | --no-cr | --no-c | -n)
1071 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1072 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1075 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1076 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1077 | --oldin | --oldi | --old | --ol | --o)
1078 ac_prev=oldincludedir ;;
1079 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1080 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1081 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1082 oldincludedir=$ac_optarg ;;
1084 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1086 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1087 prefix=$ac_optarg ;;
1089 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1090 | --program-pre | --program-pr | --program-p)
1091 ac_prev=program_prefix ;;
1092 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1093 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1094 program_prefix=$ac_optarg ;;
1096 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1097 | --program-suf | --program-su | --program-s)
1098 ac_prev=program_suffix ;;
1099 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1100 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1101 program_suffix=$ac_optarg ;;
1103 -program-transform-name | --program-transform-name \
1104 | --program-transform-nam | --program-transform-na \
1105 | --program-transform-n | --program-transform- \
1106 | --program-transform | --program-transfor \
1107 | --program-transfo | --program-transf \
1108 | --program-trans | --program-tran \
1109 | --progr-tra | --program-tr | --program-t)
1110 ac_prev=program_transform_name ;;
1111 -program-transform-name=* | --program-transform-name=* \
1112 | --program-transform-nam=* | --program-transform-na=* \
1113 | --program-transform-n=* | --program-transform-=* \
1114 | --program-transform=* | --program-transfor=* \
1115 | --program-transfo=* | --program-transf=* \
1116 | --program-trans=* | --program-tran=* \
1117 | --progr-tra=* | --program-tr=* | --program-t=*)
1118 program_transform_name=$ac_optarg ;;
1120 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1122 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1123 pdfdir=$ac_optarg ;;
1125 -psdir | --psdir | --psdi | --psd | --ps)
1127 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1131 | -silent | --silent | --silen | --sile | --sil)
1134 -runstatedir | --runstatedir | --runstatedi | --runstated \
1135 | --runstate | --runstat | --runsta | --runst | --runs \
1136 | --run | --ru | --r)
1137 ac_prev=runstatedir ;;
1138 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1139 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1140 | --run=* | --ru=* | --r=*)
1141 runstatedir=$ac_optarg ;;
1143 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1145 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1147 sbindir=$ac_optarg ;;
1149 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1150 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1151 | --sharedst | --shareds | --shared | --share | --shar \
1153 ac_prev=sharedstatedir ;;
1154 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1155 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1156 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1158 sharedstatedir=$ac_optarg ;;
1160 -site | --site | --sit)
1162 -site=* | --site=* | --sit=*)
1165 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1167 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1168 srcdir=$ac_optarg ;;
1170 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1171 | --syscon | --sysco | --sysc | --sys | --sy)
1172 ac_prev=sysconfdir ;;
1173 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1174 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1175 sysconfdir=$ac_optarg ;;
1177 -target | --target | --targe | --targ | --tar | --ta | --t)
1178 ac_prev=target_alias ;;
1179 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1180 target_alias=$ac_optarg ;;
1182 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1185 -version | --version | --versio | --versi | --vers | -V)
1186 ac_init_version=: ;;
1189 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1192 as_fn_error $? "invalid package name: $ac_useropt"
1193 ac_useropt_orig=$ac_useropt
1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1200 ac_unrecognized_sep=', ';;
1202 eval with_$ac_useropt=\$ac_optarg ;;
1204 -without-* | --without-*)
1205 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1206 # Reject names that are not valid shell variable names.
1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1208 as_fn_error $? "invalid package name: $ac_useropt"
1209 ac_useropt_orig=$ac_useropt
1210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1211 case $ac_user_opts in
1215 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1216 ac_unrecognized_sep=', ';;
1218 eval with_$ac_useropt=no ;;
1221 # Obsolete; use --with-x.
1224 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1225 | --x-incl | --x-inc | --x-in | --x-i)
1226 ac_prev=x_includes ;;
1227 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1228 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1229 x_includes=$ac_optarg ;;
1231 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1232 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1233 ac_prev=x_libraries ;;
1234 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1235 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1236 x_libraries=$ac_optarg ;;
1238 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1239 Try \`$0 --help' for more information"
1243 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1244 # Reject names that are not valid shell variable names.
1245 case $ac_envvar in #(
1246 '' | [0-9]* | *[!_$as_cr_alnum]* )
1247 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1249 eval $ac_envvar=\$ac_optarg
1250 export $ac_envvar ;;
1253 # FIXME: should be removed in autoconf 3.0.
1254 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1255 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1256 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1257 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1263 if test -n "$ac_prev"; then
1264 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1265 as_fn_error $? "missing argument to $ac_option"
1268 if test -n "$ac_unrecognized_opts"; then
1269 case $enable_option_checking in
1271 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1276 # Check all directory arguments for consistency.
1277 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1278 datadir sysconfdir sharedstatedir localstatedir includedir \
1279 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1280 libdir localedir mandir runstatedir
1282 eval ac_val=\$$ac_var
1283 # Remove trailing slashes.
1286 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1287 eval $ac_var=\$ac_val;;
1289 # Be sure to have absolute directory names.
1291 [\\/$]* | ?:[\\/]* ) continue;;
1292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1294 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1297 # There might be people who depend on the old broken behavior: `$host'
1298 # used to hold the argument of --host etc.
1299 # FIXME: To remove some day.
1302 target=$target_alias
1304 # FIXME: To remove some day.
1305 if test "x$host_alias" != x; then
1306 if test "x$build_alias" = x; then
1307 cross_compiling=maybe
1308 elif test "x$build_alias" != "x$host_alias"; then
1314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1316 test "$silent" = yes && exec 6>/dev/null
1319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di=`ls -di .` &&
1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1322 as_fn_error $? "working directory cannot be determined"
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 as_fn_error $? "pwd does not report name of working directory"
1327 # Find the source files, if location was not specified.
1328 if test -z "$srcdir"; then
1329 ac_srcdir_defaulted=yes
1330 # Try the directory containing this script, then the parent directory.
1331 ac_confdir=`$as_dirname -- "$as_myself" ||
1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1333 X"$as_myself" : 'X\(//\)[^/]' \| \
1334 X"$as_myself" : 'X\(//\)$' \| \
1335 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1336 $as_echo X"$as_myself" |
1337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1359 ac_srcdir_defaulted=no
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1363 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1369 # When building in place, set srcdir=.
1370 if test "$ac_abs_confdir" = "$ac_pwd"; then
1373 # Remove unnecessary trailing slashes from srcdir.
1374 # Double slashes in file names in object file debugging info
1375 # mess up M-x gdb in Emacs.
1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1379 for ac_var in $ac_precious_vars; do
1380 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1381 eval ac_env_${ac_var}_value=\$${ac_var}
1382 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1383 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1387 # Report the --help message.
1389 if test "$ac_init_help" = "long"; then
1390 # Omit some internal or obsolete options to make the list less imposing.
1391 # This message is too long to be a string in the A/UX 3.1 sh.
1393 \`configure' configures mech_eap 1.0.1 to adapt to many kinds of systems.
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE. See below for descriptions of some of the useful variables.
1400 Defaults for the options are specified in brackets.
1403 -h, --help display this help and exit
1404 --help=short display options specific to this package
1405 --help=recursive display the short help of all the included packages
1406 -V, --version display version information and exit
1407 -q, --quiet, --silent do not print \`checking ...' messages
1408 --cache-file=FILE cache test results in FILE [disabled]
1409 -C, --config-cache alias for \`--cache-file=config.cache'
1410 -n, --no-create do not create output files
1411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 Installation directories:
1414 --prefix=PREFIX install architecture-independent files in PREFIX
1415 [$ac_default_prefix]
1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1424 For better control, use the options below.
1426 Fine tuning of the installation directories:
1427 --bindir=DIR user executables [EPREFIX/bin]
1428 --sbindir=DIR system admin executables [EPREFIX/sbin]
1429 --libexecdir=DIR program executables [EPREFIX/libexec]
1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1433 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1434 --libdir=DIR object code libraries [EPREFIX/lib]
1435 --includedir=DIR C header files [PREFIX/include]
1436 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1437 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1438 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1439 --infodir=DIR info documentation [DATAROOTDIR/info]
1440 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1441 --mandir=DIR man documentation [DATAROOTDIR/man]
1442 --docdir=DIR documentation root [DATAROOTDIR/doc/mech_eap]
1443 --htmldir=DIR html documentation [DOCDIR]
1444 --dvidir=DIR dvi documentation [DOCDIR]
1445 --pdfdir=DIR pdf documentation [DOCDIR]
1446 --psdir=DIR ps documentation [DOCDIR]
1452 --program-prefix=PREFIX prepend PREFIX to installed program names
1453 --program-suffix=SUFFIX append SUFFIX to installed program names
1454 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1457 --build=BUILD configure for building on BUILD [guessed]
1458 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1462 if test -n "$ac_init_help"; then
1463 case $ac_init_help in
1464 short | recursive ) echo "Configuration of mech_eap 1.0.1:";;
1469 --disable-option-checking ignore unrecognized --enable/--with options
1470 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1471 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1472 --enable-dependency-tracking
1473 do not reject slow dependency extractors
1474 --disable-dependency-tracking
1475 speeds up one-time build
1476 --enable-silent-rules less verbose build output (undo: "make V=1")
1477 --disable-silent-rules verbose build output (undo: "make V=0")
1478 --enable-maintainer-mode
1479 enable make rules and dependencies not useful (and
1480 sometimes confusing) to the casual installer
1481 --enable-static[=PKGS] build static libraries [default=no]
1482 --enable-shared[=PKGS] build shared libraries [default=yes]
1483 --enable-fast-install[=PKGS]
1484 optimize for fast installation [default=yes]
1485 --disable-libtool-lock avoid locking (might break parallel builds)
1486 --enable-reauth whether to enable fast reauthentication protocol: yes/no; default no
1487 --enable-acceptor whether to enable acceptor codepaths: yes/no; default yes
1490 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1491 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1492 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1494 --with-aix-soname=aix|svr4|both
1495 shared library versioning (aka "SONAME") variant to
1496 provide on AIX, [default=aix].
1497 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1498 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1499 compiler's sysroot if not specified).
1500 --with-krb5 Use krb5 (in specified installation directory)
1501 --with-opensaml Use OpenSAML (in specified installation directory)
1502 --with-shibresolver Use Shibboleth resolver (in specified installation
1504 --with-shibsp Use shibspboleth (in specified installation
1506 --with-openssl Use OpenSSL (in specified installation directory)
1507 --with-radsec Use radsec (in specified installation directory)
1508 --with-jansson Use jansson (in specified installation directory)
1509 --with-libmoonshot Use libmoonshot (in specified installation
1512 Some influential environment variables:
1513 CC C compiler command
1514 CFLAGS C compiler flags
1515 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1516 nonstandard directory <lib dir>
1517 LIBS libraries to pass to the linker, e.g. -l<library>
1518 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1519 you have headers in a nonstandard directory <include dir>
1522 User-defined run-time library search path.
1523 CXX C++ compiler command
1524 CXXFLAGS C++ compiler flags
1525 CXXCPP C++ preprocessor
1527 Use these variables to override the choices made by `configure' or to help
1528 it to find libraries and programs with nonstandard names/locations.
1530 Report bugs to <bugs@project-moonshot.org>.
1535 if test "$ac_init_help" = "recursive"; then
1536 # If there are subdirs, report their specific --help.
1537 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1538 test -d "$ac_dir" ||
1539 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1546 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1547 # A ".." for each directory in $ac_dir_suffix.
1548 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1549 case $ac_top_builddir_sub in
1550 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1551 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1554 ac_abs_top_builddir=$ac_pwd
1555 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1556 # for backward compatibility:
1557 ac_top_builddir=$ac_top_build_prefix
1560 .) # We are building in place.
1562 ac_top_srcdir=$ac_top_builddir_sub
1563 ac_abs_top_srcdir=$ac_pwd ;;
1564 [\\/]* | ?:[\\/]* ) # Absolute name.
1565 ac_srcdir=$srcdir$ac_dir_suffix;
1566 ac_top_srcdir=$srcdir
1567 ac_abs_top_srcdir=$srcdir ;;
1569 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1570 ac_top_srcdir=$ac_top_build_prefix$srcdir
1571 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1573 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1575 cd "$ac_dir" || { ac_status=$?; continue; }
1576 # Check for guested configure.
1577 if test -f "$ac_srcdir/configure.gnu"; then
1579 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1580 elif test -f "$ac_srcdir/configure"; then
1582 $SHELL "$ac_srcdir/configure" --help=recursive
1584 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1586 cd "$ac_pwd" || { ac_status=$?; break; }
1590 test -n "$ac_init_help" && exit $ac_status
1591 if $ac_init_version; then
1593 mech_eap configure 1.0.1
1594 generated by GNU Autoconf 2.69
1596 Copyright (C) 2012 Free Software Foundation, Inc.
1597 This configure script is free software; the Free Software Foundation
1598 gives unlimited permission to copy, distribute and modify it.
1603 ## ------------------------ ##
1604 ## Autoconf initialization. ##
1605 ## ------------------------ ##
1607 # ac_fn_c_try_compile LINENO
1608 # --------------------------
1609 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1610 ac_fn_c_try_compile ()
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 rm -f conftest.$ac_objext
1614 if { { ac_try="$ac_compile"
1616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1617 *) ac_try_echo=$ac_try;;
1619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_compile") 2>conftest.err
1623 if test -s conftest.err; then
1624 grep -v '^ *+' conftest.err >conftest.er1
1625 cat conftest.er1 >&5
1626 mv -f conftest.er1 conftest.err
1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629 test $ac_status = 0; } && {
1630 test -z "$ac_c_werror_flag" ||
1631 test ! -s conftest.err
1632 } && test -s conftest.$ac_objext; then :
1635 $as_echo "$as_me: failed program was:" >&5
1636 sed 's/^/| /' conftest.$ac_ext >&5
1640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1641 as_fn_set_status $ac_retval
1643 } # ac_fn_c_try_compile
1645 # ac_fn_c_try_cpp LINENO
1646 # ----------------------
1647 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651 if { { ac_try="$ac_cpp conftest.$ac_ext"
1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1654 *) ac_try_echo=$ac_try;;
1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657 $as_echo "$ac_try_echo"; } >&5
1658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1660 if test -s conftest.err; then
1661 grep -v '^ *+' conftest.err >conftest.er1
1662 cat conftest.er1 >&5
1663 mv -f conftest.er1 conftest.err
1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666 test $ac_status = 0; } > conftest.i && {
1667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1668 test ! -s conftest.err
1672 $as_echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.$ac_ext >&5
1677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1678 as_fn_set_status $ac_retval
1682 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1683 # -------------------------------------------------------
1684 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1685 # the include files in INCLUDES and setting the cache variable VAR
1687 ac_fn_c_check_header_mongrel ()
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 if eval \${$3+:} false; then :
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692 $as_echo_n "checking for $2... " >&6; }
1693 if eval \${$3+:} false; then :
1694 $as_echo_n "(cached) " >&6
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698 $as_echo "$ac_res" >&6; }
1700 # Is the header compilable?
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1702 $as_echo_n "checking $2 usability... " >&6; }
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1708 if ac_fn_c_try_compile "$LINENO"; then :
1709 ac_header_compiler=yes
1711 ac_header_compiler=no
1713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1715 $as_echo "$ac_header_compiler" >&6; }
1717 # Is the header present?
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1719 $as_echo_n "checking $2 presence... " >&6; }
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h. */
1724 if ac_fn_c_try_cpp "$LINENO"; then :
1725 ac_header_preproc=yes
1727 ac_header_preproc=no
1729 rm -f conftest.err conftest.i conftest.$ac_ext
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1731 $as_echo "$ac_header_preproc" >&6; }
1733 # So? What about this header?
1734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1737 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1739 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1743 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1745 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1747 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1749 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1751 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1752 ( $as_echo "## ---------------------------------------- ##
1753 ## Report this to bugs@project-moonshot.org ##
1754 ## ---------------------------------------- ##"
1755 ) | sed "s/^/$as_me: WARNING: /" >&2
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759 $as_echo_n "checking for $2... " >&6; }
1760 if eval \${$3+:} false; then :
1761 $as_echo_n "(cached) " >&6
1763 eval "$3=\$ac_header_compiler"
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767 $as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 } # ac_fn_c_check_header_mongrel
1773 # ac_fn_c_try_run LINENO
1774 # ----------------------
1775 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1776 # that executables *can* be run.
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_link"
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_link") 2>&5
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1791 { { case "(($ac_try" in
1792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_try") 2>&5
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; }; }; then :
1803 $as_echo "$as_me: program exited with status $ac_status" >&5
1804 $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1807 ac_retval=$ac_status
1809 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 as_fn_set_status $ac_retval
1815 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1816 # -------------------------------------------------------
1817 # Tests whether HEADER exists and can be compiled using the include files in
1818 # INCLUDES, setting the cache variable VAR accordingly.
1819 ac_fn_c_check_header_compile ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if eval \${$3+:} false; then :
1825 $as_echo_n "(cached) " >&6
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1832 if ac_fn_c_try_compile "$LINENO"; then :
1837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841 $as_echo "$ac_res" >&6; }
1842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844 } # ac_fn_c_check_header_compile
1846 # ac_fn_c_try_link LINENO
1847 # -----------------------
1848 # Try to link conftest.$ac_ext, and return whether this succeeded.
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 rm -f conftest.$ac_objext conftest$ac_exeext
1853 if { { ac_try="$ac_link"
1855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1856 *) ac_try_echo=$ac_try;;
1858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_link") 2>conftest.err
1862 if test -s conftest.err; then
1863 grep -v '^ *+' conftest.err >conftest.er1
1864 cat conftest.er1 >&5
1865 mv -f conftest.er1 conftest.err
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; } && {
1869 test -z "$ac_c_werror_flag" ||
1870 test ! -s conftest.err
1871 } && test -s conftest$ac_exeext && {
1872 test "$cross_compiling" = yes ||
1873 test -x conftest$ac_exeext
1877 $as_echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.$ac_ext >&5
1882 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1883 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1884 # interfere with the next link command; also delete a directory that is
1885 # left behind by Apple's compiler. We do this before executing the actions.
1886 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888 as_fn_set_status $ac_retval
1890 } # ac_fn_c_try_link
1892 # ac_fn_c_check_func LINENO FUNC VAR
1893 # ----------------------------------
1894 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1895 ac_fn_c_check_func ()
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899 $as_echo_n "checking for $2... " >&6; }
1900 if eval \${$3+:} false; then :
1901 $as_echo_n "(cached) " >&6
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1905 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1907 #define $2 innocuous_$2
1909 /* System header to define __stub macros and hopefully few prototypes,
1910 which can conflict with char $2 (); below.
1911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1912 <limits.h> exists even on freestanding compilers. */
1915 # include <limits.h>
1917 # include <assert.h>
1922 /* Override any GCC internal prototype to avoid an error.
1923 Use char because int might match the return type of a GCC
1924 builtin and then its argument prototype would still apply. */
1929 /* The GNU C library defines this for functions which it implements
1930 to always fail with ENOSYS. Some functions are actually named
1931 something starting with __ and the normal name is an alias. */
1932 #if defined __stub_$2 || defined __stub___$2
1944 if ac_fn_c_try_link "$LINENO"; then :
1949 rm -f core conftest.err conftest.$ac_objext \
1950 conftest$ac_exeext conftest.$ac_ext
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957 } # ac_fn_c_check_func
1959 # ac_fn_cxx_try_compile LINENO
1960 # ----------------------------
1961 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1962 ac_fn_cxx_try_compile ()
1964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965 rm -f conftest.$ac_objext
1966 if { { ac_try="$ac_compile"
1968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1969 *) ac_try_echo=$ac_try;;
1971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1972 $as_echo "$ac_try_echo"; } >&5
1973 (eval "$ac_compile") 2>conftest.err
1975 if test -s conftest.err; then
1976 grep -v '^ *+' conftest.err >conftest.er1
1977 cat conftest.er1 >&5
1978 mv -f conftest.er1 conftest.err
1980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1981 test $ac_status = 0; } && {
1982 test -z "$ac_cxx_werror_flag" ||
1983 test ! -s conftest.err
1984 } && test -s conftest.$ac_objext; then :
1987 $as_echo "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.$ac_ext >&5
1992 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993 as_fn_set_status $ac_retval
1995 } # ac_fn_cxx_try_compile
1997 # ac_fn_cxx_try_cpp LINENO
1998 # ------------------------
1999 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2000 ac_fn_cxx_try_cpp ()
2002 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003 if { { ac_try="$ac_cpp conftest.$ac_ext"
2005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2006 *) ac_try_echo=$ac_try;;
2008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2009 $as_echo "$ac_try_echo"; } >&5
2010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2012 if test -s conftest.err; then
2013 grep -v '^ *+' conftest.err >conftest.er1
2014 cat conftest.er1 >&5
2015 mv -f conftest.er1 conftest.err
2017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2018 test $ac_status = 0; } > conftest.i && {
2019 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2020 test ! -s conftest.err
2024 $as_echo "$as_me: failed program was:" >&5
2025 sed 's/^/| /' conftest.$ac_ext >&5
2029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030 as_fn_set_status $ac_retval
2032 } # ac_fn_cxx_try_cpp
2034 # ac_fn_cxx_try_link LINENO
2035 # -------------------------
2036 # Try to link conftest.$ac_ext, and return whether this succeeded.
2037 ac_fn_cxx_try_link ()
2039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040 rm -f conftest.$ac_objext conftest$ac_exeext
2041 if { { ac_try="$ac_link"
2043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2044 *) ac_try_echo=$ac_try;;
2046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2047 $as_echo "$ac_try_echo"; } >&5
2048 (eval "$ac_link") 2>conftest.err
2050 if test -s conftest.err; then
2051 grep -v '^ *+' conftest.err >conftest.er1
2052 cat conftest.er1 >&5
2053 mv -f conftest.er1 conftest.err
2055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2056 test $ac_status = 0; } && {
2057 test -z "$ac_cxx_werror_flag" ||
2058 test ! -s conftest.err
2059 } && test -s conftest$ac_exeext && {
2060 test "$cross_compiling" = yes ||
2061 test -x conftest$ac_exeext
2065 $as_echo "$as_me: failed program was:" >&5
2066 sed 's/^/| /' conftest.$ac_ext >&5
2070 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2071 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2072 # interfere with the next link command; also delete a directory that is
2073 # left behind by Apple's compiler. We do this before executing the actions.
2074 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076 as_fn_set_status $ac_retval
2078 } # ac_fn_cxx_try_link
2080 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2081 # -------------------------------------------
2082 # Tests whether TYPE exists after having included INCLUDES, setting cache
2083 # variable VAR accordingly.
2084 ac_fn_c_check_type ()
2086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2088 $as_echo_n "checking for $2... " >&6; }
2089 if eval \${$3+:} false; then :
2090 $as_echo_n "(cached) " >&6
2093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h. */
2105 if ac_fn_c_try_compile "$LINENO"; then :
2106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2118 if ac_fn_c_try_compile "$LINENO"; then :
2123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129 $as_echo "$ac_res" >&6; }
2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 } # ac_fn_c_check_type
2133 cat >config.log <<_ACEOF
2134 This file contains any messages produced by compilers while
2135 running configure, to aid debugging if configure makes a mistake.
2137 It was created by mech_eap $as_me 1.0.1, which was
2138 generated by GNU Autoconf 2.69. Invocation command line was
2150 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2151 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2152 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2153 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2154 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2156 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2157 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2159 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2160 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2161 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2162 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2163 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2164 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2165 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir=.
2174 $as_echo "PATH: $as_dir"
2190 # Keep a trace of the command line.
2191 # Strip out --no-create and --no-recursion so they do not pile up.
2192 # Strip out --silent because we don't want to record it for future runs.
2193 # Also quote any args containing shell meta-characters.
2194 # Make two passes to allow for proper duplicate-argument suppression.
2198 ac_must_keep_next=false
2204 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2205 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2206 | -silent | --silent | --silen | --sile | --sil)
2209 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2212 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2214 as_fn_append ac_configure_args1 " '$ac_arg'"
2215 if test $ac_must_keep_next = true; then
2216 ac_must_keep_next=false # Got value, back to normal.
2219 *=* | --config-cache | -C | -disable-* | --disable-* \
2220 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2221 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2222 | -with-* | --with-* | -without-* | --without-* | --x)
2223 case "$ac_configure_args0 " in
2224 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2227 -* ) ac_must_keep_next=true ;;
2230 as_fn_append ac_configure_args " '$ac_arg'"
2235 { ac_configure_args0=; unset ac_configure_args0;}
2236 { ac_configure_args1=; unset ac_configure_args1;}
2238 # When interrupted or exit'd, cleanup temporary files, and complete
2239 # config.log. We remove comments because anyway the quotes in there
2240 # would cause problems or look ugly.
2241 # WARNING: Use '\'' to represent an apostrophe within the trap.
2242 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2243 trap 'exit_status=$?
2244 # Save into config.log some information that might help in debugging.
2248 $as_echo "## ---------------- ##
2249 ## Cache variables. ##
2250 ## ---------------- ##"
2252 # The following way of writing the cache mishandles newlines in values,
2254 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2255 eval ac_val=\$$ac_var
2259 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2260 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2263 _ | IFS | as_nl) ;; #(
2264 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2265 *) { eval $ac_var=; unset $ac_var;} ;;
2270 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2271 *${as_nl}ac_space=\ *)
2273 "s/'\''/'\''\\\\'\'''\''/g;
2274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2277 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2284 $as_echo "## ----------------- ##
2285 ## Output variables. ##
2286 ## ----------------- ##"
2288 for ac_var in $ac_subst_vars
2290 eval ac_val=\$$ac_var
2292 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2294 $as_echo "$ac_var='\''$ac_val'\''"
2298 if test -n "$ac_subst_files"; then
2299 $as_echo "## ------------------- ##
2300 ## File substitutions. ##
2301 ## ------------------- ##"
2303 for ac_var in $ac_subst_files
2305 eval ac_val=\$$ac_var
2307 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2309 $as_echo "$ac_var='\''$ac_val'\''"
2314 if test -s confdefs.h; then
2315 $as_echo "## ----------- ##
2322 test "$ac_signal" != 0 &&
2323 $as_echo "$as_me: caught signal $ac_signal"
2324 $as_echo "$as_me: exit $exit_status"
2326 rm -f core *.core core.conftest.* &&
2327 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2330 for ac_signal in 1 2 13 15; do
2331 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2336 rm -f -r conftest* confdefs.h
2338 $as_echo "/* confdefs.h */" > confdefs.h
2340 # Predefined preprocessor variables.
2342 cat >>confdefs.h <<_ACEOF
2343 #define PACKAGE_NAME "$PACKAGE_NAME"
2346 cat >>confdefs.h <<_ACEOF
2347 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2350 cat >>confdefs.h <<_ACEOF
2351 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2354 cat >>confdefs.h <<_ACEOF
2355 #define PACKAGE_STRING "$PACKAGE_STRING"
2358 cat >>confdefs.h <<_ACEOF
2359 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2362 cat >>confdefs.h <<_ACEOF
2363 #define PACKAGE_URL "$PACKAGE_URL"
2367 # Let the site file select an alternate cache file if it wants to.
2368 # Prefer an explicitly selected file to automatically selected ones.
2371 if test -n "$CONFIG_SITE"; then
2372 # We do not want a PATH search for config.site.
2373 case $CONFIG_SITE in #((
2374 -*) ac_site_file1=./$CONFIG_SITE;;
2375 */*) ac_site_file1=$CONFIG_SITE;;
2376 *) ac_site_file1=./$CONFIG_SITE;;
2378 elif test "x$prefix" != xNONE; then
2379 ac_site_file1=$prefix/share/config.site
2380 ac_site_file2=$prefix/etc/config.site
2382 ac_site_file1=$ac_default_prefix/share/config.site
2383 ac_site_file2=$ac_default_prefix/etc/config.site
2385 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2387 test "x$ac_site_file" = xNONE && continue
2388 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2390 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2391 sed 's/^/| /' "$ac_site_file" >&5
2393 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2395 as_fn_error $? "failed to load site script $ac_site_file
2396 See \`config.log' for more details" "$LINENO" 5; }
2400 if test -r "$cache_file"; then
2401 # Some versions of bash will fail to source /dev/null (special files
2402 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2403 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2405 $as_echo "$as_me: loading cache $cache_file" >&6;}
2407 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2408 *) . "./$cache_file";;
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2413 $as_echo "$as_me: creating cache $cache_file" >&6;}
2417 # Check that the precious variables saved in the cache have kept the same
2419 ac_cache_corrupted=false
2420 for ac_var in $ac_precious_vars; do
2421 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2422 eval ac_new_set=\$ac_env_${ac_var}_set
2423 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2424 eval ac_new_val=\$ac_env_${ac_var}_value
2425 case $ac_old_set,$ac_new_set in
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2428 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2429 ac_cache_corrupted=: ;;
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2432 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2433 ac_cache_corrupted=: ;;
2436 if test "x$ac_old_val" != "x$ac_new_val"; then
2437 # differences in whitespace do not lead to failure.
2438 ac_old_val_w=`echo x $ac_old_val`
2439 ac_new_val_w=`echo x $ac_new_val`
2440 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2442 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2443 ac_cache_corrupted=:
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2446 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2447 eval $ac_var=\$ac_old_val
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2450 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2452 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2455 # Pass precious variables to config.status.
2456 if test "$ac_new_set" = set; then
2458 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2459 *) ac_arg=$ac_var=$ac_new_val ;;
2461 case " $ac_configure_args " in
2462 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2463 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2467 if $ac_cache_corrupted; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2471 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2472 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2474 ## -------------------- ##
2475 ## Main body of script. ##
2476 ## -------------------- ##
2479 ac_cpp='$CPP $CPPFLAGS'
2480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487 for ac_dir in build-aux "$srcdir"/build-aux; do
2488 if test -f "$ac_dir/install-sh"; then
2490 ac_install_sh="$ac_aux_dir/install-sh -c"
2492 elif test -f "$ac_dir/install.sh"; then
2494 ac_install_sh="$ac_aux_dir/install.sh -c"
2496 elif test -f "$ac_dir/shtool"; then
2498 ac_install_sh="$ac_aux_dir/shtool install -c"
2502 if test -z "$ac_aux_dir"; then
2503 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2506 # These three variables are undocumented and unsupported,
2507 # and are intended to be withdrawn in a future Autoconf release.
2508 # They can cause serious problems if a builder's source tree is in a directory
2509 # whose full name contains unusual characters.
2510 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2511 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2512 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2516 # Expand $ac_aux_dir to an absolute path.
2517 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2520 ac_cpp='$CPP $CPPFLAGS'
2521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2524 if test -n "$ac_tool_prefix"; then
2525 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2526 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528 $as_echo_n "checking for $ac_word... " >&6; }
2529 if ${ac_cv_prog_CC+:} false; then :
2530 $as_echo_n "(cached) " >&6
2532 if test -n "$CC"; then
2533 ac_cv_prog_CC="$CC" # Let the user override the test.
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2542 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2553 if test -n "$CC"; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2555 $as_echo "$CC" >&6; }
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2563 if test -z "$ac_cv_prog_CC"; then
2565 # Extract the first word of "gcc", so it can be a program name with args.
2566 set dummy gcc; ac_word=$2
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2570 $as_echo_n "(cached) " >&6
2572 if test -n "$ac_ct_CC"; then
2573 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir=.
2580 for ac_exec_ext in '' $ac_executable_extensions; do
2581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2582 ac_cv_prog_ac_ct_CC="gcc"
2583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2592 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2593 if test -n "$ac_ct_CC"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2595 $as_echo "$ac_ct_CC" >&6; }
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598 $as_echo "no" >&6; }
2601 if test "x$ac_ct_CC" = x; then
2604 case $cross_compiling:$ac_tool_warned in
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2608 ac_tool_warned=yes ;;
2616 if test -z "$CC"; then
2617 if test -n "$ac_tool_prefix"; then
2618 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2619 set dummy ${ac_tool_prefix}cc; ac_word=$2
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2621 $as_echo_n "checking for $ac_word... " >&6; }
2622 if ${ac_cv_prog_CC+:} false; then :
2623 $as_echo_n "(cached) " >&6
2625 if test -n "$CC"; then
2626 ac_cv_prog_CC="$CC" # Let the user override the test.
2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir=.
2633 for ac_exec_ext in '' $ac_executable_extensions; do
2634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2635 ac_cv_prog_CC="${ac_tool_prefix}cc"
2636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646 if test -n "$CC"; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2648 $as_echo "$CC" >&6; }
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651 $as_echo "no" >&6; }
2657 if test -z "$CC"; then
2658 # Extract the first word of "cc", so it can be a program name with args.
2659 set dummy cc; ac_word=$2
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2661 $as_echo_n "checking for $ac_word... " >&6; }
2662 if ${ac_cv_prog_CC+:} false; then :
2663 $as_echo_n "(cached) " >&6
2665 if test -n "$CC"; then
2666 ac_cv_prog_CC="$CC" # Let the user override the test.
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir=.
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2677 ac_prog_rejected=yes
2681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 if test $ac_prog_rejected = yes; then
2689 # We found a bogon in the path, so make sure we never use it.
2690 set dummy $ac_cv_prog_CC
2692 if test $# != 0; then
2693 # We chose a different compiler from the bogus one.
2694 # However, it has the same basename, so the bogon will be chosen
2695 # first if we set CC to just the basename; use the full file name.
2697 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2703 if test -n "$CC"; then
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2705 $as_echo "$CC" >&6; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708 $as_echo "no" >&6; }
2713 if test -z "$CC"; then
2714 if test -n "$ac_tool_prefix"; then
2715 for ac_prog in cl.exe
2717 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2718 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720 $as_echo_n "checking for $ac_word... " >&6; }
2721 if ${ac_cv_prog_CC+:} false; then :
2722 $as_echo_n "(cached) " >&6
2724 if test -n "$CC"; then
2725 ac_cv_prog_CC="$CC" # Let the user override the test.
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir=.
2732 for ac_exec_ext in '' $ac_executable_extensions; do
2733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2734 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 if test -n "$CC"; then
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2747 $as_echo "$CC" >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2754 test -n "$CC" && break
2757 if test -z "$CC"; then
2759 for ac_prog in cl.exe
2761 # Extract the first word of "$ac_prog", so it can be a program name with args.
2762 set dummy $ac_prog; ac_word=$2
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2766 $as_echo_n "(cached) " >&6
2768 if test -n "$ac_ct_CC"; then
2769 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_ac_ct_CC="$ac_prog"
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2789 if test -n "$ac_ct_CC"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2791 $as_echo "$ac_ct_CC" >&6; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2798 test -n "$ac_ct_CC" && break
2801 if test "x$ac_ct_CC" = x; then
2804 case $cross_compiling:$ac_tool_warned in
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2808 ac_tool_warned=yes ;;
2817 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2819 as_fn_error $? "no acceptable C compiler found in \$PATH
2820 See \`config.log' for more details" "$LINENO" 5; }
2822 # Provide some information about the compiler.
2823 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2826 for ac_option in --version -v -V -qversion; do
2827 { { ac_try="$ac_compiler $ac_option >&5"
2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830 *) ac_try_echo=$ac_try;;
2832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2833 $as_echo "$ac_try_echo"; } >&5
2834 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2836 if test -s conftest.err; then
2838 ... rest of stderr output deleted ...
2839 10q' conftest.err >conftest.er1
2840 cat conftest.er1 >&5
2842 rm -f conftest.er1 conftest.err
2843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2844 test $ac_status = 0; }
2847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2848 /* end confdefs.h. */
2858 ac_clean_files_save=$ac_clean_files
2859 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2860 # Try to create an executable without -o first, disregard a.out.
2861 # It will help us diagnose broken compilers, and finding out an intuition
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2864 $as_echo_n "checking whether the C compiler works... " >&6; }
2865 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2867 # The possible output files:
2868 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2871 for ac_file in $ac_files
2874 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2875 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2880 if { { ac_try="$ac_link_default"
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887 (eval "$ac_link_default") 2>&5
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; }; then :
2891 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2892 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2893 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2894 # so that the user can short-circuit this test for compilers unknown to
2896 for ac_file in $ac_files ''
2898 test -f "$ac_file" || continue
2900 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2903 # We found the default executable, but exeext='' is most
2907 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2909 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2911 # We set ac_cv_exeext here because the later test for it is not
2912 # safe: cross compilers may not add the suffix if given an `-o'
2913 # argument, so we may need to know it at that point already.
2914 # Even if this section looks crufty: it has the advantage of
2921 test "$ac_cv_exeext" = no && ac_cv_exeext=
2926 if test -z "$ac_file"; then :
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2929 $as_echo "$as_me: failed program was:" >&5
2930 sed 's/^/| /' conftest.$ac_ext >&5
2932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2934 as_fn_error 77 "C compiler cannot create executables
2935 See \`config.log' for more details" "$LINENO" 5; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2938 $as_echo "yes" >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2941 $as_echo_n "checking for C compiler default output file name... " >&6; }
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2943 $as_echo "$ac_file" >&6; }
2944 ac_exeext=$ac_cv_exeext
2946 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2947 ac_clean_files=$ac_clean_files_save
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2949 $as_echo_n "checking for suffix of executables... " >&6; }
2950 if { { ac_try="$ac_link"
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2956 $as_echo "$ac_try_echo"; } >&5
2957 (eval "$ac_link") 2>&5
2959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2960 test $ac_status = 0; }; then :
2961 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2962 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2963 # work properly (i.e., refer to `conftest.exe'), while it won't with
2965 for ac_file in conftest.exe conftest conftest.*; do
2966 test -f "$ac_file" || continue
2968 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2969 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2977 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2978 See \`config.log' for more details" "$LINENO" 5; }
2980 rm -f conftest conftest$ac_cv_exeext
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2982 $as_echo "$ac_cv_exeext" >&6; }
2984 rm -f conftest.$ac_ext
2985 EXEEXT=$ac_cv_exeext
2987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988 /* end confdefs.h. */
2993 FILE *f = fopen ("conftest.out", "w");
2994 return ferror (f) || fclose (f) != 0;
3000 ac_clean_files="$ac_clean_files conftest.out"
3001 # Check that the compiler produces executables we can run. If not, either
3002 # the compiler is broken, or we cross compile.
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3004 $as_echo_n "checking whether we are cross compiling... " >&6; }
3005 if test "$cross_compiling" != yes; then
3006 { { ac_try="$ac_link"
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3012 $as_echo "$ac_try_echo"; } >&5
3013 (eval "$ac_link") 2>&5
3015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3016 test $ac_status = 0; }
3017 if { ac_try='./conftest$ac_cv_exeext'
3018 { { case "(($ac_try" in
3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020 *) ac_try_echo=$ac_try;;
3022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3023 $as_echo "$ac_try_echo"; } >&5
3024 (eval "$ac_try") 2>&5
3026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3027 test $ac_status = 0; }; }; then
3030 if test "$cross_compiling" = maybe; then
3033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3035 as_fn_error $? "cannot run C compiled programs.
3036 If you meant to cross compile, use \`--host'.
3037 See \`config.log' for more details" "$LINENO" 5; }
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3042 $as_echo "$cross_compiling" >&6; }
3044 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3045 ac_clean_files=$ac_clean_files_save
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3047 $as_echo_n "checking for suffix of object files... " >&6; }
3048 if ${ac_cv_objext+:} false; then :
3049 $as_echo_n "(cached) " >&6
3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3052 /* end confdefs.h. */
3062 rm -f conftest.o conftest.obj
3063 if { { ac_try="$ac_compile"
3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3069 $as_echo "$ac_try_echo"; } >&5
3070 (eval "$ac_compile") 2>&5
3072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3073 test $ac_status = 0; }; then :
3074 for ac_file in conftest.o conftest.obj conftest.*; do
3075 test -f "$ac_file" || continue;
3077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3078 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3083 $as_echo "$as_me: failed program was:" >&5
3084 sed 's/^/| /' conftest.$ac_ext >&5
3086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3088 as_fn_error $? "cannot compute suffix of object files: cannot compile
3089 See \`config.log' for more details" "$LINENO" 5; }
3091 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3094 $as_echo "$ac_cv_objext" >&6; }
3095 OBJEXT=$ac_cv_objext
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3098 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3099 if ${ac_cv_c_compiler_gnu+:} false; then :
3100 $as_echo_n "(cached) " >&6
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3116 if ac_fn_c_try_compile "$LINENO"; then :
3121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3122 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3126 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3127 if test $ac_compiler_gnu = yes; then
3132 ac_test_CFLAGS=${CFLAGS+set}
3133 ac_save_CFLAGS=$CFLAGS
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3135 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3136 if ${ac_cv_prog_cc_g+:} false; then :
3137 $as_echo_n "(cached) " >&6
3139 ac_save_c_werror_flag=$ac_c_werror_flag
3140 ac_c_werror_flag=yes
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3154 if ac_fn_c_try_compile "$LINENO"; then :
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3169 if ac_fn_c_try_compile "$LINENO"; then :
3172 ac_c_werror_flag=$ac_save_c_werror_flag
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3185 if ac_fn_c_try_compile "$LINENO"; then :
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193 ac_c_werror_flag=$ac_save_c_werror_flag
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3196 $as_echo "$ac_cv_prog_cc_g" >&6; }
3197 if test "$ac_test_CFLAGS" = set; then
3198 CFLAGS=$ac_save_CFLAGS
3199 elif test $ac_cv_prog_cc_g = yes; then
3200 if test "$GCC" = yes; then
3206 if test "$GCC" = yes; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3213 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3214 if ${ac_cv_prog_cc_c89+:} false; then :
3215 $as_echo_n "(cached) " >&6
3217 ac_cv_prog_cc_c89=no
3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3224 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3225 struct buf { int x; };
3226 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3227 static char *e (p, i)
3233 static char *f (char * (*g) (char **, int), char **p, ...)
3238 s = g (p, va_arg (v,int));
3243 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3244 function prototypes and stuff, but not '\xHH' hex character constants.
3245 These don't provoke an error unfortunately, instead are silently treated
3246 as 'x'. The following induces an error, until -std is added to get
3247 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3248 array size at least. It's necessary to write '\x00'==0 to get something
3249 that's true only with -std. */
3250 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3252 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3253 inside strings and character constants. */
3255 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3257 int test (int i, double x);
3258 struct s1 {int (*f) (int a);};
3259 struct s2 {int (*f) (double a);};
3260 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3266 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3271 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3272 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3274 CC="$ac_save_CC $ac_arg"
3275 if ac_fn_c_try_compile "$LINENO"; then :
3276 ac_cv_prog_cc_c89=$ac_arg
3278 rm -f core conftest.err conftest.$ac_objext
3279 test "x$ac_cv_prog_cc_c89" != "xno" && break
3281 rm -f conftest.$ac_ext
3286 case "x$ac_cv_prog_cc_c89" in
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3289 $as_echo "none needed" >&6; } ;;
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3292 $as_echo "unsupported" >&6; } ;;
3294 CC="$CC $ac_cv_prog_cc_c89"
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3296 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3298 if test "x$ac_cv_prog_cc_c89" != xno; then :
3303 ac_cpp='$CPP $CPPFLAGS'
3304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3309 ac_cpp='$CPP $CPPFLAGS'
3310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3314 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3315 if ${am_cv_prog_cc_c_o+:} false; then :
3316 $as_echo_n "(cached) " >&6
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3329 # Make sure it works both with $CC and with simple cc.
3330 # Following AC_PROG_CC_C_O, we do the test twice because some
3331 # compilers refuse to overwrite an existing .o file with -o,
3332 # though they will create one.
3333 am_cv_prog_cc_c_o=yes
3335 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3336 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } \
3340 && test -f conftest2.$ac_objext; then
3343 am_cv_prog_cc_c_o=no
3347 rm -f core conftest*
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3351 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3352 if test "$am_cv_prog_cc_c_o" != yes; then
3353 # Losing compiler, so override with the script.
3354 # FIXME: It is wrong to rewrite CC.
3355 # But if we don't then we get into trouble of one sort or another.
3356 # A longer-term fix would be to have automake use am__CC in this case,
3357 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3358 CC="$am_aux_dir/compile $CC"
3361 ac_cpp='$CPP $CPPFLAGS'
3362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3369 ac_cpp='$CPP $CPPFLAGS'
3370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3374 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3375 # On Suns, sometimes $CPP names a directory.
3376 if test -n "$CPP" && test -d "$CPP"; then
3379 if test -z "$CPP"; then
3380 if ${ac_cv_prog_CPP+:} false; then :
3381 $as_echo_n "(cached) " >&6
3383 # Double quotes because CPP needs to be expanded
3384 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3387 for ac_c_preproc_warn_flag in '' yes
3389 # Use a header file that comes with gcc, so configuring glibc
3390 # with a fresh cross-compiler works.
3391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3392 # <limits.h> exists even on freestanding compilers.
3393 # On the NeXT, cc -E runs the code through the compiler's parser,
3394 # not just through cpp. "Syntax error" is here to catch this case.
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3398 # include <limits.h>
3400 # include <assert.h>
3404 if ac_fn_c_try_cpp "$LINENO"; then :
3407 # Broken: fails on valid input.
3410 rm -f conftest.err conftest.i conftest.$ac_ext
3412 # OK, works on sane cases. Now check whether nonexistent headers
3413 # can be detected and how.
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3416 #include <ac_nonexistent.h>
3418 if ac_fn_c_try_cpp "$LINENO"; then :
3419 # Broken: success on invalid input.
3422 # Passes both tests.
3426 rm -f conftest.err conftest.i conftest.$ac_ext
3429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3430 rm -f conftest.i conftest.err conftest.$ac_ext
3431 if $ac_preproc_ok; then :
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3444 $as_echo "$CPP" >&6; }
3446 for ac_c_preproc_warn_flag in '' yes
3448 # Use a header file that comes with gcc, so configuring glibc
3449 # with a fresh cross-compiler works.
3450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3451 # <limits.h> exists even on freestanding compilers.
3452 # On the NeXT, cc -E runs the code through the compiler's parser,
3453 # not just through cpp. "Syntax error" is here to catch this case.
3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3455 /* end confdefs.h. */
3457 # include <limits.h>
3459 # include <assert.h>
3463 if ac_fn_c_try_cpp "$LINENO"; then :
3466 # Broken: fails on valid input.
3469 rm -f conftest.err conftest.i conftest.$ac_ext
3471 # OK, works on sane cases. Now check whether nonexistent headers
3472 # can be detected and how.
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3475 #include <ac_nonexistent.h>
3477 if ac_fn_c_try_cpp "$LINENO"; then :
3478 # Broken: success on invalid input.
3481 # Passes both tests.
3485 rm -f conftest.err conftest.i conftest.$ac_ext
3488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3489 rm -f conftest.i conftest.err conftest.$ac_ext
3490 if $ac_preproc_ok; then :
3493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3495 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3496 See \`config.log' for more details" "$LINENO" 5; }
3500 ac_cpp='$CPP $CPPFLAGS'
3501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3507 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3508 if ${ac_cv_path_GREP+:} false; then :
3509 $as_echo_n "(cached) " >&6
3511 if test -z "$GREP"; then
3512 ac_path_GREP_found=false
3513 # Loop through the user's path and test for each of PROGNAME-LIST
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3518 test -z "$as_dir" && as_dir=.
3519 for ac_prog in grep ggrep; do
3520 for ac_exec_ext in '' $ac_executable_extensions; do
3521 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3522 as_fn_executable_p "$ac_path_GREP" || continue
3523 # Check for GNU ac_path_GREP and select it if it is found.
3524 # Check for GNU $ac_path_GREP
3525 case `"$ac_path_GREP" --version 2>&1` in
3527 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3530 $as_echo_n 0123456789 >"conftest.in"
3533 cat "conftest.in" "conftest.in" >"conftest.tmp"
3534 mv "conftest.tmp" "conftest.in"
3535 cp "conftest.in" "conftest.nl"
3536 $as_echo 'GREP' >> "conftest.nl"
3537 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3538 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3539 as_fn_arith $ac_count + 1 && ac_count=$as_val
3540 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3541 # Best one so far, save it but keep looking for a better one
3542 ac_cv_path_GREP="$ac_path_GREP"
3543 ac_path_GREP_max=$ac_count
3545 # 10*(2^10) chars as input seems more than enough
3546 test $ac_count -gt 10 && break
3548 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3551 $ac_path_GREP_found && break 3
3556 if test -z "$ac_cv_path_GREP"; then
3557 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3560 ac_cv_path_GREP=$GREP
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3565 $as_echo "$ac_cv_path_GREP" >&6; }
3566 GREP="$ac_cv_path_GREP"
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3570 $as_echo_n "checking for egrep... " >&6; }
3571 if ${ac_cv_path_EGREP+:} false; then :
3572 $as_echo_n "(cached) " >&6
3574 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3575 then ac_cv_path_EGREP="$GREP -E"
3577 if test -z "$EGREP"; then
3578 ac_path_EGREP_found=false
3579 # Loop through the user's path and test for each of PROGNAME-LIST
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3584 test -z "$as_dir" && as_dir=.
3585 for ac_prog in egrep; do
3586 for ac_exec_ext in '' $ac_executable_extensions; do
3587 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3588 as_fn_executable_p "$ac_path_EGREP" || continue
3589 # Check for GNU ac_path_EGREP and select it if it is found.
3590 # Check for GNU $ac_path_EGREP
3591 case `"$ac_path_EGREP" --version 2>&1` in
3593 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3596 $as_echo_n 0123456789 >"conftest.in"
3599 cat "conftest.in" "conftest.in" >"conftest.tmp"
3600 mv "conftest.tmp" "conftest.in"
3601 cp "conftest.in" "conftest.nl"
3602 $as_echo 'EGREP' >> "conftest.nl"
3603 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3604 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3605 as_fn_arith $ac_count + 1 && ac_count=$as_val
3606 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3607 # Best one so far, save it but keep looking for a better one
3608 ac_cv_path_EGREP="$ac_path_EGREP"
3609 ac_path_EGREP_max=$ac_count
3611 # 10*(2^10) chars as input seems more than enough
3612 test $ac_count -gt 10 && break
3614 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3617 $ac_path_EGREP_found && break 3
3622 if test -z "$ac_cv_path_EGREP"; then
3623 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3626 ac_cv_path_EGREP=$EGREP
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3632 $as_echo "$ac_cv_path_EGREP" >&6; }
3633 EGREP="$ac_cv_path_EGREP"
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3637 $as_echo_n "checking for ANSI C header files... " >&6; }
3638 if ${ac_cv_header_stdc+:} false; then :
3639 $as_echo_n "(cached) " >&6
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3656 if ac_fn_c_try_compile "$LINENO"; then :
3657 ac_cv_header_stdc=yes
3659 ac_cv_header_stdc=no
3661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 if test $ac_cv_header_stdc = yes; then
3664 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666 /* end confdefs.h. */
3670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3671 $EGREP "memchr" >/dev/null 2>&1; then :
3674 ac_cv_header_stdc=no
3680 if test $ac_cv_header_stdc = yes; then
3681 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3688 $EGREP "free" >/dev/null 2>&1; then :
3691 ac_cv_header_stdc=no
3697 if test $ac_cv_header_stdc = yes; then
3698 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3699 if test "$cross_compiling" = yes; then :
3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3706 #if ((' ' & 0x0FF) == 0x020)
3707 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3708 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3710 # define ISLOWER(c) \
3711 (('a' <= (c) && (c) <= 'i') \
3712 || ('j' <= (c) && (c) <= 'r') \
3713 || ('s' <= (c) && (c) <= 'z'))
3714 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3717 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3722 for (i = 0; i < 256; i++)
3723 if (XOR (islower (i), ISLOWER (i))
3724 || toupper (i) != TOUPPER (i))
3729 if ac_fn_c_try_run "$LINENO"; then :
3732 ac_cv_header_stdc=no
3734 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3735 conftest.$ac_objext conftest.beam conftest.$ac_ext
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3741 $as_echo "$ac_cv_header_stdc" >&6; }
3742 if test $ac_cv_header_stdc = yes; then
3744 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3748 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3749 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3750 inttypes.h stdint.h unistd.h
3752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3753 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3755 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3756 cat >>confdefs.h <<_ACEOF
3757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3766 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3767 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3774 if test "$MINIX" = yes; then
3776 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3779 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3782 $as_echo "#define _MINIX 1" >>confdefs.h
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3788 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3789 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3790 $as_echo_n "(cached) " >&6
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3795 # define __EXTENSIONS__ 1
3796 $ac_includes_default
3805 if ac_fn_c_try_compile "$LINENO"; then :
3806 ac_cv_safe_to_define___extensions__=yes
3808 ac_cv_safe_to_define___extensions__=no
3810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3813 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3814 test $ac_cv_safe_to_define___extensions__ = yes &&
3815 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3817 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3819 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3821 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3823 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3826 am__api_version='1.15'
3828 # Find a good install program. We prefer a C program (faster),
3829 # so one script is as good as another. But avoid the broken or
3830 # incompatible versions:
3831 # SysV /etc/install, /usr/sbin/install
3832 # SunOS /usr/etc/install
3833 # IRIX /sbin/install
3835 # AmigaOS /C/install, which installs bootblocks on floppy discs
3836 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3837 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3838 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3839 # OS/2's system install, which has a completely different semantic
3840 # ./install, which can be erroneously created by make from ./install.sh.
3841 # Reject install programs that cannot install multiple files.
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3843 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3844 if test -z "$INSTALL"; then
3845 if ${ac_cv_path_install+:} false; then :
3846 $as_echo_n "(cached) " >&6
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir=.
3853 # Account for people who put trailing slashes in PATH elements.
3854 case $as_dir/ in #((
3855 ./ | .// | /[cC]/* | \
3856 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3857 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3860 # OSF1 and SCO ODT 3.0 have their own names for install.
3861 # Don't use installbsd from OSF since it installs stuff as root
3863 for ac_prog in ginstall scoinst install; do
3864 for ac_exec_ext in '' $ac_executable_extensions; do
3865 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3866 if test $ac_prog = install &&
3867 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3868 # AIX install. It has an incompatible calling convention.
3870 elif test $ac_prog = install &&
3871 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3872 # program-specific install script used by HP pwplus--don't use.
3875 rm -rf conftest.one conftest.two conftest.dir
3876 echo one > conftest.one
3877 echo two > conftest.two
3879 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3880 test -s conftest.one && test -s conftest.two &&
3881 test -s conftest.dir/conftest.one &&
3882 test -s conftest.dir/conftest.two
3884 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3897 rm -rf conftest.one conftest.two conftest.dir
3900 if test "${ac_cv_path_install+set}" = set; then
3901 INSTALL=$ac_cv_path_install
3903 # As a last resort, use the slow shell script. Don't cache a
3904 # value for INSTALL within a source directory, because that will
3905 # break other packages using the cache if that directory is
3906 # removed, or if the value is a relative name.
3907 INSTALL=$ac_install_sh
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3911 $as_echo "$INSTALL" >&6; }
3913 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3914 # It thinks the first close brace ends the variable substitution.
3915 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3917 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3919 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3922 $as_echo_n "checking whether build environment is sane... " >&6; }
3923 # Reject unsafe characters in $srcdir or the absolute working directory
3924 # name. Accept space and tab only in the latter.
3928 *[\\\"\#\$\&\'\`$am_lf]*)
3929 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3932 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3933 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3936 # Do 'set' in a subshell so we don't clobber the current shell's
3937 # arguments. Must try -L first in case configure is actually a
3938 # symlink; some systems play weird games with the mod time of symlinks
3939 # (eg FreeBSD returns the mod time of the symlink's containing
3943 for am_try in 1 2; do
3944 echo "timestamp, slept: $am_has_slept" > conftest.file
3945 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3946 if test "$*" = "X"; then
3948 set X `ls -t "$srcdir/configure" conftest.file`
3950 if test "$*" != "X $srcdir/configure conftest.file" \
3951 && test "$*" != "X conftest.file $srcdir/configure"; then
3953 # If neither matched, then we have a broken ls. This can happen
3954 # if, for instance, CONFIG_SHELL is bash and it inherits a
3955 # broken ls alias from the environment. This has actually
3956 # happened. Such a system could not be considered "sane".
3957 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3958 alias in your environment" "$LINENO" 5
3960 if test "$2" = conftest.file || test $am_try -eq 2; then
3967 test "$2" = conftest.file
3973 as_fn_error $? "newly created file is older than distributed files!
3974 Check your system clock" "$LINENO" 5
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3977 $as_echo "yes" >&6; }
3978 # If we didn't sleep, we still need to ensure time stamps of config.status and
3979 # generated files are strictly newer.
3981 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3988 test "$program_prefix" != NONE &&
3989 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3990 # Use a double $ so make ignores it.
3991 test "$program_suffix" != NONE &&
3992 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3993 # Double any \ or $.
3994 # By default was `s,x,x', remove it if useless.
3995 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3996 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3998 if test x"${MISSING+set}" != xset; then
4001 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4003 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4006 # Use eval to expand $SHELL
4007 if eval "$MISSING --is-lightweight"; then
4008 am_missing_run="$MISSING "
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4012 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4015 if test x"${install_sh+set}" != xset; then
4018 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4020 install_sh="\${SHELL} $am_aux_dir/install-sh"
4024 # Installed binaries are usually stripped using 'strip' when the user
4025 # run "make install-strip". However 'strip' might not be the right
4026 # tool to use in cross-compilation environments, therefore Automake
4027 # will honor the 'STRIP' environment variable to overrule this program.
4028 if test "$cross_compiling" != no; then
4029 if test -n "$ac_tool_prefix"; then
4030 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4031 set dummy ${ac_tool_prefix}strip; ac_word=$2
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033 $as_echo_n "checking for $ac_word... " >&6; }
4034 if ${ac_cv_prog_STRIP+:} false; then :
4035 $as_echo_n "(cached) " >&6
4037 if test -n "$STRIP"; then
4038 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir=.
4045 for ac_exec_ext in '' $ac_executable_extensions; do
4046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4047 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057 STRIP=$ac_cv_prog_STRIP
4058 if test -n "$STRIP"; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4060 $as_echo "$STRIP" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063 $as_echo "no" >&6; }
4068 if test -z "$ac_cv_prog_STRIP"; then
4070 # Extract the first word of "strip", so it can be a program name with args.
4071 set dummy strip; ac_word=$2
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073 $as_echo_n "checking for $ac_word... " >&6; }
4074 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4075 $as_echo_n "(cached) " >&6
4077 if test -n "$ac_ct_STRIP"; then
4078 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4084 test -z "$as_dir" && as_dir=.
4085 for ac_exec_ext in '' $ac_executable_extensions; do
4086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4087 ac_cv_prog_ac_ct_STRIP="strip"
4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4098 if test -n "$ac_ct_STRIP"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4100 $as_echo "$ac_ct_STRIP" >&6; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4106 if test "x$ac_ct_STRIP" = x; then
4109 case $cross_compiling:$ac_tool_warned in
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4113 ac_tool_warned=yes ;;
4118 STRIP="$ac_cv_prog_STRIP"
4122 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4125 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4126 if test -z "$MKDIR_P"; then
4127 if ${ac_cv_path_mkdir+:} false; then :
4128 $as_echo_n "(cached) " >&6
4130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4131 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4134 test -z "$as_dir" && as_dir=.
4135 for ac_prog in mkdir gmkdir; do
4136 for ac_exec_ext in '' $ac_executable_extensions; do
4137 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4138 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4139 'mkdir (GNU coreutils) '* | \
4140 'mkdir (coreutils) '* | \
4141 'mkdir (fileutils) '4.1*)
4142 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4152 test -d ./--version && rmdir ./--version
4153 if test "${ac_cv_path_mkdir+set}" = set; then
4154 MKDIR_P="$ac_cv_path_mkdir -p"
4156 # As a last resort, use the slow shell script. Don't cache a
4157 # value for MKDIR_P within a source directory, because that will
4158 # break other packages using the cache if that directory is
4159 # removed, or if the value is a relative name.
4160 MKDIR_P="$ac_install_sh -d"
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4164 $as_echo "$MKDIR_P" >&6; }
4166 for ac_prog in gawk mawk nawk awk
4168 # Extract the first word of "$ac_prog", so it can be a program name with args.
4169 set dummy $ac_prog; ac_word=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if ${ac_cv_prog_AWK+:} false; then :
4173 $as_echo_n "(cached) " >&6
4175 if test -n "$AWK"; then
4176 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4182 test -z "$as_dir" && as_dir=.
4183 for ac_exec_ext in '' $ac_executable_extensions; do
4184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4185 ac_cv_prog_AWK="$ac_prog"
4186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 if test -n "$AWK"; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4198 $as_echo "$AWK" >&6; }
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4205 test -n "$AWK" && break
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4209 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4211 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4212 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4213 $as_echo_n "(cached) " >&6
4215 cat >conftest.make <<\_ACEOF
4218 @echo '@@@%%%=$(MAKE)=@@@%%%'
4220 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4221 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4223 eval ac_cv_prog_make_${ac_make}_set=yes;;
4225 eval ac_cv_prog_make_${ac_make}_set=no;;
4229 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4231 $as_echo "yes" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4236 SET_MAKE="MAKE=${MAKE-make}"
4239 rm -rf .tst 2>/dev/null
4240 mkdir .tst 2>/dev/null
4241 if test -d .tst; then
4246 rmdir .tst 2>/dev/null
4248 DEPDIR="${am__leading_dot}deps"
4250 ac_config_commands="$ac_config_commands depfiles"
4253 am_make=${MAKE-make}
4254 cat > confinc << 'END'
4256 @echo this is the am__doit target
4259 # If we don't find an include directive, just comment out the code.
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4261 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4265 # First try GNU make style include.
4266 echo "include confinc" > confmf
4267 # Ignore all kinds of additional output from 'make'.
4268 case `$am_make -s -f confmf 2> /dev/null` in #(
4269 *the\ am__doit\ target*)
4275 # Now try BSD make style include.
4276 if test "$am__include" = "#"; then
4277 echo '.include "confinc"' > confmf
4278 case `$am_make -s -f confmf 2> /dev/null` in #(
4279 *the\ am__doit\ target*)
4280 am__include=.include
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4289 $as_echo "$_am_result" >&6; }
4290 rm -f confinc confmf
4292 # Check whether --enable-dependency-tracking was given.
4293 if test "${enable_dependency_tracking+set}" = set; then :
4294 enableval=$enable_dependency_tracking;
4297 if test "x$enable_dependency_tracking" != xno; then
4298 am_depcomp="$ac_aux_dir/depcomp"
4302 if test "x$enable_dependency_tracking" != xno; then
4311 # Check whether --enable-silent-rules was given.
4312 if test "${enable_silent_rules+set}" = set; then :
4313 enableval=$enable_silent_rules;
4316 case $enable_silent_rules in # (((
4317 yes) AM_DEFAULT_VERBOSITY=0;;
4318 no) AM_DEFAULT_VERBOSITY=1;;
4319 *) AM_DEFAULT_VERBOSITY=1;;
4321 am_make=${MAKE-make}
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4323 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4324 if ${am_cv_make_support_nested_variables+:} false; then :
4325 $as_echo_n "(cached) " >&6
4327 if $as_echo 'TRUE=$(BAR$(V))
4333 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4334 am_cv_make_support_nested_variables=yes
4336 am_cv_make_support_nested_variables=no
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4340 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4341 if test $am_cv_make_support_nested_variables = yes; then
4343 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4345 AM_V=$AM_DEFAULT_VERBOSITY
4346 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4350 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4351 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4352 # is not polluted with repeated "-I."
4353 am__isrc=' -I$(srcdir)'
4354 # test to see if srcdir already configured
4355 if test -f $srcdir/config.status; then
4356 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4360 # test whether we have cygpath
4361 if test -z "$CYGPATH_W"; then
4362 if (cygpath --version) >/dev/null 2>/dev/null; then
4363 CYGPATH_W='cygpath -w'
4370 # Define the identity of the package.
4375 cat >>confdefs.h <<_ACEOF
4376 #define PACKAGE "$PACKAGE"
4380 cat >>confdefs.h <<_ACEOF
4381 #define VERSION "$VERSION"
4384 # Some tools Automake needs.
4386 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4389 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4392 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4395 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4398 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4400 # For better backward compatibility. To be removed once Automake 1.9.x
4401 # dies out for good. For more background, see:
4402 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4403 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4404 mkdir_p='$(MKDIR_P)'
4406 # We need awk for the "check" target (and possibly the TAP driver). The
4407 # system "awk" is bad on some platforms.
4408 # Always define AMTAR for backward compatibility. Yes, it's still used
4409 # in the wild :-( We should find a proper way to deprecate it ...
4413 # We'll loop over all known methods to create a tar archive until one works.
4414 _am_tools='gnutar pax cpio none'
4416 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4422 depcc="$CC" am_compiler_list=
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4425 $as_echo_n "checking dependency style of $depcc... " >&6; }
4426 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4427 $as_echo_n "(cached) " >&6
4429 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4430 # We make a subdir and do the tests there. Otherwise we can end up
4431 # making bogus files that we don't know about and never remove. For
4432 # instance it was reported that on HP-UX the gcc test will end up
4433 # making a dummy file named 'D' -- because '-MD' means "put the output
4437 # Copy depcomp to subdir because otherwise we won't find it if we're
4438 # using a relative directory.
4439 cp "$am_depcomp" conftest.dir
4441 # We will build objects and dependencies in a subdirectory because
4442 # it helps to detect inapplicable dependency modes. For instance
4443 # both Tru64's cc and ICC support -MD to output dependencies as a
4444 # side effect of compilation, but ICC will put the dependencies in
4445 # the current directory while Tru64 will put them in the object
4449 am_cv_CC_dependencies_compiler_type=none
4450 if test "$am_compiler_list" = ""; then
4451 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4454 case " $depcc " in #(
4455 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4458 for depmode in $am_compiler_list; do
4459 # Setup a source with many dependencies, because some compilers
4460 # like to wrap large dependency lists on column 80 (with \), and
4461 # we should not choose a depcomp mode which is confused by this.
4463 # We need to recreate these files for each test, as the compiler may
4464 # overwrite some of them when testing with obscure command lines.
4465 # This happens at least with the AIX C compiler.
4467 for i in 1 2 3 4 5 6; do
4468 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4469 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4470 # Solaris 10 /bin/sh.
4471 echo '/* dummy */' > sub/conftst$i.h
4473 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4475 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4476 # mode. It turns out that the SunPro C++ compiler does not properly
4477 # handle '-M -o', and we need to detect this. Also, some Intel
4478 # versions had trouble with output in subdirs.
4479 am__obj=sub/conftest.${OBJEXT-o}
4480 am__minus_obj="-o $am__obj"
4483 # This depmode causes a compiler race in universal mode.
4484 test "$am__universal" = false || continue
4487 # After this tag, mechanisms are not by side-effect, so they'll
4488 # only be used when explicitly requested.
4489 if test "x$enable_dependency_tracking" = xyes; then
4495 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4496 # This compiler won't grok '-c -o', but also, the minuso test has
4497 # not run yet. These depmodes are late enough in the game, and
4498 # so weak that their functioning should not be impacted.
4499 am__obj=conftest.${OBJEXT-o}
4504 if depmode=$depmode \
4505 source=sub/conftest.c object=$am__obj \
4506 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4507 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4508 >/dev/null 2>conftest.err &&
4509 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4510 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4511 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4512 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4513 # icc doesn't choke on unknown options, it will just issue warnings
4514 # or remarks (even with -Werror). So we grep stderr for any message
4515 # that says an option was ignored or not supported.
4516 # When given -MP, icc 7.0 and 7.1 complain thusly:
4517 # icc: Command line warning: ignoring option '-M'; no argument required
4518 # The diagnosis changed in icc 8.0:
4519 # icc: Command line remark: option '-MP' not supported
4520 if (grep 'ignoring option' conftest.err ||
4521 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4522 am_cv_CC_dependencies_compiler_type=$depmode
4531 am_cv_CC_dependencies_compiler_type=none
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4536 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4537 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4540 test "x$enable_dependency_tracking" != xno \
4541 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4543 am__fastdepCC_FALSE='#'
4545 am__fastdepCC_TRUE='#'
4546 am__fastdepCC_FALSE=
4551 # POSIX will say in a future version that running "rm -f" with no argument
4552 # is OK; and we want to be able to make that assumption in our Makefile
4553 # recipes. So use an aggressive probe to check that the usage we want is
4554 # actually supported "in the wild" to an acceptable degree.
4555 # See automake bug#10828.
4556 # To make any issue more visible, cause the running configure to be aborted
4557 # by default if the 'rm' program in use doesn't match our expectations; the
4558 # user can still override this though.
4559 if rm -f && rm -fr && rm -rf; then : OK; else
4563 Your 'rm' program seems unable to run without file operands specified
4564 on the command line, even when the '-f' option is present. This is contrary
4565 to the behaviour of most rm programs out there, and not conforming with
4566 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4568 Please tell bug-automake@gnu.org about your system, including the value
4569 of your $PATH and any error possibly output before this message. This
4570 can help us improve future automake versions.
4573 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4574 echo 'Configuration will proceed anyway, since you have set the' >&2
4575 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4579 Aborting the configuration process, to ensure you take notice of the issue.
4581 You can download and install GNU coreutils to get an 'rm' implementation
4582 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4584 If you want to complete the configuration process using your problematic
4585 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4586 to "yes", and re-run configure.
4589 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4593 if test "x$CC" != xcc; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4595 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4598 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4600 set dummy $CC; ac_cc=`$as_echo "$2" |
4601 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4602 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4603 $as_echo_n "(cached) " >&6
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4616 # Make sure it works both with $CC and with simple cc.
4617 # We do the test twice because some compilers refuse to overwrite an
4618 # existing .o file with -o, though they will create one.
4619 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4621 if { { case "(($ac_try" in
4622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4623 *) ac_try_echo=$ac_try;;
4625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4626 $as_echo "$ac_try_echo"; } >&5
4627 (eval "$ac_try") 2>&5
4629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4630 test $ac_status = 0; } &&
4631 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4633 *) ac_try_echo=$ac_try;;
4635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4636 $as_echo "$ac_try_echo"; } >&5
4637 (eval "$ac_try") 2>&5
4639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4640 test $ac_status = 0; };
4642 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4643 if test "x$CC" != xcc; then
4644 # Test first that cc exists at all.
4645 if { ac_try='cc -c conftest.$ac_ext >&5'
4646 { { case "(($ac_try" in
4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4648 *) ac_try_echo=$ac_try;;
4650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4651 $as_echo "$ac_try_echo"; } >&5
4652 (eval "$ac_try") 2>&5
4654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4655 test $ac_status = 0; }; }; then
4656 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4658 if { { case "(($ac_try" in
4659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4660 *) ac_try_echo=$ac_try;;
4662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4663 $as_echo "$ac_try_echo"; } >&5
4664 (eval "$ac_try") 2>&5
4666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4667 test $ac_status = 0; } &&
4668 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4670 *) ac_try_echo=$ac_try;;
4672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4673 $as_echo "$ac_try_echo"; } >&5
4674 (eval "$ac_try") 2>&5
4676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4677 test $ac_status = 0; };
4682 # cc exists but doesn't like -o.
4683 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4688 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4690 rm -f core conftest*
4693 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4695 $as_echo "yes" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 $as_echo "no" >&6; }
4700 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4704 # FIXME: we rely on the cache variable name because
4705 # there is no other way.
4707 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4708 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4709 if test "$am_t" != yes; then
4710 # Losing compiler, so override with the script.
4711 # FIXME: It is wrong to rewrite CC.
4712 # But if we don't then we get into trouble of one sort or another.
4713 # A longer-term fix would be to have automake use am__CC in this case,
4714 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4715 CC="$am_aux_dir/compile $CC"
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4721 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4722 # Check whether --enable-maintainer-mode was given.
4723 if test "${enable_maintainer_mode+set}" = set; then :
4724 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4726 USE_MAINTAINER_MODE=no
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4730 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4731 if test $USE_MAINTAINER_MODE = yes; then
4732 MAINTAINER_MODE_TRUE=
4733 MAINTAINER_MODE_FALSE='#'
4735 MAINTAINER_MODE_TRUE='#'
4736 MAINTAINER_MODE_FALSE=
4739 MAINT=$MAINTAINER_MODE_TRUE
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4746 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4751 macro_version='2.4.6'
4752 macro_revision='2.4.6'
4766 ltmain=$ac_aux_dir/ltmain.sh
4768 # Make sure we can run config.sub.
4769 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4770 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4773 $as_echo_n "checking build system type... " >&6; }
4774 if ${ac_cv_build+:} false; then :
4775 $as_echo_n "(cached) " >&6
4777 ac_build_alias=$build_alias
4778 test "x$ac_build_alias" = x &&
4779 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4780 test "x$ac_build_alias" = x &&
4781 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4782 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4783 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4787 $as_echo "$ac_cv_build" >&6; }
4788 case $ac_cv_build in
4790 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4793 ac_save_IFS=$IFS; IFS='-'
4799 # Remember, the first character of IFS is used to create $*,
4800 # except with old shells:
4803 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4807 $as_echo_n "checking host system type... " >&6; }
4808 if ${ac_cv_host+:} false; then :
4809 $as_echo_n "(cached) " >&6
4811 if test "x$host_alias" = x; then
4812 ac_cv_host=$ac_cv_build
4814 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4815 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4820 $as_echo "$ac_cv_host" >&6; }
4823 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4826 ac_save_IFS=$IFS; IFS='-'
4832 # Remember, the first character of IFS is used to create $*,
4833 # except with old shells:
4836 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4839 # Backslashify metacharacters that are still active within
4840 # double-quoted strings.
4841 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4843 # Same as above, but do not quote variable references.
4844 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4846 # Sed substitution to delay expansion of an escaped shell variable in a
4847 # double_quote_subst'ed string.
4848 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4850 # Sed substitution to delay expansion of an escaped single quote.
4851 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4853 # Sed substitution to avoid accidental globbing in evaled expressions
4854 no_glob_subst='s/\*/\\\*/g'
4856 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4857 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4858 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4861 $as_echo_n "checking how to print strings... " >&6; }
4862 # Test print first, because it will be a builtin if present.
4863 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4864 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4866 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4869 # Use this function as a fallback that always works.
4870 func_fallback_echo ()
4872 eval 'cat <<_LTECHO_EOF
4876 ECHO='func_fallback_echo'
4879 # func_echo_all arg...
4880 # Invoke $ECHO with all args, space-separated.
4887 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4888 $as_echo "printf" >&6; } ;;
4889 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4890 $as_echo "print -r" >&6; } ;;
4891 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4892 $as_echo "cat" >&6; } ;;
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4909 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4910 if ${ac_cv_path_SED+:} false; then :
4911 $as_echo_n "(cached) " >&6
4913 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4914 for ac_i in 1 2 3 4 5 6 7; do
4915 ac_script="$ac_script$as_nl$ac_script"
4917 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4918 { ac_script=; unset ac_script;}
4919 if test -z "$SED"; then
4920 ac_path_SED_found=false
4921 # Loop through the user's path and test for each of PROGNAME-LIST
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 test -z "$as_dir" && as_dir=.
4927 for ac_prog in sed gsed; do
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4930 as_fn_executable_p "$ac_path_SED" || continue
4931 # Check for GNU ac_path_SED and select it if it is found.
4932 # Check for GNU $ac_path_SED
4933 case `"$ac_path_SED" --version 2>&1` in
4935 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4938 $as_echo_n 0123456789 >"conftest.in"
4941 cat "conftest.in" "conftest.in" >"conftest.tmp"
4942 mv "conftest.tmp" "conftest.in"
4943 cp "conftest.in" "conftest.nl"
4944 $as_echo '' >> "conftest.nl"
4945 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4946 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4947 as_fn_arith $ac_count + 1 && ac_count=$as_val
4948 if test $ac_count -gt ${ac_path_SED_max-0}; then
4949 # Best one so far, save it but keep looking for a better one
4950 ac_cv_path_SED="$ac_path_SED"
4951 ac_path_SED_max=$ac_count
4953 # 10*(2^10) chars as input seems more than enough
4954 test $ac_count -gt 10 && break
4956 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4959 $ac_path_SED_found && break 3
4964 if test -z "$ac_cv_path_SED"; then
4965 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4973 $as_echo "$ac_cv_path_SED" >&6; }
4974 SED="$ac_cv_path_SED"
4977 test -z "$SED" && SED=sed
4978 Xsed="$SED -e 1s/^X//"
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4991 $as_echo_n "checking for fgrep... " >&6; }
4992 if ${ac_cv_path_FGREP+:} false; then :
4993 $as_echo_n "(cached) " >&6
4995 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4996 then ac_cv_path_FGREP="$GREP -F"
4998 if test -z "$FGREP"; then
4999 ac_path_FGREP_found=false
5000 # Loop through the user's path and test for each of PROGNAME-LIST
5001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5002 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5005 test -z "$as_dir" && as_dir=.
5006 for ac_prog in fgrep; do
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5009 as_fn_executable_p "$ac_path_FGREP" || continue
5010 # Check for GNU ac_path_FGREP and select it if it is found.
5011 # Check for GNU $ac_path_FGREP
5012 case `"$ac_path_FGREP" --version 2>&1` in
5014 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5017 $as_echo_n 0123456789 >"conftest.in"
5020 cat "conftest.in" "conftest.in" >"conftest.tmp"
5021 mv "conftest.tmp" "conftest.in"
5022 cp "conftest.in" "conftest.nl"
5023 $as_echo 'FGREP' >> "conftest.nl"
5024 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5025 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5026 as_fn_arith $ac_count + 1 && ac_count=$as_val
5027 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5028 # Best one so far, save it but keep looking for a better one
5029 ac_cv_path_FGREP="$ac_path_FGREP"
5030 ac_path_FGREP_max=$ac_count
5032 # 10*(2^10) chars as input seems more than enough
5033 test $ac_count -gt 10 && break
5035 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5038 $ac_path_FGREP_found && break 3
5043 if test -z "$ac_cv_path_FGREP"; then
5044 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5047 ac_cv_path_FGREP=$FGREP
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5053 $as_echo "$ac_cv_path_FGREP" >&6; }
5054 FGREP="$ac_cv_path_FGREP"
5057 test -z "$GREP" && GREP=grep
5077 # Check whether --with-gnu-ld was given.
5078 if test "${with_gnu_ld+set}" = set; then :
5079 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5085 if test yes = "$GCC"; then
5086 # Check if gcc -print-prog-name=ld gives a path.
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5088 $as_echo_n "checking for ld used by $CC... " >&6; }
5091 # gcc leaves a trailing carriage return, which upsets mingw
5092 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5094 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5097 # Accept absolute paths.
5099 re_direlt='/[^/][^/]*/\.\./'
5100 # Canonicalize the pathname of ld
5101 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5102 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5103 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5105 test -z "$LD" && LD=$ac_prog
5108 # If it fails, then pretend we aren't using GCC.
5112 # If it is relative, then search for the first ld in PATH.
5116 elif test yes = "$with_gnu_ld"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5118 $as_echo_n "checking for GNU ld... " >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5121 $as_echo_n "checking for non-GNU ld... " >&6; }
5123 if ${lt_cv_path_LD+:} false; then :
5124 $as_echo_n "(cached) " >&6
5126 if test -z "$LD"; then
5127 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5128 for ac_dir in $PATH; do
5130 test -z "$ac_dir" && ac_dir=.
5131 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5132 lt_cv_path_LD=$ac_dir/$ac_prog
5133 # Check to see if the program is GNU ld. I'd rather use --version,
5134 # but apparently some variants of GNU ld only accept -v.
5135 # Break only if it was the GNU/non-GNU ld that we prefer.
5136 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5137 *GNU* | *'with BFD'*)
5138 test no != "$with_gnu_ld" && break
5141 test yes != "$with_gnu_ld" && break
5148 lt_cv_path_LD=$LD # Let the user override the test with a path.
5153 if test -n "$LD"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5155 $as_echo "$LD" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5160 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5162 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5163 if ${lt_cv_prog_gnu_ld+:} false; then :
5164 $as_echo_n "(cached) " >&6
5166 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5167 case `$LD -v 2>&1 </dev/null` in
5168 *GNU* | *'with BFD'*)
5169 lt_cv_prog_gnu_ld=yes
5172 lt_cv_prog_gnu_ld=no
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5177 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5178 with_gnu_ld=$lt_cv_prog_gnu_ld
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5189 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5190 if ${lt_cv_path_NM+:} false; then :
5191 $as_echo_n "(cached) " >&6
5193 if test -n "$NM"; then
5194 # Let the user override the test.
5197 lt_nm_to_check=${ac_tool_prefix}nm
5198 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5199 lt_nm_to_check="$lt_nm_to_check nm"
5201 for lt_tmp_nm in $lt_nm_to_check; do
5202 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5203 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5205 test -z "$ac_dir" && ac_dir=.
5206 tmp_nm=$ac_dir/$lt_tmp_nm
5207 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5208 # Check to see if the nm accepts a BSD-compat flag.
5209 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5210 # nm: unknown option "B" ignored
5211 # Tru64's nm complains that /dev/null is an invalid object file
5212 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5214 mingw*) lt_bad_file=conftest.nm/nofile ;;
5215 *) lt_bad_file=/dev/null ;;
5217 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5218 *$lt_bad_file* | *'Invalid file or object type'*)
5219 lt_cv_path_NM="$tmp_nm -B"
5223 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5225 lt_cv_path_NM="$tmp_nm -p"
5229 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5230 continue # so that we can try to find one that supports BSD flags
5239 : ${lt_cv_path_NM=no}
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5243 $as_echo "$lt_cv_path_NM" >&6; }
5244 if test no != "$lt_cv_path_NM"; then
5247 # Didn't find any BSD compatible name lister, look for dumpbin.
5248 if test -n "$DUMPBIN"; then :
5249 # Let the user override the test.
5251 if test -n "$ac_tool_prefix"; then
5252 for ac_prog in dumpbin "link -dump"
5254 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_DUMPBIN+:} false; then :
5259 $as_echo_n "(cached) " >&6
5261 if test -n "$DUMPBIN"; then
5262 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 DUMPBIN=$ac_cv_prog_DUMPBIN
5282 if test -n "$DUMPBIN"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5284 $as_echo "$DUMPBIN" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5291 test -n "$DUMPBIN" && break
5294 if test -z "$DUMPBIN"; then
5295 ac_ct_DUMPBIN=$DUMPBIN
5296 for ac_prog in dumpbin "link -dump"
5298 # Extract the first word of "$ac_prog", so it can be a program name with args.
5299 set dummy $ac_prog; ac_word=$2
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5301 $as_echo_n "checking for $ac_word... " >&6; }
5302 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5303 $as_echo_n "(cached) " >&6
5305 if test -n "$ac_ct_DUMPBIN"; then
5306 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 test -z "$as_dir" && as_dir=.
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5315 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5326 if test -n "$ac_ct_DUMPBIN"; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5328 $as_echo "$ac_ct_DUMPBIN" >&6; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5335 test -n "$ac_ct_DUMPBIN" && break
5338 if test "x$ac_ct_DUMPBIN" = x; then
5341 case $cross_compiling:$ac_tool_warned in
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5345 ac_tool_warned=yes ;;
5347 DUMPBIN=$ac_ct_DUMPBIN
5351 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5353 DUMPBIN="$DUMPBIN -symbols -headers"
5361 if test : != "$DUMPBIN"; then
5365 test -z "$NM" && NM=nm
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5373 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5374 if ${lt_cv_nm_interface+:} false; then :
5375 $as_echo_n "(cached) " >&6
5377 lt_cv_nm_interface="BSD nm"
5378 echo "int some_variable = 0;" > conftest.$ac_ext
5379 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5380 (eval "$ac_compile" 2>conftest.err)
5381 cat conftest.err >&5
5382 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5383 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5384 cat conftest.err >&5
5385 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5386 cat conftest.out >&5
5387 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5388 lt_cv_nm_interface="MS dumpbin"
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5393 $as_echo "$lt_cv_nm_interface" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5396 $as_echo_n "checking whether ln -s works... " >&6; }
5398 if test "$LN_S" = "ln -s"; then
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5400 $as_echo "yes" >&6; }
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5403 $as_echo "no, using $LN_S" >&6; }
5406 # find the maximum length of command line arguments
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5408 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5409 if ${lt_cv_sys_max_cmd_len+:} false; then :
5410 $as_echo_n "(cached) " >&6
5417 # On DJGPP, this test can blow up pretty badly due to problems in libc
5418 # (any single argument exceeding 2000 bytes causes a buffer overrun
5419 # during glob expansion). Even if it were fixed, the result of this
5420 # check would be larger than it should be.
5421 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5425 # Under GNU Hurd, this test is not required because there is
5426 # no limit to the length of command line arguments.
5427 # Libtool will interpret -1 as no limit whatsoever
5428 lt_cv_sys_max_cmd_len=-1;
5431 cygwin* | mingw* | cegcc*)
5432 # On Win9x/ME, this test blows up -- it succeeds, but takes
5433 # about 5 minutes as the teststring grows exponentially.
5434 # Worse, since 9x/ME are not pre-emptively multitasking,
5435 # you end up with a "frozen" computer, even though with patience
5436 # the test eventually succeeds (with a max line length of 256k).
5437 # Instead, let's just punt: use the minimum linelength reported by
5438 # all of the supported platforms: 8192 (on NT/2K/XP).
5439 lt_cv_sys_max_cmd_len=8192;
5443 # On MiNT this can take a long time and run out of memory.
5444 lt_cv_sys_max_cmd_len=8192;
5448 # On AmigaOS with pdksh, this test takes hours, literally.
5449 # So we just punt and use a minimum line length of 8192.
5450 lt_cv_sys_max_cmd_len=8192;
5453 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5454 # This has been around since 386BSD, at least. Likely further.
5455 if test -x /sbin/sysctl; then
5456 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5457 elif test -x /usr/sbin/sysctl; then
5458 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5460 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5462 # And add a safety zone
5463 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5464 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5468 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5469 lt_cv_sys_max_cmd_len=196608
5473 # The test takes a long time on OS/2.
5474 lt_cv_sys_max_cmd_len=8192
5478 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5479 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5480 # nice to cause kernel panics so lets avoid the loop below.
5481 # First set a reasonable default.
5482 lt_cv_sys_max_cmd_len=16384
5484 if test -x /sbin/sysconfig; then
5485 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5486 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5491 lt_cv_sys_max_cmd_len=102400
5493 sysv5* | sco5v6* | sysv4.2uw2*)
5494 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5495 if test -n "$kargmax"; then
5496 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5498 lt_cv_sys_max_cmd_len=32768
5502 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5503 if test -n "$lt_cv_sys_max_cmd_len" && \
5504 test undefined != "$lt_cv_sys_max_cmd_len"; then
5505 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5506 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5508 # Make teststring a little bigger before we do anything with it.
5509 # a 1K string should be a reasonable start.
5510 for i in 1 2 3 4 5 6 7 8; do
5511 teststring=$teststring$teststring
5513 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5514 # If test is not a shell built-in, we'll probably end up computing a
5515 # maximum length that is only half of the actual maximum length, but
5517 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5518 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5519 test 17 != "$i" # 1/2 MB should be enough
5522 teststring=$teststring$teststring
5524 # Only check the string length outside the loop.
5525 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5527 # Add a significant safety factor because C++ compilers can tack on
5528 # massive amounts of additional arguments before passing them to the
5529 # linker. It appears as though 1/2 is a usable value.
5530 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5537 if test -n "$lt_cv_sys_max_cmd_len"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5539 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5542 $as_echo "none" >&6; }
5544 max_cmd_len=$lt_cv_sys_max_cmd_len
5555 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5565 # test EBCDIC or ASCII
5566 case `echo X|tr X '\101'` in
5567 A) # ASCII based system
5568 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5569 lt_SP2NL='tr \040 \012'
5570 lt_NL2SP='tr \015\012 \040\040'
5572 *) # EBCDIC based system
5573 lt_SP2NL='tr \100 \n'
5574 lt_NL2SP='tr \r\n \100\100'
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5587 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5588 if ${lt_cv_to_host_file_cmd+:} false; then :
5589 $as_echo_n "(cached) " >&6
5594 *-*-mingw* ) # actually msys
5595 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5598 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5600 * ) # otherwise, assume *nix
5601 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5607 *-*-mingw* ) # actually msys
5608 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5611 lt_cv_to_host_file_cmd=func_convert_file_noop
5613 * ) # otherwise, assume *nix
5614 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5618 * ) # unhandled hosts (and "normal" native builds)
5619 lt_cv_to_host_file_cmd=func_convert_file_noop
5625 to_host_file_cmd=$lt_cv_to_host_file_cmd
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5627 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5634 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5635 if ${lt_cv_to_tool_file_cmd+:} false; then :
5636 $as_echo_n "(cached) " >&6
5638 #assume ordinary cross tools, or native build.
5639 lt_cv_to_tool_file_cmd=func_convert_file_noop
5643 *-*-mingw* ) # actually msys
5644 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5652 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5654 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5661 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5662 if ${lt_cv_ld_reload_flag+:} false; then :
5663 $as_echo_n "(cached) " >&6
5665 lt_cv_ld_reload_flag='-r'
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5668 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5669 reload_flag=$lt_cv_ld_reload_flag
5670 case $reload_flag in
5672 *) reload_flag=" $reload_flag" ;;
5674 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5676 cygwin* | mingw* | pw32* | cegcc*)
5677 if test yes != "$GCC"; then
5682 if test yes = "$GCC"; then
5683 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5685 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5698 if test -n "$ac_tool_prefix"; then
5699 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5700 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 $as_echo_n "checking for $ac_word... " >&6; }
5703 if ${ac_cv_prog_OBJDUMP+:} false; then :
5704 $as_echo_n "(cached) " >&6
5706 if test -n "$OBJDUMP"; then
5707 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5716 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5726 OBJDUMP=$ac_cv_prog_OBJDUMP
5727 if test -n "$OBJDUMP"; then
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5729 $as_echo "$OBJDUMP" >&6; }
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5732 $as_echo "no" >&6; }
5737 if test -z "$ac_cv_prog_OBJDUMP"; then
5738 ac_ct_OBJDUMP=$OBJDUMP
5739 # Extract the first word of "objdump", so it can be a program name with args.
5740 set dummy objdump; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5744 $as_echo_n "(cached) " >&6
5746 if test -n "$ac_ct_OBJDUMP"; then
5747 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5767 if test -n "$ac_ct_OBJDUMP"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5769 $as_echo "$ac_ct_OBJDUMP" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5775 if test "x$ac_ct_OBJDUMP" = x; then
5778 case $cross_compiling:$ac_tool_warned in
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5782 ac_tool_warned=yes ;;
5784 OBJDUMP=$ac_ct_OBJDUMP
5787 OBJDUMP="$ac_cv_prog_OBJDUMP"
5790 test -z "$OBJDUMP" && OBJDUMP=objdump
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5798 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5799 if ${lt_cv_deplibs_check_method+:} false; then :
5800 $as_echo_n "(cached) " >&6
5802 lt_cv_file_magic_cmd='$MAGIC_CMD'
5803 lt_cv_file_magic_test_file=
5804 lt_cv_deplibs_check_method='unknown'
5805 # Need to set the preceding variable on all platforms that support
5806 # interlibrary dependencies.
5807 # 'none' -- dependencies not supported.
5808 # 'unknown' -- same as none, but documents that we really don't know.
5809 # 'pass_all' -- all dependencies passed with no checks.
5810 # 'test_compile' -- check by making test program.
5811 # 'file_magic [[regex]]' -- check by looking for files in library path
5812 # that responds to the $file_magic_cmd with a given extended regex.
5813 # If you have 'file' or equivalent on your system and you're not sure
5814 # whether 'pass_all' will *always* work, you probably want this one.
5818 lt_cv_deplibs_check_method=pass_all
5822 lt_cv_deplibs_check_method=pass_all
5826 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5827 lt_cv_file_magic_cmd='/usr/bin/file -L'
5828 lt_cv_file_magic_test_file=/shlib/libc.so
5832 # func_win32_libid is a shell function defined in ltmain.sh
5833 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5834 lt_cv_file_magic_cmd='func_win32_libid'
5838 # Base MSYS/MinGW do not provide the 'file' command needed by
5839 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5840 # unless we find 'file', for example because we are cross-compiling.
5841 if ( file / ) >/dev/null 2>&1; then
5842 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5843 lt_cv_file_magic_cmd='func_win32_libid'
5845 # Keep this pattern in sync with the one in func_win32_libid.
5846 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5847 lt_cv_file_magic_cmd='$OBJDUMP -f'
5852 # use the weaker test based on 'objdump'. See mingw*.
5853 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5854 lt_cv_file_magic_cmd='$OBJDUMP -f'
5857 darwin* | rhapsody*)
5858 lt_cv_deplibs_check_method=pass_all
5861 freebsd* | dragonfly*)
5862 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5865 # Not sure whether the presence of OpenBSD here was a mistake.
5866 # Let's accept both of them until this is cleared up.
5867 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5868 lt_cv_file_magic_cmd=/usr/bin/file
5869 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5873 lt_cv_deplibs_check_method=pass_all
5878 lt_cv_deplibs_check_method=pass_all
5881 hpux10.20* | hpux11*)
5882 lt_cv_file_magic_cmd=/usr/bin/file
5885 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5886 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5889 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]'
5890 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5893 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5894 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5900 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5901 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5904 irix5* | irix6* | nonstopux*)
5906 *-32|*"-32 ") libmagic=32-bit;;
5907 *-n32|*"-n32 ") libmagic=N32;;
5908 *-64|*"-64 ") libmagic=64-bit;;
5909 *) libmagic=never-match;;
5911 lt_cv_deplibs_check_method=pass_all
5914 # This must be glibc/ELF.
5915 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5916 lt_cv_deplibs_check_method=pass_all
5919 netbsd* | netbsdelf*-gnu)
5920 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5921 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5923 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5928 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5929 lt_cv_file_magic_cmd=/usr/bin/file
5930 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5934 lt_cv_deplibs_check_method=pass_all
5938 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5939 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5941 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5945 osf3* | osf4* | osf5*)
5946 lt_cv_deplibs_check_method=pass_all
5950 lt_cv_deplibs_check_method=pass_all
5954 lt_cv_deplibs_check_method=pass_all
5957 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5958 lt_cv_deplibs_check_method=pass_all
5962 case $host_vendor in
5964 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]'
5965 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5968 lt_cv_deplibs_check_method=pass_all
5971 lt_cv_file_magic_cmd='/bin/file'
5972 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5975 lt_cv_file_magic_cmd='/bin/file'
5976 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5977 lt_cv_file_magic_test_file=/lib/libc.so
5980 lt_cv_deplibs_check_method=pass_all
5983 lt_cv_deplibs_check_method=pass_all
5989 lt_cv_deplibs_check_method=pass_all
5992 lt_cv_deplibs_check_method=pass_all
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5998 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6002 if test "$build" = "$host"; then
6005 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6008 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6014 file_magic_cmd=$lt_cv_file_magic_cmd
6015 deplibs_check_method=$lt_cv_deplibs_check_method
6016 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6039 if test -n "$ac_tool_prefix"; then
6040 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6041 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6043 $as_echo_n "checking for $ac_word... " >&6; }
6044 if ${ac_cv_prog_DLLTOOL+:} false; then :
6045 $as_echo_n "(cached) " >&6
6047 if test -n "$DLLTOOL"; then
6048 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 test -z "$as_dir" && as_dir=.
6055 for ac_exec_ext in '' $ac_executable_extensions; do
6056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6057 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6067 DLLTOOL=$ac_cv_prog_DLLTOOL
6068 if test -n "$DLLTOOL"; then
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6070 $as_echo "$DLLTOOL" >&6; }
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6073 $as_echo "no" >&6; }
6078 if test -z "$ac_cv_prog_DLLTOOL"; then
6079 ac_ct_DLLTOOL=$DLLTOOL
6080 # Extract the first word of "dlltool", so it can be a program name with args.
6081 set dummy dlltool; ac_word=$2
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6083 $as_echo_n "checking for $ac_word... " >&6; }
6084 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6085 $as_echo_n "(cached) " >&6
6087 if test -n "$ac_ct_DLLTOOL"; then
6088 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6097 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6108 if test -n "$ac_ct_DLLTOOL"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6110 $as_echo "$ac_ct_DLLTOOL" >&6; }
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6113 $as_echo "no" >&6; }
6116 if test "x$ac_ct_DLLTOOL" = x; then
6119 case $cross_compiling:$ac_tool_warned in
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6123 ac_tool_warned=yes ;;
6125 DLLTOOL=$ac_ct_DLLTOOL
6128 DLLTOOL="$ac_cv_prog_DLLTOOL"
6131 test -z "$DLLTOOL" && DLLTOOL=dlltool
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6140 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6141 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6142 $as_echo_n "(cached) " >&6
6144 lt_cv_sharedlib_from_linklib_cmd='unknown'
6147 cygwin* | mingw* | pw32* | cegcc*)
6148 # two different shell functions defined in ltmain.sh;
6149 # decide which one to use based on capabilities of $DLLTOOL
6150 case `$DLLTOOL --help 2>&1` in
6151 *--identify-strict*)
6152 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6155 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6160 # fallback: assume linklib IS sharedlib
6161 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6167 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6168 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6169 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6177 if test -n "$ac_tool_prefix"; then
6180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if ${ac_cv_prog_AR+:} false; then :
6185 $as_echo_n "(cached) " >&6
6187 if test -n "$AR"; then
6188 ac_cv_prog_AR="$AR" # Let the user override the test.
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6197 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 if test -n "$AR"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6210 $as_echo "$AR" >&6; }
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6217 test -n "$AR" && break
6220 if test -z "$AR"; then
6224 # Extract the first word of "$ac_prog", so it can be a program name with args.
6225 set dummy $ac_prog; ac_word=$2
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6227 $as_echo_n "checking for $ac_word... " >&6; }
6228 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6229 $as_echo_n "(cached) " >&6
6231 if test -n "$ac_ct_AR"; then
6232 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 test -z "$as_dir" && as_dir=.
6239 for ac_exec_ext in '' $ac_executable_extensions; do
6240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6241 ac_cv_prog_ac_ct_AR="$ac_prog"
6242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6252 if test -n "$ac_ct_AR"; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6254 $as_echo "$ac_ct_AR" >&6; }
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6257 $as_echo "no" >&6; }
6261 test -n "$ac_ct_AR" && break
6264 if test "x$ac_ct_AR" = x; then
6267 case $cross_compiling:$ac_tool_warned in
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6271 ac_tool_warned=yes ;;
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6291 $as_echo_n "checking for archiver @FILE support... " >&6; }
6292 if ${lt_cv_ar_at_file+:} false; then :
6293 $as_echo_n "(cached) " >&6
6296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6297 /* end confdefs.h. */
6307 if ac_fn_c_try_compile "$LINENO"; then :
6308 echo conftest.$ac_objext > conftest.lst
6309 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6310 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6311 (eval $lt_ar_try) 2>&5
6313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6314 test $ac_status = 0; }
6315 if test 0 -eq "$ac_status"; then
6316 # Ensure the archiver fails upon bogus file names.
6317 rm -f conftest.$ac_objext libconftest.a
6318 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6319 (eval $lt_ar_try) 2>&5
6321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6322 test $ac_status = 0; }
6323 if test 0 -ne "$ac_status"; then
6327 rm -f conftest.* libconftest.a
6330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6334 $as_echo "$lt_cv_ar_at_file" >&6; }
6336 if test no = "$lt_cv_ar_at_file"; then
6339 archiver_list_spec=$lt_cv_ar_at_file
6348 if test -n "$ac_tool_prefix"; then
6349 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6350 set dummy ${ac_tool_prefix}strip; ac_word=$2
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6352 $as_echo_n "checking for $ac_word... " >&6; }
6353 if ${ac_cv_prog_STRIP+:} false; then :
6354 $as_echo_n "(cached) " >&6
6356 if test -n "$STRIP"; then
6357 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6363 test -z "$as_dir" && as_dir=.
6364 for ac_exec_ext in '' $ac_executable_extensions; do
6365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6366 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6376 STRIP=$ac_cv_prog_STRIP
6377 if test -n "$STRIP"; then
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6379 $as_echo "$STRIP" >&6; }
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6382 $as_echo "no" >&6; }
6387 if test -z "$ac_cv_prog_STRIP"; then
6389 # Extract the first word of "strip", so it can be a program name with args.
6390 set dummy strip; ac_word=$2
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6392 $as_echo_n "checking for $ac_word... " >&6; }
6393 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6394 $as_echo_n "(cached) " >&6
6396 if test -n "$ac_ct_STRIP"; then
6397 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6403 test -z "$as_dir" && as_dir=.
6404 for ac_exec_ext in '' $ac_executable_extensions; do
6405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6406 ac_cv_prog_ac_ct_STRIP="strip"
6407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6416 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6417 if test -n "$ac_ct_STRIP"; then
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6419 $as_echo "$ac_ct_STRIP" >&6; }
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6422 $as_echo "no" >&6; }
6425 if test "x$ac_ct_STRIP" = x; then
6428 case $cross_compiling:$ac_tool_warned in
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6432 ac_tool_warned=yes ;;
6437 STRIP="$ac_cv_prog_STRIP"
6440 test -z "$STRIP" && STRIP=:
6447 if test -n "$ac_tool_prefix"; then
6448 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6449 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if ${ac_cv_prog_RANLIB+:} false; then :
6453 $as_echo_n "(cached) " >&6
6455 if test -n "$RANLIB"; then
6456 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6465 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6475 RANLIB=$ac_cv_prog_RANLIB
6476 if test -n "$RANLIB"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6478 $as_echo "$RANLIB" >&6; }
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6486 if test -z "$ac_cv_prog_RANLIB"; then
6487 ac_ct_RANLIB=$RANLIB
6488 # Extract the first word of "ranlib", so it can be a program name with args.
6489 set dummy ranlib; ac_word=$2
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6491 $as_echo_n "checking for $ac_word... " >&6; }
6492 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6493 $as_echo_n "(cached) " >&6
6495 if test -n "$ac_ct_RANLIB"; then
6496 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6502 test -z "$as_dir" && as_dir=.
6503 for ac_exec_ext in '' $ac_executable_extensions; do
6504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6505 ac_cv_prog_ac_ct_RANLIB="ranlib"
6506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6515 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6516 if test -n "$ac_ct_RANLIB"; then
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6518 $as_echo "$ac_ct_RANLIB" >&6; }
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6521 $as_echo "no" >&6; }
6524 if test "x$ac_ct_RANLIB" = x; then
6527 case $cross_compiling:$ac_tool_warned in
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6531 ac_tool_warned=yes ;;
6533 RANLIB=$ac_ct_RANLIB
6536 RANLIB="$ac_cv_prog_RANLIB"
6539 test -z "$RANLIB" && RANLIB=:
6546 # Determine commands to create old-style static archives.
6547 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6548 old_postinstall_cmds='chmod 644 $oldlib'
6549 old_postuninstall_cmds=
6551 if test -n "$RANLIB"; then
6554 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6557 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6560 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6565 lock_old_archive_extraction=yes ;;
6567 lock_old_archive_extraction=no ;;
6608 # If no C compiler was specified, use CC.
6611 # If no C compiler flags were specified, use CFLAGS.
6612 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6614 # Allow CC to be a program name with arguments.
6618 # Check for command to grab the raw symbol name followed by C symbol from nm.
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6620 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6621 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6622 $as_echo_n "(cached) " >&6
6625 # These are sane defaults that work on at least a few old systems.
6626 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6628 # Character class describing NM global symbol codes.
6629 symcode='[BCDEGRST]'
6631 # Regexp to match symbols that can be accessed directly from C.
6632 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6634 # Define system-specific variables.
6639 cygwin* | mingw* | pw32* | cegcc*)
6640 symcode='[ABCDGISTW]'
6643 if test ia64 = "$host_cpu"; then
6644 symcode='[ABCDEGRST]'
6648 symcode='[BCDEGRST]'
6651 symcode='[BCDEGQRST]'
6662 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6670 # If we're using GNU nm, then use its standard symbol codes.
6671 case `$NM -V 2>&1` in
6672 *GNU* | *'with BFD'*)
6673 symcode='[ABCDGIRSTW]' ;;
6676 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6677 # Gets list of data symbols to import.
6678 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6679 # Adjust the below global symbol transforms to fixup imported variables.
6680 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6681 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6682 lt_c_name_lib_hook="\
6683 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6684 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6686 # Disable hooks by default.
6687 lt_cv_sys_global_symbol_to_import=
6693 # Transform an extracted symbol line into a proper C declaration.
6694 # Some systems (esp. on ia64) link data and code symbols differently,
6695 # so use this general approach.
6696 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6698 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6699 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6701 # Transform an extracted symbol line into symbol name and symbol address
6702 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6704 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6705 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6707 # Transform an extracted symbol line into symbol name with lib prefix and
6709 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6710 $lt_c_name_lib_hook\
6711 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6712 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6713 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6715 # Handle CRLF in mingw tool chain
6719 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6723 # Try without a prefix underscore, then with it.
6724 for ac_symprfx in "" "_"; do
6726 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6727 symxfrm="\\1 $ac_symprfx\\2 \\2"
6729 # Write the raw and C identifiers.
6730 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6731 # Fake it for dumpbin and say T for any non-static function,
6732 # D for any global variable and I for any imported variable.
6733 # Also find C++ and __fastcall symbols from MSVC++,
6734 # which start with @ or ?.
6735 lt_cv_sys_global_symbol_pipe="$AWK '"\
6736 " {last_section=section; section=\$ 3};"\
6737 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6738 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6739 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6740 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6741 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6742 " \$ 0!~/External *\|/{next};"\
6743 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6744 " {if(hide[section]) next};"\
6745 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6746 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6747 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6748 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6749 " ' prfx=^$ac_symprfx"
6751 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6753 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6755 # Check to see that the pipe works correctly.
6759 cat > conftest.$ac_ext <<_LT_EOF
6764 void nm_test_func(void);
6765 void nm_test_func(void){}
6769 int main(){nm_test_var='a';nm_test_func();return(0);}
6772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6773 (eval $ac_compile) 2>&5
6775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6776 test $ac_status = 0; }; then
6777 # Now try to grab the symbols.
6779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6780 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6783 test $ac_status = 0; } && test -s "$nlist"; then
6784 # Try sorting and uniquifying the output.
6785 if sort "$nlist" | uniq > "$nlist"T; then
6786 mv -f "$nlist"T "$nlist"
6791 # Make sure that we snagged all the symbols we need.
6792 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6793 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6794 cat <<_LT_EOF > conftest.$ac_ext
6795 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6796 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6797 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6798 relocations are performed -- see ld's documentation on pseudo-relocs. */
6799 # define LT_DLSYM_CONST
6800 #elif defined __osf__
6801 /* This system does not cope well with relocations in const data. */
6802 # define LT_DLSYM_CONST
6804 # define LT_DLSYM_CONST const
6812 # Now generate the symbol file.
6813 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6815 cat <<_LT_EOF >> conftest.$ac_ext
6817 /* The mapping between symbol names and symbols. */
6818 LT_DLSYM_CONST struct {
6822 lt__PROGRAM__LTX_preloaded_symbols[] =
6824 { "@PROGRAM@", (void *) 0 },
6826 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6827 cat <<\_LT_EOF >> conftest.$ac_ext
6831 /* This works around a problem in FreeBSD linker */
6832 #ifdef FREEBSD_WORKAROUND
6833 static const void *lt_preloaded_setup() {
6834 return lt__PROGRAM__LTX_preloaded_symbols;
6842 # Now try linking the two files.
6843 mv conftest.$ac_objext conftstm.$ac_objext
6844 lt_globsym_save_LIBS=$LIBS
6845 lt_globsym_save_CFLAGS=$CFLAGS
6846 LIBS=conftstm.$ac_objext
6847 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6849 (eval $ac_link) 2>&5
6851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6852 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6855 LIBS=$lt_globsym_save_LIBS
6856 CFLAGS=$lt_globsym_save_CFLAGS
6858 echo "cannot find nm_test_func in $nlist" >&5
6861 echo "cannot find nm_test_var in $nlist" >&5
6864 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6867 echo "$progname: failed program was:" >&5
6868 cat conftest.$ac_ext >&5
6870 rm -rf conftest* conftst*
6872 # Do not use the global_symbol_pipe unless it works.
6873 if test yes = "$pipe_works"; then
6876 lt_cv_sys_global_symbol_pipe=
6882 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6883 lt_cv_sys_global_symbol_to_cdecl=
6885 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6887 $as_echo "failed" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6890 $as_echo "ok" >&6; }
6893 # Response file support.
6894 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6895 nm_file_list_spec='@'
6896 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6897 nm_file_list_spec='@'
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6937 $as_echo_n "checking for sysroot... " >&6; }
6939 # Check whether --with-sysroot was given.
6940 if test "${with_sysroot+set}" = set; then :
6941 withval=$with_sysroot;
6948 case $with_sysroot in #(
6950 if test yes = "$GCC"; then
6951 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6955 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6961 $as_echo "$with_sysroot" >&6; }
6962 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6967 $as_echo "${lt_sysroot:-no}" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6974 $as_echo_n "checking for a working dd... " >&6; }
6975 if ${ac_cv_path_lt_DD+:} false; then :
6976 $as_echo_n "(cached) " >&6
6978 printf 0123456789abcdef0123456789abcdef >conftest.i
6979 cat conftest.i conftest.i >conftest2.i
6981 if test -z "$lt_DD"; then
6982 ac_path_lt_DD_found=false
6983 # Loop through the user's path and test for each of PROGNAME-LIST
6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir=.
6989 for ac_prog in dd; do
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6992 as_fn_executable_p "$ac_path_lt_DD" || continue
6993 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6994 cmp -s conftest.i conftest.out \
6995 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6997 $ac_path_lt_DD_found && break 3
7002 if test -z "$ac_cv_path_lt_DD"; then
7006 ac_cv_path_lt_DD=$lt_DD
7009 rm -f conftest.i conftest2.i conftest.out
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7012 $as_echo "$ac_cv_path_lt_DD" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7016 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7017 if ${lt_cv_truncate_bin+:} false; then :
7018 $as_echo_n "(cached) " >&6
7020 printf 0123456789abcdef0123456789abcdef >conftest.i
7021 cat conftest.i conftest.i >conftest2.i
7023 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7024 cmp -s conftest.i conftest.out \
7025 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7027 rm -f conftest.i conftest2.i conftest.out
7028 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7031 $as_echo "$lt_cv_truncate_bin" >&6; }
7039 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7042 for cc_temp in $*""; do
7044 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7045 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7050 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7053 # Check whether --enable-libtool-lock was given.
7054 if test "${enable_libtool_lock+set}" = set; then :
7055 enableval=$enable_libtool_lock;
7058 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7060 # Some flags need to be propagated to the compiler or linker for good
7064 # Find out what ABI is being produced by ac_compile, and set mode
7065 # options accordingly.
7066 echo 'int i;' > conftest.$ac_ext
7067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7068 (eval $ac_compile) 2>&5
7070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7071 test $ac_status = 0; }; then
7072 case `/usr/bin/file conftest.$ac_objext` in
7084 # Find out what ABI is being produced by ac_compile, and set linker
7085 # options accordingly.
7086 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088 (eval $ac_compile) 2>&5
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091 test $ac_status = 0; }; then
7092 if test yes = "$lt_cv_prog_gnu_ld"; then
7093 case `/usr/bin/file conftest.$ac_objext` in
7095 LD="${LD-ld} -melf32bsmip"
7098 LD="${LD-ld} -melf32bmipn32"
7101 LD="${LD-ld} -melf64bmip"
7105 case `/usr/bin/file conftest.$ac_objext` in
7122 # Find out what ABI is being produced by ac_compile, and set linker
7123 # options accordingly.
7124 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126 (eval $ac_compile) 2>&5
7128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129 test $ac_status = 0; }; then
7131 case `/usr/bin/file conftest.$ac_objext` in
7139 case `/usr/bin/file conftest.$ac_objext` in
7141 emul="${emul}btsmip"
7144 emul="${emul}ltsmip"
7147 case `/usr/bin/file conftest.$ac_objext` in
7152 LD="${LD-ld} -m $emul"
7157 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7158 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7159 # Find out what ABI is being produced by ac_compile, and set linker
7160 # options accordingly. Note that the listed cases only cover the
7161 # situations where additional linker options are needed (such as when
7162 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7163 # vice versa); the common cases where no linker options are needed do
7164 # not appear in the list.
7165 echo 'int i;' > conftest.$ac_ext
7166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7167 (eval $ac_compile) 2>&5
7169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7170 test $ac_status = 0; }; then
7171 case `/usr/bin/file conftest.o` in
7174 x86_64-*kfreebsd*-gnu)
7175 LD="${LD-ld} -m elf_i386_fbsd"
7178 case `/usr/bin/file conftest.o` in
7180 LD="${LD-ld} -m elf32_x86_64"
7183 LD="${LD-ld} -m elf_i386"
7187 powerpc64le-*linux*)
7188 LD="${LD-ld} -m elf32lppclinux"
7191 LD="${LD-ld} -m elf32ppclinux"
7194 LD="${LD-ld} -m elf_s390"
7197 LD="${LD-ld} -m elf32_sparc"
7203 x86_64-*kfreebsd*-gnu)
7204 LD="${LD-ld} -m elf_x86_64_fbsd"
7207 LD="${LD-ld} -m elf_x86_64"
7210 LD="${LD-ld} -m elf64lppc"
7213 LD="${LD-ld} -m elf64ppc"
7215 s390*-*linux*|s390*-*tpf*)
7216 LD="${LD-ld} -m elf64_s390"
7219 LD="${LD-ld} -m elf64_sparc"
7229 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7231 CFLAGS="$CFLAGS -belf"
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7233 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7234 if ${lt_cv_cc_needs_belf+:} false; then :
7235 $as_echo_n "(cached) " >&6
7238 ac_cpp='$CPP $CPPFLAGS'
7239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7244 /* end confdefs.h. */
7254 if ac_fn_c_try_link "$LINENO"; then :
7255 lt_cv_cc_needs_belf=yes
7257 lt_cv_cc_needs_belf=no
7259 rm -f core conftest.err conftest.$ac_objext \
7260 conftest$ac_exeext conftest.$ac_ext
7262 ac_cpp='$CPP $CPPFLAGS'
7263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7269 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7270 if test yes != "$lt_cv_cc_needs_belf"; then
7271 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7276 # Find out what ABI is being produced by ac_compile, and set linker
7277 # options accordingly.
7278 echo 'int i;' > conftest.$ac_ext
7279 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7280 (eval $ac_compile) 2>&5
7282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7283 test $ac_status = 0; }; then
7284 case `/usr/bin/file conftest.o` in
7286 case $lt_cv_prog_gnu_ld in
7289 i?86-*-solaris*|x86_64-*-solaris*)
7290 LD="${LD-ld} -m elf_x86_64"
7293 LD="${LD-ld} -m elf64_sparc"
7296 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7297 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7302 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7314 need_locks=$enable_libtool_lock
7316 if test -n "$ac_tool_prefix"; then
7317 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7318 set dummy ${ac_tool_prefix}mt; ac_word=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7322 $as_echo_n "(cached) " >&6
7324 if test -n "$MANIFEST_TOOL"; then
7325 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 test -z "$as_dir" && as_dir=.
7332 for ac_exec_ext in '' $ac_executable_extensions; do
7333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7345 if test -n "$MANIFEST_TOOL"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7347 $as_echo "$MANIFEST_TOOL" >&6; }
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7355 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7356 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7357 # Extract the first word of "mt", so it can be a program name with args.
7358 set dummy mt; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 $as_echo_n "checking for $ac_word... " >&6; }
7361 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7362 $as_echo_n "(cached) " >&6
7364 if test -n "$ac_ct_MANIFEST_TOOL"; then
7365 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7385 if test -n "$ac_ct_MANIFEST_TOOL"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7387 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7396 case $cross_compiling:$ac_tool_warned in
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7400 ac_tool_warned=yes ;;
7402 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7405 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7408 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7410 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7411 if ${lt_cv_path_mainfest_tool+:} false; then :
7412 $as_echo_n "(cached) " >&6
7414 lt_cv_path_mainfest_tool=no
7415 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7416 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7417 cat conftest.err >&5
7418 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7419 lt_cv_path_mainfest_tool=yes
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7424 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7425 if test yes != "$lt_cv_path_mainfest_tool"; then
7435 rhapsody* | darwin*)
7436 if test -n "$ac_tool_prefix"; then
7437 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7438 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440 $as_echo_n "checking for $ac_word... " >&6; }
7441 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7442 $as_echo_n "(cached) " >&6
7444 if test -n "$DSYMUTIL"; then
7445 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 test -z "$as_dir" && as_dir=.
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7454 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7464 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7465 if test -n "$DSYMUTIL"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7467 $as_echo "$DSYMUTIL" >&6; }
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 $as_echo "no" >&6; }
7475 if test -z "$ac_cv_prog_DSYMUTIL"; then
7476 ac_ct_DSYMUTIL=$DSYMUTIL
7477 # Extract the first word of "dsymutil", so it can be a program name with args.
7478 set dummy dsymutil; ac_word=$2
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7480 $as_echo_n "checking for $ac_word... " >&6; }
7481 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7482 $as_echo_n "(cached) " >&6
7484 if test -n "$ac_ct_DSYMUTIL"; then
7485 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7491 test -z "$as_dir" && as_dir=.
7492 for ac_exec_ext in '' $ac_executable_extensions; do
7493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7494 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7505 if test -n "$ac_ct_DSYMUTIL"; then
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7507 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7510 $as_echo "no" >&6; }
7513 if test "x$ac_ct_DSYMUTIL" = x; then
7516 case $cross_compiling:$ac_tool_warned in
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7520 ac_tool_warned=yes ;;
7522 DSYMUTIL=$ac_ct_DSYMUTIL
7525 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7528 if test -n "$ac_tool_prefix"; then
7529 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7530 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_prog_NMEDIT+:} false; then :
7534 $as_echo_n "(cached) " >&6
7536 if test -n "$NMEDIT"; then
7537 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7546 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7556 NMEDIT=$ac_cv_prog_NMEDIT
7557 if test -n "$NMEDIT"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7559 $as_echo "$NMEDIT" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7567 if test -z "$ac_cv_prog_NMEDIT"; then
7568 ac_ct_NMEDIT=$NMEDIT
7569 # Extract the first word of "nmedit", so it can be a program name with args.
7570 set dummy nmedit; ac_word=$2
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572 $as_echo_n "checking for $ac_word... " >&6; }
7573 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7574 $as_echo_n "(cached) " >&6
7576 if test -n "$ac_ct_NMEDIT"; then
7577 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 test -z "$as_dir" && as_dir=.
7584 for ac_exec_ext in '' $ac_executable_extensions; do
7585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7586 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7596 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7597 if test -n "$ac_ct_NMEDIT"; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7599 $as_echo "$ac_ct_NMEDIT" >&6; }
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7602 $as_echo "no" >&6; }
7605 if test "x$ac_ct_NMEDIT" = x; then
7608 case $cross_compiling:$ac_tool_warned in
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7612 ac_tool_warned=yes ;;
7614 NMEDIT=$ac_ct_NMEDIT
7617 NMEDIT="$ac_cv_prog_NMEDIT"
7620 if test -n "$ac_tool_prefix"; then
7621 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7622 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7624 $as_echo_n "checking for $ac_word... " >&6; }
7625 if ${ac_cv_prog_LIPO+:} false; then :
7626 $as_echo_n "(cached) " >&6
7628 if test -n "$LIPO"; then
7629 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 test -z "$as_dir" && as_dir=.
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7638 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7648 LIPO=$ac_cv_prog_LIPO
7649 if test -n "$LIPO"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7651 $as_echo "$LIPO" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7659 if test -z "$ac_cv_prog_LIPO"; then
7661 # Extract the first word of "lipo", so it can be a program name with args.
7662 set dummy lipo; ac_word=$2
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7664 $as_echo_n "checking for $ac_word... " >&6; }
7665 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7666 $as_echo_n "(cached) " >&6
7668 if test -n "$ac_ct_LIPO"; then
7669 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 test -z "$as_dir" && as_dir=.
7676 for ac_exec_ext in '' $ac_executable_extensions; do
7677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7678 ac_cv_prog_ac_ct_LIPO="lipo"
7679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7688 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7689 if test -n "$ac_ct_LIPO"; then
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7691 $as_echo "$ac_ct_LIPO" >&6; }
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7694 $as_echo "no" >&6; }
7697 if test "x$ac_ct_LIPO" = x; then
7700 case $cross_compiling:$ac_tool_warned in
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7704 ac_tool_warned=yes ;;
7709 LIPO="$ac_cv_prog_LIPO"
7712 if test -n "$ac_tool_prefix"; then
7713 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7714 set dummy ${ac_tool_prefix}otool; ac_word=$2
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716 $as_echo_n "checking for $ac_word... " >&6; }
7717 if ${ac_cv_prog_OTOOL+:} false; then :
7718 $as_echo_n "(cached) " >&6
7720 if test -n "$OTOOL"; then
7721 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727 test -z "$as_dir" && as_dir=.
7728 for ac_exec_ext in '' $ac_executable_extensions; do
7729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7730 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7740 OTOOL=$ac_cv_prog_OTOOL
7741 if test -n "$OTOOL"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7743 $as_echo "$OTOOL" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746 $as_echo "no" >&6; }
7751 if test -z "$ac_cv_prog_OTOOL"; then
7753 # Extract the first word of "otool", so it can be a program name with args.
7754 set dummy otool; ac_word=$2
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7756 $as_echo_n "checking for $ac_word... " >&6; }
7757 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7758 $as_echo_n "(cached) " >&6
7760 if test -n "$ac_ct_OTOOL"; then
7761 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7767 test -z "$as_dir" && as_dir=.
7768 for ac_exec_ext in '' $ac_executable_extensions; do
7769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7770 ac_cv_prog_ac_ct_OTOOL="otool"
7771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7781 if test -n "$ac_ct_OTOOL"; then
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7783 $as_echo "$ac_ct_OTOOL" >&6; }
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786 $as_echo "no" >&6; }
7789 if test "x$ac_ct_OTOOL" = x; then
7792 case $cross_compiling:$ac_tool_warned in
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7796 ac_tool_warned=yes ;;
7801 OTOOL="$ac_cv_prog_OTOOL"
7804 if test -n "$ac_tool_prefix"; then
7805 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7806 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7808 $as_echo_n "checking for $ac_word... " >&6; }
7809 if ${ac_cv_prog_OTOOL64+:} false; then :
7810 $as_echo_n "(cached) " >&6
7812 if test -n "$OTOOL64"; then
7813 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 test -z "$as_dir" && as_dir=.
7820 for ac_exec_ext in '' $ac_executable_extensions; do
7821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7822 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7832 OTOOL64=$ac_cv_prog_OTOOL64
7833 if test -n "$OTOOL64"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7835 $as_echo "$OTOOL64" >&6; }
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7838 $as_echo "no" >&6; }
7843 if test -z "$ac_cv_prog_OTOOL64"; then
7844 ac_ct_OTOOL64=$OTOOL64
7845 # Extract the first word of "otool64", so it can be a program name with args.
7846 set dummy otool64; ac_word=$2
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7848 $as_echo_n "checking for $ac_word... " >&6; }
7849 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7850 $as_echo_n "(cached) " >&6
7852 if test -n "$ac_ct_OTOOL64"; then
7853 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859 test -z "$as_dir" && as_dir=.
7860 for ac_exec_ext in '' $ac_executable_extensions; do
7861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7862 ac_cv_prog_ac_ct_OTOOL64="otool64"
7863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7872 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7873 if test -n "$ac_ct_OTOOL64"; then
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7875 $as_echo "$ac_ct_OTOOL64" >&6; }
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878 $as_echo "no" >&6; }
7881 if test "x$ac_ct_OTOOL64" = x; then
7884 case $cross_compiling:$ac_tool_warned in
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7888 ac_tool_warned=yes ;;
7890 OTOOL64=$ac_ct_OTOOL64
7893 OTOOL64="$ac_cv_prog_OTOOL64"
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7923 $as_echo_n "checking for -single_module linker flag... " >&6; }
7924 if ${lt_cv_apple_cc_single_mod+:} false; then :
7925 $as_echo_n "(cached) " >&6
7927 lt_cv_apple_cc_single_mod=no
7928 if test -z "$LT_MULTI_MODULE"; then
7929 # By default we will add the -single_module flag. You can override
7930 # by either setting the environment variable LT_MULTI_MODULE
7931 # non-empty at configure time, or by adding -multi_module to the
7933 rm -rf libconftest.dylib*
7934 echo "int foo(void){return 1;}" > conftest.c
7935 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7936 -dynamiclib -Wl,-single_module conftest.c" >&5
7937 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7938 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7940 # If there is a non-empty error log, and "single_module"
7941 # appears in it, assume the flag caused a linker warning
7942 if test -s conftest.err && $GREP single_module conftest.err; then
7943 cat conftest.err >&5
7944 # Otherwise, if the output was created with a 0 exit code from
7945 # the compiler, it worked.
7946 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7947 lt_cv_apple_cc_single_mod=yes
7949 cat conftest.err >&5
7951 rm -rf libconftest.dylib*
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7956 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7959 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7960 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7961 $as_echo_n "(cached) " >&6
7963 lt_cv_ld_exported_symbols_list=no
7964 save_LDFLAGS=$LDFLAGS
7965 echo "_main" > conftest.sym
7966 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7978 if ac_fn_c_try_link "$LINENO"; then :
7979 lt_cv_ld_exported_symbols_list=yes
7981 lt_cv_ld_exported_symbols_list=no
7983 rm -f core conftest.err conftest.$ac_objext \
7984 conftest$ac_exeext conftest.$ac_ext
7985 LDFLAGS=$save_LDFLAGS
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7989 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7992 $as_echo_n "checking for -force_load linker flag... " >&6; }
7993 if ${lt_cv_ld_force_load+:} false; then :
7994 $as_echo_n "(cached) " >&6
7996 lt_cv_ld_force_load=no
7997 cat > conftest.c << _LT_EOF
7998 int forced_loaded() { return 2;}
8000 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8001 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8002 echo "$AR cru libconftest.a conftest.o" >&5
8003 $AR cru libconftest.a conftest.o 2>&5
8004 echo "$RANLIB libconftest.a" >&5
8005 $RANLIB libconftest.a 2>&5
8006 cat > conftest.c << _LT_EOF
8007 int main() { return 0;}
8009 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8010 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8012 if test -s conftest.err && $GREP force_load conftest.err; then
8013 cat conftest.err >&5
8014 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8015 lt_cv_ld_force_load=yes
8017 cat conftest.err >&5
8019 rm -f conftest.err libconftest.a conftest conftest.c
8020 rm -rf conftest.dSYM
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8024 $as_echo "$lt_cv_ld_force_load" >&6; }
8026 rhapsody* | darwin1.[012])
8027 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8029 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8030 darwin*) # darwin 5.x on
8031 # if running on 10.5 or later, the deployment target defaults
8032 # to the OS version, if on x86, and 10.4, the deployment
8033 # target defaults to 10.4. Don't you love it?
8034 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8035 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8036 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8038 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8040 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8044 if test yes = "$lt_cv_apple_cc_single_mod"; then
8045 _lt_dar_single_mod='$single_module'
8047 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8048 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8050 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8052 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8053 _lt_dsymutil='~$DSYMUTIL $lib || :'
8060 # func_munge_path_list VARIABLE PATH
8061 # -----------------------------------
8062 # VARIABLE is name of variable containing _space_ separated list of
8063 # directories to be munged by the contents of PATH, which is string
8066 # string "DIR[ DIR]" will be prepended to VARIABLE
8068 # string "DIR[ DIR]" will be appended to VARIABLE
8069 # "DIRP[:DIRP]::[DIRA:]DIRA"
8070 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8071 # "DIRA[ DIRA]" will be appended to VARIABLE
8073 # VARIABLE will be replaced by "DIR[ DIR]"
8074 func_munge_path_list ()
8080 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8083 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8086 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8087 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8090 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8095 for ac_header in dlfcn.h
8097 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8099 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8100 cat >>confdefs.h <<_ACEOF
8101 #define HAVE_DLFCN_H 1
8114 # Check whether --enable-static was given.
8115 if test "${enable_static+set}" = set; then :
8116 enableval=$enable_static; p=${PACKAGE-default}
8118 yes) enable_static=yes ;;
8119 no) enable_static=no ;;
8122 # Look at the argument we got. We use all the common list separators.
8123 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8124 for pkg in $enableval; do
8126 if test "X$pkg" = "X$p"; then
8143 enable_win32_dll=yes
8146 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8147 if test -n "$ac_tool_prefix"; then
8148 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8149 set dummy ${ac_tool_prefix}as; ac_word=$2
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8151 $as_echo_n "checking for $ac_word... " >&6; }
8152 if ${ac_cv_prog_AS+:} false; then :
8153 $as_echo_n "(cached) " >&6
8155 if test -n "$AS"; then
8156 ac_cv_prog_AS="$AS" # Let the user override the test.
8158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 test -z "$as_dir" && as_dir=.
8163 for ac_exec_ext in '' $ac_executable_extensions; do
8164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8165 ac_cv_prog_AS="${ac_tool_prefix}as"
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8176 if test -n "$AS"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8178 $as_echo "$AS" >&6; }
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8186 if test -z "$ac_cv_prog_AS"; then
8188 # Extract the first word of "as", so it can be a program name with args.
8189 set dummy as; ac_word=$2
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8191 $as_echo_n "checking for $ac_word... " >&6; }
8192 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8193 $as_echo_n "(cached) " >&6
8195 if test -n "$ac_ct_AS"; then
8196 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8202 test -z "$as_dir" && as_dir=.
8203 for ac_exec_ext in '' $ac_executable_extensions; do
8204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8205 ac_cv_prog_ac_ct_AS="as"
8206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8215 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8216 if test -n "$ac_ct_AS"; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8218 $as_echo "$ac_ct_AS" >&6; }
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221 $as_echo "no" >&6; }
8224 if test "x$ac_ct_AS" = x; then
8227 case $cross_compiling:$ac_tool_warned in
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8231 ac_tool_warned=yes ;;
8239 if test -n "$ac_tool_prefix"; then
8240 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8241 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8243 $as_echo_n "checking for $ac_word... " >&6; }
8244 if ${ac_cv_prog_DLLTOOL+:} false; then :
8245 $as_echo_n "(cached) " >&6
8247 if test -n "$DLLTOOL"; then
8248 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8254 test -z "$as_dir" && as_dir=.
8255 for ac_exec_ext in '' $ac_executable_extensions; do
8256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8257 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8267 DLLTOOL=$ac_cv_prog_DLLTOOL
8268 if test -n "$DLLTOOL"; then
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8270 $as_echo "$DLLTOOL" >&6; }
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8273 $as_echo "no" >&6; }
8278 if test -z "$ac_cv_prog_DLLTOOL"; then
8279 ac_ct_DLLTOOL=$DLLTOOL
8280 # Extract the first word of "dlltool", so it can be a program name with args.
8281 set dummy dlltool; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283 $as_echo_n "checking for $ac_word... " >&6; }
8284 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8285 $as_echo_n "(cached) " >&6
8287 if test -n "$ac_ct_DLLTOOL"; then
8288 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8297 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8307 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8308 if test -n "$ac_ct_DLLTOOL"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8310 $as_echo "$ac_ct_DLLTOOL" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8316 if test "x$ac_ct_DLLTOOL" = x; then
8319 case $cross_compiling:$ac_tool_warned in
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8323 ac_tool_warned=yes ;;
8325 DLLTOOL=$ac_ct_DLLTOOL
8328 DLLTOOL="$ac_cv_prog_DLLTOOL"
8331 if test -n "$ac_tool_prefix"; then
8332 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8333 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8335 $as_echo_n "checking for $ac_word... " >&6; }
8336 if ${ac_cv_prog_OBJDUMP+:} false; then :
8337 $as_echo_n "(cached) " >&6
8339 if test -n "$OBJDUMP"; then
8340 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8346 test -z "$as_dir" && as_dir=.
8347 for ac_exec_ext in '' $ac_executable_extensions; do
8348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8349 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8359 OBJDUMP=$ac_cv_prog_OBJDUMP
8360 if test -n "$OBJDUMP"; then
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8362 $as_echo "$OBJDUMP" >&6; }
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8365 $as_echo "no" >&6; }
8370 if test -z "$ac_cv_prog_OBJDUMP"; then
8371 ac_ct_OBJDUMP=$OBJDUMP
8372 # Extract the first word of "objdump", so it can be a program name with args.
8373 set dummy objdump; ac_word=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8377 $as_echo_n "(cached) " >&6
8379 if test -n "$ac_ct_OBJDUMP"; then
8380 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8389 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8399 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8400 if test -n "$ac_ct_OBJDUMP"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8402 $as_echo "$ac_ct_OBJDUMP" >&6; }
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8408 if test "x$ac_ct_OBJDUMP" = x; then
8411 case $cross_compiling:$ac_tool_warned in
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8415 ac_tool_warned=yes ;;
8417 OBJDUMP=$ac_ct_OBJDUMP
8420 OBJDUMP="$ac_cv_prog_OBJDUMP"
8426 test -z "$AS" && AS=as
8432 test -z "$DLLTOOL" && DLLTOOL=dlltool
8438 test -z "$OBJDUMP" && OBJDUMP=objdump
8448 # Check whether --enable-shared was given.
8449 if test "${enable_shared+set}" = set; then :
8450 enableval=$enable_shared; p=${PACKAGE-default}
8452 yes) enable_shared=yes ;;
8453 no) enable_shared=no ;;
8456 # Look at the argument we got. We use all the common list separators.
8457 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8458 for pkg in $enableval; do
8460 if test "X$pkg" = "X$p"; then
8481 # Check whether --with-pic was given.
8482 if test "${with_pic+set}" = set; then :
8483 withval=$with_pic; lt_p=${PACKAGE-default}
8485 yes|no) pic_mode=$withval ;;
8488 # Look at the argument we got. We use all the common list separators.
8489 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8490 for lt_pkg in $withval; do
8492 if test "X$lt_pkg" = "X$lt_p"; then
8510 # Check whether --enable-fast-install was given.
8511 if test "${enable_fast_install+set}" = set; then :
8512 enableval=$enable_fast_install; p=${PACKAGE-default}
8514 yes) enable_fast_install=yes ;;
8515 no) enable_fast_install=no ;;
8517 enable_fast_install=no
8518 # Look at the argument we got. We use all the common list separators.
8519 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8520 for pkg in $enableval; do
8522 if test "X$pkg" = "X$p"; then
8523 enable_fast_install=yes
8530 enable_fast_install=yes
8540 shared_archive_member_spec=
8541 case $host,$enable_shared in
8542 power*-*-aix[5-9]*,yes)
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8544 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8546 # Check whether --with-aix-soname was given.
8547 if test "${with_aix_soname+set}" = set; then :
8548 withval=$with_aix_soname; case $withval in
8552 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8555 lt_cv_with_aix_soname=$with_aix_soname
8557 if ${lt_cv_with_aix_soname+:} false; then :
8558 $as_echo_n "(cached) " >&6
8560 lt_cv_with_aix_soname=aix
8563 with_aix_soname=$lt_cv_with_aix_soname
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8567 $as_echo "$with_aix_soname" >&6; }
8568 if test aix != "$with_aix_soname"; then
8569 # For the AIX way of multilib, we name the shared archive member
8570 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8571 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8572 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8573 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8574 if test 64 = "${OBJECT_MODE-32}"; then
8575 shared_archive_member_spec=shr_64
8577 shared_archive_member_spec=shr
8595 # This can be used to rebuild libtool when needed
8596 LIBTOOL_DEPS=$ltmain
8598 # Always use our own libtool.
8599 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8630 test -z "$LN_S" && LN_S="ln -s"
8645 if test -n "${ZSH_VERSION+set}"; then
8646 setopt NO_GLOB_SUBST
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8650 $as_echo_n "checking for objdir... " >&6; }
8651 if ${lt_cv_objdir+:} false; then :
8652 $as_echo_n "(cached) " >&6
8654 rm -f .libs 2>/dev/null
8655 mkdir .libs 2>/dev/null
8656 if test -d .libs; then
8659 # MS-DOS does not allow filenames that begin with a dot.
8662 rmdir .libs 2>/dev/null
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8665 $as_echo "$lt_cv_objdir" >&6; }
8666 objdir=$lt_cv_objdir
8672 cat >>confdefs.h <<_ACEOF
8673 #define LT_OBJDIR "$lt_cv_objdir/"
8681 # AIX sometimes has problems with the GCC collect2 program. For some
8682 # reason, if we set the COLLECT_NAMES environment variable, the problems
8683 # vanish in a puff of smoke.
8684 if test set != "${COLLECT_NAMES+set}"; then
8686 export COLLECT_NAMES
8693 can_build_shared=yes
8695 # All known linkers require a '.a' archive for static linking (except MSVC,
8696 # which needs '.lib').
8699 with_gnu_ld=$lt_cv_prog_gnu_ld
8704 # Set sane defaults for various variables
8705 test -z "$CC" && CC=cc
8706 test -z "$LTCC" && LTCC=$CC
8707 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8708 test -z "$LD" && LD=ld
8709 test -z "$ac_objext" && ac_objext=o
8711 func_cc_basename $compiler
8712 cc_basename=$func_cc_basename_result
8715 # Only perform the check for file, if the check method requires it
8716 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8717 case $deplibs_check_method in
8719 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8721 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8722 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8723 $as_echo_n "(cached) " >&6
8727 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8730 lt_save_MAGIC_CMD=$MAGIC_CMD
8731 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8732 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8733 for ac_dir in $ac_dummy; do
8735 test -z "$ac_dir" && ac_dir=.
8736 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8737 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8738 if test -n "$file_magic_test_file"; then
8739 case $deplibs_check_method in
8741 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8742 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8743 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8744 $EGREP "$file_magic_regex" > /dev/null; then
8749 *** Warning: the command libtool uses to detect shared libraries,
8750 *** $file_magic_cmd, produces output that libtool cannot recognize.
8751 *** The result is that libtool may fail to recognize shared libraries
8752 *** as such. This will affect the creation of libtool libraries that
8753 *** depend on shared libraries, but programs linked with such libtool
8754 *** libraries will work regardless of this problem. Nevertheless, you
8755 *** may want to report the problem to your system manager and/or to
8756 *** bug-libtool@gnu.org
8766 MAGIC_CMD=$lt_save_MAGIC_CMD
8771 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8772 if test -n "$MAGIC_CMD"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8774 $as_echo "$MAGIC_CMD" >&6; }
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8777 $as_echo "no" >&6; }
8784 if test -z "$lt_cv_path_MAGIC_CMD"; then
8785 if test -n "$ac_tool_prefix"; then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8787 $as_echo_n "checking for file... " >&6; }
8788 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8789 $as_echo_n "(cached) " >&6
8793 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8796 lt_save_MAGIC_CMD=$MAGIC_CMD
8797 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8798 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8799 for ac_dir in $ac_dummy; do
8801 test -z "$ac_dir" && ac_dir=.
8802 if test -f "$ac_dir/file"; then
8803 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8804 if test -n "$file_magic_test_file"; then
8805 case $deplibs_check_method in
8807 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8808 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8809 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8810 $EGREP "$file_magic_regex" > /dev/null; then
8815 *** Warning: the command libtool uses to detect shared libraries,
8816 *** $file_magic_cmd, produces output that libtool cannot recognize.
8817 *** The result is that libtool may fail to recognize shared libraries
8818 *** as such. This will affect the creation of libtool libraries that
8819 *** depend on shared libraries, but programs linked with such libtool
8820 *** libraries will work regardless of this problem. Nevertheless, you
8821 *** may want to report the problem to your system manager and/or to
8822 *** bug-libtool@gnu.org
8832 MAGIC_CMD=$lt_save_MAGIC_CMD
8837 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8838 if test -n "$MAGIC_CMD"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8840 $as_echo "$MAGIC_CMD" >&6; }
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8843 $as_echo "no" >&6; }
8856 # Use C for the default configuration in the libtool script
8860 ac_cpp='$CPP $CPPFLAGS'
8861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8866 # Source file extension for C test sources.
8869 # Object file extension for compiled C test sources.
8873 # Code to be used in simple compile tests
8874 lt_simple_compile_test_code="int some_variable = 0;"
8876 # Code to be used in simple link tests
8877 lt_simple_link_test_code='int main(){return(0);}'
8885 # If no C compiler was specified, use CC.
8888 # If no C compiler flags were specified, use CFLAGS.
8889 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8891 # Allow CC to be a program name with arguments.
8894 # Save the default compiler, since it gets overwritten when the other
8895 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8896 compiler_DEFAULT=$CC
8898 # save warnings/boilerplate of simple test code
8899 ac_outfile=conftest.$ac_objext
8900 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8901 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8902 _lt_compiler_boilerplate=`cat conftest.err`
8905 ac_outfile=conftest.$ac_objext
8906 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8907 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8908 _lt_linker_boilerplate=`cat conftest.err`
8913 ## There is no encapsulation within the following macros, do not change
8914 ## the running order or otherwise move them around unless you know exactly
8915 ## what you are doing...
8916 if test -n "$compiler"; then
8918 lt_prog_compiler_no_builtin_flag=
8920 if test yes = "$GCC"; then
8921 case $cc_basename in
8923 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8925 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8929 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8930 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8931 $as_echo_n "(cached) " >&6
8933 lt_cv_prog_compiler_rtti_exceptions=no
8934 ac_outfile=conftest.$ac_objext
8935 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8936 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8937 # Insert the option either (1) after the last *FLAGS variable, or
8938 # (2) before a word containing "conftest.", or (3) at the end.
8939 # Note that $ac_compile itself does not contain backslashes and begins
8940 # with a dollar sign (not a hyphen), so the echo should work correctly.
8941 # The option is referenced via a variable to avoid confusing sed.
8942 lt_compile=`echo "$ac_compile" | $SED \
8943 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8944 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8945 -e 's:$: $lt_compiler_flag:'`
8946 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8947 (eval "$lt_compile" 2>conftest.err)
8949 cat conftest.err >&5
8950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8951 if (exit $ac_status) && test -s "$ac_outfile"; then
8952 # The compiler can only warn and ignore the option if not recognized
8953 # So say no if there are warnings other than the usual output.
8954 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8955 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8956 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8957 lt_cv_prog_compiler_rtti_exceptions=yes
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8964 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8966 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8967 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8979 lt_prog_compiler_wl=
8980 lt_prog_compiler_pic=
8981 lt_prog_compiler_static=
8984 if test yes = "$GCC"; then
8985 lt_prog_compiler_wl='-Wl,'
8986 lt_prog_compiler_static='-static'
8990 # All AIX code is PIC.
8991 if test ia64 = "$host_cpu"; then
8992 # AIX 5 now supports IA64 processor
8993 lt_prog_compiler_static='-Bstatic'
8995 lt_prog_compiler_pic='-fPIC'
9001 # see comment about AmigaOS4 .so support
9002 lt_prog_compiler_pic='-fPIC'
9005 # FIXME: we need at least 68020 code to build shared libraries, but
9006 # adding the '-m68020' flag to GCC prevents building anything better,
9008 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9013 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9014 # PIC is the default for these OSes.
9017 mingw* | cygwin* | pw32* | os2* | cegcc*)
9018 # This hack is so that the source file can tell whether it is being
9019 # built for inclusion in a dll (and should export symbols for example).
9020 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9021 # (--disable-auto-import) libraries
9022 lt_prog_compiler_pic='-DDLL_EXPORT'
9025 lt_prog_compiler_static='$wl-static'
9030 darwin* | rhapsody*)
9031 # PIC is the default on this platform
9032 # Common symbols not allowed in MH_DYLIB files
9033 lt_prog_compiler_pic='-fno-common'
9037 # PIC is the default for Haiku.
9038 # The "-static" flag exists, but is broken.
9039 lt_prog_compiler_static=
9043 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9044 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9045 # sets the default TLS model and affects inlining.
9051 lt_prog_compiler_pic='-fPIC'
9057 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9058 # Instead, we relocate shared libraries at runtime.
9062 # Just because we use GCC doesn't mean we suddenly get shared libraries
9063 # on systems that don't support them.
9064 lt_prog_compiler_can_build_shared=no
9069 # QNX uses GNU C++, but need to define -shared option too, otherwise
9071 lt_prog_compiler_pic='-fPIC -shared'
9075 if test -d /usr/nec; then
9076 lt_prog_compiler_pic=-Kconform_pic
9081 lt_prog_compiler_pic='-fPIC'
9085 case $cc_basename in
9086 nvcc*) # Cuda Compiler Driver 2.2
9087 lt_prog_compiler_wl='-Xlinker '
9088 if test -n "$lt_prog_compiler_pic"; then
9089 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9094 # PORTME Check for flag to pass linker flags through the system compiler.
9097 lt_prog_compiler_wl='-Wl,'
9098 if test ia64 = "$host_cpu"; then
9099 # AIX 5 now supports IA64 processor
9100 lt_prog_compiler_static='-Bstatic'
9102 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9106 darwin* | rhapsody*)
9107 # PIC is the default on this platform
9108 # Common symbols not allowed in MH_DYLIB files
9109 lt_prog_compiler_pic='-fno-common'
9110 case $cc_basename in
9112 # NAG Fortran compiler
9113 lt_prog_compiler_wl='-Wl,-Wl,,'
9114 lt_prog_compiler_pic='-PIC'
9115 lt_prog_compiler_static='-Bstatic'
9120 mingw* | cygwin* | pw32* | os2* | cegcc*)
9121 # This hack is so that the source file can tell whether it is being
9122 # built for inclusion in a dll (and should export symbols for example).
9123 lt_prog_compiler_pic='-DDLL_EXPORT'
9126 lt_prog_compiler_static='$wl-static'
9131 hpux9* | hpux10* | hpux11*)
9132 lt_prog_compiler_wl='-Wl,'
9133 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9140 lt_prog_compiler_pic='+Z'
9143 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9144 lt_prog_compiler_static='$wl-a ${wl}archive'
9147 irix5* | irix6* | nonstopux*)
9148 lt_prog_compiler_wl='-Wl,'
9149 # PIC (with -KPIC) is the default.
9150 lt_prog_compiler_static='-non_shared'
9153 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9154 case $cc_basename in
9155 # old Intel for x86_64, which still supported -KPIC.
9157 lt_prog_compiler_wl='-Wl,'
9158 lt_prog_compiler_pic='-KPIC'
9159 lt_prog_compiler_static='-static'
9161 # icc used to be incompatible with GCC.
9162 # ICC 10 doesn't accept -KPIC any more.
9164 lt_prog_compiler_wl='-Wl,'
9165 lt_prog_compiler_pic='-fPIC'
9166 lt_prog_compiler_static='-static'
9168 # Lahey Fortran 8.1.
9170 lt_prog_compiler_wl='-Wl,'
9171 lt_prog_compiler_pic='--shared'
9172 lt_prog_compiler_static='--static'
9175 # NAG Fortran compiler
9176 lt_prog_compiler_wl='-Wl,-Wl,,'
9177 lt_prog_compiler_pic='-PIC'
9178 lt_prog_compiler_static='-Bstatic'
9181 # Fabrice Bellard et al's Tiny C Compiler
9182 lt_prog_compiler_wl='-Wl,'
9183 lt_prog_compiler_pic='-fPIC'
9184 lt_prog_compiler_static='-static'
9186 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9187 # Portland Group compilers (*not* the Pentium gcc compiler,
9188 # which looks to be a dead project)
9189 lt_prog_compiler_wl='-Wl,'
9190 lt_prog_compiler_pic='-fpic'
9191 lt_prog_compiler_static='-Bstatic'
9194 lt_prog_compiler_wl='-Wl,'
9195 # All Alpha code is PIC.
9196 lt_prog_compiler_static='-non_shared'
9198 xl* | bgxl* | bgf* | mpixl*)
9199 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9200 lt_prog_compiler_wl='-Wl,'
9201 lt_prog_compiler_pic='-qpic'
9202 lt_prog_compiler_static='-qstaticlink'
9205 case `$CC -V 2>&1 | sed 5q` in
9206 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9207 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9208 lt_prog_compiler_pic='-KPIC'
9209 lt_prog_compiler_static='-Bstatic'
9210 lt_prog_compiler_wl=''
9212 *Sun\ F* | *Sun*Fortran*)
9213 lt_prog_compiler_pic='-KPIC'
9214 lt_prog_compiler_static='-Bstatic'
9215 lt_prog_compiler_wl='-Qoption ld '
9219 lt_prog_compiler_pic='-KPIC'
9220 lt_prog_compiler_static='-Bstatic'
9221 lt_prog_compiler_wl='-Wl,'
9223 *Intel*\ [CF]*Compiler*)
9224 lt_prog_compiler_wl='-Wl,'
9225 lt_prog_compiler_pic='-fPIC'
9226 lt_prog_compiler_static='-static'
9229 lt_prog_compiler_wl='-Wl,'
9230 lt_prog_compiler_pic='-fpic'
9231 lt_prog_compiler_static='-Bstatic'
9239 lt_prog_compiler_pic='-KPIC'
9240 lt_prog_compiler_static='-Bstatic'
9244 # QNX uses GNU C++, but need to define -shared option too, otherwise
9246 lt_prog_compiler_pic='-fPIC -shared'
9249 osf3* | osf4* | osf5*)
9250 lt_prog_compiler_wl='-Wl,'
9251 # All OSF/1 code is PIC.
9252 lt_prog_compiler_static='-non_shared'
9256 lt_prog_compiler_static='-non_shared'
9260 lt_prog_compiler_pic='-KPIC'
9261 lt_prog_compiler_static='-Bstatic'
9262 case $cc_basename in
9263 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9264 lt_prog_compiler_wl='-Qoption ld ';;
9266 lt_prog_compiler_wl='-Wl,';;
9271 lt_prog_compiler_wl='-Qoption ld '
9272 lt_prog_compiler_pic='-PIC'
9273 lt_prog_compiler_static='-Bstatic'
9276 sysv4 | sysv4.2uw2* | sysv4.3*)
9277 lt_prog_compiler_wl='-Wl,'
9278 lt_prog_compiler_pic='-KPIC'
9279 lt_prog_compiler_static='-Bstatic'
9283 if test -d /usr/nec; then
9284 lt_prog_compiler_pic='-Kconform_pic'
9285 lt_prog_compiler_static='-Bstatic'
9289 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9290 lt_prog_compiler_wl='-Wl,'
9291 lt_prog_compiler_pic='-KPIC'
9292 lt_prog_compiler_static='-Bstatic'
9296 lt_prog_compiler_wl='-Wl,'
9297 lt_prog_compiler_can_build_shared=no
9301 lt_prog_compiler_pic='-pic'
9302 lt_prog_compiler_static='-Bstatic'
9306 lt_prog_compiler_can_build_shared=no
9312 # For platforms that do not support PIC, -DPIC is meaningless:
9314 lt_prog_compiler_pic=
9317 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9322 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9323 if ${lt_cv_prog_compiler_pic+:} false; then :
9324 $as_echo_n "(cached) " >&6
9326 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9329 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9330 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9333 # Check to make sure the PIC flag actually works.
9335 if test -n "$lt_prog_compiler_pic"; then
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9337 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9338 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9339 $as_echo_n "(cached) " >&6
9341 lt_cv_prog_compiler_pic_works=no
9342 ac_outfile=conftest.$ac_objext
9343 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9344 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9345 # Insert the option either (1) after the last *FLAGS variable, or
9346 # (2) before a word containing "conftest.", or (3) at the end.
9347 # Note that $ac_compile itself does not contain backslashes and begins
9348 # with a dollar sign (not a hyphen), so the echo should work correctly.
9349 # The option is referenced via a variable to avoid confusing sed.
9350 lt_compile=`echo "$ac_compile" | $SED \
9351 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9352 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9353 -e 's:$: $lt_compiler_flag:'`
9354 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9355 (eval "$lt_compile" 2>conftest.err)
9357 cat conftest.err >&5
9358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359 if (exit $ac_status) && test -s "$ac_outfile"; then
9360 # The compiler can only warn and ignore the option if not recognized
9361 # So say no if there are warnings other than the usual output.
9362 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9363 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9364 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9365 lt_cv_prog_compiler_pic_works=yes
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9372 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9374 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9375 case $lt_prog_compiler_pic in
9377 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9380 lt_prog_compiler_pic=
9381 lt_prog_compiler_can_build_shared=no
9397 # Check to make sure the static flag actually works.
9399 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9401 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9402 if ${lt_cv_prog_compiler_static_works+:} false; then :
9403 $as_echo_n "(cached) " >&6
9405 lt_cv_prog_compiler_static_works=no
9406 save_LDFLAGS=$LDFLAGS
9407 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9408 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9409 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9410 # The linker can only warn and ignore the option if not recognized
9411 # So say no if there are warnings
9412 if test -s conftest.err; then
9413 # Append any errors to the config.log.
9414 cat conftest.err 1>&5
9415 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9416 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9417 if diff conftest.exp conftest.er2 >/dev/null; then
9418 lt_cv_prog_compiler_static_works=yes
9421 lt_cv_prog_compiler_static_works=yes
9425 LDFLAGS=$save_LDFLAGS
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9429 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9431 if test yes = "$lt_cv_prog_compiler_static_works"; then
9434 lt_prog_compiler_static=
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9444 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9445 if ${lt_cv_prog_compiler_c_o+:} false; then :
9446 $as_echo_n "(cached) " >&6
9448 lt_cv_prog_compiler_c_o=no
9449 $RM -r conftest 2>/dev/null
9453 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9455 lt_compiler_flag="-o out/conftest2.$ac_objext"
9456 # Insert the option either (1) after the last *FLAGS variable, or
9457 # (2) before a word containing "conftest.", or (3) at the end.
9458 # Note that $ac_compile itself does not contain backslashes and begins
9459 # with a dollar sign (not a hyphen), so the echo should work correctly.
9460 lt_compile=`echo "$ac_compile" | $SED \
9461 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9462 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9463 -e 's:$: $lt_compiler_flag:'`
9464 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9465 (eval "$lt_compile" 2>out/conftest.err)
9467 cat out/conftest.err >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9471 # The compiler can only warn and ignore the option if not recognized
9472 # So say no if there are warnings
9473 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9474 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9475 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9476 lt_cv_prog_compiler_c_o=yes
9481 # SGI C++ compiler will create directory out/ii_files/ for
9482 # template instantiation
9483 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9484 $RM out/* && rmdir out
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9491 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9499 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9500 if ${lt_cv_prog_compiler_c_o+:} false; then :
9501 $as_echo_n "(cached) " >&6
9503 lt_cv_prog_compiler_c_o=no
9504 $RM -r conftest 2>/dev/null
9508 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9510 lt_compiler_flag="-o out/conftest2.$ac_objext"
9511 # Insert the option either (1) after the last *FLAGS variable, or
9512 # (2) before a word containing "conftest.", or (3) at the end.
9513 # Note that $ac_compile itself does not contain backslashes and begins
9514 # with a dollar sign (not a hyphen), so the echo should work correctly.
9515 lt_compile=`echo "$ac_compile" | $SED \
9516 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9517 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9518 -e 's:$: $lt_compiler_flag:'`
9519 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9520 (eval "$lt_compile" 2>out/conftest.err)
9522 cat out/conftest.err >&5
9523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9526 # The compiler can only warn and ignore the option if not recognized
9527 # So say no if there are warnings
9528 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9529 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9530 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9531 lt_cv_prog_compiler_c_o=yes
9536 # SGI C++ compiler will create directory out/ii_files/ for
9537 # template instantiation
9538 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9539 $RM out/* && rmdir out
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9546 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9551 hard_links=nottested
9552 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9553 # do not overwrite the value of need_locks provided by the user
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9555 $as_echo_n "checking if we can lock with hard links... " >&6; }
9558 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9560 ln conftest.a conftest.b 2>&5 || hard_links=no
9561 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9563 $as_echo "$hard_links" >&6; }
9564 if test no = "$hard_links"; then
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9566 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9579 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9582 allow_undefined_flag=
9583 always_export_symbols=no
9585 archive_expsym_cmds=
9586 compiler_needs_object=no
9587 enable_shared_with_static_runtimes=no
9588 export_dynamic_flag_spec=
9589 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9590 hardcode_automatic=no
9592 hardcode_direct_absolute=no
9593 hardcode_libdir_flag_spec=
9594 hardcode_libdir_separator=
9596 hardcode_shlibpath_var=unsupported
9598 link_all_deplibs=unknown
9601 old_archive_from_new_cmds=
9602 old_archive_from_expsyms_cmds=
9603 thread_safe_flag_spec=
9604 whole_archive_flag_spec=
9605 # include_expsyms should be a list of space-separated symbols to be *always*
9606 # included in the symbol list
9608 # exclude_expsyms can be an extended regexp of symbols to exclude
9609 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9610 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9611 # as well as any symbol that contains 'd'.
9612 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9613 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9614 # platforms (ab)use it in PIC code, but their linkers get confused if
9615 # the symbol is explicitly referenced. Since portable code cannot
9616 # rely on this symbol name, it's probably fine to never include it in
9617 # preloaded symbol tables.
9618 # Exclude shared library initialization/finalization symbols.
9619 extract_expsyms_cmds=
9622 cygwin* | mingw* | pw32* | cegcc*)
9623 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9624 # When not using gcc, we currently assume that we are using
9625 # Microsoft Visual C++.
9626 if test yes != "$GCC"; then
9631 # we just hope/assume this is gcc and not c89 (= MSVC++)
9637 linux* | k*bsd*-gnu | gnu*)
9644 # On some targets, GNU ld is compatible enough with the native linker
9645 # that we're better off using the native interface for both.
9646 lt_use_gnu_ld_interface=no
9647 if test yes = "$with_gnu_ld"; then
9650 # The AIX port of GNU ld has always aspired to compatibility
9651 # with the native linker. However, as the warning in the GNU ld
9652 # block says, versions before 2.19.5* couldn't really create working
9653 # shared libraries, regardless of the interface used.
9654 case `$LD -v 2>&1` in
9655 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9656 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9657 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9659 lt_use_gnu_ld_interface=yes
9664 lt_use_gnu_ld_interface=yes
9669 if test yes = "$lt_use_gnu_ld_interface"; then
9670 # If archive_cmds runs LD, not CC, wlarc should be empty
9673 # Set some defaults for GNU ld with shared library support. These
9674 # are reset later if shared libraries are not supported. Putting them
9675 # here allows them to be overridden if necessary.
9676 runpath_var=LD_RUN_PATH
9677 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9678 export_dynamic_flag_spec='$wl--export-dynamic'
9679 # ancient GNU ld didn't support --whole-archive et. al.
9680 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9681 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9683 whole_archive_flag_spec=
9685 supports_anon_versioning=no
9686 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9687 *GNU\ gold*) supports_anon_versioning=yes ;;
9688 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9689 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9690 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9691 *\ 2.11.*) ;; # other 2.11 versions
9692 *) supports_anon_versioning=yes ;;
9695 # See if GNU ld supports shared libraries.
9698 # On AIX/PPC, the GNU linker is very broken
9699 if test ia64 != "$host_cpu"; then
9703 *** Warning: the GNU linker, at least up to release 2.19, is reported
9704 *** to be unable to reliably create shared libraries on AIX.
9705 *** Therefore, libtool is disabling shared libraries support. If you
9706 *** really care for shared libraries, you may want to install binutils
9707 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9708 *** You will then need to restart the configuration process.
9717 # see comment about AmigaOS4 .so support
9718 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9719 archive_expsym_cmds=''
9722 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)'
9723 hardcode_libdir_flag_spec='-L$libdir'
9724 hardcode_minus_L=yes
9730 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9731 allow_undefined_flag=unsupported
9732 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9733 # support --undefined. This deserves some investigation. FIXME
9734 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9740 cygwin* | mingw* | pw32* | cegcc*)
9741 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9742 # as there is no search path for DLLs.
9743 hardcode_libdir_flag_spec='-L$libdir'
9744 export_dynamic_flag_spec='$wl--export-all-symbols'
9745 allow_undefined_flag=unsupported
9746 always_export_symbols=no
9747 enable_shared_with_static_runtimes=yes
9748 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'
9749 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9751 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9752 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9753 # If the export-symbols file already is a .def file, use it as
9754 # is; otherwise, prepend EXPORTS...
9755 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9756 cp $export_symbols $output_objdir/$soname.def;
9758 echo EXPORTS > $output_objdir/$soname.def;
9759 cat $export_symbols >> $output_objdir/$soname.def;
9761 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9768 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9769 link_all_deplibs=yes
9773 hardcode_libdir_flag_spec='-L$libdir'
9774 hardcode_minus_L=yes
9775 allow_undefined_flag=unsupported
9777 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9778 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9779 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9780 $ECHO EXPORTS >> $output_objdir/$libname.def~
9781 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9782 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9783 emximp -o $lib $output_objdir/$libname.def'
9784 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9785 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9786 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9787 $ECHO EXPORTS >> $output_objdir/$libname.def~
9789 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9790 prefix_cmds="$prefix_cmds -e 1d";
9792 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9793 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9794 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9795 emximp -o $lib $output_objdir/$libname.def'
9796 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9797 enable_shared_with_static_runtimes=yes
9802 hardcode_shlibpath_var=no
9803 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9804 export_dynamic_flag_spec='$wl-E'
9805 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9806 # Instead, shared libraries are loaded at an image base (0x10000000 by
9807 # default) and relocated if they conflict, which is a slow very memory
9808 # consuming and fragmenting process. To avoid this, we pick a random,
9809 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9810 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9811 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9812 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'
9815 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9817 if test linux-dietlibc = "$host_os"; then
9818 case $cc_basename in
9819 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9822 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9823 && test no = "$tmp_diet"
9825 tmp_addflag=' $pic_flag'
9826 tmp_sharedflag='-shared'
9827 case $cc_basename,$host_cpu in
9828 pgcc*) # Portland Group C compiler
9829 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'
9830 tmp_addflag=' $pic_flag'
9832 pgf77* | pgf90* | pgf95* | pgfortran*)
9833 # Portland Group f77 and f90 compilers
9834 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'
9835 tmp_addflag=' $pic_flag -Mnomain' ;;
9836 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9837 tmp_addflag=' -i_dynamic' ;;
9838 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9839 tmp_addflag=' -i_dynamic -nofor_main' ;;
9840 ifc* | ifort*) # Intel Fortran compiler
9841 tmp_addflag=' -nofor_main' ;;
9842 lf95*) # Lahey Fortran 8.1
9843 whole_archive_flag_spec=
9844 tmp_sharedflag='--shared' ;;
9845 nagfor*) # NAGFOR 5.3
9846 tmp_sharedflag='-Wl,-shared' ;;
9847 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9848 tmp_sharedflag='-qmkshrobj'
9850 nvcc*) # Cuda Compiler Driver 2.2
9851 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'
9852 compiler_needs_object=yes
9855 case `$CC -V 2>&1 | sed 5q` in
9856 *Sun\ C*) # Sun C 5.9
9857 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'
9858 compiler_needs_object=yes
9859 tmp_sharedflag='-G' ;;
9860 *Sun\ F*) # Sun Fortran 8.3
9861 tmp_sharedflag='-G' ;;
9863 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9865 if test yes = "$supports_anon_versioning"; then
9866 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9867 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9868 echo "local: *; };" >> $output_objdir/$libname.ver~
9869 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9872 case $cc_basename in
9874 export_dynamic_flag_spec='-rdynamic'
9876 xlf* | bgf* | bgxlf* | mpixlf*)
9877 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9878 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9879 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9880 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9881 if test yes = "$supports_anon_versioning"; then
9882 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9883 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9884 echo "local: *; };" >> $output_objdir/$libname.ver~
9885 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9894 netbsd* | netbsdelf*-gnu)
9895 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9896 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9899 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9900 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9905 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9909 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9910 *** create shared libraries on Solaris systems. Therefore, libtool
9911 *** is disabling shared libraries support. We urge you to upgrade GNU
9912 *** binutils to release 2.9.1 or newer. Another option is to modify
9913 *** your PATH or compiler configuration so that the native linker is
9914 *** used, and then restart.
9917 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9918 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9919 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9925 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9926 case `$LD -v 2>&1` in
9927 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9931 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9932 *** reliably create shared libraries on SCO systems. Therefore, libtool
9933 *** is disabling shared libraries support. We urge you to upgrade GNU
9934 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9935 *** your PATH or compiler configuration so that the native linker is
9936 *** used, and then restart.
9941 # For security reasons, it is highly recommended that you always
9942 # use absolute paths for naming shared libraries, and exclude the
9943 # DT_RUNPATH tag from executables and libraries. But doing so
9944 # requires that you compile everything twice, which is a pain.
9945 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9946 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9947 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9948 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9957 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9960 hardcode_shlibpath_var=no
9964 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9965 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9966 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9973 if test no = "$ld_shlibs"; then
9975 hardcode_libdir_flag_spec=
9976 export_dynamic_flag_spec=
9977 whole_archive_flag_spec=
9980 # PORTME fill in a description of your system's linker (not GNU ld)
9983 allow_undefined_flag=unsupported
9984 always_export_symbols=yes
9985 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'
9986 # Note: this linker hardcodes the directories in LIBPATH if there
9987 # are no directories specified by -L.
9988 hardcode_minus_L=yes
9989 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9990 # Neither direct hardcoding nor static linking is supported with a
9992 hardcode_direct=unsupported
9997 if test ia64 = "$host_cpu"; then
9998 # On IA64, the linker does run time linking by default, so we don't
9999 # have to do anything special.
10000 aix_use_runtimelinking=no
10001 exp_sym_flag='-Bexport'
10004 # If we're using GNU nm, then we don't want the "-C" option.
10005 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10006 # Without the "-l" option, or with the "-B" option, AIX nm treats
10007 # weak defined symbols like other global defined symbols, whereas
10008 # GNU nm marks them as "W".
10009 # While the 'weak' keyword is ignored in the Export File, we need
10010 # it in the Import File for the 'aix-soname' feature, so we have
10011 # to replace the "-B" option with "-P" for AIX nm.
10012 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10013 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10015 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10017 aix_use_runtimelinking=no
10019 # Test if we are trying to use run time linking or normal
10020 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10021 # have runtime linking enabled, and use it for executables.
10022 # For shared libraries, we enable/disable runtime linking
10023 # depending on the kind of the shared library created -
10024 # when "with_aix_soname,aix_use_runtimelinking" is:
10025 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10026 # "aix,yes" lib.so shared, rtl:yes, for executables
10027 # lib.a static archive
10028 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10029 # lib.a(lib.so.V) shared, rtl:no, for executables
10030 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10031 # lib.a(lib.so.V) shared, rtl:no
10032 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10033 # lib.a static archive
10034 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10035 for ld_flag in $LDFLAGS; do
10036 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10037 aix_use_runtimelinking=yes
10041 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10042 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10043 # so we don't have lib.a shared libs to link our executables.
10044 # We have to force runtime linking in this case.
10045 aix_use_runtimelinking=yes
10046 LDFLAGS="$LDFLAGS -Wl,-brtl"
10051 exp_sym_flag='-bexport'
10052 no_entry_flag='-bnoentry'
10055 # When large executables or shared objects are built, AIX ld can
10056 # have problems creating the table of contents. If linking a library
10057 # or program results in "error TOC overflow" add -mminimal-toc to
10058 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10059 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10062 hardcode_direct=yes
10063 hardcode_direct_absolute=yes
10064 hardcode_libdir_separator=':'
10065 link_all_deplibs=yes
10066 file_list_spec='$wl-f,'
10067 case $with_aix_soname,$aix_use_runtimelinking in
10068 aix,*) ;; # traditional, no import file
10069 svr4,* | *,yes) # use import file
10070 # The Import File defines what to hardcode.
10072 hardcode_direct_absolute=no
10076 if test yes = "$GCC"; then
10077 case $host_os in aix4.[012]|aix4.[012].*)
10078 # We only want to do this on AIX 4.2 and lower, the check
10079 # below for broken collect2 doesn't work under 4.3+
10080 collect2name=`$CC -print-prog-name=collect2`
10081 if test -f "$collect2name" &&
10082 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10084 # We have reworked collect2
10087 # We have old collect2
10088 hardcode_direct=unsupported
10089 # It fails to find uninstalled libraries when the uninstalled
10090 # path is not listed in the libpath. Setting hardcode_minus_L
10091 # to unsupported forces relinking
10092 hardcode_minus_L=yes
10093 hardcode_libdir_flag_spec='-L$libdir'
10094 hardcode_libdir_separator=
10098 shared_flag='-shared'
10099 if test yes = "$aix_use_runtimelinking"; then
10100 shared_flag="$shared_flag "'$wl-G'
10102 # Need to ensure runtime linking is disabled for the traditional
10103 # shared library, or the linker may eventually find shared libraries
10104 # /with/ Import File - we do not want to mix them.
10105 shared_flag_aix='-shared'
10106 shared_flag_svr4='-shared $wl-G'
10109 if test ia64 = "$host_cpu"; then
10110 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10111 # chokes on -Wl,-G. The following line is correct:
10114 if test yes = "$aix_use_runtimelinking"; then
10115 shared_flag='$wl-G'
10117 shared_flag='$wl-bM:SRE'
10119 shared_flag_aix='$wl-bM:SRE'
10120 shared_flag_svr4='$wl-G'
10124 export_dynamic_flag_spec='$wl-bexpall'
10125 # It seems that -bexpall does not export symbols beginning with
10126 # underscore (_), so it is better to generate a list of symbols to export.
10127 always_export_symbols=yes
10128 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10129 # Warning - without using the other runtime loading flags (-brtl),
10130 # -berok will link without error, but may produce a broken library.
10131 allow_undefined_flag='-berok'
10132 # Determine the default libpath from the value encoded in an
10133 # empty executable.
10134 if test set = "${lt_cv_aix_libpath+set}"; then
10135 aix_libpath=$lt_cv_aix_libpath
10137 if ${lt_cv_aix_libpath_+:} false; then :
10138 $as_echo_n "(cached) " >&6
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10151 if ac_fn_c_try_link "$LINENO"; then :
10153 lt_aix_libpath_sed='
10154 /Import File Strings/,/^$/ {
10156 s/^0 *\([^ ]*\) *$/\1/
10160 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10161 # Check for a 64-bit object if we didn't find anything.
10162 if test -z "$lt_cv_aix_libpath_"; then
10163 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10166 rm -f core conftest.err conftest.$ac_objext \
10167 conftest$ac_exeext conftest.$ac_ext
10168 if test -z "$lt_cv_aix_libpath_"; then
10169 lt_cv_aix_libpath_=/usr/lib:/lib
10174 aix_libpath=$lt_cv_aix_libpath_
10177 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10178 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10180 if test ia64 = "$host_cpu"; then
10181 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10182 allow_undefined_flag="-z nodefs"
10183 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"
10185 # Determine the default libpath from the value encoded in an
10186 # empty executable.
10187 if test set = "${lt_cv_aix_libpath+set}"; then
10188 aix_libpath=$lt_cv_aix_libpath
10190 if ${lt_cv_aix_libpath_+:} false; then :
10191 $as_echo_n "(cached) " >&6
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10204 if ac_fn_c_try_link "$LINENO"; then :
10206 lt_aix_libpath_sed='
10207 /Import File Strings/,/^$/ {
10209 s/^0 *\([^ ]*\) *$/\1/
10213 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10214 # Check for a 64-bit object if we didn't find anything.
10215 if test -z "$lt_cv_aix_libpath_"; then
10216 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10219 rm -f core conftest.err conftest.$ac_objext \
10220 conftest$ac_exeext conftest.$ac_ext
10221 if test -z "$lt_cv_aix_libpath_"; then
10222 lt_cv_aix_libpath_=/usr/lib:/lib
10227 aix_libpath=$lt_cv_aix_libpath_
10230 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10231 # Warning - without using the other run time loading flags,
10232 # -berok will link without error, but may produce a broken library.
10233 no_undefined_flag=' $wl-bernotok'
10234 allow_undefined_flag=' $wl-berok'
10235 if test yes = "$with_gnu_ld"; then
10236 # We only use this code for GNU lds that support --whole-archive.
10237 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10239 # Exported symbols can be pulled into shared objects from archives
10240 whole_archive_flag_spec='$convenience'
10242 archive_cmds_need_lc=yes
10243 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10244 # -brtl affects multiple linker settings, -berok does not and is overridden later
10245 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10246 if test svr4 != "$with_aix_soname"; then
10247 # This is similar to how AIX traditionally builds its shared libraries.
10248 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10250 if test aix != "$with_aix_soname"; then
10251 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10253 # used by -dlpreopen to get the symbols
10254 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10256 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10264 # see comment about AmigaOS4 .so support
10265 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10266 archive_expsym_cmds=''
10269 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)'
10270 hardcode_libdir_flag_spec='-L$libdir'
10271 hardcode_minus_L=yes
10277 export_dynamic_flag_spec=-rdynamic
10280 cygwin* | mingw* | pw32* | cegcc*)
10281 # When not using gcc, we currently assume that we are using
10282 # Microsoft Visual C++.
10283 # hardcode_libdir_flag_spec is actually meaningless, as there is
10284 # no search path for DLLs.
10285 case $cc_basename in
10288 hardcode_libdir_flag_spec=' '
10289 allow_undefined_flag=unsupported
10290 always_export_symbols=yes
10292 # Tell ltmain to make .lib files, not .a files.
10294 # Tell ltmain to make .dll files, not .so files.
10296 # FIXME: Setting linknames here is a bad hack.
10297 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10298 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10299 cp "$export_symbols" "$output_objdir/$soname.def";
10300 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10302 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10304 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10306 # The linker will not automatically build a static lib if we build a DLL.
10307 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10308 enable_shared_with_static_runtimes=yes
10309 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10310 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10312 old_postinstall_cmds='chmod 644 $oldlib'
10313 postlink_cmds='lt_outputfile="@OUTPUT@"~
10314 lt_tool_outputfile="@TOOL_OUTPUT@"~
10315 case $lt_outputfile in
10318 lt_outputfile=$lt_outputfile.exe
10319 lt_tool_outputfile=$lt_tool_outputfile.exe
10322 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10323 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10324 $RM "$lt_outputfile.manifest";
10328 # Assume MSVC wrapper
10329 hardcode_libdir_flag_spec=' '
10330 allow_undefined_flag=unsupported
10331 # Tell ltmain to make .lib files, not .a files.
10333 # Tell ltmain to make .dll files, not .so files.
10335 # FIXME: Setting linknames here is a bad hack.
10336 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10337 # The linker will automatically build a .lib file if we build a DLL.
10338 old_archive_from_new_cmds='true'
10339 # FIXME: Should let the user specify the lib program.
10340 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10341 enable_shared_with_static_runtimes=yes
10346 darwin* | rhapsody*)
10349 archive_cmds_need_lc=no
10351 hardcode_automatic=yes
10352 hardcode_shlibpath_var=unsupported
10353 if test yes = "$lt_cv_ld_force_load"; then
10354 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\"`'
10357 whole_archive_flag_spec=''
10359 link_all_deplibs=yes
10360 allow_undefined_flag=$_lt_dar_allow_undefined
10361 case $cc_basename in
10362 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10363 *) _lt_dar_can_shared=$GCC ;;
10365 if test yes = "$_lt_dar_can_shared"; then
10366 output_verbose_link_cmd=func_echo_all
10367 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10368 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10369 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"
10370 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"
10379 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10380 hardcode_libdir_flag_spec='-L$libdir'
10381 hardcode_shlibpath_var=no
10384 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10385 # support. Future versions do this automatically, but an explicit c++rt0.o
10386 # does not break anything, and helps significantly (at the cost of a little
10389 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10390 hardcode_libdir_flag_spec='-R$libdir'
10391 hardcode_direct=yes
10392 hardcode_shlibpath_var=no
10395 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10397 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10398 hardcode_direct=yes
10399 hardcode_minus_L=yes
10400 hardcode_shlibpath_var=no
10403 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10404 freebsd* | dragonfly*)
10405 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10406 hardcode_libdir_flag_spec='-R$libdir'
10407 hardcode_direct=yes
10408 hardcode_shlibpath_var=no
10412 if test yes = "$GCC"; then
10413 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10415 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10417 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10418 hardcode_libdir_separator=:
10419 hardcode_direct=yes
10421 # hardcode_minus_L: Not really in the search PATH,
10422 # but as the default location of the library.
10423 hardcode_minus_L=yes
10424 export_dynamic_flag_spec='$wl-E'
10428 if test yes,no = "$GCC,$with_gnu_ld"; then
10429 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10431 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10433 if test no = "$with_gnu_ld"; then
10434 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10435 hardcode_libdir_separator=:
10436 hardcode_direct=yes
10437 hardcode_direct_absolute=yes
10438 export_dynamic_flag_spec='$wl-E'
10439 # hardcode_minus_L: Not really in the search PATH,
10440 # but as the default location of the library.
10441 hardcode_minus_L=yes
10446 if test yes,no = "$GCC,$with_gnu_ld"; then
10449 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10452 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10455 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10461 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10464 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10468 # Older versions of the 11.00 compiler do not understand -b yet
10469 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10471 $as_echo_n "checking if $CC understands -b... " >&6; }
10472 if ${lt_cv_prog_compiler__b+:} false; then :
10473 $as_echo_n "(cached) " >&6
10475 lt_cv_prog_compiler__b=no
10476 save_LDFLAGS=$LDFLAGS
10477 LDFLAGS="$LDFLAGS -b"
10478 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10479 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10480 # The linker can only warn and ignore the option if not recognized
10481 # So say no if there are warnings
10482 if test -s conftest.err; then
10483 # Append any errors to the config.log.
10484 cat conftest.err 1>&5
10485 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10486 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10487 if diff conftest.exp conftest.er2 >/dev/null; then
10488 lt_cv_prog_compiler__b=yes
10491 lt_cv_prog_compiler__b=yes
10495 LDFLAGS=$save_LDFLAGS
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10499 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10501 if test yes = "$lt_cv_prog_compiler__b"; then
10502 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10504 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10510 if test no = "$with_gnu_ld"; then
10511 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10512 hardcode_libdir_separator=:
10517 hardcode_shlibpath_var=no
10520 hardcode_direct=yes
10521 hardcode_direct_absolute=yes
10522 export_dynamic_flag_spec='$wl-E'
10524 # hardcode_minus_L: Not really in the search PATH,
10525 # but as the default location of the library.
10526 hardcode_minus_L=yes
10532 irix5* | irix6* | nonstopux*)
10533 if test yes = "$GCC"; then
10534 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'
10535 # Try to use the -exported_symbol ld option, if it does not
10536 # work, assume that -exports_file does not work either and
10537 # implicitly export all symbols.
10538 # This should be the same for all languages, so no per-tag cache variable.
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10540 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10541 if ${lt_cv_irix_exported_symbol+:} false; then :
10542 $as_echo_n "(cached) " >&6
10544 save_LDFLAGS=$LDFLAGS
10545 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10548 int foo (void) { return 0; }
10550 if ac_fn_c_try_link "$LINENO"; then :
10551 lt_cv_irix_exported_symbol=yes
10553 lt_cv_irix_exported_symbol=no
10555 rm -f core conftest.err conftest.$ac_objext \
10556 conftest$ac_exeext conftest.$ac_ext
10557 LDFLAGS=$save_LDFLAGS
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10560 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10561 if test yes = "$lt_cv_irix_exported_symbol"; then
10562 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'
10564 link_all_deplibs=no
10566 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'
10567 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'
10569 archive_cmds_need_lc='no'
10570 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10571 hardcode_libdir_separator=:
10573 link_all_deplibs=yes
10577 case $cc_basename in
10579 # Fabrice Bellard et al's Tiny C Compiler
10581 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10586 netbsd* | netbsdelf*-gnu)
10587 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10588 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10590 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10592 hardcode_libdir_flag_spec='-R$libdir'
10593 hardcode_direct=yes
10594 hardcode_shlibpath_var=no
10598 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10599 hardcode_direct=yes
10600 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10601 hardcode_libdir_separator=:
10602 hardcode_shlibpath_var=no
10608 openbsd* | bitrig*)
10609 if test -f /usr/libexec/ld.so; then
10610 hardcode_direct=yes
10611 hardcode_shlibpath_var=no
10612 hardcode_direct_absolute=yes
10613 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10614 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10615 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10616 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10617 export_dynamic_flag_spec='$wl-E'
10619 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10620 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10628 hardcode_libdir_flag_spec='-L$libdir'
10629 hardcode_minus_L=yes
10630 allow_undefined_flag=unsupported
10632 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10633 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10634 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10635 $ECHO EXPORTS >> $output_objdir/$libname.def~
10636 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10637 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10638 emximp -o $lib $output_objdir/$libname.def'
10639 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10640 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10641 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10642 $ECHO EXPORTS >> $output_objdir/$libname.def~
10643 prefix_cmds="$SED"~
10644 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10645 prefix_cmds="$prefix_cmds -e 1d";
10647 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10648 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10649 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10650 emximp -o $lib $output_objdir/$libname.def'
10651 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10652 enable_shared_with_static_runtimes=yes
10656 if test yes = "$GCC"; then
10657 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10658 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'
10660 allow_undefined_flag=' -expect_unresolved \*'
10661 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'
10663 archive_cmds_need_lc='no'
10664 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10665 hardcode_libdir_separator=:
10668 osf4* | osf5*) # as osf3* with the addition of -msym flag
10669 if test yes = "$GCC"; then
10670 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10671 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'
10672 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10674 allow_undefined_flag=' -expect_unresolved \*'
10675 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'
10676 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~
10677 $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'
10679 # Both c and cxx compiler support -rpath directly
10680 hardcode_libdir_flag_spec='-rpath $libdir'
10682 archive_cmds_need_lc='no'
10683 hardcode_libdir_separator=:
10687 no_undefined_flag=' -z defs'
10688 if test yes = "$GCC"; then
10690 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10691 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10692 $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'
10694 case `$CC -V 2>&1` in
10697 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10698 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10699 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10703 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10704 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10705 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10709 hardcode_libdir_flag_spec='-R$libdir'
10710 hardcode_shlibpath_var=no
10712 solaris2.[0-5] | solaris2.[0-5].*) ;;
10714 # The compiler driver will combine and reorder linker options,
10715 # but understands '-z linker_flag'. GCC discards it without '$wl',
10716 # but is careful enough not to reorder.
10717 # Supported since Solaris 2.6 (maybe 2.5.1?)
10718 if test yes = "$GCC"; then
10719 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10721 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10725 link_all_deplibs=yes
10729 if test sequent = "$host_vendor"; then
10730 # Use $CC to link under sequent, because it throws in some extra .o
10731 # files that make .init and .fini sections work.
10732 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10734 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10736 hardcode_libdir_flag_spec='-L$libdir'
10737 hardcode_direct=yes
10738 hardcode_minus_L=yes
10739 hardcode_shlibpath_var=no
10743 case $host_vendor in
10745 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10746 hardcode_direct=yes # is this really true???
10749 ## LD is ld it makes a PLAMLIB
10750 ## CC just makes a GrossModule.
10751 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10752 reload_cmds='$CC -r -o $output$reload_objs'
10756 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10757 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10760 runpath_var='LD_RUN_PATH'
10761 hardcode_shlibpath_var=no
10765 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10766 hardcode_shlibpath_var=no
10767 export_dynamic_flag_spec='-Bexport'
10771 if test -d /usr/nec; then
10772 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10773 hardcode_shlibpath_var=no
10774 runpath_var=LD_RUN_PATH
10775 hardcode_runpath_var=yes
10780 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10781 no_undefined_flag='$wl-z,text'
10782 archive_cmds_need_lc=no
10783 hardcode_shlibpath_var=no
10784 runpath_var='LD_RUN_PATH'
10786 if test yes = "$GCC"; then
10787 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10788 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10790 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10791 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10795 sysv5* | sco3.2v5* | sco5v6*)
10796 # Note: We CANNOT use -z defs as we might desire, because we do not
10797 # link with -lc, and that would cause any symbols used from libc to
10798 # always be unresolved, which means just about no library would
10799 # ever link correctly. If we're not using GNU ld we use -z text
10800 # though, which does catch some bad symbols but isn't as heavy-handed
10802 no_undefined_flag='$wl-z,text'
10803 allow_undefined_flag='$wl-z,nodefs'
10804 archive_cmds_need_lc=no
10805 hardcode_shlibpath_var=no
10806 hardcode_libdir_flag_spec='$wl-R,$libdir'
10807 hardcode_libdir_separator=':'
10808 link_all_deplibs=yes
10809 export_dynamic_flag_spec='$wl-Bexport'
10810 runpath_var='LD_RUN_PATH'
10812 if test yes = "$GCC"; then
10813 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10814 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10816 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10817 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10822 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10823 hardcode_libdir_flag_spec='-L$libdir'
10824 hardcode_shlibpath_var=no
10832 if test sni = "$host_vendor"; then
10834 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10835 export_dynamic_flag_spec='$wl-Blargedynsym'
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10842 $as_echo "$ld_shlibs" >&6; }
10843 test no = "$ld_shlibs" && can_build_shared=no
10845 with_gnu_ld=$with_gnu_ld
10862 # Do we need to explicitly link libc?
10864 case "x$archive_cmds_need_lc" in
10866 # Assume -lc should be added
10867 archive_cmds_need_lc=yes
10869 if test yes,yes = "$GCC,$enable_shared"; then
10870 case $archive_cmds in
10872 # FIXME: we may have to deal with multi-command sequences.
10875 # Test whether the compiler implicitly links with -lc since on some
10876 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10877 # to ld, don't add -lc before -lgcc.
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10879 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10880 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10881 $as_echo_n "(cached) " >&6
10884 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10887 (eval $ac_compile) 2>&5
10889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10890 test $ac_status = 0; } 2>conftest.err; then
10893 libobjs=conftest.$ac_objext
10895 wl=$lt_prog_compiler_wl
10896 pic_flag=$lt_prog_compiler_pic
10902 lt_save_allow_undefined_flag=$allow_undefined_flag
10903 allow_undefined_flag=
10904 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10905 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10908 test $ac_status = 0; }
10910 lt_cv_archive_cmds_need_lc=no
10912 lt_cv_archive_cmds_need_lc=yes
10914 allow_undefined_flag=$lt_save_allow_undefined_flag
10916 cat conftest.err 1>&5
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10922 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10923 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11082 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11084 if test yes = "$GCC"; then
11086 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11087 *) lt_awk_arg='/^libraries:/' ;;
11090 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11091 *) lt_sed_strip_eq='s|=/|/|g' ;;
11093 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11094 case $lt_search_path_spec in
11096 # if the path contains ";" then we assume it to be the separator
11097 # otherwise default to the standard path separator (i.e. ":") - it is
11098 # assumed that no part of a normal pathname contains ";" but that should
11099 # okay in the real world where ";" in dirpaths is itself problematic.
11100 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11103 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11106 # Ok, now we have the path, separated by spaces, we can step through it
11107 # and add multilib dir if necessary...
11108 lt_tmp_lt_search_path_spec=
11109 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11110 # ...but if some path component already ends with the multilib dir we assume
11111 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11112 case "$lt_multi_os_dir; $lt_search_path_spec " in
11113 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11117 for lt_sys_path in $lt_search_path_spec; do
11118 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11119 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11120 elif test -n "$lt_multi_os_dir"; then
11121 test -d "$lt_sys_path" && \
11122 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11125 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11126 BEGIN {RS = " "; FS = "/|\n";} {
11129 for (lt_i = NF; lt_i > 0; lt_i--) {
11130 if ($lt_i != "" && $lt_i != ".") {
11131 if ($lt_i == "..") {
11134 if (lt_count == 0) {
11135 lt_foo = "/" $lt_i lt_foo;
11142 if (lt_foo != "") { lt_freq[lt_foo]++; }
11143 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11145 # AWK program above erroneously prepends '/' to C:/dos/paths
11148 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11149 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11151 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11153 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11155 library_names_spec=
11156 libname_spec='lib$name'
11160 postuninstall_cmds=
11164 shlibpath_overrides_runpath=unknown
11166 dynamic_linker="$host_os ld.so"
11167 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11168 need_lib_prefix=unknown
11169 hardcode_into_libs=no
11171 # when you set need_version to no, make sure it does not cause -set_version
11172 # flags to be left without arguments
11173 need_version=unknown
11179 version_type=linux # correct to gnu/linux during the next big refactor
11180 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11181 shlibpath_var=LIBPATH
11183 # AIX 3 has no versioning support, so we append a major version to the name.
11184 soname_spec='$libname$release$shared_ext$major'
11188 version_type=linux # correct to gnu/linux during the next big refactor
11191 hardcode_into_libs=yes
11192 if test ia64 = "$host_cpu"; then
11193 # AIX 5 supports IA64
11194 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11195 shlibpath_var=LD_LIBRARY_PATH
11197 # With GCC up to 2.95.x, collect2 would create an import file
11198 # for dependence libraries. The import file would start with
11199 # the line '#! .'. This would cause the generated library to
11200 # depend on '.', always an invalid library. This was fixed in
11201 # development snapshots of GCC prior to 3.0.
11203 aix4 | aix4.[01] | aix4.[01].*)
11204 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11206 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11209 can_build_shared=no
11213 # Using Import Files as archive members, it is possible to support
11214 # filename-based versioning of shared library archives on AIX. While
11215 # this would work for both with and without runtime linking, it will
11216 # prevent static linking of such archives. So we do filename-based
11217 # shared library versioning with .so extension only, which is used
11218 # when both runtime linking and shared linking is enabled.
11219 # Unfortunately, runtime linking may impact performance, so we do
11220 # not want this to be the default eventually. Also, we use the
11221 # versioned .so libs for executables only if there is the -brtl
11222 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11223 # To allow for filename-based versioning support, we need to create
11224 # libNAME.so.V as an archive file, containing:
11225 # *) an Import File, referring to the versioned filename of the
11226 # archive as well as the shared archive member, telling the
11227 # bitwidth (32 or 64) of that shared object, and providing the
11228 # list of exported symbols of that shared object, eventually
11229 # decorated with the 'weak' keyword
11230 # *) the shared object with the F_LOADONLY flag set, to really avoid
11231 # it being seen by the linker.
11232 # At run time we better use the real file rather than another symlink,
11233 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11235 case $with_aix_soname,$aix_use_runtimelinking in
11236 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11237 # soname into executable. Probably we can add versioning support to
11238 # collect2, so additional links can be useful in future.
11239 aix,yes) # traditional libtool
11240 dynamic_linker='AIX unversionable lib.so'
11241 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11242 # instead of lib<name>.a to let people know that these are not
11243 # typical AIX shared libraries.
11244 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11246 aix,no) # traditional AIX only
11247 dynamic_linker='AIX lib.a(lib.so.V)'
11248 # We preserve .a as extension for shared libraries through AIX4.2
11249 # and later when we are not doing run time linking.
11250 library_names_spec='$libname$release.a $libname.a'
11251 soname_spec='$libname$release$shared_ext$major'
11253 svr4,*) # full svr4 only
11254 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11255 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11256 # We do not specify a path in Import Files, so LIBPATH fires.
11257 shlibpath_overrides_runpath=yes
11259 *,yes) # both, prefer svr4
11260 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11261 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11262 # unpreferred sharedlib libNAME.a needs extra handling
11263 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11264 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11265 # We do not specify a path in Import Files, so LIBPATH fires.
11266 shlibpath_overrides_runpath=yes
11268 *,no) # both, prefer aix
11269 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11270 library_names_spec='$libname$release.a $libname.a'
11271 soname_spec='$libname$release$shared_ext$major'
11272 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11273 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11274 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11277 shlibpath_var=LIBPATH
11284 # Since July 2007 AmigaOS4 officially supports .so libraries.
11285 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11286 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11289 library_names_spec='$libname.ixlibrary $libname.a'
11290 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11291 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11297 library_names_spec='$libname$shared_ext'
11298 dynamic_linker="$host_os ld.so"
11299 shlibpath_var=LIBRARY_PATH
11303 version_type=linux # correct to gnu/linux during the next big refactor
11305 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11306 soname_spec='$libname$release$shared_ext$major'
11307 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11308 shlibpath_var=LD_LIBRARY_PATH
11309 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11310 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11311 # the default ld.so.conf also contains /usr/contrib/lib and
11312 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11313 # libtool to hard-code these into programs
11316 cygwin* | mingw* | pw32* | cegcc*)
11317 version_type=windows
11322 case $GCC,$cc_basename in
11325 library_names_spec='$libname.dll.a'
11326 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11327 postinstall_cmds='base_file=`basename \$file`~
11328 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11329 dldir=$destdir/`dirname \$dlpath`~
11330 test -d \$dldir || mkdir -p \$dldir~
11331 $install_prog $dir/$dlname \$dldir/$dlname~
11332 chmod a+x \$dldir/$dlname~
11333 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11334 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11336 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11337 dlpath=$dir/\$dldll~
11339 shlibpath_overrides_runpath=yes
11343 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11344 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11346 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11349 # MinGW DLLs use traditional 'lib' prefix
11350 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11353 # pw32 DLLs use 'pw' prefix rather than 'lib'
11354 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11357 dynamic_linker='Win32 ld.exe'
11362 libname_spec='$name'
11363 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11364 library_names_spec='$libname.dll.lib'
11368 sys_lib_search_path_spec=
11371 for lt_path in $LIB
11374 # Let DOS variable expansion print the short 8.3 style file name.
11375 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11376 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11379 # Convert to MSYS style.
11380 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11383 # Convert to unix form, then to dos form, then back to unix form
11384 # but this time dos style (no spaces!) so that the unix form looks
11385 # like /cygdrive/c/PROGRA~1:/cygdr...
11386 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11387 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11388 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11391 sys_lib_search_path_spec=$LIB
11392 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11393 # It is most probably a Windows format PATH.
11394 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11396 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11398 # FIXME: find the short name or the path components, as spaces are
11399 # common. (e.g. "Program Files" -> "PROGRA~1")
11403 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11404 postinstall_cmds='base_file=`basename \$file`~
11405 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11406 dldir=$destdir/`dirname \$dlpath`~
11407 test -d \$dldir || mkdir -p \$dldir~
11408 $install_prog $dir/$dlname \$dldir/$dlname'
11409 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11410 dlpath=$dir/\$dldll~
11412 shlibpath_overrides_runpath=yes
11413 dynamic_linker='Win32 link.exe'
11417 # Assume MSVC wrapper
11418 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11419 dynamic_linker='Win32 ld.exe'
11422 # FIXME: first we should search . and the directory the executable is in
11426 darwin* | rhapsody*)
11427 dynamic_linker="$host_os dyld"
11428 version_type=darwin
11431 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11432 soname_spec='$libname$release$major$shared_ext'
11433 shlibpath_overrides_runpath=yes
11434 shlibpath_var=DYLD_LIBRARY_PATH
11435 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11437 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11438 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11442 version_type=linux # correct to gnu/linux during the next big refactor
11445 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11446 soname_spec='$libname$release$shared_ext$major'
11447 shlibpath_var=LD_LIBRARY_PATH
11450 freebsd* | dragonfly*)
11451 # DragonFly does not have aout. When/if they implement a new
11452 # versioning mechanism, adjust this.
11453 if test -x /usr/bin/objformat; then
11454 objformat=`/usr/bin/objformat`
11457 freebsd[23].*) objformat=aout ;;
11458 *) objformat=elf ;;
11461 version_type=freebsd-$objformat
11462 case $version_type in
11464 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11465 soname_spec='$libname$release$shared_ext$major'
11470 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11474 shlibpath_var=LD_LIBRARY_PATH
11477 shlibpath_overrides_runpath=yes
11479 freebsd3.[01]* | freebsdelf3.[01]*)
11480 shlibpath_overrides_runpath=yes
11481 hardcode_into_libs=yes
11483 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11484 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11485 shlibpath_overrides_runpath=no
11486 hardcode_into_libs=yes
11488 *) # from 4.6 on, and DragonFly
11489 shlibpath_overrides_runpath=yes
11490 hardcode_into_libs=yes
11496 version_type=linux # correct to gnu/linux during the next big refactor
11499 dynamic_linker="$host_os runtime_loader"
11500 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11501 soname_spec='$libname$release$shared_ext$major'
11502 shlibpath_var=LIBRARY_PATH
11503 shlibpath_overrides_runpath=no
11504 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11505 hardcode_into_libs=yes
11508 hpux9* | hpux10* | hpux11*)
11509 # Give a soname corresponding to the major version so that dld.sl refuses to
11510 # link against other versions.
11517 hardcode_into_libs=yes
11518 dynamic_linker="$host_os dld.so"
11519 shlibpath_var=LD_LIBRARY_PATH
11520 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11521 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11522 soname_spec='$libname$release$shared_ext$major'
11523 if test 32 = "$HPUX_IA64_MODE"; then
11524 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11525 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11527 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11528 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11533 hardcode_into_libs=yes
11534 dynamic_linker="$host_os dld.sl"
11535 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11536 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11537 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11538 soname_spec='$libname$release$shared_ext$major'
11539 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11540 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11544 dynamic_linker="$host_os dld.sl"
11545 shlibpath_var=SHLIB_PATH
11546 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11547 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11548 soname_spec='$libname$release$shared_ext$major'
11551 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11552 postinstall_cmds='chmod 555 $lib'
11553 # or fails outright, so override atomically:
11554 install_override_mode=555
11558 version_type=linux # correct to gnu/linux during the next big refactor
11561 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11562 soname_spec='$libname$release$shared_ext$major'
11563 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11564 shlibpath_var=LD_LIBRARY_PATH
11565 shlibpath_overrides_runpath=no
11566 hardcode_into_libs=yes
11569 irix5* | irix6* | nonstopux*)
11571 nonstopux*) version_type=nonstopux ;;
11573 if test yes = "$lt_cv_prog_gnu_ld"; then
11574 version_type=linux # correct to gnu/linux during the next big refactor
11581 soname_spec='$libname$release$shared_ext$major'
11582 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11584 irix5* | nonstopux*)
11585 libsuff= shlibsuff=
11588 case $LD in # libtool.m4 will add one of these switches to LD
11589 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11590 libsuff= shlibsuff= libmagic=32-bit;;
11591 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11592 libsuff=32 shlibsuff=N32 libmagic=N32;;
11593 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11594 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11595 *) libsuff= shlibsuff= libmagic=never-match;;
11599 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11600 shlibpath_overrides_runpath=no
11601 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11602 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11603 hardcode_into_libs=yes
11606 # No shared lib support for Linux oldld, aout, or coff.
11607 linux*oldld* | linux*aout* | linux*coff*)
11612 version_type=none # Android doesn't support versioned libraries.
11615 library_names_spec='$libname$release$shared_ext'
11616 soname_spec='$libname$release$shared_ext'
11618 shlibpath_var=LD_LIBRARY_PATH
11619 shlibpath_overrides_runpath=yes
11621 # This implies no fast_install, which is unacceptable.
11622 # Some rework will be needed to allow for fast_install
11623 # before this can be enabled.
11624 hardcode_into_libs=yes
11626 dynamic_linker='Android linker'
11627 # Don't embed -rpath directories since the linker doesn't support them.
11628 hardcode_libdir_flag_spec='-L$libdir'
11631 # This must be glibc/ELF.
11632 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11633 version_type=linux # correct to gnu/linux during the next big refactor
11636 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11637 soname_spec='$libname$release$shared_ext$major'
11638 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11639 shlibpath_var=LD_LIBRARY_PATH
11640 shlibpath_overrides_runpath=no
11642 # Some binutils ld are patched to set DT_RUNPATH
11643 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11644 $as_echo_n "(cached) " >&6
11646 lt_cv_shlibpath_overrides_runpath=no
11647 save_LDFLAGS=$LDFLAGS
11648 save_libdir=$libdir
11649 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11650 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11662 if ac_fn_c_try_link "$LINENO"; then :
11663 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11664 lt_cv_shlibpath_overrides_runpath=yes
11667 rm -f core conftest.err conftest.$ac_objext \
11668 conftest$ac_exeext conftest.$ac_ext
11669 LDFLAGS=$save_LDFLAGS
11670 libdir=$save_libdir
11674 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11676 # This implies no fast_install, which is unacceptable.
11677 # Some rework will be needed to allow for fast_install
11678 # before this can be enabled.
11679 hardcode_into_libs=yes
11681 # Ideally, we could use ldconfig to report *all* directores which are
11682 # searched for libraries, however this is still not possible. Aside from not
11683 # being certain /sbin/ldconfig is available, command
11684 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11685 # even though it is searched at run-time. Try to do the best guess by
11686 # appending ld.so.conf contents (and includes) to the search path.
11687 if test -f /etc/ld.so.conf; then
11688 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' ' '`
11689 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11692 # We used to test for /lib/ld.so.1 and disable shared libraries on
11693 # powerpc, because MkLinux only supported shared libraries with the
11694 # GNU dynamic linker. Since this was broken with cross compilers,
11695 # most powerpc-linux boxes support dynamic linking these days and
11696 # people can always --disable-shared, the test was removed, and we
11697 # assume the GNU/Linux dynamic linker is in use.
11698 dynamic_linker='GNU/Linux ld.so'
11705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11706 soname_spec='${libname}${release}${shared_ext}$major'
11707 shlibpath_var=LD_LIBRARY_PATH
11708 shlibpath_overrides_runpath=no
11709 hardcode_into_libs=yes
11710 dynamic_linker='NetBSD ld.elf_so'
11717 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11718 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11719 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11720 dynamic_linker='NetBSD (a.out) ld.so'
11722 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11723 soname_spec='$libname$release$shared_ext$major'
11724 dynamic_linker='NetBSD ld.elf_so'
11726 shlibpath_var=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath=yes
11728 hardcode_into_libs=yes
11732 version_type=linux # correct to gnu/linux during the next big refactor
11733 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11734 shlibpath_var=LD_LIBRARY_PATH
11735 shlibpath_overrides_runpath=yes
11742 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11743 soname_spec='$libname$release$shared_ext$major'
11744 shlibpath_var=LD_LIBRARY_PATH
11745 shlibpath_overrides_runpath=no
11746 hardcode_into_libs=yes
11747 dynamic_linker='ldqnx.so'
11750 openbsd* | bitrig*)
11752 sys_lib_dlsearch_path_spec=/usr/lib
11754 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11759 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11760 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11761 shlibpath_var=LD_LIBRARY_PATH
11762 shlibpath_overrides_runpath=yes
11766 libname_spec='$name'
11767 version_type=windows
11771 # OS/2 can only load a DLL with a base name of 8 characters or less.
11772 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11773 v=$($ECHO $release$versuffix | tr -d .-);
11774 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11775 $ECHO $n$v`$shared_ext'
11776 library_names_spec='${libname}_dll.$libext'
11777 dynamic_linker='OS/2 ld.exe'
11778 shlibpath_var=BEGINLIBPATH
11779 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11780 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11781 postinstall_cmds='base_file=`basename \$file`~
11782 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11783 dldir=$destdir/`dirname \$dlpath`~
11784 test -d \$dldir || mkdir -p \$dldir~
11785 $install_prog $dir/$dlname \$dldir/$dlname~
11786 chmod a+x \$dldir/$dlname~
11787 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11788 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11790 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11791 dlpath=$dir/\$dldll~
11795 osf3* | osf4* | osf5*)
11799 soname_spec='$libname$release$shared_ext$major'
11800 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11801 shlibpath_var=LD_LIBRARY_PATH
11802 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11803 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11811 version_type=linux # correct to gnu/linux during the next big refactor
11814 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11815 soname_spec='$libname$release$shared_ext$major'
11816 shlibpath_var=LD_LIBRARY_PATH
11817 shlibpath_overrides_runpath=yes
11818 hardcode_into_libs=yes
11819 # ldd complains unless libraries are executable
11820 postinstall_cmds='chmod +x $lib'
11825 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11826 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11827 shlibpath_var=LD_LIBRARY_PATH
11828 shlibpath_overrides_runpath=yes
11829 if test yes = "$with_gnu_ld"; then
11836 version_type=linux # correct to gnu/linux during the next big refactor
11837 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11838 soname_spec='$libname$release$shared_ext$major'
11839 shlibpath_var=LD_LIBRARY_PATH
11840 case $host_vendor in
11842 shlibpath_overrides_runpath=no
11844 runpath_var=LD_RUN_PATH
11852 shlibpath_overrides_runpath=no
11853 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11859 if test -d /usr/nec; then
11860 version_type=linux # correct to gnu/linux during the next big refactor
11861 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11862 soname_spec='$libname$shared_ext.$major'
11863 shlibpath_var=LD_LIBRARY_PATH
11867 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11871 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11872 soname_spec='$libname$release$shared_ext$major'
11873 shlibpath_var=LD_LIBRARY_PATH
11874 shlibpath_overrides_runpath=yes
11875 hardcode_into_libs=yes
11876 if test yes = "$with_gnu_ld"; then
11877 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11879 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11882 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11886 sys_lib_dlsearch_path_spec='/usr/lib'
11890 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11891 version_type=linux # correct to gnu/linux during the next big refactor
11894 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11895 shlibpath_var=LD_LIBRARY_PATH
11896 shlibpath_overrides_runpath=no
11897 hardcode_into_libs=yes
11901 version_type=linux # correct to gnu/linux during the next big refactor
11902 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11903 soname_spec='$libname$release$shared_ext$major'
11904 shlibpath_var=LD_LIBRARY_PATH
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11912 $as_echo "$dynamic_linker" >&6; }
11913 test no = "$dynamic_linker" && can_build_shared=no
11915 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11916 if test yes = "$GCC"; then
11917 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11920 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11921 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11924 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11925 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11928 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11929 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11931 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11932 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11934 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11935 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12034 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12036 if test -n "$hardcode_libdir_flag_spec" ||
12037 test -n "$runpath_var" ||
12038 test yes = "$hardcode_automatic"; then
12040 # We can hardcode non-existent directories.
12041 if test no != "$hardcode_direct" &&
12042 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12043 # have to relink, otherwise we might link with an installed library
12044 # when we should be linking with a yet-to-be-installed one
12045 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12046 test no != "$hardcode_minus_L"; then
12047 # Linking always hardcodes the temporary library directory.
12048 hardcode_action=relink
12050 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12051 hardcode_action=immediate
12054 # We cannot hardcode anything, or else we can only hardcode existing
12056 hardcode_action=unsupported
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12059 $as_echo "$hardcode_action" >&6; }
12061 if test relink = "$hardcode_action" ||
12062 test yes = "$inherit_rpath"; then
12063 # Fast installation is not supported
12064 enable_fast_install=no
12065 elif test yes = "$shlibpath_overrides_runpath" ||
12066 test no = "$enable_shared"; then
12067 # Fast installation is not necessary
12068 enable_fast_install=needless
12076 if test yes != "$enable_dlopen"; then
12077 enable_dlopen=unknown
12078 enable_dlopen_self=unknown
12079 enable_dlopen_self_static=unknown
12086 lt_cv_dlopen=load_add_on
12088 lt_cv_dlopen_self=yes
12091 mingw* | pw32* | cegcc*)
12092 lt_cv_dlopen=LoadLibrary
12097 lt_cv_dlopen=dlopen
12102 # if libdl is installed we need to link against it
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12104 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12105 if ${ac_cv_lib_dl_dlopen+:} false; then :
12106 $as_echo_n "(cached) " >&6
12108 ac_check_lib_save_LIBS=$LIBS
12110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12113 /* Override any GCC internal prototype to avoid an error.
12114 Use char because int might match the return type of a GCC
12115 builtin and then its argument prototype would still apply. */
12128 if ac_fn_c_try_link "$LINENO"; then :
12129 ac_cv_lib_dl_dlopen=yes
12131 ac_cv_lib_dl_dlopen=no
12133 rm -f core conftest.err conftest.$ac_objext \
12134 conftest$ac_exeext conftest.$ac_ext
12135 LIBS=$ac_check_lib_save_LIBS
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12138 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12139 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12140 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12145 lt_cv_dlopen_self=yes
12152 # Don't try to run any link tests for TPF. We know it's impossible
12153 # because TPF is a cross-compiler, and we know how we open DSOs.
12154 lt_cv_dlopen=dlopen
12156 lt_cv_dlopen_self=no
12160 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12161 if test "x$ac_cv_func_shl_load" = xyes; then :
12162 lt_cv_dlopen=shl_load
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12165 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12166 if ${ac_cv_lib_dld_shl_load+:} false; then :
12167 $as_echo_n "(cached) " >&6
12169 ac_check_lib_save_LIBS=$LIBS
12171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12172 /* end confdefs.h. */
12174 /* Override any GCC internal prototype to avoid an error.
12175 Use char because int might match the return type of a GCC
12176 builtin and then its argument prototype would still apply. */
12184 return shl_load ();
12189 if ac_fn_c_try_link "$LINENO"; then :
12190 ac_cv_lib_dld_shl_load=yes
12192 ac_cv_lib_dld_shl_load=no
12194 rm -f core conftest.err conftest.$ac_objext \
12195 conftest$ac_exeext conftest.$ac_ext
12196 LIBS=$ac_check_lib_save_LIBS
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12199 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12200 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12201 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12203 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12204 if test "x$ac_cv_func_dlopen" = xyes; then :
12205 lt_cv_dlopen=dlopen
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12208 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12209 if ${ac_cv_lib_dl_dlopen+:} false; then :
12210 $as_echo_n "(cached) " >&6
12212 ac_check_lib_save_LIBS=$LIBS
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12217 /* Override any GCC internal prototype to avoid an error.
12218 Use char because int might match the return type of a GCC
12219 builtin and then its argument prototype would still apply. */
12232 if ac_fn_c_try_link "$LINENO"; then :
12233 ac_cv_lib_dl_dlopen=yes
12235 ac_cv_lib_dl_dlopen=no
12237 rm -f core conftest.err conftest.$ac_objext \
12238 conftest$ac_exeext conftest.$ac_ext
12239 LIBS=$ac_check_lib_save_LIBS
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12242 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12243 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12244 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12247 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12248 if ${ac_cv_lib_svld_dlopen+:} false; then :
12249 $as_echo_n "(cached) " >&6
12251 ac_check_lib_save_LIBS=$LIBS
12252 LIBS="-lsvld $LIBS"
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12256 /* Override any GCC internal prototype to avoid an error.
12257 Use char because int might match the return type of a GCC
12258 builtin and then its argument prototype would still apply. */
12271 if ac_fn_c_try_link "$LINENO"; then :
12272 ac_cv_lib_svld_dlopen=yes
12274 ac_cv_lib_svld_dlopen=no
12276 rm -f core conftest.err conftest.$ac_objext \
12277 conftest$ac_exeext conftest.$ac_ext
12278 LIBS=$ac_check_lib_save_LIBS
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12281 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12282 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12283 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12286 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12287 if ${ac_cv_lib_dld_dld_link+:} false; then :
12288 $as_echo_n "(cached) " >&6
12290 ac_check_lib_save_LIBS=$LIBS
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12305 return dld_link ();
12310 if ac_fn_c_try_link "$LINENO"; then :
12311 ac_cv_lib_dld_dld_link=yes
12313 ac_cv_lib_dld_dld_link=no
12315 rm -f core conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12317 LIBS=$ac_check_lib_save_LIBS
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12320 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12321 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12322 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12343 if test no = "$lt_cv_dlopen"; then
12349 case $lt_cv_dlopen in
12351 save_CPPFLAGS=$CPPFLAGS
12352 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12354 save_LDFLAGS=$LDFLAGS
12355 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12358 LIBS="$lt_cv_dlopen_libs $LIBS"
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12361 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12362 if ${lt_cv_dlopen_self+:} false; then :
12363 $as_echo_n "(cached) " >&6
12365 if test yes = "$cross_compiling"; then :
12366 lt_cv_dlopen_self=cross
12368 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12369 lt_status=$lt_dlunknown
12370 cat > conftest.$ac_ext <<_LT_EOF
12371 #line $LINENO "configure"
12372 #include "confdefs.h"
12381 # define LT_DLGLOBAL RTLD_GLOBAL
12384 # define LT_DLGLOBAL DL_GLOBAL
12386 # define LT_DLGLOBAL 0
12390 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12391 find out it does not work in some platform. */
12392 #ifndef LT_DLLAZY_OR_NOW
12394 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12397 # define LT_DLLAZY_OR_NOW DL_LAZY
12400 # define LT_DLLAZY_OR_NOW RTLD_NOW
12403 # define LT_DLLAZY_OR_NOW DL_NOW
12405 # define LT_DLLAZY_OR_NOW 0
12412 /* When -fvisibility=hidden is used, assume the code has been annotated
12413 correspondingly for the symbols needed. */
12414 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12415 int fnord () __attribute__((visibility("default")));
12418 int fnord () { return 42; }
12421 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12422 int status = $lt_dlunknown;
12426 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12429 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12430 else puts (dlerror ());
12432 /* dlclose (self); */
12440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12441 (eval $ac_link) 2>&5
12443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12444 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12445 (./conftest; exit; ) >&5 2>/dev/null
12447 case x$lt_status in
12448 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12449 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12450 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12453 # compilation failed
12454 lt_cv_dlopen_self=no
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12462 $as_echo "$lt_cv_dlopen_self" >&6; }
12464 if test yes = "$lt_cv_dlopen_self"; then
12465 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12467 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12468 if ${lt_cv_dlopen_self_static+:} false; then :
12469 $as_echo_n "(cached) " >&6
12471 if test yes = "$cross_compiling"; then :
12472 lt_cv_dlopen_self_static=cross
12474 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12475 lt_status=$lt_dlunknown
12476 cat > conftest.$ac_ext <<_LT_EOF
12477 #line $LINENO "configure"
12478 #include "confdefs.h"
12487 # define LT_DLGLOBAL RTLD_GLOBAL
12490 # define LT_DLGLOBAL DL_GLOBAL
12492 # define LT_DLGLOBAL 0
12496 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12497 find out it does not work in some platform. */
12498 #ifndef LT_DLLAZY_OR_NOW
12500 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12503 # define LT_DLLAZY_OR_NOW DL_LAZY
12506 # define LT_DLLAZY_OR_NOW RTLD_NOW
12509 # define LT_DLLAZY_OR_NOW DL_NOW
12511 # define LT_DLLAZY_OR_NOW 0
12518 /* When -fvisibility=hidden is used, assume the code has been annotated
12519 correspondingly for the symbols needed. */
12520 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12521 int fnord () __attribute__((visibility("default")));
12524 int fnord () { return 42; }
12527 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12528 int status = $lt_dlunknown;
12532 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12535 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12536 else puts (dlerror ());
12538 /* dlclose (self); */
12546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12547 (eval $ac_link) 2>&5
12549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12550 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12551 (./conftest; exit; ) >&5 2>/dev/null
12553 case x$lt_status in
12554 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12555 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12556 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12559 # compilation failed
12560 lt_cv_dlopen_self_static=no
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12568 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12571 CPPFLAGS=$save_CPPFLAGS
12572 LDFLAGS=$save_LDFLAGS
12577 case $lt_cv_dlopen_self in
12578 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12579 *) enable_dlopen_self=unknown ;;
12582 case $lt_cv_dlopen_self_static in
12583 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12584 *) enable_dlopen_self_static=unknown ;;
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12607 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12608 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12609 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12610 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12612 $as_echo "yes" >&6; }
12614 # FIXME - insert some real tests, host_os isn't really good enough
12617 if test -n "$STRIP"; then
12618 striplib="$STRIP -x"
12619 old_striplib="$STRIP -S"
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12621 $as_echo "yes" >&6; }
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12624 $as_echo "no" >&6; }
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12629 $as_echo "no" >&6; }
12645 # Report what library types will actually be built
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12647 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12649 $as_echo "$can_build_shared" >&6; }
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12652 $as_echo_n "checking whether to build shared libraries... " >&6; }
12653 test no = "$can_build_shared" && enable_shared=no
12655 # On AIX, shared libraries and static libraries use the same namespace, and
12656 # are all built from PIC.
12659 test yes = "$enable_shared" && enable_static=no
12660 if test -n "$RANLIB"; then
12661 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12662 postinstall_cmds='$RANLIB $lib'
12667 if test ia64 != "$host_cpu"; then
12668 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12669 yes,aix,yes) ;; # shared object as lib.so file only
12670 yes,svr4,*) ;; # shared object as lib.so archive member only
12671 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12677 $as_echo "$enable_shared" >&6; }
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12680 $as_echo_n "checking whether to build static libraries... " >&6; }
12681 # Make sure either enable_shared or enable_static is yes.
12682 test yes = "$enable_shared" || enable_static=yes
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12684 $as_echo "$enable_static" >&6; }
12691 ac_cpp='$CPP $CPPFLAGS'
12692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12712 ac_config_commands="$ac_config_commands libtool"
12717 # Only expand once:
12722 ac_cpp='$CXXCPP $CPPFLAGS'
12723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12726 if test -z "$CXX"; then
12727 if test -n "$CCC"; then
12730 if test -n "$ac_tool_prefix"; then
12731 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12736 $as_echo_n "checking for $ac_word... " >&6; }
12737 if ${ac_cv_prog_CXX+:} false; then :
12738 $as_echo_n "(cached) " >&6
12740 if test -n "$CXX"; then
12741 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12744 for as_dir in $PATH
12747 test -z "$as_dir" && as_dir=.
12748 for ac_exec_ext in '' $ac_executable_extensions; do
12749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12750 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12760 CXX=$ac_cv_prog_CXX
12761 if test -n "$CXX"; then
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12763 $as_echo "$CXX" >&6; }
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12766 $as_echo "no" >&6; }
12770 test -n "$CXX" && break
12773 if test -z "$CXX"; then
12775 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12777 # Extract the first word of "$ac_prog", so it can be a program name with args.
12778 set dummy $ac_prog; ac_word=$2
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12780 $as_echo_n "checking for $ac_word... " >&6; }
12781 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12782 $as_echo_n "(cached) " >&6
12784 if test -n "$ac_ct_CXX"; then
12785 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12788 for as_dir in $PATH
12791 test -z "$as_dir" && as_dir=.
12792 for ac_exec_ext in '' $ac_executable_extensions; do
12793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12794 ac_cv_prog_ac_ct_CXX="$ac_prog"
12795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12804 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12805 if test -n "$ac_ct_CXX"; then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12807 $as_echo "$ac_ct_CXX" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12810 $as_echo "no" >&6; }
12814 test -n "$ac_ct_CXX" && break
12817 if test "x$ac_ct_CXX" = x; then
12820 case $cross_compiling:$ac_tool_warned in
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12824 ac_tool_warned=yes ;;
12832 # Provide some information about the compiler.
12833 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12836 for ac_option in --version -v -V -qversion; do
12837 { { ac_try="$ac_compiler $ac_option >&5"
12838 case "(($ac_try" in
12839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12840 *) ac_try_echo=$ac_try;;
12842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12843 $as_echo "$ac_try_echo"; } >&5
12844 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12846 if test -s conftest.err; then
12848 ... rest of stderr output deleted ...
12849 10q' conftest.err >conftest.er1
12850 cat conftest.er1 >&5
12852 rm -f conftest.er1 conftest.err
12853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12854 test $ac_status = 0; }
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12858 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12859 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12860 $as_echo_n "(cached) " >&6
12862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12863 /* end confdefs.h. */
12876 if ac_fn_cxx_try_compile "$LINENO"; then :
12877 ac_compiler_gnu=yes
12881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12882 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12886 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12887 if test $ac_compiler_gnu = yes; then
12892 ac_test_CXXFLAGS=${CXXFLAGS+set}
12893 ac_save_CXXFLAGS=$CXXFLAGS
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12895 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12896 if ${ac_cv_prog_cxx_g+:} false; then :
12897 $as_echo_n "(cached) " >&6
12899 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12900 ac_cxx_werror_flag=yes
12901 ac_cv_prog_cxx_g=no
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12914 if ac_fn_cxx_try_compile "$LINENO"; then :
12915 ac_cv_prog_cxx_g=yes
12918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12929 if ac_fn_cxx_try_compile "$LINENO"; then :
12932 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12945 if ac_fn_cxx_try_compile "$LINENO"; then :
12946 ac_cv_prog_cxx_g=yes
12948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12953 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12956 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12957 if test "$ac_test_CXXFLAGS" = set; then
12958 CXXFLAGS=$ac_save_CXXFLAGS
12959 elif test $ac_cv_prog_cxx_g = yes; then
12960 if test "$GXX" = yes; then
12966 if test "$GXX" = yes; then
12973 ac_cpp='$CPP $CPPFLAGS'
12974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12978 depcc="$CXX" am_compiler_list=
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12981 $as_echo_n "checking dependency style of $depcc... " >&6; }
12982 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12983 $as_echo_n "(cached) " >&6
12985 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12986 # We make a subdir and do the tests there. Otherwise we can end up
12987 # making bogus files that we don't know about and never remove. For
12988 # instance it was reported that on HP-UX the gcc test will end up
12989 # making a dummy file named 'D' -- because '-MD' means "put the output
12991 rm -rf conftest.dir
12993 # Copy depcomp to subdir because otherwise we won't find it if we're
12994 # using a relative directory.
12995 cp "$am_depcomp" conftest.dir
12997 # We will build objects and dependencies in a subdirectory because
12998 # it helps to detect inapplicable dependency modes. For instance
12999 # both Tru64's cc and ICC support -MD to output dependencies as a
13000 # side effect of compilation, but ICC will put the dependencies in
13001 # the current directory while Tru64 will put them in the object
13005 am_cv_CXX_dependencies_compiler_type=none
13006 if test "$am_compiler_list" = ""; then
13007 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13009 am__universal=false
13010 case " $depcc " in #(
13011 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13014 for depmode in $am_compiler_list; do
13015 # Setup a source with many dependencies, because some compilers
13016 # like to wrap large dependency lists on column 80 (with \), and
13017 # we should not choose a depcomp mode which is confused by this.
13019 # We need to recreate these files for each test, as the compiler may
13020 # overwrite some of them when testing with obscure command lines.
13021 # This happens at least with the AIX C compiler.
13023 for i in 1 2 3 4 5 6; do
13024 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13025 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13026 # Solaris 10 /bin/sh.
13027 echo '/* dummy */' > sub/conftst$i.h
13029 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13031 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13032 # mode. It turns out that the SunPro C++ compiler does not properly
13033 # handle '-M -o', and we need to detect this. Also, some Intel
13034 # versions had trouble with output in subdirs.
13035 am__obj=sub/conftest.${OBJEXT-o}
13036 am__minus_obj="-o $am__obj"
13039 # This depmode causes a compiler race in universal mode.
13040 test "$am__universal" = false || continue
13043 # After this tag, mechanisms are not by side-effect, so they'll
13044 # only be used when explicitly requested.
13045 if test "x$enable_dependency_tracking" = xyes; then
13051 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13052 # This compiler won't grok '-c -o', but also, the minuso test has
13053 # not run yet. These depmodes are late enough in the game, and
13054 # so weak that their functioning should not be impacted.
13055 am__obj=conftest.${OBJEXT-o}
13060 if depmode=$depmode \
13061 source=sub/conftest.c object=$am__obj \
13062 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13063 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13064 >/dev/null 2>conftest.err &&
13065 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13066 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13067 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13068 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13069 # icc doesn't choke on unknown options, it will just issue warnings
13070 # or remarks (even with -Werror). So we grep stderr for any message
13071 # that says an option was ignored or not supported.
13072 # When given -MP, icc 7.0 and 7.1 complain thusly:
13073 # icc: Command line warning: ignoring option '-M'; no argument required
13074 # The diagnosis changed in icc 8.0:
13075 # icc: Command line remark: option '-MP' not supported
13076 if (grep 'ignoring option' conftest.err ||
13077 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13078 am_cv_CXX_dependencies_compiler_type=$depmode
13085 rm -rf conftest.dir
13087 am_cv_CXX_dependencies_compiler_type=none
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13092 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13093 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13096 test "x$enable_dependency_tracking" != xno \
13097 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13098 am__fastdepCXX_TRUE=
13099 am__fastdepCXX_FALSE='#'
13101 am__fastdepCXX_TRUE='#'
13102 am__fastdepCXX_FALSE=
13108 func_stripname_cnf ()
13111 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
13112 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
13114 } # func_stripname_cnf
13116 if test -n "$CXX" && ( test no != "$CXX" &&
13117 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13118 (test g++ != "$CXX"))); then
13120 ac_cpp='$CXXCPP $CPPFLAGS'
13121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13125 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13126 if test -z "$CXXCPP"; then
13127 if ${ac_cv_prog_CXXCPP+:} false; then :
13128 $as_echo_n "(cached) " >&6
13130 # Double quotes because CXXCPP needs to be expanded
13131 for CXXCPP in "$CXX -E" "/lib/cpp"
13133 ac_preproc_ok=false
13134 for ac_cxx_preproc_warn_flag in '' yes
13136 # Use a header file that comes with gcc, so configuring glibc
13137 # with a fresh cross-compiler works.
13138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13139 # <limits.h> exists even on freestanding compilers.
13140 # On the NeXT, cc -E runs the code through the compiler's parser,
13141 # not just through cpp. "Syntax error" is here to catch this case.
13142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13145 # include <limits.h>
13147 # include <assert.h>
13151 if ac_fn_cxx_try_cpp "$LINENO"; then :
13154 # Broken: fails on valid input.
13157 rm -f conftest.err conftest.i conftest.$ac_ext
13159 # OK, works on sane cases. Now check whether nonexistent headers
13160 # can be detected and how.
13161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13163 #include <ac_nonexistent.h>
13165 if ac_fn_cxx_try_cpp "$LINENO"; then :
13166 # Broken: success on invalid input.
13169 # Passes both tests.
13173 rm -f conftest.err conftest.i conftest.$ac_ext
13176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13177 rm -f conftest.i conftest.err conftest.$ac_ext
13178 if $ac_preproc_ok; then :
13183 ac_cv_prog_CXXCPP=$CXXCPP
13186 CXXCPP=$ac_cv_prog_CXXCPP
13188 ac_cv_prog_CXXCPP=$CXXCPP
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13191 $as_echo "$CXXCPP" >&6; }
13192 ac_preproc_ok=false
13193 for ac_cxx_preproc_warn_flag in '' yes
13195 # Use a header file that comes with gcc, so configuring glibc
13196 # with a fresh cross-compiler works.
13197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13198 # <limits.h> exists even on freestanding compilers.
13199 # On the NeXT, cc -E runs the code through the compiler's parser,
13200 # not just through cpp. "Syntax error" is here to catch this case.
13201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13204 # include <limits.h>
13206 # include <assert.h>
13210 if ac_fn_cxx_try_cpp "$LINENO"; then :
13213 # Broken: fails on valid input.
13216 rm -f conftest.err conftest.i conftest.$ac_ext
13218 # OK, works on sane cases. Now check whether nonexistent headers
13219 # can be detected and how.
13220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13222 #include <ac_nonexistent.h>
13224 if ac_fn_cxx_try_cpp "$LINENO"; then :
13225 # Broken: success on invalid input.
13228 # Passes both tests.
13232 rm -f conftest.err conftest.i conftest.$ac_ext
13235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13236 rm -f conftest.i conftest.err conftest.$ac_ext
13237 if $ac_preproc_ok; then :
13240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13242 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13243 See \`config.log' for more details" "$LINENO" 5; }
13247 ac_cpp='$CPP $CPPFLAGS'
13248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13253 _lt_caught_CXX_error=yes
13257 ac_cpp='$CXXCPP $CPPFLAGS'
13258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13262 archive_cmds_need_lc_CXX=no
13263 allow_undefined_flag_CXX=
13264 always_export_symbols_CXX=no
13265 archive_expsym_cmds_CXX=
13266 compiler_needs_object_CXX=no
13267 export_dynamic_flag_spec_CXX=
13268 hardcode_direct_CXX=no
13269 hardcode_direct_absolute_CXX=no
13270 hardcode_libdir_flag_spec_CXX=
13271 hardcode_libdir_separator_CXX=
13272 hardcode_minus_L_CXX=no
13273 hardcode_shlibpath_var_CXX=unsupported
13274 hardcode_automatic_CXX=no
13275 inherit_rpath_CXX=no
13277 module_expsym_cmds_CXX=
13278 link_all_deplibs_CXX=unknown
13279 old_archive_cmds_CXX=$old_archive_cmds
13280 reload_flag_CXX=$reload_flag
13281 reload_cmds_CXX=$reload_cmds
13282 no_undefined_flag_CXX=
13283 whole_archive_flag_spec_CXX=
13284 enable_shared_with_static_runtimes_CXX=no
13286 # Source file extension for C++ test sources.
13289 # Object file extension for compiled C++ test sources.
13293 # No sense in running all these tests if we already determined that
13294 # the CXX compiler isn't working. Some variables (like enable_shared)
13295 # are currently assumed to apply to all compilers on this platform,
13296 # and will be corrupted by setting them based on a non-working compiler.
13297 if test yes != "$_lt_caught_CXX_error"; then
13298 # Code to be used in simple compile tests
13299 lt_simple_compile_test_code="int some_variable = 0;"
13301 # Code to be used in simple link tests
13302 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13304 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13311 # If no C compiler was specified, use CC.
13314 # If no C compiler flags were specified, use CFLAGS.
13315 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13317 # Allow CC to be a program name with arguments.
13321 # save warnings/boilerplate of simple test code
13322 ac_outfile=conftest.$ac_objext
13323 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13324 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13325 _lt_compiler_boilerplate=`cat conftest.err`
13328 ac_outfile=conftest.$ac_objext
13329 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13330 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13331 _lt_linker_boilerplate=`cat conftest.err`
13335 # Allow CC to be a program name with arguments.
13337 lt_save_CFLAGS=$CFLAGS
13341 lt_save_with_gnu_ld=$with_gnu_ld
13342 lt_save_path_LD=$lt_cv_path_LD
13343 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13344 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13346 $as_unset lt_cv_prog_gnu_ld
13348 if test -n "${lt_cv_path_LDCXX+set}"; then
13349 lt_cv_path_LD=$lt_cv_path_LDCXX
13351 $as_unset lt_cv_path_LD
13353 test -z "${LDCXX+set}" || LD=$LDCXX
13358 func_cc_basename $compiler
13359 cc_basename=$func_cc_basename_result
13362 if test -n "$compiler"; then
13363 # We don't want -fno-exception when compiling C++ code, so set the
13364 # no_builtin_flag separately
13365 if test yes = "$GXX"; then
13366 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13368 lt_prog_compiler_no_builtin_flag_CXX=
13371 if test yes = "$GXX"; then
13372 # Set up default GNU C++ configuration
13376 # Check whether --with-gnu-ld was given.
13377 if test "${with_gnu_ld+set}" = set; then :
13378 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13384 if test yes = "$GCC"; then
13385 # Check if gcc -print-prog-name=ld gives a path.
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13387 $as_echo_n "checking for ld used by $CC... " >&6; }
13390 # gcc leaves a trailing carriage return, which upsets mingw
13391 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13393 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13396 # Accept absolute paths.
13398 re_direlt='/[^/][^/]*/\.\./'
13399 # Canonicalize the pathname of ld
13400 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13401 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13402 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13404 test -z "$LD" && LD=$ac_prog
13407 # If it fails, then pretend we aren't using GCC.
13411 # If it is relative, then search for the first ld in PATH.
13412 with_gnu_ld=unknown
13415 elif test yes = "$with_gnu_ld"; then
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13417 $as_echo_n "checking for GNU ld... " >&6; }
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13420 $as_echo_n "checking for non-GNU ld... " >&6; }
13422 if ${lt_cv_path_LD+:} false; then :
13423 $as_echo_n "(cached) " >&6
13425 if test -z "$LD"; then
13426 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13427 for ac_dir in $PATH; do
13429 test -z "$ac_dir" && ac_dir=.
13430 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13431 lt_cv_path_LD=$ac_dir/$ac_prog
13432 # Check to see if the program is GNU ld. I'd rather use --version,
13433 # but apparently some variants of GNU ld only accept -v.
13434 # Break only if it was the GNU/non-GNU ld that we prefer.
13435 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13436 *GNU* | *'with BFD'*)
13437 test no != "$with_gnu_ld" && break
13440 test yes != "$with_gnu_ld" && break
13447 lt_cv_path_LD=$LD # Let the user override the test with a path.
13452 if test -n "$LD"; then
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13454 $as_echo "$LD" >&6; }
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13457 $as_echo "no" >&6; }
13459 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13461 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13462 if ${lt_cv_prog_gnu_ld+:} false; then :
13463 $as_echo_n "(cached) " >&6
13465 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13466 case `$LD -v 2>&1 </dev/null` in
13467 *GNU* | *'with BFD'*)
13468 lt_cv_prog_gnu_ld=yes
13471 lt_cv_prog_gnu_ld=no
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13476 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13477 with_gnu_ld=$lt_cv_prog_gnu_ld
13485 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13486 # archiving commands below assume that GNU ld is being used.
13487 if test yes = "$with_gnu_ld"; then
13488 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13489 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13491 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13492 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13494 # If archive_cmds runs LD, not CC, wlarc should be empty
13495 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13496 # investigate it a little bit more. (MM)
13499 # ancient GNU ld didn't support --whole-archive et. al.
13500 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13501 $GREP 'no-whole-archive' > /dev/null; then
13502 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13504 whole_archive_flag_spec_CXX=
13510 # A generic and very simple default shared library creation
13511 # command for GNU C++ for the case where it uses the native
13512 # linker, instead of GNU ld. If possible, this setting should
13513 # overridden to take advantage of the native linker features on
13514 # the platform it is being used on.
13515 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13518 # Commands to make compiler produce verbose output that lists
13519 # what "hidden" libraries, object files and flags are used when
13520 # linking a shared library.
13521 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13529 # PORTME: fill in a description of your system's C++ link characteristics
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13531 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13535 # FIXME: insert proper C++ library support
13539 if test ia64 = "$host_cpu"; then
13540 # On IA64, the linker does run time linking by default, so we don't
13541 # have to do anything special.
13542 aix_use_runtimelinking=no
13543 exp_sym_flag='-Bexport'
13546 aix_use_runtimelinking=no
13548 # Test if we are trying to use run time linking or normal
13549 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13550 # have runtime linking enabled, and use it for executables.
13551 # For shared libraries, we enable/disable runtime linking
13552 # depending on the kind of the shared library created -
13553 # when "with_aix_soname,aix_use_runtimelinking" is:
13554 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13555 # "aix,yes" lib.so shared, rtl:yes, for executables
13556 # lib.a static archive
13557 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13558 # lib.a(lib.so.V) shared, rtl:no, for executables
13559 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13560 # lib.a(lib.so.V) shared, rtl:no
13561 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13562 # lib.a static archive
13563 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13564 for ld_flag in $LDFLAGS; do
13567 aix_use_runtimelinking=yes
13572 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13573 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13574 # so we don't have lib.a shared libs to link our executables.
13575 # We have to force runtime linking in this case.
13576 aix_use_runtimelinking=yes
13577 LDFLAGS="$LDFLAGS -Wl,-brtl"
13582 exp_sym_flag='-bexport'
13583 no_entry_flag='-bnoentry'
13586 # When large executables or shared objects are built, AIX ld can
13587 # have problems creating the table of contents. If linking a library
13588 # or program results in "error TOC overflow" add -mminimal-toc to
13589 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13590 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13592 archive_cmds_CXX=''
13593 hardcode_direct_CXX=yes
13594 hardcode_direct_absolute_CXX=yes
13595 hardcode_libdir_separator_CXX=':'
13596 link_all_deplibs_CXX=yes
13597 file_list_spec_CXX='$wl-f,'
13598 case $with_aix_soname,$aix_use_runtimelinking in
13599 aix,*) ;; # no import file
13600 svr4,* | *,yes) # use import file
13601 # The Import File defines what to hardcode.
13602 hardcode_direct_CXX=no
13603 hardcode_direct_absolute_CXX=no
13607 if test yes = "$GXX"; then
13608 case $host_os in aix4.[012]|aix4.[012].*)
13609 # We only want to do this on AIX 4.2 and lower, the check
13610 # below for broken collect2 doesn't work under 4.3+
13611 collect2name=`$CC -print-prog-name=collect2`
13612 if test -f "$collect2name" &&
13613 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13615 # We have reworked collect2
13618 # We have old collect2
13619 hardcode_direct_CXX=unsupported
13620 # It fails to find uninstalled libraries when the uninstalled
13621 # path is not listed in the libpath. Setting hardcode_minus_L
13622 # to unsupported forces relinking
13623 hardcode_minus_L_CXX=yes
13624 hardcode_libdir_flag_spec_CXX='-L$libdir'
13625 hardcode_libdir_separator_CXX=
13628 shared_flag='-shared'
13629 if test yes = "$aix_use_runtimelinking"; then
13630 shared_flag=$shared_flag' $wl-G'
13632 # Need to ensure runtime linking is disabled for the traditional
13633 # shared library, or the linker may eventually find shared libraries
13634 # /with/ Import File - we do not want to mix them.
13635 shared_flag_aix='-shared'
13636 shared_flag_svr4='-shared $wl-G'
13639 if test ia64 = "$host_cpu"; then
13640 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13641 # chokes on -Wl,-G. The following line is correct:
13644 if test yes = "$aix_use_runtimelinking"; then
13645 shared_flag='$wl-G'
13647 shared_flag='$wl-bM:SRE'
13649 shared_flag_aix='$wl-bM:SRE'
13650 shared_flag_svr4='$wl-G'
13654 export_dynamic_flag_spec_CXX='$wl-bexpall'
13655 # It seems that -bexpall does not export symbols beginning with
13656 # underscore (_), so it is better to generate a list of symbols to
13658 always_export_symbols_CXX=yes
13659 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13660 # Warning - without using the other runtime loading flags (-brtl),
13661 # -berok will link without error, but may produce a broken library.
13662 # The "-G" linker flag allows undefined symbols.
13663 no_undefined_flag_CXX='-bernotok'
13664 # Determine the default libpath from the value encoded in an empty
13666 if test set = "${lt_cv_aix_libpath+set}"; then
13667 aix_libpath=$lt_cv_aix_libpath
13669 if ${lt_cv_aix_libpath__CXX+:} false; then :
13670 $as_echo_n "(cached) " >&6
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13683 if ac_fn_cxx_try_link "$LINENO"; then :
13685 lt_aix_libpath_sed='
13686 /Import File Strings/,/^$/ {
13688 s/^0 *\([^ ]*\) *$/\1/
13692 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13693 # Check for a 64-bit object if we didn't find anything.
13694 if test -z "$lt_cv_aix_libpath__CXX"; then
13695 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13698 rm -f core conftest.err conftest.$ac_objext \
13699 conftest$ac_exeext conftest.$ac_ext
13700 if test -z "$lt_cv_aix_libpath__CXX"; then
13701 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13706 aix_libpath=$lt_cv_aix_libpath__CXX
13709 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13711 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
13713 if test ia64 = "$host_cpu"; then
13714 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13715 allow_undefined_flag_CXX="-z nodefs"
13716 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
13718 # Determine the default libpath from the value encoded in an
13719 # empty executable.
13720 if test set = "${lt_cv_aix_libpath+set}"; then
13721 aix_libpath=$lt_cv_aix_libpath
13723 if ${lt_cv_aix_libpath__CXX+:} false; then :
13724 $as_echo_n "(cached) " >&6
13726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13727 /* end confdefs.h. */
13737 if ac_fn_cxx_try_link "$LINENO"; then :
13739 lt_aix_libpath_sed='
13740 /Import File Strings/,/^$/ {
13742 s/^0 *\([^ ]*\) *$/\1/
13746 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13747 # Check for a 64-bit object if we didn't find anything.
13748 if test -z "$lt_cv_aix_libpath__CXX"; then
13749 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13752 rm -f core conftest.err conftest.$ac_objext \
13753 conftest$ac_exeext conftest.$ac_ext
13754 if test -z "$lt_cv_aix_libpath__CXX"; then
13755 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13760 aix_libpath=$lt_cv_aix_libpath__CXX
13763 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13764 # Warning - without using the other run time loading flags,
13765 # -berok will link without error, but may produce a broken library.
13766 no_undefined_flag_CXX=' $wl-bernotok'
13767 allow_undefined_flag_CXX=' $wl-berok'
13768 if test yes = "$with_gnu_ld"; then
13769 # We only use this code for GNU lds that support --whole-archive.
13770 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13772 # Exported symbols can be pulled into shared objects from archives
13773 whole_archive_flag_spec_CXX='$convenience'
13775 archive_cmds_need_lc_CXX=yes
13776 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13777 # -brtl affects multiple linker settings, -berok does not and is overridden later
13778 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13779 if test svr4 != "$with_aix_soname"; then
13780 # This is similar to how AIX traditionally builds its shared
13781 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13782 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13784 if test aix != "$with_aix_soname"; then
13785 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13787 # used by -dlpreopen to get the symbols
13788 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13790 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13796 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13797 allow_undefined_flag_CXX=unsupported
13798 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13799 # support --undefined. This deserves some investigation. FIXME
13800 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13807 case $cc_basename in
13809 # FIXME: insert proper C++ library support
13815 cygwin* | mingw* | pw32* | cegcc*)
13816 case $GXX,$cc_basename in
13819 # hardcode_libdir_flag_spec is actually meaningless, as there is
13820 # no search path for DLLs.
13821 hardcode_libdir_flag_spec_CXX=' '
13822 allow_undefined_flag_CXX=unsupported
13823 always_export_symbols_CXX=yes
13824 file_list_spec_CXX='@'
13825 # Tell ltmain to make .lib files, not .a files.
13827 # Tell ltmain to make .dll files, not .so files.
13829 # FIXME: Setting linknames here is a bad hack.
13830 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13831 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13832 cp "$export_symbols" "$output_objdir/$soname.def";
13833 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13835 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13837 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13839 # The linker will not automatically build a static lib if we build a DLL.
13840 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13841 enable_shared_with_static_runtimes_CXX=yes
13843 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13844 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13845 lt_tool_outputfile="@TOOL_OUTPUT@"~
13846 case $lt_outputfile in
13849 lt_outputfile=$lt_outputfile.exe
13850 lt_tool_outputfile=$lt_tool_outputfile.exe
13853 func_to_tool_file "$lt_outputfile"~
13854 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13855 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13856 $RM "$lt_outputfile.manifest";
13861 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13862 # as there is no search path for DLLs.
13863 hardcode_libdir_flag_spec_CXX='-L$libdir'
13864 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13865 allow_undefined_flag_CXX=unsupported
13866 always_export_symbols_CXX=no
13867 enable_shared_with_static_runtimes_CXX=yes
13869 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13870 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13871 # If the export-symbols file already is a .def file, use it as
13872 # is; otherwise, prepend EXPORTS...
13873 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13874 cp $export_symbols $output_objdir/$soname.def;
13876 echo EXPORTS > $output_objdir/$soname.def;
13877 cat $export_symbols >> $output_objdir/$soname.def;
13879 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13886 darwin* | rhapsody*)
13889 archive_cmds_need_lc_CXX=no
13890 hardcode_direct_CXX=no
13891 hardcode_automatic_CXX=yes
13892 hardcode_shlibpath_var_CXX=unsupported
13893 if test yes = "$lt_cv_ld_force_load"; then
13894 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13897 whole_archive_flag_spec_CXX=''
13899 link_all_deplibs_CXX=yes
13900 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13901 case $cc_basename in
13902 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13903 *) _lt_dar_can_shared=$GCC ;;
13905 if test yes = "$_lt_dar_can_shared"; then
13906 output_verbose_link_cmd=func_echo_all
13907 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
13908 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13909 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
13910 module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
13911 if test yes != "$lt_cv_apple_cc_single_mod"; then
13912 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
13913 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
13923 hardcode_libdir_flag_spec_CXX='-L$libdir'
13924 hardcode_minus_L_CXX=yes
13925 allow_undefined_flag_CXX=unsupported
13927 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13928 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13929 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13930 $ECHO EXPORTS >> $output_objdir/$libname.def~
13931 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13932 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13933 emximp -o $lib $output_objdir/$libname.def'
13934 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13935 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13936 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13937 $ECHO EXPORTS >> $output_objdir/$libname.def~
13938 prefix_cmds="$SED"~
13939 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13940 prefix_cmds="$prefix_cmds -e 1d";
13942 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13943 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13944 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13945 emximp -o $lib $output_objdir/$libname.def'
13946 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13947 enable_shared_with_static_runtimes_CXX=yes
13951 case $cc_basename in
13953 # FIXME: insert proper C++ library support
13957 # Green Hills C++ Compiler
13958 # FIXME: insert proper C++ library support
13962 # FIXME: insert proper C++ library support
13969 # C++ shared libraries reported to be fairly broken before
13975 archive_cmds_need_lc_CXX=no
13978 freebsd* | dragonfly*)
13979 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13985 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13986 link_all_deplibs_CXX=yes
13990 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13991 hardcode_libdir_separator_CXX=:
13992 export_dynamic_flag_spec_CXX='$wl-E'
13993 hardcode_direct_CXX=yes
13994 hardcode_minus_L_CXX=yes # Not in the search PATH,
13995 # but as the default
13996 # location of the library.
13998 case $cc_basename in
14000 # FIXME: insert proper C++ library support
14004 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14005 # Commands to make compiler produce verbose output that lists
14006 # what "hidden" libraries, object files and flags are used when
14007 # linking a shared library.
14009 # There doesn't appear to be a way to prevent this compiler from
14010 # explicitly linking system object files so we need to strip them
14011 # from the output so that they don't get included in the library
14013 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14016 if test yes = "$GXX"; then
14017 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14019 # FIXME: insert proper C++ library support
14027 if test no = "$with_gnu_ld"; then
14028 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14029 hardcode_libdir_separator_CXX=:
14035 export_dynamic_flag_spec_CXX='$wl-E'
14041 hardcode_direct_CXX=no
14042 hardcode_shlibpath_var_CXX=no
14045 hardcode_direct_CXX=yes
14046 hardcode_direct_absolute_CXX=yes
14047 hardcode_minus_L_CXX=yes # Not in the search PATH,
14048 # but as the default
14049 # location of the library.
14053 case $cc_basename in
14055 # FIXME: insert proper C++ library support
14061 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14064 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14067 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14070 # Commands to make compiler produce verbose output that lists
14071 # what "hidden" libraries, object files and flags are used when
14072 # linking a shared library.
14074 # There doesn't appear to be a way to prevent this compiler from
14075 # explicitly linking system object files so we need to strip them
14076 # from the output so that they don't get included in the library
14078 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14081 if test yes = "$GXX"; then
14082 if test no = "$with_gnu_ld"; then
14085 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14088 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14091 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14096 # FIXME: insert proper C++ library support
14104 hardcode_direct_CXX=no
14105 hardcode_shlibpath_var_CXX=no
14106 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14107 export_dynamic_flag_spec_CXX='$wl-E'
14108 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14109 # Instead, shared libraries are loaded at an image base (0x10000000 by
14110 # default) and relocated if they conflict, which is a slow very memory
14111 # consuming and fragmenting process. To avoid this, we pick a random,
14112 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14113 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14114 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14115 archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14118 case $cc_basename in
14121 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14123 # Archives containing C++ object files must be created using
14124 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14125 # necessary to make sure instantiated templates are included
14127 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14130 if test yes = "$GXX"; then
14131 if test no = "$with_gnu_ld"; then
14132 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14134 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
14137 link_all_deplibs_CXX=yes
14140 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14141 hardcode_libdir_separator_CXX=:
14142 inherit_rpath_CXX=yes
14145 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14146 case $cc_basename in
14148 # Kuck and Associates, Inc. (KAI) C++ Compiler
14150 # KCC will only create a shared library if the output file
14151 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14152 # to its proper name (with version) after linking.
14153 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14154 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
14155 # Commands to make compiler produce verbose output that lists
14156 # what "hidden" libraries, object files and flags are used when
14157 # linking a shared library.
14159 # There doesn't appear to be a way to prevent this compiler from
14160 # explicitly linking system object files so we need to strip them
14161 # from the output so that they don't get included in the library
14163 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14165 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14166 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14168 # Archives containing C++ object files must be created using
14169 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14170 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14175 # version 8.0 and above of icpc choke on multiply defined symbols
14176 # if we add $predep_objects and $postdep_objects, however 7.1 and
14177 # earlier do not add the objects themselves.
14178 case `$CC -V 2>&1` in
14180 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14181 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14183 *) # Version 8.0 or newer
14186 ia64*) tmp_idyn=' -i_dynamic';;
14188 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14189 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14192 archive_cmds_need_lc_CXX=no
14193 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14194 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14195 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14198 # Portland Group C++ compiler
14200 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14201 prelink_cmds_CXX='tpldir=Template.dir~
14203 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14204 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14205 old_archive_cmds_CXX='tpldir=Template.dir~
14207 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14208 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14210 archive_cmds_CXX='tpldir=Template.dir~
14212 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14213 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14214 archive_expsym_cmds_CXX='tpldir=Template.dir~
14216 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14217 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14219 *) # Version 6 and above use weak symbols
14220 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14221 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14225 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14226 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14227 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14231 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14232 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
14234 runpath_var=LD_RUN_PATH
14235 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14236 hardcode_libdir_separator_CXX=:
14238 # Commands to make compiler produce verbose output that lists
14239 # what "hidden" libraries, object files and flags are used when
14240 # linking a shared library.
14242 # There doesn't appear to be a way to prevent this compiler from
14243 # explicitly linking system object files so we need to strip them
14244 # from the output so that they don't get included in the library
14246 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14248 xl* | mpixl* | bgxl*)
14249 # IBM XL 8.0 on PPC, with GNU ld
14250 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14251 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14252 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14253 if test yes = "$supports_anon_versioning"; then
14254 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14255 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14256 echo "local: *; };" >> $output_objdir/$libname.ver~
14257 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14261 case `$CC -V 2>&1 | sed 5q` in
14264 no_undefined_flag_CXX=' -zdefs'
14265 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14266 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
14267 hardcode_libdir_flag_spec_CXX='-R$libdir'
14268 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14269 compiler_needs_object_CXX=yes
14271 # Not sure whether something based on
14272 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14274 output_verbose_link_cmd='func_echo_all'
14276 # Archives containing C++ object files must be created using
14277 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14278 # necessary to make sure instantiated templates are included
14280 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14288 # FIXME: insert proper C++ library support
14293 # FIXME: insert proper C++ library support
14298 case $cc_basename in
14300 # FIXME: insert proper C++ library support
14304 # FIXME: insert proper C++ library support
14311 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14312 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14314 hardcode_libdir_flag_spec_CXX='-R$libdir'
14315 hardcode_direct_CXX=yes
14316 hardcode_shlibpath_var_CXX=no
14318 # Workaround some broken pre-1.5 toolchains
14319 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14326 openbsd* | bitrig*)
14327 if test -f /usr/libexec/ld.so; then
14328 hardcode_direct_CXX=yes
14329 hardcode_shlibpath_var_CXX=no
14330 hardcode_direct_absolute_CXX=yes
14331 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14332 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14333 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14334 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14335 export_dynamic_flag_spec_CXX='$wl-E'
14336 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14338 output_verbose_link_cmd=func_echo_all
14344 osf3* | osf4* | osf5*)
14345 case $cc_basename in
14347 # Kuck and Associates, Inc. (KAI) C++ Compiler
14349 # KCC will only create a shared library if the output file
14350 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14351 # to its proper name (with version) after linking.
14352 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14354 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14355 hardcode_libdir_separator_CXX=:
14357 # Archives containing C++ object files must be created using
14358 # the KAI C++ compiler.
14360 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14361 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14365 # Rational C++ 2.4.1
14366 # FIXME: insert proper C++ library support
14372 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14373 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14374 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14377 allow_undefined_flag_CXX=' -expect_unresolved \*'
14378 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14379 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14380 echo "-hidden">> $lib.exp~
14381 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
14383 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14387 hardcode_libdir_separator_CXX=:
14389 # Commands to make compiler produce verbose output that lists
14390 # what "hidden" libraries, object files and flags are used when
14391 # linking a shared library.
14393 # There doesn't appear to be a way to prevent this compiler from
14394 # explicitly linking system object files so we need to strip them
14395 # from the output so that they don't get included in the library
14397 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14400 if test yes,no = "$GXX,$with_gnu_ld"; then
14401 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14404 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14407 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14411 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14412 hardcode_libdir_separator_CXX=:
14414 # Commands to make compiler produce verbose output that lists
14415 # what "hidden" libraries, object files and flags are used when
14416 # linking a shared library.
14417 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14420 # FIXME: insert proper C++ library support
14428 # FIXME: insert proper C++ library support
14433 case $cc_basename in
14436 # FIXME: insert proper C++ library support
14441 # FIXME: insert proper C++ library support
14445 # FIXME: insert proper C++ library support
14452 case $cc_basename in
14454 # Sun C++ 4.2, 5.x and Centerline C++
14455 archive_cmds_need_lc_CXX=yes
14456 no_undefined_flag_CXX=' -zdefs'
14457 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14458 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14459 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14461 hardcode_libdir_flag_spec_CXX='-R$libdir'
14462 hardcode_shlibpath_var_CXX=no
14464 solaris2.[0-5] | solaris2.[0-5].*) ;;
14466 # The compiler driver will combine and reorder linker options,
14467 # but understands '-z linker_flag'.
14468 # Supported since Solaris 2.6 (maybe 2.5.1?)
14469 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14472 link_all_deplibs_CXX=yes
14474 output_verbose_link_cmd='func_echo_all'
14476 # Archives containing C++ object files must be created using
14477 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14478 # necessary to make sure instantiated templates are included
14480 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14483 # Green Hills C++ Compiler
14484 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14486 # The C++ compiler must be used to create the archive.
14487 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14490 # GNU C++ compiler with Solaris linker
14491 if test yes,no = "$GXX,$with_gnu_ld"; then
14492 no_undefined_flag_CXX=' $wl-z ${wl}defs'
14493 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14494 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14495 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14496 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14498 # Commands to make compiler produce verbose output that lists
14499 # what "hidden" libraries, object files and flags are used when
14500 # linking a shared library.
14501 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14503 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14505 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14506 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14507 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14509 # Commands to make compiler produce verbose output that lists
14510 # what "hidden" libraries, object files and flags are used when
14511 # linking a shared library.
14512 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14515 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14517 solaris2.[0-5] | solaris2.[0-5].*) ;;
14519 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14527 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14528 no_undefined_flag_CXX='$wl-z,text'
14529 archive_cmds_need_lc_CXX=no
14530 hardcode_shlibpath_var_CXX=no
14531 runpath_var='LD_RUN_PATH'
14533 case $cc_basename in
14535 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14536 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14539 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14540 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14545 sysv5* | sco3.2v5* | sco5v6*)
14546 # Note: We CANNOT use -z defs as we might desire, because we do not
14547 # link with -lc, and that would cause any symbols used from libc to
14548 # always be unresolved, which means just about no library would
14549 # ever link correctly. If we're not using GNU ld we use -z text
14550 # though, which does catch some bad symbols but isn't as heavy-handed
14552 no_undefined_flag_CXX='$wl-z,text'
14553 allow_undefined_flag_CXX='$wl-z,nodefs'
14554 archive_cmds_need_lc_CXX=no
14555 hardcode_shlibpath_var_CXX=no
14556 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14557 hardcode_libdir_separator_CXX=':'
14558 link_all_deplibs_CXX=yes
14559 export_dynamic_flag_spec_CXX='$wl-Bexport'
14560 runpath_var='LD_RUN_PATH'
14562 case $cc_basename in
14564 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14565 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14566 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14567 '"$old_archive_cmds_CXX"
14568 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14569 '"$reload_cmds_CXX"
14572 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14573 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14579 case $cc_basename in
14581 # NonStop-UX NCC 3.20
14582 # FIXME: insert proper C++ library support
14586 # FIXME: insert proper C++ library support
14593 # FIXME: insert proper C++ library support
14598 # FIXME: insert proper C++ library support
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14604 $as_echo "$ld_shlibs_CXX" >&6; }
14605 test no = "$ld_shlibs_CXX" && can_build_shared=no
14611 ## There is no encapsulation within the following macros, do not change
14612 ## the running order or otherwise move them around unless you know exactly
14613 ## what you are doing...
14614 # Dependencies to place before and after the object being linked:
14615 predep_objects_CXX=
14616 postdep_objects_CXX=
14619 compiler_lib_search_path_CXX=
14621 cat > conftest.$ac_ext <<_LT_EOF
14625 Foo (void) { a = 0; }
14632 _lt_libdeps_save_CFLAGS=$CFLAGS
14633 case "$CC $CFLAGS " in #(
14634 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14635 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14636 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14640 (eval $ac_compile) 2>&5
14642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14643 test $ac_status = 0; }; then
14644 # Parse the compiler output and extract the necessary
14645 # objects, libraries and library flags.
14647 # Sentinel used to keep track of whether or not we are before
14648 # the conftest object file.
14649 pre_test_object_deps_done=no
14651 for p in `eval "$output_verbose_link_cmd"`; do
14655 # Some compilers place space between "-{L,R}" and the path.
14656 # Remove the space.
14657 if test x-L = "$p" ||
14658 test x-R = "$p"; then
14663 # Expand the sysroot to ease extracting the directories later.
14664 if test -z "$prev"; then
14666 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14667 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14668 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14672 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14674 if test no = "$pre_test_object_deps_done"; then
14677 # Internal compiler library paths should come after those
14678 # provided the user. The postdeps already come after the
14679 # user supplied libs so there is no need to process them.
14680 if test -z "$compiler_lib_search_path_CXX"; then
14681 compiler_lib_search_path_CXX=$prev$p
14683 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14686 # The "-l" case would never come before the object being
14687 # linked, so don't bother handling this case.
14690 if test -z "$postdeps_CXX"; then
14691 postdeps_CXX=$prev$p
14693 postdeps_CXX="${postdeps_CXX} $prev$p"
14699 *.lto.$objext) ;; # Ignore GCC LTO objects
14701 # This assumes that the test object file only shows up
14702 # once in the compiler output.
14703 if test "$p" = "conftest.$objext"; then
14704 pre_test_object_deps_done=yes
14708 if test no = "$pre_test_object_deps_done"; then
14709 if test -z "$predep_objects_CXX"; then
14710 predep_objects_CXX=$p
14712 predep_objects_CXX="$predep_objects_CXX $p"
14715 if test -z "$postdep_objects_CXX"; then
14716 postdep_objects_CXX=$p
14718 postdep_objects_CXX="$postdep_objects_CXX $p"
14723 *) ;; # Ignore the rest.
14731 echo "libtool.m4: error: problem compiling CXX test program"
14734 $RM -f confest.$objext
14735 CFLAGS=$_lt_libdeps_save_CFLAGS
14737 # PORTME: override above test on systems where it is broken
14740 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14741 # hack all around it, let's just trust "g++" to DTRT.
14742 predep_objects_CXX=
14743 postdep_objects_CXX=
14749 case " $postdeps_CXX " in
14750 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14752 compiler_lib_search_dirs_CXX=
14753 if test -n "${compiler_lib_search_path_CXX}"; then
14754 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14787 lt_prog_compiler_wl_CXX=
14788 lt_prog_compiler_pic_CXX=
14789 lt_prog_compiler_static_CXX=
14792 # C++ specific cases for pic, static, wl, etc.
14793 if test yes = "$GXX"; then
14794 lt_prog_compiler_wl_CXX='-Wl,'
14795 lt_prog_compiler_static_CXX='-static'
14799 # All AIX code is PIC.
14800 if test ia64 = "$host_cpu"; then
14801 # AIX 5 now supports IA64 processor
14802 lt_prog_compiler_static_CXX='-Bstatic'
14804 lt_prog_compiler_pic_CXX='-fPIC'
14810 # see comment about AmigaOS4 .so support
14811 lt_prog_compiler_pic_CXX='-fPIC'
14814 # FIXME: we need at least 68020 code to build shared libraries, but
14815 # adding the '-m68020' flag to GCC prevents building anything better,
14817 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14822 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14823 # PIC is the default for these OSes.
14825 mingw* | cygwin* | os2* | pw32* | cegcc*)
14826 # This hack is so that the source file can tell whether it is being
14827 # built for inclusion in a dll (and should export symbols for example).
14828 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14829 # (--disable-auto-import) libraries
14830 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14833 lt_prog_compiler_static_CXX='$wl-static'
14837 darwin* | rhapsody*)
14838 # PIC is the default on this platform
14839 # Common symbols not allowed in MH_DYLIB files
14840 lt_prog_compiler_pic_CXX='-fno-common'
14843 # DJGPP does not support shared libraries at all
14844 lt_prog_compiler_pic_CXX=
14847 # PIC is the default for Haiku.
14848 # The "-static" flag exists, but is broken.
14849 lt_prog_compiler_static_CXX=
14852 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14853 # Instead, we relocate shared libraries at runtime.
14856 if test -d /usr/nec; then
14857 lt_prog_compiler_pic_CXX=-Kconform_pic
14861 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14862 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14863 # sets the default TLS model and affects inlining.
14868 lt_prog_compiler_pic_CXX='-fPIC'
14873 # QNX uses GNU C++, but need to define -shared option too, otherwise
14874 # it will coredump.
14875 lt_prog_compiler_pic_CXX='-fPIC -shared'
14878 lt_prog_compiler_pic_CXX='-fPIC'
14884 # All AIX code is PIC.
14885 if test ia64 = "$host_cpu"; then
14886 # AIX 5 now supports IA64 processor
14887 lt_prog_compiler_static_CXX='-Bstatic'
14889 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14893 case $cc_basename in
14895 # Green Hills C++ Compiler
14896 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14900 mingw* | cygwin* | os2* | pw32* | cegcc*)
14901 # This hack is so that the source file can tell whether it is being
14902 # built for inclusion in a dll (and should export symbols for example).
14903 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14906 case $cc_basename in
14908 lt_prog_compiler_pic_CXX='-KPIC'
14911 # Green Hills C++ Compiler
14912 lt_prog_compiler_pic_CXX='-pic'
14918 freebsd* | dragonfly*)
14919 # FreeBSD uses GNU C++
14921 hpux9* | hpux10* | hpux11*)
14922 case $cc_basename in
14924 lt_prog_compiler_wl_CXX='-Wl,'
14925 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14926 if test ia64 != "$host_cpu"; then
14927 lt_prog_compiler_pic_CXX='+Z'
14931 lt_prog_compiler_wl_CXX='-Wl,'
14932 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14938 lt_prog_compiler_pic_CXX='+Z'
14947 # This is c89, which is MS Visual C++ (no shared libs)
14948 # Anyone wants to do a port?
14950 irix5* | irix6* | nonstopux*)
14951 case $cc_basename in
14953 lt_prog_compiler_wl_CXX='-Wl,'
14954 lt_prog_compiler_static_CXX='-non_shared'
14955 # CC pic flag -KPIC is the default.
14961 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14962 case $cc_basename in
14965 lt_prog_compiler_wl_CXX='--backend -Wl,'
14966 lt_prog_compiler_pic_CXX='-fPIC'
14969 # old Intel C++ for x86_64, which still supported -KPIC.
14970 lt_prog_compiler_wl_CXX='-Wl,'
14971 lt_prog_compiler_pic_CXX='-KPIC'
14972 lt_prog_compiler_static_CXX='-static'
14975 # Intel C++, used to be incompatible with GCC.
14976 # ICC 10 doesn't accept -KPIC any more.
14977 lt_prog_compiler_wl_CXX='-Wl,'
14978 lt_prog_compiler_pic_CXX='-fPIC'
14979 lt_prog_compiler_static_CXX='-static'
14982 # Portland Group C++ compiler
14983 lt_prog_compiler_wl_CXX='-Wl,'
14984 lt_prog_compiler_pic_CXX='-fpic'
14985 lt_prog_compiler_static_CXX='-Bstatic'
14989 # Make sure the PIC flag is empty. It appears that all Alpha
14990 # Linux and Compaq Tru64 Unix objects are PIC.
14991 lt_prog_compiler_pic_CXX=
14992 lt_prog_compiler_static_CXX='-non_shared'
14994 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14995 # IBM XL 8.0, 9.0 on PPC and BlueGene
14996 lt_prog_compiler_wl_CXX='-Wl,'
14997 lt_prog_compiler_pic_CXX='-qpic'
14998 lt_prog_compiler_static_CXX='-qstaticlink'
15001 case `$CC -V 2>&1 | sed 5q` in
15004 lt_prog_compiler_pic_CXX='-KPIC'
15005 lt_prog_compiler_static_CXX='-Bstatic'
15006 lt_prog_compiler_wl_CXX='-Qoption ld '
15017 case $cc_basename in
15019 lt_prog_compiler_pic_CXX='-W c,exportall'
15025 netbsd* | netbsdelf*-gnu)
15028 # QNX uses GNU C++, but need to define -shared option too, otherwise
15029 # it will coredump.
15030 lt_prog_compiler_pic_CXX='-fPIC -shared'
15032 osf3* | osf4* | osf5*)
15033 case $cc_basename in
15035 lt_prog_compiler_wl_CXX='--backend -Wl,'
15038 # Rational C++ 2.4.1
15039 lt_prog_compiler_pic_CXX='-pic'
15042 # Digital/Compaq C++
15043 lt_prog_compiler_wl_CXX='-Wl,'
15044 # Make sure the PIC flag is empty. It appears that all Alpha
15045 # Linux and Compaq Tru64 Unix objects are PIC.
15046 lt_prog_compiler_pic_CXX=
15047 lt_prog_compiler_static_CXX='-non_shared'
15056 case $cc_basename in
15058 # Sun C++ 4.2, 5.x and Centerline C++
15059 lt_prog_compiler_pic_CXX='-KPIC'
15060 lt_prog_compiler_static_CXX='-Bstatic'
15061 lt_prog_compiler_wl_CXX='-Qoption ld '
15064 # Green Hills C++ Compiler
15065 lt_prog_compiler_pic_CXX='-PIC'
15072 case $cc_basename in
15075 lt_prog_compiler_pic_CXX='-pic'
15076 lt_prog_compiler_static_CXX='-Bstatic'
15080 lt_prog_compiler_pic_CXX='-pic'
15086 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15087 case $cc_basename in
15089 lt_prog_compiler_wl_CXX='-Wl,'
15090 lt_prog_compiler_pic_CXX='-KPIC'
15091 lt_prog_compiler_static_CXX='-Bstatic'
15096 case $cc_basename in
15098 # NonStop-UX NCC 3.20
15099 lt_prog_compiler_pic_CXX='-KPIC'
15108 lt_prog_compiler_can_build_shared_CXX=no
15114 # For platforms that do not support PIC, -DPIC is meaningless:
15116 lt_prog_compiler_pic_CXX=
15119 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15124 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15125 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15126 $as_echo_n "(cached) " >&6
15128 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15131 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15132 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15135 # Check to make sure the PIC flag actually works.
15137 if test -n "$lt_prog_compiler_pic_CXX"; then
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15139 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15140 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15141 $as_echo_n "(cached) " >&6
15143 lt_cv_prog_compiler_pic_works_CXX=no
15144 ac_outfile=conftest.$ac_objext
15145 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15146 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15147 # Insert the option either (1) after the last *FLAGS variable, or
15148 # (2) before a word containing "conftest.", or (3) at the end.
15149 # Note that $ac_compile itself does not contain backslashes and begins
15150 # with a dollar sign (not a hyphen), so the echo should work correctly.
15151 # The option is referenced via a variable to avoid confusing sed.
15152 lt_compile=`echo "$ac_compile" | $SED \
15153 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15154 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15155 -e 's:$: $lt_compiler_flag:'`
15156 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15157 (eval "$lt_compile" 2>conftest.err)
15159 cat conftest.err >&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 if (exit $ac_status) && test -s "$ac_outfile"; then
15162 # The compiler can only warn and ignore the option if not recognized
15163 # So say no if there are warnings other than the usual output.
15164 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15165 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15166 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15167 lt_cv_prog_compiler_pic_works_CXX=yes
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15174 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15176 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15177 case $lt_prog_compiler_pic_CXX in
15179 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15182 lt_prog_compiler_pic_CXX=
15183 lt_prog_compiler_can_build_shared_CXX=no
15193 # Check to make sure the static flag actually works.
15195 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15197 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15198 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15199 $as_echo_n "(cached) " >&6
15201 lt_cv_prog_compiler_static_works_CXX=no
15202 save_LDFLAGS=$LDFLAGS
15203 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15204 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15205 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15206 # The linker can only warn and ignore the option if not recognized
15207 # So say no if there are warnings
15208 if test -s conftest.err; then
15209 # Append any errors to the config.log.
15210 cat conftest.err 1>&5
15211 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15212 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15213 if diff conftest.exp conftest.er2 >/dev/null; then
15214 lt_cv_prog_compiler_static_works_CXX=yes
15217 lt_cv_prog_compiler_static_works_CXX=yes
15221 LDFLAGS=$save_LDFLAGS
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15225 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15227 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15230 lt_prog_compiler_static_CXX=
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15237 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15238 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15239 $as_echo_n "(cached) " >&6
15241 lt_cv_prog_compiler_c_o_CXX=no
15242 $RM -r conftest 2>/dev/null
15246 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15248 lt_compiler_flag="-o out/conftest2.$ac_objext"
15249 # Insert the option either (1) after the last *FLAGS variable, or
15250 # (2) before a word containing "conftest.", or (3) at the end.
15251 # Note that $ac_compile itself does not contain backslashes and begins
15252 # with a dollar sign (not a hyphen), so the echo should work correctly.
15253 lt_compile=`echo "$ac_compile" | $SED \
15254 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15256 -e 's:$: $lt_compiler_flag:'`
15257 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15258 (eval "$lt_compile" 2>out/conftest.err)
15260 cat out/conftest.err >&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15264 # The compiler can only warn and ignore the option if not recognized
15265 # So say no if there are warnings
15266 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15267 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15268 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15269 lt_cv_prog_compiler_c_o_CXX=yes
15274 # SGI C++ compiler will create directory out/ii_files/ for
15275 # template instantiation
15276 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15277 $RM out/* && rmdir out
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15284 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15289 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15290 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15291 $as_echo_n "(cached) " >&6
15293 lt_cv_prog_compiler_c_o_CXX=no
15294 $RM -r conftest 2>/dev/null
15298 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15300 lt_compiler_flag="-o out/conftest2.$ac_objext"
15301 # Insert the option either (1) after the last *FLAGS variable, or
15302 # (2) before a word containing "conftest.", or (3) at the end.
15303 # Note that $ac_compile itself does not contain backslashes and begins
15304 # with a dollar sign (not a hyphen), so the echo should work correctly.
15305 lt_compile=`echo "$ac_compile" | $SED \
15306 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15307 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15308 -e 's:$: $lt_compiler_flag:'`
15309 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15310 (eval "$lt_compile" 2>out/conftest.err)
15312 cat out/conftest.err >&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15316 # The compiler can only warn and ignore the option if not recognized
15317 # So say no if there are warnings
15318 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15319 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15320 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15321 lt_cv_prog_compiler_c_o_CXX=yes
15326 # SGI C++ compiler will create directory out/ii_files/ for
15327 # template instantiation
15328 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15329 $RM out/* && rmdir out
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15336 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15341 hard_links=nottested
15342 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15343 # do not overwrite the value of need_locks provided by the user
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15345 $as_echo_n "checking if we can lock with hard links... " >&6; }
15348 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15350 ln conftest.a conftest.b 2>&5 || hard_links=no
15351 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15353 $as_echo "$hard_links" >&6; }
15354 if test no = "$hard_links"; then
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15356 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15366 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15368 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15369 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15372 # If we're using GNU nm, then we don't want the "-C" option.
15373 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15374 # Without the "-l" option, or with the "-B" option, AIX nm treats
15375 # weak defined symbols like other global defined symbols, whereas
15376 # GNU nm marks them as "W".
15377 # While the 'weak' keyword is ignored in the Export File, we need
15378 # it in the Import File for the 'aix-soname' feature, so we have
15379 # to replace the "-B" option with "-P" for AIX nm.
15380 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15381 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15383 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15387 export_symbols_cmds_CXX=$ltdll_cmds
15389 cygwin* | mingw* | cegcc*)
15390 case $cc_basename in
15392 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15395 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15396 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15400 linux* | k*bsd*-gnu | gnu*)
15401 link_all_deplibs_CXX=no
15404 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15409 $as_echo "$ld_shlibs_CXX" >&6; }
15410 test no = "$ld_shlibs_CXX" && can_build_shared=no
15412 with_gnu_ld_CXX=$with_gnu_ld
15420 # Do we need to explicitly link libc?
15422 case "x$archive_cmds_need_lc_CXX" in
15424 # Assume -lc should be added
15425 archive_cmds_need_lc_CXX=yes
15427 if test yes,yes = "$GCC,$enable_shared"; then
15428 case $archive_cmds_CXX in
15430 # FIXME: we may have to deal with multi-command sequences.
15433 # Test whether the compiler implicitly links with -lc since on some
15434 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15435 # to ld, don't add -lc before -lgcc.
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15437 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15438 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15439 $as_echo_n "(cached) " >&6
15442 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15445 (eval $ac_compile) 2>&5
15447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15448 test $ac_status = 0; } 2>conftest.err; then
15451 libobjs=conftest.$ac_objext
15453 wl=$lt_prog_compiler_wl_CXX
15454 pic_flag=$lt_prog_compiler_pic_CXX
15460 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15461 allow_undefined_flag_CXX=
15462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15463 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15466 test $ac_status = 0; }
15468 lt_cv_archive_cmds_need_lc_CXX=no
15470 lt_cv_archive_cmds_need_lc_CXX=yes
15472 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15474 cat conftest.err 1>&5
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15480 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15481 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15550 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15552 library_names_spec=
15553 libname_spec='lib$name'
15557 postuninstall_cmds=
15561 shlibpath_overrides_runpath=unknown
15563 dynamic_linker="$host_os ld.so"
15564 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15565 need_lib_prefix=unknown
15566 hardcode_into_libs=no
15568 # when you set need_version to no, make sure it does not cause -set_version
15569 # flags to be left without arguments
15570 need_version=unknown
15576 version_type=linux # correct to gnu/linux during the next big refactor
15577 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15578 shlibpath_var=LIBPATH
15580 # AIX 3 has no versioning support, so we append a major version to the name.
15581 soname_spec='$libname$release$shared_ext$major'
15585 version_type=linux # correct to gnu/linux during the next big refactor
15588 hardcode_into_libs=yes
15589 if test ia64 = "$host_cpu"; then
15590 # AIX 5 supports IA64
15591 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15592 shlibpath_var=LD_LIBRARY_PATH
15594 # With GCC up to 2.95.x, collect2 would create an import file
15595 # for dependence libraries. The import file would start with
15596 # the line '#! .'. This would cause the generated library to
15597 # depend on '.', always an invalid library. This was fixed in
15598 # development snapshots of GCC prior to 3.0.
15600 aix4 | aix4.[01] | aix4.[01].*)
15601 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15603 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15606 can_build_shared=no
15610 # Using Import Files as archive members, it is possible to support
15611 # filename-based versioning of shared library archives on AIX. While
15612 # this would work for both with and without runtime linking, it will
15613 # prevent static linking of such archives. So we do filename-based
15614 # shared library versioning with .so extension only, which is used
15615 # when both runtime linking and shared linking is enabled.
15616 # Unfortunately, runtime linking may impact performance, so we do
15617 # not want this to be the default eventually. Also, we use the
15618 # versioned .so libs for executables only if there is the -brtl
15619 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15620 # To allow for filename-based versioning support, we need to create
15621 # libNAME.so.V as an archive file, containing:
15622 # *) an Import File, referring to the versioned filename of the
15623 # archive as well as the shared archive member, telling the
15624 # bitwidth (32 or 64) of that shared object, and providing the
15625 # list of exported symbols of that shared object, eventually
15626 # decorated with the 'weak' keyword
15627 # *) the shared object with the F_LOADONLY flag set, to really avoid
15628 # it being seen by the linker.
15629 # At run time we better use the real file rather than another symlink,
15630 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15632 case $with_aix_soname,$aix_use_runtimelinking in
15633 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15634 # soname into executable. Probably we can add versioning support to
15635 # collect2, so additional links can be useful in future.
15636 aix,yes) # traditional libtool
15637 dynamic_linker='AIX unversionable lib.so'
15638 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15639 # instead of lib<name>.a to let people know that these are not
15640 # typical AIX shared libraries.
15641 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15643 aix,no) # traditional AIX only
15644 dynamic_linker='AIX lib.a(lib.so.V)'
15645 # We preserve .a as extension for shared libraries through AIX4.2
15646 # and later when we are not doing run time linking.
15647 library_names_spec='$libname$release.a $libname.a'
15648 soname_spec='$libname$release$shared_ext$major'
15650 svr4,*) # full svr4 only
15651 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15652 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15653 # We do not specify a path in Import Files, so LIBPATH fires.
15654 shlibpath_overrides_runpath=yes
15656 *,yes) # both, prefer svr4
15657 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15658 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15659 # unpreferred sharedlib libNAME.a needs extra handling
15660 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15661 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15662 # We do not specify a path in Import Files, so LIBPATH fires.
15663 shlibpath_overrides_runpath=yes
15665 *,no) # both, prefer aix
15666 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15667 library_names_spec='$libname$release.a $libname.a'
15668 soname_spec='$libname$release$shared_ext$major'
15669 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15670 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15671 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15674 shlibpath_var=LIBPATH
15681 # Since July 2007 AmigaOS4 officially supports .so libraries.
15682 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15683 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15686 library_names_spec='$libname.ixlibrary $libname.a'
15687 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15688 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
15694 library_names_spec='$libname$shared_ext'
15695 dynamic_linker="$host_os ld.so"
15696 shlibpath_var=LIBRARY_PATH
15700 version_type=linux # correct to gnu/linux during the next big refactor
15702 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15703 soname_spec='$libname$release$shared_ext$major'
15704 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15705 shlibpath_var=LD_LIBRARY_PATH
15706 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15707 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15708 # the default ld.so.conf also contains /usr/contrib/lib and
15709 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15710 # libtool to hard-code these into programs
15713 cygwin* | mingw* | pw32* | cegcc*)
15714 version_type=windows
15719 case $GCC,$cc_basename in
15722 library_names_spec='$libname.dll.a'
15723 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15724 postinstall_cmds='base_file=`basename \$file`~
15725 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15726 dldir=$destdir/`dirname \$dlpath`~
15727 test -d \$dldir || mkdir -p \$dldir~
15728 $install_prog $dir/$dlname \$dldir/$dlname~
15729 chmod a+x \$dldir/$dlname~
15730 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15731 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15733 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15734 dlpath=$dir/\$dldll~
15736 shlibpath_overrides_runpath=yes
15740 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15741 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15745 # MinGW DLLs use traditional 'lib' prefix
15746 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15749 # pw32 DLLs use 'pw' prefix rather than 'lib'
15750 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15753 dynamic_linker='Win32 ld.exe'
15758 libname_spec='$name'
15759 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15760 library_names_spec='$libname.dll.lib'
15764 sys_lib_search_path_spec=
15767 for lt_path in $LIB
15770 # Let DOS variable expansion print the short 8.3 style file name.
15771 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15772 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15775 # Convert to MSYS style.
15776 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15779 # Convert to unix form, then to dos form, then back to unix form
15780 # but this time dos style (no spaces!) so that the unix form looks
15781 # like /cygdrive/c/PROGRA~1:/cygdr...
15782 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15783 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15784 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15787 sys_lib_search_path_spec=$LIB
15788 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15789 # It is most probably a Windows format PATH.
15790 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15792 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15794 # FIXME: find the short name or the path components, as spaces are
15795 # common. (e.g. "Program Files" -> "PROGRA~1")
15799 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15800 postinstall_cmds='base_file=`basename \$file`~
15801 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15802 dldir=$destdir/`dirname \$dlpath`~
15803 test -d \$dldir || mkdir -p \$dldir~
15804 $install_prog $dir/$dlname \$dldir/$dlname'
15805 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15806 dlpath=$dir/\$dldll~
15808 shlibpath_overrides_runpath=yes
15809 dynamic_linker='Win32 link.exe'
15813 # Assume MSVC wrapper
15814 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15815 dynamic_linker='Win32 ld.exe'
15818 # FIXME: first we should search . and the directory the executable is in
15822 darwin* | rhapsody*)
15823 dynamic_linker="$host_os dyld"
15824 version_type=darwin
15827 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15828 soname_spec='$libname$release$major$shared_ext'
15829 shlibpath_overrides_runpath=yes
15830 shlibpath_var=DYLD_LIBRARY_PATH
15831 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15833 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15837 version_type=linux # correct to gnu/linux during the next big refactor
15840 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15841 soname_spec='$libname$release$shared_ext$major'
15842 shlibpath_var=LD_LIBRARY_PATH
15845 freebsd* | dragonfly*)
15846 # DragonFly does not have aout. When/if they implement a new
15847 # versioning mechanism, adjust this.
15848 if test -x /usr/bin/objformat; then
15849 objformat=`/usr/bin/objformat`
15852 freebsd[23].*) objformat=aout ;;
15853 *) objformat=elf ;;
15856 version_type=freebsd-$objformat
15857 case $version_type in
15859 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15860 soname_spec='$libname$release$shared_ext$major'
15865 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15869 shlibpath_var=LD_LIBRARY_PATH
15872 shlibpath_overrides_runpath=yes
15874 freebsd3.[01]* | freebsdelf3.[01]*)
15875 shlibpath_overrides_runpath=yes
15876 hardcode_into_libs=yes
15878 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15879 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15880 shlibpath_overrides_runpath=no
15881 hardcode_into_libs=yes
15883 *) # from 4.6 on, and DragonFly
15884 shlibpath_overrides_runpath=yes
15885 hardcode_into_libs=yes
15891 version_type=linux # correct to gnu/linux during the next big refactor
15894 dynamic_linker="$host_os runtime_loader"
15895 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15896 soname_spec='$libname$release$shared_ext$major'
15897 shlibpath_var=LIBRARY_PATH
15898 shlibpath_overrides_runpath=no
15899 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15900 hardcode_into_libs=yes
15903 hpux9* | hpux10* | hpux11*)
15904 # Give a soname corresponding to the major version so that dld.sl refuses to
15905 # link against other versions.
15912 hardcode_into_libs=yes
15913 dynamic_linker="$host_os dld.so"
15914 shlibpath_var=LD_LIBRARY_PATH
15915 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15916 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15917 soname_spec='$libname$release$shared_ext$major'
15918 if test 32 = "$HPUX_IA64_MODE"; then
15919 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15920 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15922 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15923 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15928 hardcode_into_libs=yes
15929 dynamic_linker="$host_os dld.sl"
15930 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15931 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15932 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15933 soname_spec='$libname$release$shared_ext$major'
15934 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15935 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15939 dynamic_linker="$host_os dld.sl"
15940 shlibpath_var=SHLIB_PATH
15941 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15942 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15943 soname_spec='$libname$release$shared_ext$major'
15946 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15947 postinstall_cmds='chmod 555 $lib'
15948 # or fails outright, so override atomically:
15949 install_override_mode=555
15953 version_type=linux # correct to gnu/linux during the next big refactor
15956 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15957 soname_spec='$libname$release$shared_ext$major'
15958 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15959 shlibpath_var=LD_LIBRARY_PATH
15960 shlibpath_overrides_runpath=no
15961 hardcode_into_libs=yes
15964 irix5* | irix6* | nonstopux*)
15966 nonstopux*) version_type=nonstopux ;;
15968 if test yes = "$lt_cv_prog_gnu_ld"; then
15969 version_type=linux # correct to gnu/linux during the next big refactor
15976 soname_spec='$libname$release$shared_ext$major'
15977 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15979 irix5* | nonstopux*)
15980 libsuff= shlibsuff=
15983 case $LD in # libtool.m4 will add one of these switches to LD
15984 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15985 libsuff= shlibsuff= libmagic=32-bit;;
15986 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15987 libsuff=32 shlibsuff=N32 libmagic=N32;;
15988 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15989 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15990 *) libsuff= shlibsuff= libmagic=never-match;;
15994 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15995 shlibpath_overrides_runpath=no
15996 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15997 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
15998 hardcode_into_libs=yes
16001 # No shared lib support for Linux oldld, aout, or coff.
16002 linux*oldld* | linux*aout* | linux*coff*)
16007 version_type=none # Android doesn't support versioned libraries.
16010 library_names_spec='$libname$release$shared_ext'
16011 soname_spec='$libname$release$shared_ext'
16013 shlibpath_var=LD_LIBRARY_PATH
16014 shlibpath_overrides_runpath=yes
16016 # This implies no fast_install, which is unacceptable.
16017 # Some rework will be needed to allow for fast_install
16018 # before this can be enabled.
16019 hardcode_into_libs=yes
16021 dynamic_linker='Android linker'
16022 # Don't embed -rpath directories since the linker doesn't support them.
16023 hardcode_libdir_flag_spec_CXX='-L$libdir'
16026 # This must be glibc/ELF.
16027 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16028 version_type=linux # correct to gnu/linux during the next big refactor
16031 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16032 soname_spec='$libname$release$shared_ext$major'
16033 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16034 shlibpath_var=LD_LIBRARY_PATH
16035 shlibpath_overrides_runpath=no
16037 # Some binutils ld are patched to set DT_RUNPATH
16038 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16039 $as_echo_n "(cached) " >&6
16041 lt_cv_shlibpath_overrides_runpath=no
16042 save_LDFLAGS=$LDFLAGS
16043 save_libdir=$libdir
16044 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16045 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16047 /* end confdefs.h. */
16057 if ac_fn_cxx_try_link "$LINENO"; then :
16058 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16059 lt_cv_shlibpath_overrides_runpath=yes
16062 rm -f core conftest.err conftest.$ac_objext \
16063 conftest$ac_exeext conftest.$ac_ext
16064 LDFLAGS=$save_LDFLAGS
16065 libdir=$save_libdir
16069 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16071 # This implies no fast_install, which is unacceptable.
16072 # Some rework will be needed to allow for fast_install
16073 # before this can be enabled.
16074 hardcode_into_libs=yes
16076 # Ideally, we could use ldconfig to report *all* directores which are
16077 # searched for libraries, however this is still not possible. Aside from not
16078 # being certain /sbin/ldconfig is available, command
16079 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16080 # even though it is searched at run-time. Try to do the best guess by
16081 # appending ld.so.conf contents (and includes) to the search path.
16082 if test -f /etc/ld.so.conf; then
16083 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' ' '`
16084 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16087 # We used to test for /lib/ld.so.1 and disable shared libraries on
16088 # powerpc, because MkLinux only supported shared libraries with the
16089 # GNU dynamic linker. Since this was broken with cross compilers,
16090 # most powerpc-linux boxes support dynamic linking these days and
16091 # people can always --disable-shared, the test was removed, and we
16092 # assume the GNU/Linux dynamic linker is in use.
16093 dynamic_linker='GNU/Linux ld.so'
16100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16101 soname_spec='${libname}${release}${shared_ext}$major'
16102 shlibpath_var=LD_LIBRARY_PATH
16103 shlibpath_overrides_runpath=no
16104 hardcode_into_libs=yes
16105 dynamic_linker='NetBSD ld.elf_so'
16112 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16113 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16114 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16115 dynamic_linker='NetBSD (a.out) ld.so'
16117 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16118 soname_spec='$libname$release$shared_ext$major'
16119 dynamic_linker='NetBSD ld.elf_so'
16121 shlibpath_var=LD_LIBRARY_PATH
16122 shlibpath_overrides_runpath=yes
16123 hardcode_into_libs=yes
16127 version_type=linux # correct to gnu/linux during the next big refactor
16128 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16129 shlibpath_var=LD_LIBRARY_PATH
16130 shlibpath_overrides_runpath=yes
16137 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16138 soname_spec='$libname$release$shared_ext$major'
16139 shlibpath_var=LD_LIBRARY_PATH
16140 shlibpath_overrides_runpath=no
16141 hardcode_into_libs=yes
16142 dynamic_linker='ldqnx.so'
16145 openbsd* | bitrig*)
16147 sys_lib_dlsearch_path_spec=/usr/lib
16149 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16154 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16155 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16156 shlibpath_var=LD_LIBRARY_PATH
16157 shlibpath_overrides_runpath=yes
16161 libname_spec='$name'
16162 version_type=windows
16166 # OS/2 can only load a DLL with a base name of 8 characters or less.
16167 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16168 v=$($ECHO $release$versuffix | tr -d .-);
16169 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16170 $ECHO $n$v`$shared_ext'
16171 library_names_spec='${libname}_dll.$libext'
16172 dynamic_linker='OS/2 ld.exe'
16173 shlibpath_var=BEGINLIBPATH
16174 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16175 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16176 postinstall_cmds='base_file=`basename \$file`~
16177 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16178 dldir=$destdir/`dirname \$dlpath`~
16179 test -d \$dldir || mkdir -p \$dldir~
16180 $install_prog $dir/$dlname \$dldir/$dlname~
16181 chmod a+x \$dldir/$dlname~
16182 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16183 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16185 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16186 dlpath=$dir/\$dldll~
16190 osf3* | osf4* | osf5*)
16194 soname_spec='$libname$release$shared_ext$major'
16195 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16196 shlibpath_var=LD_LIBRARY_PATH
16197 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16198 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16206 version_type=linux # correct to gnu/linux during the next big refactor
16209 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16210 soname_spec='$libname$release$shared_ext$major'
16211 shlibpath_var=LD_LIBRARY_PATH
16212 shlibpath_overrides_runpath=yes
16213 hardcode_into_libs=yes
16214 # ldd complains unless libraries are executable
16215 postinstall_cmds='chmod +x $lib'
16220 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16221 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16222 shlibpath_var=LD_LIBRARY_PATH
16223 shlibpath_overrides_runpath=yes
16224 if test yes = "$with_gnu_ld"; then
16231 version_type=linux # correct to gnu/linux during the next big refactor
16232 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16233 soname_spec='$libname$release$shared_ext$major'
16234 shlibpath_var=LD_LIBRARY_PATH
16235 case $host_vendor in
16237 shlibpath_overrides_runpath=no
16239 runpath_var=LD_RUN_PATH
16247 shlibpath_overrides_runpath=no
16248 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16254 if test -d /usr/nec; then
16255 version_type=linux # correct to gnu/linux during the next big refactor
16256 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16257 soname_spec='$libname$shared_ext.$major'
16258 shlibpath_var=LD_LIBRARY_PATH
16262 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16266 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16267 soname_spec='$libname$release$shared_ext$major'
16268 shlibpath_var=LD_LIBRARY_PATH
16269 shlibpath_overrides_runpath=yes
16270 hardcode_into_libs=yes
16271 if test yes = "$with_gnu_ld"; then
16272 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16274 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16277 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16281 sys_lib_dlsearch_path_spec='/usr/lib'
16285 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16286 version_type=linux # correct to gnu/linux during the next big refactor
16289 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16290 shlibpath_var=LD_LIBRARY_PATH
16291 shlibpath_overrides_runpath=no
16292 hardcode_into_libs=yes
16296 version_type=linux # correct to gnu/linux during the next big refactor
16297 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16298 soname_spec='$libname$release$shared_ext$major'
16299 shlibpath_var=LD_LIBRARY_PATH
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16307 $as_echo "$dynamic_linker" >&6; }
16308 test no = "$dynamic_linker" && can_build_shared=no
16310 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16311 if test yes = "$GCC"; then
16312 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16315 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16316 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16319 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16320 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16323 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16324 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16326 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16327 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16329 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16330 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16372 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16373 hardcode_action_CXX=
16374 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16375 test -n "$runpath_var_CXX" ||
16376 test yes = "$hardcode_automatic_CXX"; then
16378 # We can hardcode non-existent directories.
16379 if test no != "$hardcode_direct_CXX" &&
16380 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16381 # have to relink, otherwise we might link with an installed library
16382 # when we should be linking with a yet-to-be-installed one
16383 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16384 test no != "$hardcode_minus_L_CXX"; then
16385 # Linking always hardcodes the temporary library directory.
16386 hardcode_action_CXX=relink
16388 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16389 hardcode_action_CXX=immediate
16392 # We cannot hardcode anything, or else we can only hardcode existing
16394 hardcode_action_CXX=unsupported
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16397 $as_echo "$hardcode_action_CXX" >&6; }
16399 if test relink = "$hardcode_action_CXX" ||
16400 test yes = "$inherit_rpath_CXX"; then
16401 # Fast installation is not supported
16402 enable_fast_install=no
16403 elif test yes = "$shlibpath_overrides_runpath" ||
16404 test no = "$enable_shared"; then
16405 # Fast installation is not necessary
16406 enable_fast_install=needless
16415 fi # test -n "$compiler"
16418 CFLAGS=$lt_save_CFLAGS
16422 with_gnu_ld=$lt_save_with_gnu_ld
16423 lt_cv_path_LDCXX=$lt_cv_path_LD
16424 lt_cv_path_LD=$lt_save_path_LD
16425 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16426 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16427 fi # test yes != "$_lt_caught_CXX_error"
16430 ac_cpp='$CPP $CPPFLAGS'
16431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16436 ac_config_headers="$ac_config_headers config.h"
16438 for ac_header in stdarg.h stdio.h stdint.h sys/param.h stdlib.h
16440 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16441 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16442 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16443 cat >>confdefs.h <<_ACEOF
16444 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16451 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
16452 if test "x$ac_cv_func_vasprintf" = xyes; then :
16453 $as_echo "#define HAVE_VASPRINTF 1" >>confdefs.h
16456 case " $LIBOBJS " in
16457 *" vasprintf.$ac_objext "* ) ;;
16458 *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
16465 for ac_func in secure_getenv
16467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16469 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16470 cat >>confdefs.h <<_ACEOF
16471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16480 # Check whether --enable-reauth was given.
16481 if test "${enable_reauth+set}" = set; then :
16482 enableval=$enable_reauth; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
16485 echo "--enable-reauth argument must be yes or no"
16492 if test "x$reauth" = "xyes" ; then
16493 echo "Fast reauthentication protocol enabled"
16494 TARGET_CFLAGS="$TARGET_CFLAGS -DGSSEAP_ENABLE_REAUTH"
16496 if test "x$reauth" != "xno"; then
16497 GSSEAP_ENABLE_REAUTH_TRUE=
16498 GSSEAP_ENABLE_REAUTH_FALSE='#'
16500 GSSEAP_ENABLE_REAUTH_TRUE='#'
16501 GSSEAP_ENABLE_REAUTH_FALSE=
16506 # Check whether --enable-acceptor was given.
16507 if test "${enable_acceptor+set}" = set; then :
16508 enableval=$enable_acceptor; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
16509 acceptor=$enableval
16511 echo "--enable-acceptor argument must be yes or no"
16518 if test "x$acceptor" = "xyes" ; then
16519 echo "acceptor enabled"
16520 TARGET_CFLAGS="$TARGET_CFLAGS -DGSSEAP_ENABLE_ACCEPTOR"
16522 if test "x$acceptor" != "xno"; then
16523 GSSEAP_ENABLE_ACCEPTOR_TRUE=
16524 GSSEAP_ENABLE_ACCEPTOR_FALSE='#'
16526 GSSEAP_ENABLE_ACCEPTOR_TRUE='#'
16527 GSSEAP_ENABLE_ACCEPTOR_FALSE=
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows" >&5
16534 $as_echo_n "checking for windows... " >&6; }
16535 target_windows="no"
16536 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
16537 if test "x$ac_cv_header_windows_h" = xyes; then :
16538 target_windows="yes"
16540 target_windows="no"
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_windows" >&5
16545 $as_echo "$target_windows" >&6; }
16546 if test "x$target_windows" = "xyes"; then
16547 TARGET_WINDOWS_TRUE=
16548 TARGET_WINDOWS_FALSE='#'
16550 TARGET_WINDOWS_TRUE='#'
16551 TARGET_WINDOWS_FALSE=
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSS-API and Kerberos implementation" >&5
16556 $as_echo_n "checking for GSS-API and Kerberos implementation... " >&6; }
16560 # Check whether --with-krb5 was given.
16561 if test "${with_krb5+set}" = set; then :
16562 withval=$with_krb5; check_krb5_dir="$withval"
16567 for dir in $check_krb5_dir $prefix /usr/local /usr ; do
16569 if test -x "$dir/bin/krb5-config"; then
16571 if test "x$target_windows" = "xyes"; then
16572 KRB5_CFLAGS=-I"$check_krb5_dir/include";
16573 KRB5_LDFLAGS="-L$check_krb5_dir/lib/";
16574 KRB5_LIBS="-lkrb5_32 -lgssapi32";
16575 COMPILE_ET="$check_krb5_dir/bin/compile_et";
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16577 $as_echo "yes" >&6; }
16579 KRB5_CFLAGS=`$dir/bin/krb5-config gssapi --cflags`;
16580 KRB5_LDFLAGS="-L$dir/lib";
16581 KRB5_LIBS=`$dir/bin/krb5-config gssapi --libs`
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16583 $as_echo "yes" >&6; }
16584 # Extract the first word of "compile_et", so it can be a program name with args.
16585 set dummy compile_et; ac_word=$2
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16587 $as_echo_n "checking for $ac_word... " >&6; }
16588 if ${ac_cv_path_COMPILE_ET+:} false; then :
16589 $as_echo_n "(cached) " >&6
16591 case $COMPILE_ET in
16593 ac_cv_path_COMPILE_ET="$COMPILE_ET" # Let the user override the test with a path.
16596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16597 for as_dir in $dir/bin$PATH_SEPARATOr
16600 test -z "$as_dir" && as_dir=.
16601 for ac_exec_ext in '' $ac_executable_extensions; do
16602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16603 ac_cv_path_COMPILE_ET="$as_dir/$ac_word$ac_exec_ext"
16604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16611 test -z "$ac_cv_path_COMPILE_ET" && ac_cv_path_COMPILE_ET="compile_et"
16615 COMPILE_ET=$ac_cv_path_COMPILE_ET
16616 if test -n "$COMPILE_ET"; then
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPILE_ET" >&5
16618 $as_echo "$COMPILE_ET" >&6; }
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16621 $as_echo "no" >&6; }
16629 if test x_$found_krb5 != x_yes; then
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_krb5" >&5
16631 $as_echo "$found_krb5" >&6; }
16633 ----------------------------------------------------------------------
16634 Cannot find GSS-API/Kerberos libraries.
16636 Please install MIT or Heimdal or specify installation directory with
16638 ----------------------------------------------------------------------
16641 printf "Kerberos found in $krb5dir\n";
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSS_C_NT_COMPOSITE_EXPORT in -lkrb5" >&5
16647 $as_echo_n "checking for GSS_C_NT_COMPOSITE_EXPORT in -lkrb5... " >&6; }
16648 if ${ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT+:} false; then :
16649 $as_echo_n "(cached) " >&6
16651 ac_check_lib_save_LIBS=$LIBS
16652 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
16653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16656 /* Override any GCC internal prototype to avoid an error.
16657 Use char because int might match the return type of a GCC
16658 builtin and then its argument prototype would still apply. */
16662 char GSS_C_NT_COMPOSITE_EXPORT ();
16666 return GSS_C_NT_COMPOSITE_EXPORT ();
16671 if ac_fn_c_try_link "$LINENO"; then :
16672 ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT=yes
16674 ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT=no
16676 rm -f core conftest.err conftest.$ac_objext \
16677 conftest$ac_exeext conftest.$ac_ext
16678 LIBS=$ac_check_lib_save_LIBS
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT" >&5
16681 $as_echo "$ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT" >&6; }
16682 if test "x$ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT" = xyes; then :
16684 cat >>confdefs.h <<_ACEOF
16685 #define HAVE_GSS_C_NT_COMPOSITE_EXPORT 1
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_inquire_attrs_for_mech in -lkrb5" >&5
16691 $as_echo_n "checking for gss_inquire_attrs_for_mech in -lkrb5... " >&6; }
16692 if ${ac_cv_lib_krb5_gss_inquire_attrs_for_mech+:} false; then :
16693 $as_echo_n "(cached) " >&6
16695 ac_check_lib_save_LIBS=$LIBS
16696 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16700 /* Override any GCC internal prototype to avoid an error.
16701 Use char because int might match the return type of a GCC
16702 builtin and then its argument prototype would still apply. */
16706 char gss_inquire_attrs_for_mech ();
16710 return gss_inquire_attrs_for_mech ();
16715 if ac_fn_c_try_link "$LINENO"; then :
16716 ac_cv_lib_krb5_gss_inquire_attrs_for_mech=yes
16718 ac_cv_lib_krb5_gss_inquire_attrs_for_mech=no
16720 rm -f core conftest.err conftest.$ac_objext \
16721 conftest$ac_exeext conftest.$ac_ext
16722 LIBS=$ac_check_lib_save_LIBS
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_gss_inquire_attrs_for_mech" >&5
16725 $as_echo "$ac_cv_lib_krb5_gss_inquire_attrs_for_mech" >&6; }
16726 if test "x$ac_cv_lib_krb5_gss_inquire_attrs_for_mech" = xyes; then :
16728 cat >>confdefs.h <<_ACEOF
16729 #define HAVE_GSS_INQUIRE_ATTRS_FOR_MECH 1
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_krb5_import_cred in -lkrb5" >&5
16735 $as_echo_n "checking for gss_krb5_import_cred in -lkrb5... " >&6; }
16736 if ${ac_cv_lib_krb5_gss_krb5_import_cred+:} false; then :
16737 $as_echo_n "(cached) " >&6
16739 ac_check_lib_save_LIBS=$LIBS
16740 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
16741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16742 /* end confdefs.h. */
16744 /* Override any GCC internal prototype to avoid an error.
16745 Use char because int might match the return type of a GCC
16746 builtin and then its argument prototype would still apply. */
16750 char gss_krb5_import_cred ();
16754 return gss_krb5_import_cred ();
16759 if ac_fn_c_try_link "$LINENO"; then :
16760 ac_cv_lib_krb5_gss_krb5_import_cred=yes
16762 ac_cv_lib_krb5_gss_krb5_import_cred=no
16764 rm -f core conftest.err conftest.$ac_objext \
16765 conftest$ac_exeext conftest.$ac_ext
16766 LIBS=$ac_check_lib_save_LIBS
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_gss_krb5_import_cred" >&5
16769 $as_echo "$ac_cv_lib_krb5_gss_krb5_import_cred" >&6; }
16770 if test "x$ac_cv_lib_krb5_gss_krb5_import_cred" = xyes; then :
16772 cat >>confdefs.h <<_ACEOF
16773 #define HAVE_GSS_KRB5_IMPORT_CRED 1
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for heimdal_version in -lkrb5" >&5
16779 $as_echo_n "checking for heimdal_version in -lkrb5... " >&6; }
16780 if ${ac_cv_lib_krb5_heimdal_version+:} false; then :
16781 $as_echo_n "(cached) " >&6
16783 ac_check_lib_save_LIBS=$LIBS
16784 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
16785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16786 /* end confdefs.h. */
16788 /* Override any GCC internal prototype to avoid an error.
16789 Use char because int might match the return type of a GCC
16790 builtin and then its argument prototype would still apply. */
16794 char heimdal_version ();
16798 return heimdal_version ();
16803 if ac_fn_c_try_link "$LINENO"; then :
16804 ac_cv_lib_krb5_heimdal_version=yes
16806 ac_cv_lib_krb5_heimdal_version=no
16808 rm -f core conftest.err conftest.$ac_objext \
16809 conftest$ac_exeext conftest.$ac_ext
16810 LIBS=$ac_check_lib_save_LIBS
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_heimdal_version" >&5
16813 $as_echo "$ac_cv_lib_krb5_heimdal_version" >&6; }
16814 if test "x$ac_cv_lib_krb5_heimdal_version" = xyes; then :
16816 cat >>confdefs.h <<_ACEOF
16817 #define HAVE_HEIMDAL_VERSION 1
16824 if test "x$heimdal" != "xno"; then
16832 ac_fn_c_check_type "$LINENO" "gss_const_name_t" "ac_cv_type_gss_const_name_t" "#include <gssapi/gssapi.h>\"
16834 if test "x$ac_cv_type_gss_const_name_t" = xyes; then :
16836 $as_echo "#define MECHEAP_GSS_CONST_NAME_T_IS_POINTER 1" >>confdefs.h
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSAML implementation" >&5
16843 $as_echo_n "checking for OpenSAML implementation... " >&6; }
16845 found_opensaml="no"
16847 # Check whether --with-opensaml was given.
16848 if test "${with_opensaml+set}" = set; then :
16849 withval=$with_opensaml; check_opensaml_dir="$withval"
16851 check_opensaml_dir=
16854 if test x_$check_opensaml_dir != x_no; then
16855 for dir in $check_opensaml_dir $prefix /usr /usr/local ; do
16857 if test -f "$dir/include/saml/Assertion.h"; then
16858 found_opensaml="yes";
16859 OPENSAML_DIR="${opensamldir}"
16860 OPENSAML_CXXFLAGS="-I$opensamldir/include";
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_opensaml" >&5
16866 $as_echo "$found_opensaml" >&6; }
16867 if test x_$check_opensaml_dir != x_no; then
16868 if test x_$found_opensaml != x_yes; then
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16870 ----------------------------------------------------------------------
16871 Cannot find OpenSAML libraries, building without OpenSAML support.
16873 Please install OpenSAML or specify installation directory with
16874 --with-opensaml=(dir).
16875 ----------------------------------------------------------------------
16877 $as_echo "$as_me: WARNING:
16878 ----------------------------------------------------------------------
16879 Cannot find OpenSAML libraries, building without OpenSAML support.
16881 Please install OpenSAML or specify installation directory with
16882 --with-opensaml=(dir).
16883 ----------------------------------------------------------------------
16886 printf "OpenSAML found in $opensamldir\n";
16887 OPENSAML_LIBS="-lsaml -lxml-security-c -lxmltooling -lxerces-c";
16888 OPENSAML_LDFLAGS="-L$opensamldir/lib";
16893 cat >>confdefs.h <<_ACEOF
16894 #define HAVE_OPENSAML 1
16900 if test "x_$check_opensaml_dir" != "x_no"; then
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Shibboleth resolver implementation" >&5
16910 $as_echo_n "checking for Shibboleth resolver implementation... " >&6; }
16912 found_shibresolver="no"
16914 # Check whether --with-shibresolver was given.
16915 if test "${with_shibresolver+set}" = set; then :
16916 withval=$with_shibresolver; check_shibresolver_dir="$withval"
16918 check_shibresolver_dir=
16921 if test x_$check_shibresolver_dir != x_no; then
16922 for dir in $check_shibresolver_dir $prefix /usr /usr/local ; do
16923 shibresolverdir="$dir"
16924 if test -f "$dir/include/shibresolver/resolver.h"; then
16925 found_shibresolver="yes";
16926 SHIBRESOLVER_DIR="${shibresolverdir}"
16927 SHIBRESOLVER_CXXFLAGS="-I$shibresolverdir/include";
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_shibresolver" >&5
16933 $as_echo "$found_shibresolver" >&6; }
16934 if test x_$check_shibresolver_dir != x_no; then
16935 if test x_$found_shibresolver != x_yes; then
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16937 ----------------------------------------------------------------------
16938 Cannot find Shibboleth resolver libraries, building without
16939 Shibboleth support.
16941 Please install Shibboleth or specify installation directory with
16942 --with-shibresolver=(dir).
16943 ----------------------------------------------------------------------
16945 $as_echo "$as_me: WARNING:
16946 ----------------------------------------------------------------------
16947 Cannot find Shibboleth resolver libraries, building without
16948 Shibboleth support.
16950 Please install Shibboleth or specify installation directory with
16951 --with-shibresolver=(dir).
16952 ----------------------------------------------------------------------
16955 printf "Shibboleth resolver found in $shibresolverdir\n";
16956 SHIBRESOLVER_LIBS="-lshibresolver";
16957 SHIBRESOLVER_LDFLAGS="-L$shibresolverdir/lib";
16962 cat >>confdefs.h <<_ACEOF
16963 #define HAVE_SHIBRESOLVER 1
16969 if test "x_$check_shibresolver_dir" != "x_no"; then
16971 SHIBRESOLVER_FALSE='#'
16973 SHIBRESOLVER_TRUE='#'
16974 SHIBRESOLVER_FALSE=
16977 if test x_$found_shibresolver = x_yes; then
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Shibboleth implementation" >&5
16979 $as_echo_n "checking for Shibboleth implementation... " >&6; }
16983 # Check whether --with-shibsp was given.
16984 if test "${with_shibsp+set}" = set; then :
16985 withval=$with_shibsp; check_shibsp_dir="$withval"
16990 for dir in $check_shibsp_dir $prefix /usr /usr/local ; do
16992 if test -f "$dir/include/shibsp/SPConfig.h"; then
16993 found_shibsp="yes";
16994 SHIBSP_DIR="${shibspdir}"
16995 SHIBSP_CXXFLAGS="-I$shibspdir/include";
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_shibsp" >&5
17000 $as_echo "$found_shibsp" >&6; }
17001 if test x_$found_shibsp != x_yes; then
17003 ----------------------------------------------------------------------
17004 Cannot find Shibboleth libraries.
17006 Please install Shibboleth or specify installation directory with
17007 --with-shibsp=(dir).
17008 ----------------------------------------------------------------------
17011 printf "Shibboleth found in $shibspdir\n";
17012 SHIBSP_LIBS="-lshibsp -lsaml -lxml-security-c -lxmltooling -lxerces-c";
17013 SHIBSP_LDFLAGS="-L$shibspdir/lib";
17018 cat >>confdefs.h <<_ACEOF
17019 #define HAVE_SHIBSP 1
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
17027 $as_echo_n "checking for OpenSSL... " >&6; }
17031 # Check whether --with-openssl was given.
17032 if test "${with_openssl+set}" = set; then :
17033 withval=$with_openssl; check_openssl_dir="$withval"
17038 for dir in $check_openssl_dir $prefix /usr /usr/local ; do
17040 if test -f "$dir/include/openssl/opensslv.h"; then
17041 found_openssl="yes";
17042 OPENSSL_DIR="${openssldir}"
17043 OPENSSL_CFLAGS="-I$openssldir/include";
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_openssl" >&5
17048 $as_echo "$found_openssl" >&6; }
17049 if test x_$found_openssl != x_yes; then
17051 ----------------------------------------------------------------------
17052 Cannot find OpenSSL libraries.
17054 Please install libssl or specify installation directory with
17055 --with-openssl=(dir).
17056 ----------------------------------------------------------------------
17059 printf "OpenSSL found in $openssldir\n";
17060 OPENSSL_LIBS="-lssl -lcrypto";
17061 OPENSSL_LDFLAGS="-L$openssldir/lib";
17068 if test "x$acceptor" = "xyes" ; then
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for radsec" >&5
17070 $as_echo_n "checking for radsec... " >&6; }
17074 # Check whether --with-radsec was given.
17075 if test "${with_radsec+set}" = set; then :
17076 withval=$with_radsec; check_radsec_dir="$withval"
17081 for dir in $check_radsec_dir $prefix /usr /usr/local ; do
17083 if test -f "$dir/include/radsec/radsec.h"; then
17084 found_radsec="yes";
17085 RADSEC_DIR="${radsecdir}"
17086 RADSEC_CFLAGS="-I$radsecdir/include";
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_radsec" >&5
17091 $as_echo "$found_radsec" >&6; }
17092 if test x_$found_radsec != x_yes; then
17094 ----------------------------------------------------------------------
17095 Cannot find radsec libraries.
17097 Please install libradsec or specify installation directory with
17098 --with-radsec=(dir).
17099 ----------------------------------------------------------------------
17102 printf "radsec found in $radsecdir\n";
17103 RADSEC_LIBS="-lradsec";
17104 RADSEC_LDFLAGS="-L$radsecdir/lib";
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson" >&5
17111 $as_echo_n "checking for jansson... " >&6; }
17115 # Check whether --with-jansson was given.
17116 if test "${with_jansson+set}" = set; then :
17117 withval=$with_jansson; check_jansson_dir="$withval"
17122 for dir in $check_jansson_dir $prefix /usr /usr/local ; do
17124 if test -f "$dir/include/jansson.h"; then
17125 found_jansson="yes";
17126 JANSSON_DIR="${janssondir}"
17127 JANSSON_CFLAGS="-I$janssondir/include";
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_jansson" >&5
17132 $as_echo "$found_jansson" >&6; }
17133 if test x_$found_jansson != x_yes; then
17135 ----------------------------------------------------------------------
17136 Cannot find jansson libraries.
17138 Please install libjansson or specify installation directory with
17139 --with-jansson=(dir).
17140 ----------------------------------------------------------------------
17143 printf "jansson found in $janssondir\n";
17144 JANSSON_LIBS="-ljansson";
17145 JANSSON_LDFLAGS="-L$janssondir/lib";
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Moonshot identity selector implementation" >&5
17154 $as_echo_n "checking for Moonshot identity selector implementation... " >&6; }
17156 LIBMOONSHOT_CFLAGS=
17157 LIBMOONSHOT_LDFLAGS=
17159 found_libmoonshot="no"
17161 # Check whether --with-libmoonshot was given.
17162 if test "${with_libmoonshot+set}" = set; then :
17163 withval=$with_libmoonshot; check_libmoonshot_dir="$withval"
17165 check_libmoonshot_dir=
17168 for dir in $check_libmoonshot_dir $prefix /usr /usr/local ; do
17169 libmoonshotdir="$dir"
17170 if test -f "$dir/include/libmoonshot.h"; then
17171 found_libmoonshot="yes";
17172 LIBMOONSHOT_DIR="${libmoonshotdir}"
17173 LIBMOONSHOT_CFLAGS="-I$libmoonshotdir/include";
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_libmoonshot" >&5
17178 $as_echo "$found_libmoonshot" >&6; }
17179 if test x_$found_libmoonshot = x_yes; then
17180 printf "libmoonshot found in $libmoonshotdir\n";
17181 LIBMOONSHOT_LIBS="-lmoonshot";
17182 LIBMOONSHOT_LDFLAGS="-L$libmoonshot/lib";
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot_get_identity in -lmoonshot" >&5
17184 $as_echo_n "checking for moonshot_get_identity in -lmoonshot... " >&6; }
17185 if ${ac_cv_lib_moonshot_moonshot_get_identity+:} false; then :
17186 $as_echo_n "(cached) " >&6
17188 ac_check_lib_save_LIBS=$LIBS
17189 LIBS="-lmoonshot "$LIBMOONSHOT_LIBS" $LIBS"
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17193 /* Override any GCC internal prototype to avoid an error.
17194 Use char because int might match the return type of a GCC
17195 builtin and then its argument prototype would still apply. */
17199 char moonshot_get_identity ();
17203 return moonshot_get_identity ();
17208 if ac_fn_c_try_link "$LINENO"; then :
17209 ac_cv_lib_moonshot_moonshot_get_identity=yes
17211 ac_cv_lib_moonshot_moonshot_get_identity=no
17213 rm -f core conftest.err conftest.$ac_objext \
17214 conftest$ac_exeext conftest.$ac_ext
17215 LIBS=$ac_check_lib_save_LIBS
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_moonshot_moonshot_get_identity" >&5
17218 $as_echo "$ac_cv_lib_moonshot_moonshot_get_identity" >&6; }
17219 if test "x$ac_cv_lib_moonshot_moonshot_get_identity" = xyes; then :
17221 cat >>confdefs.h <<_ACEOF
17222 #define HAVE_MOONSHOT_GET_IDENTITY 1
17231 if test "x$found_libmoonshot" != "xno"; then
17233 LIBMOONSHOT_FALSE='#'
17235 LIBMOONSHOT_TRUE='#'
17240 ac_config_files="$ac_config_files Makefile libeap/Makefile mech_eap/Makefile mech_eap.spec"
17242 cat >confcache <<\_ACEOF
17243 # This file is a shell script that caches the results of configure
17244 # tests run on this system so they can be shared between configure
17245 # scripts and configure runs, see configure's option --config-cache.
17246 # It is not useful on other systems. If it contains results you don't
17247 # want to keep, you may remove or edit it.
17249 # config.status only pays attention to the cache file if you give it
17250 # the --recheck option to rerun configure.
17252 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17253 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17254 # following values.
17258 # The following way of writing the cache mishandles newlines in values,
17259 # but we know of no workaround that is simple, portable, and efficient.
17260 # So, we kill variables containing newlines.
17261 # Ultrix sh set writes to stderr and can't be redirected directly,
17262 # and sets the high bit in the cache file unless we assign to the vars.
17264 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17265 eval ac_val=\$$ac_var
17269 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17270 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17273 _ | IFS | as_nl) ;; #(
17274 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17275 *) { eval $ac_var=; unset $ac_var;} ;;
17281 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17282 *${as_nl}ac_space=\ *)
17283 # `set' does not quote correctly, so add quotes: double-quote
17284 # substitution turns \\\\ into \\, and sed turns \\ into \.
17287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17290 # `set' quotes correctly as required by POSIX, so do not add quotes.
17291 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17300 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17302 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17304 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17305 if test -w "$cache_file"; then
17306 if test "x$cache_file" != "x/dev/null"; then
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17308 $as_echo "$as_me: updating cache $cache_file" >&6;}
17309 if test ! -f "$cache_file" || test -h "$cache_file"; then
17310 cat confcache >"$cache_file"
17312 case $cache_file in #(
17314 mv -f confcache "$cache_file"$$ &&
17315 mv -f "$cache_file"$$ "$cache_file" ;; #(
17317 mv -f confcache "$cache_file" ;;
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17323 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17328 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17329 # Let make expand exec_prefix.
17330 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17332 DEFS=-DHAVE_CONFIG_H
17337 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17338 # 1. Remove the extension, and $U if already installed.
17339 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17340 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17341 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17342 # will be set to the directory where LIBOBJS objects are built.
17343 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17344 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17346 LIBOBJS=$ac_libobjs
17348 LTLIBOBJS=$ac_ltlibobjs
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17352 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17353 if test -n "$am_sleep_pid"; then
17354 # Hide warnings about reused PIDs.
17355 wait $am_sleep_pid 2>/dev/null
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17358 $as_echo "done" >&6; }
17359 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17360 as_fn_error $? "conditional \"AMDEP\" was never defined.
17361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17363 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17364 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17367 if test -n "$EXEEXT"; then
17369 am__EXEEXT_FALSE='#'
17371 am__EXEEXT_TRUE='#'
17375 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17376 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17379 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17380 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17383 if test -z "${GSSEAP_ENABLE_REAUTH_TRUE}" && test -z "${GSSEAP_ENABLE_REAUTH_FALSE}"; then
17384 as_fn_error $? "conditional \"GSSEAP_ENABLE_REAUTH\" was never defined.
17385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17387 if test -z "${GSSEAP_ENABLE_ACCEPTOR_TRUE}" && test -z "${GSSEAP_ENABLE_ACCEPTOR_FALSE}"; then
17388 as_fn_error $? "conditional \"GSSEAP_ENABLE_ACCEPTOR\" was never defined.
17389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17391 if test -z "${TARGET_WINDOWS_TRUE}" && test -z "${TARGET_WINDOWS_FALSE}"; then
17392 as_fn_error $? "conditional \"TARGET_WINDOWS\" was never defined.
17393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17395 if test -z "${HEIMDAL_TRUE}" && test -z "${HEIMDAL_FALSE}"; then
17396 as_fn_error $? "conditional \"HEIMDAL\" was never defined.
17397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17399 if test -z "${OPENSAML_TRUE}" && test -z "${OPENSAML_FALSE}"; then
17400 as_fn_error $? "conditional \"OPENSAML\" was never defined.
17401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17403 if test -z "${SHIBRESOLVER_TRUE}" && test -z "${SHIBRESOLVER_FALSE}"; then
17404 as_fn_error $? "conditional \"SHIBRESOLVER\" was never defined.
17405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17407 if test -z "${LIBMOONSHOT_TRUE}" && test -z "${LIBMOONSHOT_FALSE}"; then
17408 as_fn_error $? "conditional \"LIBMOONSHOT\" was never defined.
17409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17412 : "${CONFIG_STATUS=./config.status}"
17414 ac_clean_files_save=$ac_clean_files
17415 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17417 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17419 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17421 # Generated by $as_me.
17422 # Run this file to recreate the current configuration.
17423 # Compiler output produced by configure, useful for debugging
17424 # configure, is in config.log if it exists.
17427 ac_cs_recheck=false
17430 SHELL=\${CONFIG_SHELL-$SHELL}
17433 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17434 ## -------------------- ##
17435 ## M4sh Initialization. ##
17436 ## -------------------- ##
17438 # Be more Bourne compatible
17439 DUALCASE=1; export DUALCASE # for MKS sh
17440 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17443 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17444 # is contrary to our usage. Disable this feature.
17445 alias -g '${1+"$@"}'='"$@"'
17446 setopt NO_GLOB_SUBST
17448 case `(set -o) 2>/dev/null` in #(
17460 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17461 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17462 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17463 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17464 # Prefer a ksh shell builtin over an external printf program on Solaris,
17465 # but without wasting forks for bash or zsh.
17466 if test -z "$BASH_VERSION$ZSH_VERSION" \
17467 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17468 as_echo='print -r --'
17469 as_echo_n='print -rn --'
17470 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17471 as_echo='printf %s\n'
17472 as_echo_n='printf %s'
17474 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17475 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17476 as_echo_n='/usr/ucb/echo -n'
17478 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17479 as_echo_n_body='eval
17483 expr "X$arg" : "X\\(.*\\)$as_nl";
17484 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17486 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17488 export as_echo_n_body
17489 as_echo_n='sh -c $as_echo_n_body as_echo'
17491 export as_echo_body
17492 as_echo='sh -c $as_echo_body as_echo'
17495 # The user is always right.
17496 if test "${PATH_SEPARATOR+set}" != set; then
17498 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17499 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17506 # We need space, tab and new line, in precisely that order. Quoting is
17507 # there to prevent editors from complaining about space-tab.
17508 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17509 # splitting by setting IFS to empty value.)
17512 # Find who we are. Look in the path if we contain no directory separator.
17515 *[\\/]* ) as_myself=$0 ;;
17516 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17517 for as_dir in $PATH
17520 test -z "$as_dir" && as_dir=.
17521 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17527 # We did not find ourselves, most probably we were run as `sh COMMAND'
17528 # in which case we are not to be found in the path.
17529 if test "x$as_myself" = x; then
17532 if test ! -f "$as_myself"; then
17533 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17537 # Unset variables that we do not need and which cause bugs (e.g. in
17538 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17539 # suppresses any "Segmentation fault" message there. '((' could
17540 # trigger a bug in pdksh 5.2.14.
17541 for as_var in BASH_ENV ENV MAIL MAILPATH
17542 do eval test x\${$as_var+set} = xset \
17543 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17556 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17559 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17560 # ----------------------------------------
17561 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17562 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17563 # script with STATUS, using 1 if that was 0.
17566 as_status=$1; test $as_status -eq 0 && as_status=1
17568 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17569 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17571 $as_echo "$as_me: error: $2" >&2
17572 as_fn_exit $as_status
17576 # as_fn_set_status STATUS
17577 # -----------------------
17578 # Set $? to STATUS, without forking.
17579 as_fn_set_status ()
17582 } # as_fn_set_status
17584 # as_fn_exit STATUS
17585 # -----------------
17586 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17590 as_fn_set_status $1
17596 # Portably unset VAR.
17599 { eval $1=; unset $1;}
17601 as_unset=as_fn_unset
17602 # as_fn_append VAR VALUE
17603 # ----------------------
17604 # Append the text in VALUE to the end of the definition contained in VAR. Take
17605 # advantage of any shell optimizations that allow amortized linear growth over
17606 # repeated appends, instead of the typical quadratic growth present in naive
17608 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17609 eval 'as_fn_append ()
17620 # as_fn_arith ARG...
17621 # ------------------
17622 # Perform arithmetic evaluation on the ARGs, and store the result in the
17623 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17624 # must be portable across $(()) and expr.
17625 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17626 eval 'as_fn_arith ()
17633 as_val=`expr "$@" || test $? -eq 1`
17638 if expr a : '\(a\)' >/dev/null 2>&1 &&
17639 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17645 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17646 as_basename=basename
17651 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17657 as_me=`$as_basename -- "$0" ||
17658 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17659 X"$0" : 'X\(//\)$' \| \
17660 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17662 sed '/^.*\/\([^/][^/]*\)\/*$/{
17676 # Avoid depending upon Character Ranges.
17677 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17678 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17679 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17680 as_cr_digits='0123456789'
17681 as_cr_alnum=$as_cr_Letters$as_cr_digits
17683 ECHO_C= ECHO_N= ECHO_T=
17684 case `echo -n x` in #(((((
17686 case `echo 'xy\c'` in
17687 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17689 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17696 rm -f conf$$ conf$$.exe conf$$.file
17697 if test -d conf$$.dir; then
17698 rm -f conf$$.dir/conf$$.file
17701 mkdir conf$$.dir 2>/dev/null
17703 if (echo >conf$$.file) 2>/dev/null; then
17704 if ln -s conf$$.file conf$$ 2>/dev/null; then
17706 # ... but there are two gotchas:
17707 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17708 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17709 # In both cases, we have to default to `cp -pR'.
17710 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17712 elif ln conf$$.file conf$$ 2>/dev/null; then
17720 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17721 rmdir conf$$.dir 2>/dev/null
17726 # Create "$as_dir" as a directory, including parents if necessary.
17731 -*) as_dir=./$as_dir;;
17733 test -d "$as_dir" || eval $as_mkdir_p || {
17737 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17738 *) as_qdir=$as_dir;;
17740 as_dirs="'$as_qdir' $as_dirs"
17741 as_dir=`$as_dirname -- "$as_dir" ||
17742 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17743 X"$as_dir" : 'X\(//\)[^/]' \| \
17744 X"$as_dir" : 'X\(//\)$' \| \
17745 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17746 $as_echo X"$as_dir" |
17747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17751 /^X\(\/\/\)[^/].*/{
17764 test -d "$as_dir" && break
17766 test -z "$as_dirs" || eval "mkdir $as_dirs"
17767 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17771 if mkdir -p . 2>/dev/null; then
17772 as_mkdir_p='mkdir -p "$as_dir"'
17774 test -d ./-p && rmdir ./-p
17779 # as_fn_executable_p FILE
17780 # -----------------------
17781 # Test if FILE is an executable regular file.
17782 as_fn_executable_p ()
17784 test -f "$1" && test -x "$1"
17785 } # as_fn_executable_p
17786 as_test_x='test -x'
17787 as_executable_p=as_fn_executable_p
17789 # Sed expression to map a string onto a valid CPP name.
17790 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17792 # Sed expression to map a string onto a valid variable name.
17793 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17797 ## ----------------------------------- ##
17798 ## Main body of $CONFIG_STATUS script. ##
17799 ## ----------------------------------- ##
17801 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17804 # Save the log message, to keep $0 and so on meaningful, and to
17805 # report actual input values of CONFIG_FILES etc. instead of their
17806 # values after options handling.
17808 This file was extended by mech_eap $as_me 1.0.1, which was
17809 generated by GNU Autoconf 2.69. Invocation command line was
17811 CONFIG_FILES = $CONFIG_FILES
17812 CONFIG_HEADERS = $CONFIG_HEADERS
17813 CONFIG_LINKS = $CONFIG_LINKS
17814 CONFIG_COMMANDS = $CONFIG_COMMANDS
17817 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17822 case $ac_config_files in *"
17823 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17826 case $ac_config_headers in *"
17827 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17832 # Files that config.status was made for.
17833 config_files="$ac_config_files"
17834 config_headers="$ac_config_headers"
17835 config_commands="$ac_config_commands"
17839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17841 \`$as_me' instantiates files and other configuration actions
17842 from templates according to the current configuration. Unless the files
17843 and actions are specified as TAGs, all are instantiated by default.
17845 Usage: $0 [OPTION]... [TAG]...
17847 -h, --help print this help, then exit
17848 -V, --version print version number and configuration settings, then exit
17849 --config print configuration, then exit
17850 -q, --quiet, --silent
17851 do not print progress messages
17852 -d, --debug don't remove temporary files
17853 --recheck update $as_me by reconfiguring in the same conditions
17854 --file=FILE[:TEMPLATE]
17855 instantiate the configuration file FILE
17856 --header=FILE[:TEMPLATE]
17857 instantiate the configuration header FILE
17859 Configuration files:
17862 Configuration headers:
17865 Configuration commands:
17868 Report bugs to <bugs@project-moonshot.org>."
17871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17872 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17874 mech_eap config.status 1.0.1
17875 configured by $0, generated by GNU Autoconf 2.69,
17876 with options \\"\$ac_cs_config\\"
17878 Copyright (C) 2012 Free Software Foundation, Inc.
17879 This config.status script is free software; the Free Software Foundation
17880 gives unlimited permission to copy, distribute and modify it."
17887 test -n "\$AWK" || AWK=awk
17890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17891 # The default lists apply if the user does not specify any file.
17897 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17898 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17902 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17914 # Handling of the options.
17915 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17917 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17918 $as_echo "$ac_cs_version"; exit ;;
17919 --config | --confi | --conf | --con | --co | --c )
17920 $as_echo "$ac_cs_config"; exit ;;
17921 --debug | --debu | --deb | --de | --d | -d )
17923 --file | --fil | --fi | --f )
17926 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17927 '') as_fn_error $? "missing file argument" ;;
17929 as_fn_append CONFIG_FILES " '$ac_optarg'"
17930 ac_need_defaults=false;;
17931 --header | --heade | --head | --hea )
17934 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17936 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17937 ac_need_defaults=false;;
17939 # Conflict between --help and --header
17940 as_fn_error $? "ambiguous option: \`$1'
17941 Try \`$0 --help' for more information.";;
17942 --help | --hel | -h )
17943 $as_echo "$ac_cs_usage"; exit ;;
17944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17945 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17948 # This is an error.
17949 -*) as_fn_error $? "unrecognized option: \`$1'
17950 Try \`$0 --help' for more information." ;;
17952 *) as_fn_append ac_config_targets " $1"
17953 ac_need_defaults=false ;;
17959 ac_configure_extra_args=
17961 if $ac_cs_silent; then
17963 ac_configure_extra_args="$ac_configure_extra_args --silent"
17967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17968 if \$ac_cs_recheck; then
17969 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17971 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17972 CONFIG_SHELL='$SHELL'
17973 export CONFIG_SHELL
17978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17982 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17983 ## Running $as_me. ##
17989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17993 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17996 # The HP-UX ksh and POSIX shell print the target directory to stdout
17997 # if CDPATH is set.
17998 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18000 sed_quote_subst='$sed_quote_subst'
18001 double_quote_subst='$double_quote_subst'
18002 delay_variable_subst='$delay_variable_subst'
18003 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18004 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18005 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18006 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18007 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18008 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18009 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18010 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18011 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18012 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18013 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18014 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18015 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18016 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18017 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18018 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18019 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18020 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18021 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18022 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18023 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18024 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18025 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18026 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18027 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18028 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18029 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18030 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18031 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18032 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18033 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18034 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18035 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18036 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18037 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18038 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18039 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18040 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18041 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18042 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18043 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18044 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18045 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18046 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18047 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18048 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18049 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18050 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18051 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18052 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18053 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18054 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18055 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18056 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18057 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18058 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18059 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18060 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18061 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18062 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"`'
18063 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18064 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18065 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18066 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18067 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18068 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18069 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18070 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18071 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18072 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18073 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18074 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18075 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18076 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18077 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18078 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18079 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18080 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18081 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18082 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18083 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18084 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18085 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18086 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18087 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18088 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18089 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18090 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18091 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18092 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18093 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18094 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18095 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18096 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18097 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18098 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18099 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18100 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18101 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18102 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18103 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18104 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18105 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18106 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18107 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18108 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18109 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18110 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18111 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18112 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18113 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18114 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18115 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18116 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18117 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18118 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18119 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18120 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18121 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18122 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18123 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18124 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18125 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18126 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18127 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18128 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18129 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18130 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18131 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18132 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18133 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18134 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18135 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18136 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18137 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18138 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18139 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18140 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18141 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18142 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18143 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18144 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18145 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18146 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18147 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18148 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18149 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18150 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18151 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18152 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18153 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18154 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18155 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18156 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18157 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18158 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18159 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18160 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18161 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18162 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18163 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18164 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18165 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18166 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18167 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18168 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18169 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18170 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18171 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18172 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18173 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18174 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18175 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18176 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18177 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18178 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18179 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18180 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18181 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18182 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18183 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18184 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18185 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18186 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18187 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18188 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18189 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18190 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18191 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18192 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18195 LTCFLAGS='$LTCFLAGS'
18196 compiler='$compiler_DEFAULT'
18198 # A function that is used when there is no print builtin or printf.
18199 func_fallback_echo ()
18201 eval 'cat <<_LTECHO_EOF
18206 # Quote evaled strings.
18223 deplibs_check_method \
18227 sharedlib_from_linklib_cmd \
18230 archiver_list_spec \
18236 lt_cv_sys_global_symbol_pipe \
18237 lt_cv_sys_global_symbol_to_cdecl \
18238 lt_cv_sys_global_symbol_to_import \
18239 lt_cv_sys_global_symbol_to_c_name_address \
18240 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18241 lt_cv_nm_interface \
18242 nm_file_list_spec \
18243 lt_cv_truncate_bin \
18244 lt_prog_compiler_no_builtin_flag \
18245 lt_prog_compiler_pic \
18246 lt_prog_compiler_wl \
18247 lt_prog_compiler_static \
18248 lt_cv_prog_compiler_c_o \
18257 export_dynamic_flag_spec \
18258 whole_archive_flag_spec \
18259 compiler_needs_object \
18261 allow_undefined_flag \
18262 no_undefined_flag \
18263 hardcode_libdir_flag_spec \
18264 hardcode_libdir_separator \
18268 variables_saved_for_relink \
18270 library_names_spec \
18272 install_override_mode \
18276 compiler_lib_search_dirs \
18281 compiler_lib_search_path \
18285 lt_prog_compiler_no_builtin_flag_CXX \
18286 lt_prog_compiler_pic_CXX \
18287 lt_prog_compiler_wl_CXX \
18288 lt_prog_compiler_static_CXX \
18289 lt_cv_prog_compiler_c_o_CXX \
18290 export_dynamic_flag_spec_CXX \
18291 whole_archive_flag_spec_CXX \
18292 compiler_needs_object_CXX \
18294 allow_undefined_flag_CXX \
18295 no_undefined_flag_CXX \
18296 hardcode_libdir_flag_spec_CXX \
18297 hardcode_libdir_separator_CXX \
18298 exclude_expsyms_CXX \
18299 include_expsyms_CXX \
18300 file_list_spec_CXX \
18301 compiler_lib_search_dirs_CXX \
18302 predep_objects_CXX \
18303 postdep_objects_CXX \
18306 compiler_lib_search_path_CXX; do
18307 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18308 *[\\\\\\\`\\"\\\$]*)
18309 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18312 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18317 # Double-quote double-evaled strings.
18318 for var in reload_cmds \
18319 old_postinstall_cmds \
18320 old_postuninstall_cmds \
18322 extract_expsyms_cmds \
18323 old_archive_from_new_cmds \
18324 old_archive_from_expsyms_cmds \
18326 archive_expsym_cmds \
18328 module_expsym_cmds \
18329 export_symbols_cmds \
18333 postuninstall_cmds \
18335 sys_lib_search_path_spec \
18336 configure_time_dlsearch_path \
18337 configure_time_lt_sys_library_path \
18339 old_archive_cmds_CXX \
18340 old_archive_from_new_cmds_CXX \
18341 old_archive_from_expsyms_cmds_CXX \
18343 archive_expsym_cmds_CXX \
18345 module_expsym_cmds_CXX \
18346 export_symbols_cmds_CXX \
18348 postlink_cmds_CXX; do
18349 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18350 *[\\\\\\\`\\"\\\$]*)
18351 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18354 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18359 ac_aux_dir='$ac_aux_dir'
18361 # See if we are running on zsh, and set the options that allow our
18362 # commands through without removal of \ escapes INIT.
18363 if test -n "\${ZSH_VERSION+set}"; then
18364 setopt NO_GLOB_SUBST
18380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18382 # Handling of arguments.
18383 for ac_config_target in $ac_config_targets
18385 case $ac_config_target in
18386 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18387 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18388 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18389 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18390 "libeap/Makefile") CONFIG_FILES="$CONFIG_FILES libeap/Makefile" ;;
18391 "mech_eap/Makefile") CONFIG_FILES="$CONFIG_FILES mech_eap/Makefile" ;;
18392 "mech_eap.spec") CONFIG_FILES="$CONFIG_FILES mech_eap.spec" ;;
18394 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18399 # If the user did not use the arguments to specify the items to instantiate,
18400 # then the envvar interface is used. Set only those that are not.
18401 # We use the long form for the default assignment because of an extremely
18402 # bizarre bug on SunOS 4.1.3.
18403 if $ac_need_defaults; then
18404 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18405 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18406 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18409 # Have a temporary directory for convenience. Make it in the build tree
18410 # simply because there is no reason against having it here, and in addition,
18411 # creating and moving files from /tmp can sometimes cause problems.
18412 # Hook for its removal unless debugging.
18413 # Note that there is a small window in which the directory will not be cleaned:
18414 # after its creation but before its name has been assigned to `$tmp'.
18418 trap 'exit_status=$?
18419 : "${ac_tmp:=$tmp}"
18420 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18422 trap 'as_fn_exit 1' 1 2 13 15
18424 # Create a (secure) tmp directory for tmp files.
18427 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18431 tmp=./conf$$-$RANDOM
18432 (umask 077 && mkdir "$tmp")
18433 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18436 # Set up the scripts for CONFIG_FILES section.
18437 # No need to generate them if there are no CONFIG_FILES.
18438 # This happens for instance with `./config.status config.h'.
18439 if test -n "$CONFIG_FILES"; then
18442 ac_cr=`echo X | tr X '\015'`
18443 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18444 # But we know of no other shell where ac_cr would be empty at this
18445 # point, so we can use a bashism as a fallback.
18446 if test "x$ac_cr" = x; then
18447 eval ac_cr=\$\'\\r\'
18449 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18450 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18453 ac_cs_awk_cr=$ac_cr
18456 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18461 echo "cat >conf$$subs.awk <<_ACEOF" &&
18462 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18464 } >conf$$subs.sh ||
18465 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18466 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18468 for ac_last_try in false false false false false :; do
18469 . ./conf$$subs.sh ||
18470 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18472 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18473 if test $ac_delim_n = $ac_delim_num; then
18475 elif $ac_last_try; then
18476 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18478 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18481 rm -f conf$$subs.sh
18483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18484 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18488 s/^/S["/; s/!.*/"]=/
18498 s/\(.\{148\}\)..*/\1/
18500 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18505 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18512 s/\(.\{148\}\)..*/\1/
18514 s/["\\]/\\&/g; s/^/"/; s/$/"/
18518 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18523 ' <conf$$subs.awk | sed '
18528 ' >>$CONFIG_STATUS || ac_write_fail=1
18529 rm -f conf$$subs.awk
18530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18532 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18533 for (key in S) S_is_set[key] = 1
18539 nfields = split(line, field, "@")
18541 len = length(field[1])
18542 for (i = 2; i < nfields; i++) {
18544 keylen = length(key)
18545 if (S_is_set[key]) {
18547 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18548 len += length(value) + length(field[++i])
18559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18560 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18561 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18564 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18565 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18568 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18569 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18570 # trailing colons and then remove the whole line if VPATH becomes empty
18571 # (actually we leave an empty line to preserve line numbers).
18572 if test "x$srcdir" = x.; then
18573 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18592 fi # test -n "$CONFIG_FILES"
18594 # Set up the scripts for CONFIG_HEADERS section.
18595 # No need to generate them if there are no CONFIG_HEADERS.
18596 # This happens for instance with `./config.status Makefile'.
18597 if test -n "$CONFIG_HEADERS"; then
18598 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18602 # Transform confdefs.h into an awk script `defines.awk', embedded as
18603 # here-document in config.status, that substitutes the proper values into
18604 # config.h.in to produce config.h.
18606 # Create a delimiter string that does not exist in confdefs.h, to ease
18607 # handling of long lines.
18609 for ac_last_try in false false :; do
18610 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18611 if test -z "$ac_tt"; then
18613 elif $ac_last_try; then
18614 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18620 # For the awk script, D is an array of macro values keyed by name,
18621 # likewise P contains macro parameters if any. Preserve backslash
18622 # newline sequences.
18624 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18626 s/.\{148\}/&'"$ac_delim"'/g
18629 s/^[ ]*#[ ]*define[ ][ ]*/ /
18636 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18638 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18642 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18643 D["\1"]=" \3\\\\\\n"\\/p
18645 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18650 s/.\{148\}/&'"$ac_delim"'/g
18655 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18658 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18660 ' <confdefs.h | sed '
18661 s/'"$ac_delim"'/"\\\
18662 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18665 for (key in D) D_is_set[key] = 1
18668 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18670 split(line, arg, " ")
18671 if (arg[1] == "#") {
18675 defundef = substr(arg[1], 2)
18678 split(mac1, mac2, "(") #)
18680 prefix = substr(line, 1, index(line, defundef) - 1)
18681 if (D_is_set[macro]) {
18682 # Preserve the white space surrounding the "#".
18683 print prefix "define", macro P[macro] D[macro]
18686 # Replace #undef with comments. This is necessary, for example,
18687 # in the case of _POSIX_SOURCE, which is predefined and required
18688 # on some systems where configure will not decide to define it.
18689 if (defundef == "undef") {
18690 print "/*", prefix defundef, macro, "*/"
18698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18699 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18700 fi # test -n "$CONFIG_HEADERS"
18703 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18708 :[FHLC]) ac_mode=$ac_tag; continue;;
18710 case $ac_mode$ac_tag in
18712 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18713 :[FH]-) ac_tag=-:-;;
18714 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18731 -) ac_f="$ac_tmp/stdin";;
18732 *) # Look for the file first in the build tree, then in the source tree
18733 # (if the path is not absolute). The absolute path cannot be DOS-style,
18734 # because $ac_f cannot contain `:'.
18738 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18740 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18742 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18743 as_fn_append ac_file_inputs " '$ac_f'"
18746 # Let's still pretend it is `configure' which instantiates (i.e., don't
18747 # use $as_me), people would be surprised to read:
18748 # /* config.h. Generated by config.status. */
18749 configure_input='Generated from '`
18750 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18752 if test x"$ac_file" != x-; then
18753 configure_input="$ac_file. $configure_input"
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18755 $as_echo "$as_me: creating $ac_file" >&6;}
18757 # Neutralize special characters interpreted by sed in replacement strings.
18758 case $configure_input in #(
18759 *\&* | *\|* | *\\* )
18760 ac_sed_conf_input=`$as_echo "$configure_input" |
18761 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18762 *) ac_sed_conf_input=$configure_input;;
18766 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18772 ac_dir=`$as_dirname -- "$ac_file" ||
18773 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18774 X"$ac_file" : 'X\(//\)[^/]' \| \
18775 X"$ac_file" : 'X\(//\)$' \| \
18776 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18777 $as_echo X"$ac_file" |
18778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18782 /^X\(\/\/\)[^/].*/{
18795 as_dir="$ac_dir"; as_fn_mkdir_p
18799 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18801 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18802 # A ".." for each directory in $ac_dir_suffix.
18803 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18804 case $ac_top_builddir_sub in
18805 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18806 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18809 ac_abs_top_builddir=$ac_pwd
18810 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18811 # for backward compatibility:
18812 ac_top_builddir=$ac_top_build_prefix
18815 .) # We are building in place.
18817 ac_top_srcdir=$ac_top_builddir_sub
18818 ac_abs_top_srcdir=$ac_pwd ;;
18819 [\\/]* | ?:[\\/]* ) # Absolute name.
18820 ac_srcdir=$srcdir$ac_dir_suffix;
18821 ac_top_srcdir=$srcdir
18822 ac_abs_top_srcdir=$srcdir ;;
18823 *) # Relative name.
18824 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18825 ac_top_srcdir=$ac_top_build_prefix$srcdir
18826 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18828 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18838 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18839 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18841 ac_MKDIR_P=$MKDIR_P
18843 [\\/$]* | ?:[\\/]* ) ;;
18844 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18849 # If the template does not know about datarootdir, expand it.
18850 # FIXME: This hack should be removed a few years after 2.60.
18851 ac_datarootdir_hack=; ac_datarootdir_seen=
18862 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18863 *datarootdir*) ac_datarootdir_seen=yes;;
18864 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18866 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18869 ac_datarootdir_hack='
18870 s&@datadir@&$datadir&g
18871 s&@docdir@&$docdir&g
18872 s&@infodir@&$infodir&g
18873 s&@localedir@&$localedir&g
18874 s&@mandir@&$mandir&g
18875 s&\\\${datarootdir}&$datarootdir&g' ;;
18879 # Neutralize VPATH when `$srcdir' = `.'.
18880 # Shell code in configure.ac might set extrasub.
18881 # FIXME: do we really want to maintain this feature?
18882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18883 ac_sed_extra="$ac_vpsub
18886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18888 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18889 s|@configure_input@|$ac_sed_conf_input|;t t
18890 s&@top_builddir@&$ac_top_builddir_sub&;t t
18891 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18892 s&@srcdir@&$ac_srcdir&;t t
18893 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18894 s&@top_srcdir@&$ac_top_srcdir&;t t
18895 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18896 s&@builddir@&$ac_builddir&;t t
18897 s&@abs_builddir@&$ac_abs_builddir&;t t
18898 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18899 s&@INSTALL@&$ac_INSTALL&;t t
18900 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18901 $ac_datarootdir_hack
18903 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18904 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18906 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18907 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18908 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18909 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18911 which seems to be undefined. Please make sure it is defined" >&5
18912 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18913 which seems to be undefined. Please make sure it is defined" >&2;}
18915 rm -f "$ac_tmp/stdin"
18917 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18918 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18920 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18926 if test x"$ac_file" != x-; then
18928 $as_echo "/* $configure_input */" \
18929 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18930 } >"$ac_tmp/config.h" \
18931 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18932 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18934 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18937 mv "$ac_tmp/config.h" "$ac_file" \
18938 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18941 $as_echo "/* $configure_input */" \
18942 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18943 || as_fn_error $? "could not create -" "$LINENO" 5
18945 # Compute "$ac_file"'s index in $config_headers.
18948 for _am_header in $config_headers :; do
18949 case $_am_header in
18950 $_am_arg | $_am_arg:* )
18953 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18956 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18957 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18958 X"$_am_arg" : 'X\(//\)[^/]' \| \
18959 X"$_am_arg" : 'X\(//\)$' \| \
18960 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18961 $as_echo X"$_am_arg" |
18962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18966 /^X\(\/\/\)[^/].*/{
18978 s/.*/./; q'`/stamp-h$_am_stamp_count
18981 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18982 $as_echo "$as_me: executing $ac_file commands" >&6;}
18987 case $ac_file$ac_mode in
18988 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18989 # Older Autoconf quotes --file arguments for eval, but not when files
18990 # are listed without --file. Let's play safe and only enable the eval
18991 # if we detect the quoting.
18992 case $CONFIG_FILES in
18993 *\'*) eval set x "$CONFIG_FILES" ;;
18994 *) set x $CONFIG_FILES ;;
18999 # Strip MF so we end up with the name of the file.
19000 mf=`echo "$mf" | sed -e 's/:.*$//'`
19001 # Check whether this is an Automake generated Makefile or not.
19002 # We used to match only the files named 'Makefile.in', but
19003 # some people rename them; so instead we look at the file content.
19004 # Grep'ing the first line is not enough: some people post-process
19005 # each Makefile.in and add a new line on top of each file to say so.
19006 # Grep'ing the whole file is not good either: AIX grep has a line
19007 # limit of 2048, but all sed's we know have understand at least 4000.
19008 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19009 dirpart=`$as_dirname -- "$mf" ||
19010 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19011 X"$mf" : 'X\(//\)[^/]' \| \
19012 X"$mf" : 'X\(//\)$' \| \
19013 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19019 /^X\(\/\/\)[^/].*/{
19035 # Extract the definition of DEPDIR, am__include, and am__quote
19036 # from the Makefile without running 'make'.
19037 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19038 test -z "$DEPDIR" && continue
19039 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19040 test -z "$am__include" && continue
19041 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19042 # Find all dependency output files, they are included files with
19043 # $(DEPDIR) in their names. We invoke sed twice because it is the
19044 # simplest approach to changing $(DEPDIR) to its actual value in the
19046 for file in `sed -n "
19047 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19048 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19049 # Make sure the directory exists.
19050 test -f "$dirpart/$file" && continue
19051 fdir=`$as_dirname -- "$file" ||
19052 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19053 X"$file" : 'X\(//\)[^/]' \| \
19054 X"$file" : 'X\(//\)$' \| \
19055 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19056 $as_echo X"$file" |
19057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19061 /^X\(\/\/\)[^/].*/{
19074 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19075 # echo "creating $dirpart/$file"
19076 echo '# dummy' > "$dirpart/$file"
19083 # See if we are running on zsh, and set the options that allow our
19084 # commands through without removal of \ escapes.
19085 if test -n "${ZSH_VERSION+set}"; then
19086 setopt NO_GLOB_SUBST
19090 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19093 cat <<_LT_EOF >> "$cfgfile"
19095 # Generated automatically by $as_me ($PACKAGE) $VERSION
19096 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19098 # Provide generalized library-building support services.
19099 # Written by Gordon Matzigkeit, 1996
19101 # Copyright (C) 2014 Free Software Foundation, Inc.
19102 # This is free software; see the source for copying conditions. There is NO
19103 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19105 # GNU Libtool is free software; you can redistribute it and/or modify
19106 # it under the terms of the GNU General Public License as published by
19107 # the Free Software Foundation; either version 2 of of the License, or
19108 # (at your option) any later version.
19110 # As a special exception to the GNU General Public License, if you
19111 # distribute this file as part of a program or library that is built
19112 # using GNU Libtool, you may include this file under the same
19113 # distribution terms that you use for the rest of that program.
19115 # GNU Libtool is distributed in the hope that it will be useful, but
19116 # WITHOUT ANY WARRANTY; without even the implied warranty of
19117 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19118 # GNU General Public License for more details.
19120 # You should have received a copy of the GNU General Public License
19121 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19124 # The names of the tagged configurations supported by this script.
19125 available_tags='CXX '
19127 # Configured defaults for sys_lib_dlsearch_path munging.
19128 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19130 # ### BEGIN LIBTOOL CONFIG
19132 # Which release of libtool.m4 was used?
19133 macro_version=$macro_version
19134 macro_revision=$macro_revision
19136 # Whether or not to build static libraries.
19137 build_old_libs=$enable_static
19139 # Assembler program.
19142 # DLL creation program.
19143 DLLTOOL=$lt_DLLTOOL
19145 # Object dumper program.
19146 OBJDUMP=$lt_OBJDUMP
19148 # Whether or not to build shared libraries.
19149 build_libtool_libs=$enable_shared
19151 # What type of objects to build.
19154 # Whether or not to optimize for fast installation.
19155 fast_install=$enable_fast_install
19157 # Shared archive member basename,for filename based shared library versioning on AIX.
19158 shared_archive_member_spec=$shared_archive_member_spec
19160 # Shell to use when invoking shell scripts.
19163 # An echo program that protects backslashes.
19166 # The PATH separator for the build system.
19167 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19170 host_alias=$host_alias
19174 # The build system.
19175 build_alias=$build_alias
19179 # A sed program that does not truncate output.
19182 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19183 Xsed="\$SED -e 1s/^X//"
19185 # A grep program that handles long lines.
19191 # A literal string matcher.
19194 # A BSD- or MS-compatible name lister.
19197 # Whether we need soft or hard links.
19200 # What is the maximum length of a command?
19201 max_cmd_len=$max_cmd_len
19203 # Object file suffix (normally "o").
19206 # Executable file suffix (normally "").
19209 # whether the shell understands "unset".
19212 # turn spaces into newlines.
19215 # turn newlines into spaces.
19218 # convert \$build file names to \$host format.
19219 to_host_file_cmd=$lt_cv_to_host_file_cmd
19221 # convert \$build files to toolchain format.
19222 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19224 # Method to check whether dependent libraries are shared objects.
19225 deplibs_check_method=$lt_deplibs_check_method
19227 # Command to use when deplibs_check_method = "file_magic".
19228 file_magic_cmd=$lt_file_magic_cmd
19230 # How to find potential files when deplibs_check_method = "file_magic".
19231 file_magic_glob=$lt_file_magic_glob
19233 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19234 want_nocaseglob=$lt_want_nocaseglob
19236 # Command to associate shared and link libraries.
19237 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19242 # Flags to create an archive.
19243 AR_FLAGS=$lt_AR_FLAGS
19245 # How to feed a file listing to the archiver.
19246 archiver_list_spec=$lt_archiver_list_spec
19248 # A symbol stripping program.
19251 # Commands used to install an old-style archive.
19253 old_postinstall_cmds=$lt_old_postinstall_cmds
19254 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19256 # Whether to use a lock for old archive extraction.
19257 lock_old_archive_extraction=$lock_old_archive_extraction
19262 # LTCC compiler flags.
19263 LTCFLAGS=$lt_CFLAGS
19265 # Take the output of nm and produce a listing of raw symbols and C names.
19266 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19268 # Transform the output of nm in a proper C declaration.
19269 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19271 # Transform the output of nm into a list of symbols to manually relocate.
19272 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19274 # Transform the output of nm in a C name address pair.
19275 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19277 # Transform the output of nm in a C name address pair when lib prefix is needed.
19278 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19280 # The name lister interface.
19281 nm_interface=$lt_lt_cv_nm_interface
19283 # Specify filename containing input files for \$NM.
19284 nm_file_list_spec=$lt_nm_file_list_spec
19286 # The root where to search for dependent libraries,and where our libraries should be installed.
19287 lt_sysroot=$lt_sysroot
19289 # Command to truncate a binary pipe.
19290 lt_truncate_bin=$lt_lt_cv_truncate_bin
19292 # The name of the directory that contains temporary libtool files.
19295 # Used to examine libraries when file_magic_cmd begins with "file".
19296 MAGIC_CMD=$MAGIC_CMD
19298 # Must we lock files when doing compilation?
19299 need_locks=$lt_need_locks
19302 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19304 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19305 DSYMUTIL=$lt_DSYMUTIL
19307 # Tool to change global to local symbols on Mac OS X.
19310 # Tool to manipulate fat objects and archives on Mac OS X.
19313 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19316 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19317 OTOOL64=$lt_OTOOL64
19319 # Old archive suffix (normally "a").
19322 # Shared library suffix (normally ".so").
19323 shrext_cmds=$lt_shrext_cmds
19325 # The commands to extract the exported symbol list from a shared archive.
19326 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19328 # Variables whose values should be saved in libtool wrapper scripts and
19329 # restored at link time.
19330 variables_saved_for_relink=$lt_variables_saved_for_relink
19332 # Do we need the "lib" prefix for modules?
19333 need_lib_prefix=$need_lib_prefix
19335 # Do we need a version for libraries?
19336 need_version=$need_version
19338 # Library versioning type.
19339 version_type=$version_type
19341 # Shared library runtime path variable.
19342 runpath_var=$runpath_var
19344 # Shared library path variable.
19345 shlibpath_var=$shlibpath_var
19347 # Is shlibpath searched before the hard-coded library search path?
19348 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19350 # Format of library name prefix.
19351 libname_spec=$lt_libname_spec
19353 # List of archive names. First name is the real one, the rest are links.
19354 # The last name is the one that the linker finds with -lNAME
19355 library_names_spec=$lt_library_names_spec
19357 # The coded name of the library, if different from the real name.
19358 soname_spec=$lt_soname_spec
19360 # Permission mode override for installation of shared libraries.
19361 install_override_mode=$lt_install_override_mode
19363 # Command to use after installation of a shared archive.
19364 postinstall_cmds=$lt_postinstall_cmds
19366 # Command to use after uninstallation of a shared archive.
19367 postuninstall_cmds=$lt_postuninstall_cmds
19369 # Commands used to finish a libtool library installation in a directory.
19370 finish_cmds=$lt_finish_cmds
19372 # As "finish_cmds", except a single script fragment to be evaled but
19374 finish_eval=$lt_finish_eval
19376 # Whether we should hardcode library paths into libraries.
19377 hardcode_into_libs=$hardcode_into_libs
19379 # Compile-time system search path for libraries.
19380 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19382 # Detected run-time system search path for libraries.
19383 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19385 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19386 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19388 # Whether dlopen is supported.
19389 dlopen_support=$enable_dlopen
19391 # Whether dlopen of programs is supported.
19392 dlopen_self=$enable_dlopen_self
19394 # Whether dlopen of statically linked programs is supported.
19395 dlopen_self_static=$enable_dlopen_self_static
19397 # Commands to strip libraries.
19398 old_striplib=$lt_old_striplib
19399 striplib=$lt_striplib
19402 # The linker used to build libraries.
19405 # How to create reloadable object files.
19406 reload_flag=$lt_reload_flag
19407 reload_cmds=$lt_reload_cmds
19409 # Commands used to build an old-style archive.
19410 old_archive_cmds=$lt_old_archive_cmds
19412 # A language specific compiler.
19415 # Is the compiler the GNU compiler?
19418 # Compiler flag to turn off builtin functions.
19419 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19421 # Additional compiler flags for building library objects.
19422 pic_flag=$lt_lt_prog_compiler_pic
19424 # How to pass a linker flag through the compiler.
19425 wl=$lt_lt_prog_compiler_wl
19427 # Compiler flag to prevent dynamic linking.
19428 link_static_flag=$lt_lt_prog_compiler_static
19430 # Does compiler simultaneously support -c and -o options?
19431 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19433 # Whether or not to add -lc for building shared libraries.
19434 build_libtool_need_lc=$archive_cmds_need_lc
19436 # Whether or not to disallow shared libs when runtime libs are static.
19437 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19439 # Compiler flag to allow reflexive dlopens.
19440 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19442 # Compiler flag to generate shared objects directly from archives.
19443 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19445 # Whether the compiler copes with passing no objects directly.
19446 compiler_needs_object=$lt_compiler_needs_object
19448 # Create an old-style archive from a shared archive.
19449 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19451 # Create a temporary old-style archive to link instead of a shared archive.
19452 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19454 # Commands used to build a shared archive.
19455 archive_cmds=$lt_archive_cmds
19456 archive_expsym_cmds=$lt_archive_expsym_cmds
19458 # Commands used to build a loadable module if different from building
19459 # a shared archive.
19460 module_cmds=$lt_module_cmds
19461 module_expsym_cmds=$lt_module_expsym_cmds
19463 # Whether we are building with GNU ld or not.
19464 with_gnu_ld=$lt_with_gnu_ld
19466 # Flag that allows shared libraries with undefined symbols to be built.
19467 allow_undefined_flag=$lt_allow_undefined_flag
19469 # Flag that enforces no undefined symbols.
19470 no_undefined_flag=$lt_no_undefined_flag
19472 # Flag to hardcode \$libdir into a binary during linking.
19473 # This must work even if \$libdir does not exist
19474 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19476 # Whether we need a single "-rpath" flag with a separated argument.
19477 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19479 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19480 # DIR into the resulting binary.
19481 hardcode_direct=$hardcode_direct
19483 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19484 # DIR into the resulting binary and the resulting library dependency is
19485 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19486 # library is relocated.
19487 hardcode_direct_absolute=$hardcode_direct_absolute
19489 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19490 # into the resulting binary.
19491 hardcode_minus_L=$hardcode_minus_L
19493 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19494 # into the resulting binary.
19495 hardcode_shlibpath_var=$hardcode_shlibpath_var
19497 # Set to "yes" if building a shared library automatically hardcodes DIR
19498 # into the library and all subsequent libraries and executables linked
19500 hardcode_automatic=$hardcode_automatic
19502 # Set to yes if linker adds runtime paths of dependent libraries
19503 # to runtime path list.
19504 inherit_rpath=$inherit_rpath
19506 # Whether libtool must link a program against all its dependency libraries.
19507 link_all_deplibs=$link_all_deplibs
19509 # Set to "yes" if exported symbols are required.
19510 always_export_symbols=$always_export_symbols
19512 # The commands to list exported symbols.
19513 export_symbols_cmds=$lt_export_symbols_cmds
19515 # Symbols that should not be listed in the preloaded symbols.
19516 exclude_expsyms=$lt_exclude_expsyms
19518 # Symbols that must always be exported.
19519 include_expsyms=$lt_include_expsyms
19521 # Commands necessary for linking programs (against libraries) with templates.
19522 prelink_cmds=$lt_prelink_cmds
19524 # Commands necessary for finishing linking programs.
19525 postlink_cmds=$lt_postlink_cmds
19527 # Specify filename containing input files.
19528 file_list_spec=$lt_file_list_spec
19530 # How to hardcode a shared library path into an executable.
19531 hardcode_action=$hardcode_action
19533 # The directories searched by this compiler when creating a shared library.
19534 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19536 # Dependencies to place before and after the objects being linked to
19537 # create a shared library.
19538 predep_objects=$lt_predep_objects
19539 postdep_objects=$lt_postdep_objects
19540 predeps=$lt_predeps
19541 postdeps=$lt_postdeps
19543 # The library search path used internally by the compiler when linking
19544 # a shared library.
19545 compiler_lib_search_path=$lt_compiler_lib_search_path
19547 # ### END LIBTOOL CONFIG
19551 cat <<'_LT_EOF' >> "$cfgfile"
19553 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19555 # func_munge_path_list VARIABLE PATH
19556 # -----------------------------------
19557 # VARIABLE is name of variable containing _space_ separated list of
19558 # directories to be munged by the contents of PATH, which is string
19561 # string "DIR[ DIR]" will be prepended to VARIABLE
19563 # string "DIR[ DIR]" will be appended to VARIABLE
19564 # "DIRP[:DIRP]::[DIRA:]DIRA"
19565 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19566 # "DIRA[ DIRA]" will be appended to VARIABLE
19568 # VARIABLE will be replaced by "DIR[ DIR]"
19569 func_munge_path_list ()
19575 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19578 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19581 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19582 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19585 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19591 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19592 func_cc_basename ()
19594 for cc_temp in $*""; do
19596 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19597 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19602 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19606 # ### END FUNCTIONS SHARED WITH CONFIGURE
19612 cat <<\_LT_EOF >> "$cfgfile"
19613 # AIX sometimes has problems with the GCC collect2 program. For some
19614 # reason, if we set the COLLECT_NAMES environment variable, the problems
19615 # vanish in a puff of smoke.
19616 if test set != "${COLLECT_NAMES+set}"; then
19618 export COLLECT_NAMES
19625 ltmain=$ac_aux_dir/ltmain.sh
19628 # We use sed instead of cat because bash on DJGPP gets confused if
19629 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19630 # text mode, it properly converts lines to CR/LF. This bash problem
19631 # is reportedly fixed, but why not run on old versions too?
19632 sed '$q' "$ltmain" >> "$cfgfile" \
19633 || (rm -f "$cfgfile"; exit 1)
19635 mv -f "$cfgfile" "$ofile" ||
19636 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19640 cat <<_LT_EOF >> "$ofile"
19642 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19644 # The linker used to build libraries.
19647 # How to create reloadable object files.
19648 reload_flag=$lt_reload_flag_CXX
19649 reload_cmds=$lt_reload_cmds_CXX
19651 # Commands used to build an old-style archive.
19652 old_archive_cmds=$lt_old_archive_cmds_CXX
19654 # A language specific compiler.
19655 CC=$lt_compiler_CXX
19657 # Is the compiler the GNU compiler?
19660 # Compiler flag to turn off builtin functions.
19661 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19663 # Additional compiler flags for building library objects.
19664 pic_flag=$lt_lt_prog_compiler_pic_CXX
19666 # How to pass a linker flag through the compiler.
19667 wl=$lt_lt_prog_compiler_wl_CXX
19669 # Compiler flag to prevent dynamic linking.
19670 link_static_flag=$lt_lt_prog_compiler_static_CXX
19672 # Does compiler simultaneously support -c and -o options?
19673 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19675 # Whether or not to add -lc for building shared libraries.
19676 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19678 # Whether or not to disallow shared libs when runtime libs are static.
19679 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19681 # Compiler flag to allow reflexive dlopens.
19682 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19684 # Compiler flag to generate shared objects directly from archives.
19685 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19687 # Whether the compiler copes with passing no objects directly.
19688 compiler_needs_object=$lt_compiler_needs_object_CXX
19690 # Create an old-style archive from a shared archive.
19691 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19693 # Create a temporary old-style archive to link instead of a shared archive.
19694 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19696 # Commands used to build a shared archive.
19697 archive_cmds=$lt_archive_cmds_CXX
19698 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19700 # Commands used to build a loadable module if different from building
19701 # a shared archive.
19702 module_cmds=$lt_module_cmds_CXX
19703 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19705 # Whether we are building with GNU ld or not.
19706 with_gnu_ld=$lt_with_gnu_ld_CXX
19708 # Flag that allows shared libraries with undefined symbols to be built.
19709 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19711 # Flag that enforces no undefined symbols.
19712 no_undefined_flag=$lt_no_undefined_flag_CXX
19714 # Flag to hardcode \$libdir into a binary during linking.
19715 # This must work even if \$libdir does not exist
19716 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19718 # Whether we need a single "-rpath" flag with a separated argument.
19719 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19721 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19722 # DIR into the resulting binary.
19723 hardcode_direct=$hardcode_direct_CXX
19725 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19726 # DIR into the resulting binary and the resulting library dependency is
19727 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19728 # library is relocated.
19729 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19731 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19732 # into the resulting binary.
19733 hardcode_minus_L=$hardcode_minus_L_CXX
19735 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19736 # into the resulting binary.
19737 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19739 # Set to "yes" if building a shared library automatically hardcodes DIR
19740 # into the library and all subsequent libraries and executables linked
19742 hardcode_automatic=$hardcode_automatic_CXX
19744 # Set to yes if linker adds runtime paths of dependent libraries
19745 # to runtime path list.
19746 inherit_rpath=$inherit_rpath_CXX
19748 # Whether libtool must link a program against all its dependency libraries.
19749 link_all_deplibs=$link_all_deplibs_CXX
19751 # Set to "yes" if exported symbols are required.
19752 always_export_symbols=$always_export_symbols_CXX
19754 # The commands to list exported symbols.
19755 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19757 # Symbols that should not be listed in the preloaded symbols.
19758 exclude_expsyms=$lt_exclude_expsyms_CXX
19760 # Symbols that must always be exported.
19761 include_expsyms=$lt_include_expsyms_CXX
19763 # Commands necessary for linking programs (against libraries) with templates.
19764 prelink_cmds=$lt_prelink_cmds_CXX
19766 # Commands necessary for finishing linking programs.
19767 postlink_cmds=$lt_postlink_cmds_CXX
19769 # Specify filename containing input files.
19770 file_list_spec=$lt_file_list_spec_CXX
19772 # How to hardcode a shared library path into an executable.
19773 hardcode_action=$hardcode_action_CXX
19775 # The directories searched by this compiler when creating a shared library.
19776 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19778 # Dependencies to place before and after the objects being linked to
19779 # create a shared library.
19780 predep_objects=$lt_predep_objects_CXX
19781 postdep_objects=$lt_postdep_objects_CXX
19782 predeps=$lt_predeps_CXX
19783 postdeps=$lt_postdeps_CXX
19785 # The library search path used internally by the compiler when linking
19786 # a shared library.
19787 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19789 # ### END LIBTOOL TAG CONFIG: CXX
19800 ac_clean_files=$ac_clean_files_save
19802 test $ac_write_fail = 0 ||
19803 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19806 # configure is writing to config.log, and then calls config.status.
19807 # config.status does its own redirection, appending to config.log.
19808 # Unfortunately, on DOS this fails, as config.log is still kept open
19809 # by configure, so config.status won't be able to write to it; its
19810 # output is simply discarded. So we exec the FD to /dev/null,
19811 # effectively closing config.log, so it can be properly (re)opened and
19812 # appended to by config.status. When coming back to configure, we
19813 # need to make the FD available again.
19814 if test "$no_create" != yes; then
19816 ac_config_status_args=
19817 test "$silent" = yes &&
19818 ac_config_status_args="$ac_config_status_args --quiet"
19820 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19822 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19823 # would make configure fail if this is the last instruction.
19824 $ac_cs_success || as_fn_exit 1
19826 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19828 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}