2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for mech_eap 0.9.2.
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='0.9.2'
594 PACKAGE_STRING='mech_eap 0.9.2'
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
715 MAINTAINER_MODE_FALSE
739 INSTALL_STRIP_PROGRAM
791 program_transform_name
804 enable_option_checking
805 enable_dependency_tracking
807 enable_maintainer_mode
826 ac_precious_vars='build_alias
841 # Initialize some variables set by options.
843 ac_init_version=false
844 ac_unrecognized_opts=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name=s,x,x,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir='${datarootdir}/info'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\$ac_option
901 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir | --bindir | --bindi | --bind | --bin | --bi)
914 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
917 -build | --build | --buil | --bui | --bu)
918 ac_prev=build_alias ;;
919 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
920 build_alias=$ac_optarg ;;
922 -cache-file | --cache-file | --cache-fil | --cache-fi \
923 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
924 ac_prev=cache_file ;;
925 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
926 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
927 cache_file=$ac_optarg ;;
930 cache_file=config.cache ;;
932 -datadir | --datadir | --datadi | --datad)
934 -datadir=* | --datadir=* | --datadi=* | --datad=*)
935 datadir=$ac_optarg ;;
937 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
938 | --dataroo | --dataro | --datar)
939 ac_prev=datarootdir ;;
940 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
941 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
942 datarootdir=$ac_optarg ;;
944 -disable-* | --disable-*)
945 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948 as_fn_error $? "invalid feature name: $ac_useropt"
949 ac_useropt_orig=$ac_useropt
950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep=', ';;
958 eval enable_$ac_useropt=no ;;
960 -docdir | --docdir | --docdi | --doc | --do)
962 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
965 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
970 -enable-* | --enable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 as_fn_error $? "invalid feature name: $ac_useropt"
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
984 eval enable_$ac_useropt=\$ac_optarg ;;
986 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988 | --exec | --exe | --ex)
989 ac_prev=exec_prefix ;;
990 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992 | --exec=* | --exe=* | --ex=*)
993 exec_prefix=$ac_optarg ;;
995 -gas | --gas | --ga | --g)
996 # Obsolete; use --with-gas.
999 -help | --help | --hel | --he | -h)
1000 ac_init_help=long ;;
1001 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002 ac_init_help=recursive ;;
1003 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004 ac_init_help=short ;;
1006 -host | --host | --hos | --ho)
1007 ac_prev=host_alias ;;
1008 -host=* | --host=* | --hos=* | --ho=*)
1009 host_alias=$ac_optarg ;;
1011 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015 htmldir=$ac_optarg ;;
1017 -includedir | --includedir | --includedi | --included | --include \
1018 | --includ | --inclu | --incl | --inc)
1019 ac_prev=includedir ;;
1020 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021 | --includ=* | --inclu=* | --incl=* | --inc=*)
1022 includedir=$ac_optarg ;;
1024 -infodir | --infodir | --infodi | --infod | --info | --inf)
1026 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027 infodir=$ac_optarg ;;
1029 -libdir | --libdir | --libdi | --libd)
1031 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032 libdir=$ac_optarg ;;
1034 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035 | --libexe | --libex | --libe)
1036 ac_prev=libexecdir ;;
1037 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038 | --libexe=* | --libex=* | --libe=*)
1039 libexecdir=$ac_optarg ;;
1041 -localedir | --localedir | --localedi | --localed | --locale)
1042 ac_prev=localedir ;;
1043 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044 localedir=$ac_optarg ;;
1046 -localstatedir | --localstatedir | --localstatedi | --localstated \
1047 | --localstate | --localstat | --localsta | --localst | --locals)
1048 ac_prev=localstatedir ;;
1049 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051 localstatedir=$ac_optarg ;;
1053 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056 mandir=$ac_optarg ;;
1058 -nfp | --nfp | --nf)
1059 # Obsolete; use --without-fp.
1062 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063 | --no-cr | --no-c | -n)
1066 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1070 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072 | --oldin | --oldi | --old | --ol | --o)
1073 ac_prev=oldincludedir ;;
1074 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077 oldincludedir=$ac_optarg ;;
1079 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082 prefix=$ac_optarg ;;
1084 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085 | --program-pre | --program-pr | --program-p)
1086 ac_prev=program_prefix ;;
1087 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089 program_prefix=$ac_optarg ;;
1091 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092 | --program-suf | --program-su | --program-s)
1093 ac_prev=program_suffix ;;
1094 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096 program_suffix=$ac_optarg ;;
1098 -program-transform-name | --program-transform-name \
1099 | --program-transform-nam | --program-transform-na \
1100 | --program-transform-n | --program-transform- \
1101 | --program-transform | --program-transfor \
1102 | --program-transfo | --program-transf \
1103 | --program-trans | --program-tran \
1104 | --progr-tra | --program-tr | --program-t)
1105 ac_prev=program_transform_name ;;
1106 -program-transform-name=* | --program-transform-name=* \
1107 | --program-transform-nam=* | --program-transform-na=* \
1108 | --program-transform-n=* | --program-transform-=* \
1109 | --program-transform=* | --program-transfor=* \
1110 | --program-transfo=* | --program-transf=* \
1111 | --program-trans=* | --program-tran=* \
1112 | --progr-tra=* | --program-tr=* | --program-t=*)
1113 program_transform_name=$ac_optarg ;;
1115 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118 pdfdir=$ac_optarg ;;
1120 -psdir | --psdir | --psdi | --psd | --ps)
1122 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126 | -silent | --silent | --silen | --sile | --sil)
1129 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 sbindir=$ac_optarg ;;
1135 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137 | --sharedst | --shareds | --shared | --share | --shar \
1139 ac_prev=sharedstatedir ;;
1140 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 sharedstatedir=$ac_optarg ;;
1146 -site | --site | --sit)
1148 -site=* | --site=* | --sit=*)
1151 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154 srcdir=$ac_optarg ;;
1156 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157 | --syscon | --sysco | --sysc | --sys | --sy)
1158 ac_prev=sysconfdir ;;
1159 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161 sysconfdir=$ac_optarg ;;
1163 -target | --target | --targe | --targ | --tar | --ta | --t)
1164 ac_prev=target_alias ;;
1165 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166 target_alias=$ac_optarg ;;
1168 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1171 -version | --version | --versio | --versi | --vers | -V)
1172 ac_init_version=: ;;
1175 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178 as_fn_error $? "invalid package name: $ac_useropt"
1179 ac_useropt_orig=$ac_useropt
1180 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep=', ';;
1188 eval with_$ac_useropt=\$ac_optarg ;;
1190 -without-* | --without-*)
1191 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194 as_fn_error $? "invalid package name: $ac_useropt"
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1204 eval with_$ac_useropt=no ;;
1207 # Obsolete; use --with-x.
1210 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1211 | --x-incl | --x-inc | --x-in | --x-i)
1212 ac_prev=x_includes ;;
1213 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1214 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1215 x_includes=$ac_optarg ;;
1217 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1218 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1219 ac_prev=x_libraries ;;
1220 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1221 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1222 x_libraries=$ac_optarg ;;
1224 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1229 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' | [0-9]* | *[!_$as_cr_alnum]* )
1233 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249 if test -n "$ac_prev"; then
1250 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error $? "missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val=\$$ac_var
1269 # Remove trailing slashes.
1272 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$]* | ?:[\\/]* ) continue;;
1278 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x; then
1292 if test "x$build_alias" = x; then
1293 cross_compiling=maybe
1294 elif test "x$build_alias" != "x$host_alias"; then
1300 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1302 test "$silent" = yes && exec 6>/dev/null
1305 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di=`ls -di .` &&
1307 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1308 as_fn_error $? "working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310 as_fn_error $? "pwd does not report name of working directory"
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315 ac_srcdir_defaulted=yes
1316 # Try the directory containing this script, then the parent directory.
1317 ac_confdir=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319 X"$as_myself" : 'X\(//\)[^/]' \| \
1320 X"$as_myself" : 'X\(//\)$' \| \
1321 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1345 ac_srcdir_defaulted=no
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1349 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1351 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1363 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 for ac_var in $ac_precious_vars; do
1366 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1367 eval ac_env_${ac_var}_value=\$${ac_var}
1368 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1369 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1373 # Report the --help message.
1375 if test "$ac_init_help" = "long"; then
1376 # Omit some internal or obsolete options to make the list less imposing.
1377 # This message is too long to be a string in the A/UX 3.1 sh.
1379 \`configure' configures mech_eap 0.9.2 to adapt to many kinds of systems.
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE. See below for descriptions of some of the useful variables.
1386 Defaults for the options are specified in brackets.
1389 -h, --help display this help and exit
1390 --help=short display options specific to this package
1391 --help=recursive display the short help of all the included packages
1392 -V, --version display version information and exit
1393 -q, --quiet, --silent do not print \`checking ...' messages
1394 --cache-file=FILE cache test results in FILE [disabled]
1395 -C, --config-cache alias for \`--cache-file=config.cache'
1396 -n, --no-create do not create output files
1397 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399 Installation directories:
1400 --prefix=PREFIX install architecture-independent files in PREFIX
1401 [$ac_default_prefix]
1402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1410 For better control, use the options below.
1412 Fine tuning of the installation directories:
1413 --bindir=DIR user executables [EPREFIX/bin]
1414 --sbindir=DIR system admin executables [EPREFIX/sbin]
1415 --libexecdir=DIR program executables [EPREFIX/libexec]
1416 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1417 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1418 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/mech_eap]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1437 --program-prefix=PREFIX prepend PREFIX to installed program names
1438 --program-suffix=SUFFIX append SUFFIX to installed program names
1439 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1442 --build=BUILD configure for building on BUILD [guessed]
1443 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1447 if test -n "$ac_init_help"; then
1448 case $ac_init_help in
1449 short | recursive ) echo "Configuration of mech_eap 0.9.2:";;
1454 --disable-option-checking ignore unrecognized --enable/--with options
1455 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1456 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1457 --enable-dependency-tracking
1458 do not reject slow dependency extractors
1459 --disable-dependency-tracking
1460 speeds up one-time build
1461 --enable-silent-rules less verbose build output (undo: "make V=1")
1462 --disable-silent-rules verbose build output (undo: "make V=0")
1463 --enable-maintainer-mode
1464 enable make rules and dependencies not useful (and
1465 sometimes confusing) to the casual installer
1466 --enable-static[=PKGS] build static libraries [default=no]
1467 --enable-shared[=PKGS] build shared libraries [default=yes]
1468 --enable-fast-install[=PKGS]
1469 optimize for fast installation [default=yes]
1470 --disable-libtool-lock avoid locking (might break parallel builds)
1471 --enable-reauth whether to enable fast reauthentication protocol: yes/no; default no
1472 --enable-acceptor whether to enable acceptor codepaths: yes/no; default yes
1475 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1476 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1477 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1479 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1480 --with-sysroot=DIR Search for dependent libraries within DIR
1481 (or the compiler's sysroot if not specified).
1482 --with-krb5 Use krb5 (in specified installation directory)
1483 --with-opensaml Use OpenSAML (in specified installation directory)
1484 --with-shibresolver Use Shibboleth resolver (in specified installation
1486 --with-shibsp Use shibspboleth (in specified installation
1488 --with-openssl Use OpenSSL (in specified installation directory)
1489 --with-radsec Use radsec (in specified installation directory)
1490 --with-jansson Use jansson (in specified installation directory)
1491 --with-libmoonshot Use libmoonshot (in specified installation
1494 Some influential environment variables:
1495 CC C compiler command
1496 CFLAGS C compiler flags
1497 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1498 nonstandard directory <lib dir>
1499 LIBS libraries to pass to the linker, e.g. -l<library>
1500 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1501 you have headers in a nonstandard directory <include dir>
1503 CXX C++ compiler command
1504 CXXFLAGS C++ compiler flags
1505 CXXCPP C++ preprocessor
1507 Use these variables to override the choices made by `configure' or to help
1508 it to find libraries and programs with nonstandard names/locations.
1510 Report bugs to <bugs@project-moonshot.org>.
1515 if test "$ac_init_help" = "recursive"; then
1516 # If there are subdirs, report their specific --help.
1517 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518 test -d "$ac_dir" ||
1519 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1527 # A ".." for each directory in $ac_dir_suffix.
1528 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1529 case $ac_top_builddir_sub in
1530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1534 ac_abs_top_builddir=$ac_pwd
1535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1536 # for backward compatibility:
1537 ac_top_builddir=$ac_top_build_prefix
1540 .) # We are building in place.
1542 ac_top_srcdir=$ac_top_builddir_sub
1543 ac_abs_top_srcdir=$ac_pwd ;;
1544 [\\/]* | ?:[\\/]* ) # Absolute name.
1545 ac_srcdir=$srcdir$ac_dir_suffix;
1546 ac_top_srcdir=$srcdir
1547 ac_abs_top_srcdir=$srcdir ;;
1549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1550 ac_top_srcdir=$ac_top_build_prefix$srcdir
1551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1555 cd "$ac_dir" || { ac_status=$?; continue; }
1556 # Check for guested configure.
1557 if test -f "$ac_srcdir/configure.gnu"; then
1559 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1560 elif test -f "$ac_srcdir/configure"; then
1562 $SHELL "$ac_srcdir/configure" --help=recursive
1564 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1566 cd "$ac_pwd" || { ac_status=$?; break; }
1570 test -n "$ac_init_help" && exit $ac_status
1571 if $ac_init_version; then
1573 mech_eap configure 0.9.2
1574 generated by GNU Autoconf 2.69
1576 Copyright (C) 2012 Free Software Foundation, Inc.
1577 This configure script is free software; the Free Software Foundation
1578 gives unlimited permission to copy, distribute and modify it.
1583 ## ------------------------ ##
1584 ## Autoconf initialization. ##
1585 ## ------------------------ ##
1587 # ac_fn_c_try_compile LINENO
1588 # --------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_c_try_compile ()
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext
1594 if { { ac_try="$ac_compile"
1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_compile") 2>conftest.err
1603 if test -s conftest.err; then
1604 grep -v '^ *+' conftest.err >conftest.er1
1605 cat conftest.er1 >&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest.$ac_objext; then :
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status $ac_retval
1623 } # ac_fn_c_try_compile
1625 # ac_fn_c_try_cpp LINENO
1626 # ----------------------
1627 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 if { { ac_try="$ac_cpp conftest.$ac_ext"
1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1640 if test -s conftest.err; then
1641 grep -v '^ *+' conftest.err >conftest.er1
1642 cat conftest.er1 >&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } > conftest.i && {
1647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 as_fn_set_status $ac_retval
1662 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1663 # -------------------------------------------------------
1664 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1665 # the include files in INCLUDES and setting the cache variable VAR
1667 ac_fn_c_check_header_mongrel ()
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 if eval \${$3+:} false; then :
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678 $as_echo "$ac_res" >&6; }
1680 # Is the header compilable?
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1682 $as_echo_n "checking $2 usability... " >&6; }
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1688 if ac_fn_c_try_compile "$LINENO"; then :
1689 ac_header_compiler=yes
1691 ac_header_compiler=no
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1695 $as_echo "$ac_header_compiler" >&6; }
1697 # Is the header present?
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1699 $as_echo_n "checking $2 presence... " >&6; }
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1704 if ac_fn_c_try_cpp "$LINENO"; then :
1705 ac_header_preproc=yes
1707 ac_header_preproc=no
1709 rm -f conftest.err conftest.i conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1711 $as_echo "$ac_header_preproc" >&6; }
1713 # So? What about this header?
1714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1717 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1719 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1723 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1725 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1727 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1729 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1731 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1732 ( $as_echo "## ---------------------------------------- ##
1733 ## Report this to bugs@project-moonshot.org ##
1734 ## ---------------------------------------- ##"
1735 ) | sed "s/^/$as_me: WARNING: /" >&2
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741 $as_echo_n "(cached) " >&6
1743 eval "$3=\$ac_header_compiler"
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1747 $as_echo "$ac_res" >&6; }
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 } # ac_fn_c_check_header_mongrel
1753 # ac_fn_c_try_run LINENO
1754 # ----------------------
1755 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1756 # that executables *can* be run.
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 if { { ac_try="$ac_link"
1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_link") 2>&5
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1771 { { case "(($ac_try" in
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_try") 2>&5
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; }; }; then :
1783 $as_echo "$as_me: program exited with status $ac_status" >&5
1784 $as_echo "$as_me: failed program was:" >&5
1785 sed 's/^/| /' conftest.$ac_ext >&5
1787 ac_retval=$ac_status
1789 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status $ac_retval
1795 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1796 # -------------------------------------------------------
1797 # Tests whether HEADER exists and can be compiled using the include files in
1798 # INCLUDES, setting the cache variable VAR accordingly.
1799 ac_fn_c_check_header_compile ()
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1803 $as_echo_n "checking for $2... " >&6; }
1804 if eval \${$3+:} false; then :
1805 $as_echo_n "(cached) " >&6
1807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1812 if ac_fn_c_try_compile "$LINENO"; then :
1817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821 $as_echo "$ac_res" >&6; }
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824 } # ac_fn_c_check_header_compile
1826 # ac_fn_c_try_link LINENO
1827 # -----------------------
1828 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 rm -f conftest.$ac_objext conftest$ac_exeext
1833 if { { ac_try="$ac_link"
1835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836 *) ac_try_echo=$ac_try;;
1838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839 $as_echo "$ac_try_echo"; } >&5
1840 (eval "$ac_link") 2>conftest.err
1842 if test -s conftest.err; then
1843 grep -v '^ *+' conftest.err >conftest.er1
1844 cat conftest.er1 >&5
1845 mv -f conftest.er1 conftest.err
1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848 test $ac_status = 0; } && {
1849 test -z "$ac_c_werror_flag" ||
1850 test ! -s conftest.err
1851 } && test -s conftest$ac_exeext && {
1852 test "$cross_compiling" = yes ||
1853 test -x conftest$ac_exeext
1857 $as_echo "$as_me: failed program was:" >&5
1858 sed 's/^/| /' conftest.$ac_ext >&5
1862 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1863 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1864 # interfere with the next link command; also delete a directory that is
1865 # left behind by Apple's compiler. We do this before executing the actions.
1866 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 as_fn_set_status $ac_retval
1870 } # ac_fn_c_try_link
1872 # ac_fn_c_check_func LINENO FUNC VAR
1873 # ----------------------------------
1874 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1875 ac_fn_c_check_func ()
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if eval \${$3+:} false; then :
1881 $as_echo_n "(cached) " >&6
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1885 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1887 #define $2 innocuous_$2
1889 /* System header to define __stub macros and hopefully few prototypes,
1890 which can conflict with char $2 (); below.
1891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1892 <limits.h> exists even on freestanding compilers. */
1895 # include <limits.h>
1897 # include <assert.h>
1902 /* Override any GCC internal prototype to avoid an error.
1903 Use char because int might match the return type of a GCC
1904 builtin and then its argument prototype would still apply. */
1909 /* The GNU C library defines this for functions which it implements
1910 to always fail with ENOSYS. Some functions are actually named
1911 something starting with __ and the normal name is an alias. */
1912 #if defined __stub_$2 || defined __stub___$2
1924 if ac_fn_c_try_link "$LINENO"; then :
1929 rm -f core conftest.err conftest.$ac_objext \
1930 conftest$ac_exeext conftest.$ac_ext
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937 } # ac_fn_c_check_func
1939 # ac_fn_cxx_try_compile LINENO
1940 # ----------------------------
1941 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1942 ac_fn_cxx_try_compile ()
1944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945 rm -f conftest.$ac_objext
1946 if { { ac_try="$ac_compile"
1948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1949 *) ac_try_echo=$ac_try;;
1951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952 $as_echo "$ac_try_echo"; } >&5
1953 (eval "$ac_compile") 2>conftest.err
1955 if test -s conftest.err; then
1956 grep -v '^ *+' conftest.err >conftest.er1
1957 cat conftest.er1 >&5
1958 mv -f conftest.er1 conftest.err
1960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961 test $ac_status = 0; } && {
1962 test -z "$ac_cxx_werror_flag" ||
1963 test ! -s conftest.err
1964 } && test -s conftest.$ac_objext; then :
1967 $as_echo "$as_me: failed program was:" >&5
1968 sed 's/^/| /' conftest.$ac_ext >&5
1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973 as_fn_set_status $ac_retval
1975 } # ac_fn_cxx_try_compile
1977 # ac_fn_cxx_try_cpp LINENO
1978 # ------------------------
1979 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1980 ac_fn_cxx_try_cpp ()
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 if { { ac_try="$ac_cpp conftest.$ac_ext"
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1992 if test -s conftest.err; then
1993 grep -v '^ *+' conftest.err >conftest.er1
1994 cat conftest.er1 >&5
1995 mv -f conftest.er1 conftest.err
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } > conftest.i && {
1999 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2000 test ! -s conftest.err
2004 $as_echo "$as_me: failed program was:" >&5
2005 sed 's/^/| /' conftest.$ac_ext >&5
2009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010 as_fn_set_status $ac_retval
2012 } # ac_fn_cxx_try_cpp
2014 # ac_fn_cxx_try_link LINENO
2015 # -------------------------
2016 # Try to link conftest.$ac_ext, and return whether this succeeded.
2017 ac_fn_cxx_try_link ()
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 rm -f conftest.$ac_objext conftest$ac_exeext
2021 if { { ac_try="$ac_link"
2023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024 *) ac_try_echo=$ac_try;;
2026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2027 $as_echo "$ac_try_echo"; } >&5
2028 (eval "$ac_link") 2>conftest.err
2030 if test -s conftest.err; then
2031 grep -v '^ *+' conftest.err >conftest.er1
2032 cat conftest.er1 >&5
2033 mv -f conftest.er1 conftest.err
2035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2036 test $ac_status = 0; } && {
2037 test -z "$ac_cxx_werror_flag" ||
2038 test ! -s conftest.err
2039 } && test -s conftest$ac_exeext && {
2040 test "$cross_compiling" = yes ||
2041 test -x conftest$ac_exeext
2045 $as_echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.$ac_ext >&5
2050 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2051 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2052 # interfere with the next link command; also delete a directory that is
2053 # left behind by Apple's compiler. We do this before executing the actions.
2054 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 as_fn_set_status $ac_retval
2058 } # ac_fn_cxx_try_link
2059 cat >config.log <<_ACEOF
2060 This file contains any messages produced by compilers while
2061 running configure, to aid debugging if configure makes a mistake.
2063 It was created by mech_eap $as_me 0.9.2, which was
2064 generated by GNU Autoconf 2.69. Invocation command line was
2076 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2077 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2078 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2079 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2080 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2082 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2083 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2085 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2086 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2087 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2088 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2089 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2090 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2091 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 test -z "$as_dir" && as_dir=.
2100 $as_echo "PATH: $as_dir"
2116 # Keep a trace of the command line.
2117 # Strip out --no-create and --no-recursion so they do not pile up.
2118 # Strip out --silent because we don't want to record it for future runs.
2119 # Also quote any args containing shell meta-characters.
2120 # Make two passes to allow for proper duplicate-argument suppression.
2124 ac_must_keep_next=false
2130 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2132 | -silent | --silent | --silen | --sile | --sil)
2135 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2138 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2140 as_fn_append ac_configure_args1 " '$ac_arg'"
2141 if test $ac_must_keep_next = true; then
2142 ac_must_keep_next=false # Got value, back to normal.
2145 *=* | --config-cache | -C | -disable-* | --disable-* \
2146 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2147 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2148 | -with-* | --with-* | -without-* | --without-* | --x)
2149 case "$ac_configure_args0 " in
2150 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2153 -* ) ac_must_keep_next=true ;;
2156 as_fn_append ac_configure_args " '$ac_arg'"
2161 { ac_configure_args0=; unset ac_configure_args0;}
2162 { ac_configure_args1=; unset ac_configure_args1;}
2164 # When interrupted or exit'd, cleanup temporary files, and complete
2165 # config.log. We remove comments because anyway the quotes in there
2166 # would cause problems or look ugly.
2167 # WARNING: Use '\'' to represent an apostrophe within the trap.
2168 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2169 trap 'exit_status=$?
2170 # Save into config.log some information that might help in debugging.
2174 $as_echo "## ---------------- ##
2175 ## Cache variables. ##
2176 ## ---------------- ##"
2178 # The following way of writing the cache mishandles newlines in values,
2180 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2181 eval ac_val=\$$ac_var
2185 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2186 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2189 _ | IFS | as_nl) ;; #(
2190 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2191 *) { eval $ac_var=; unset $ac_var;} ;;
2196 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2197 *${as_nl}ac_space=\ *)
2199 "s/'\''/'\''\\\\'\'''\''/g;
2200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2203 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2210 $as_echo "## ----------------- ##
2211 ## Output variables. ##
2212 ## ----------------- ##"
2214 for ac_var in $ac_subst_vars
2216 eval ac_val=\$$ac_var
2218 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2220 $as_echo "$ac_var='\''$ac_val'\''"
2224 if test -n "$ac_subst_files"; then
2225 $as_echo "## ------------------- ##
2226 ## File substitutions. ##
2227 ## ------------------- ##"
2229 for ac_var in $ac_subst_files
2231 eval ac_val=\$$ac_var
2233 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2235 $as_echo "$ac_var='\''$ac_val'\''"
2240 if test -s confdefs.h; then
2241 $as_echo "## ----------- ##
2248 test "$ac_signal" != 0 &&
2249 $as_echo "$as_me: caught signal $ac_signal"
2250 $as_echo "$as_me: exit $exit_status"
2252 rm -f core *.core core.conftest.* &&
2253 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2256 for ac_signal in 1 2 13 15; do
2257 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2261 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2262 rm -f -r conftest* confdefs.h
2264 $as_echo "/* confdefs.h */" > confdefs.h
2266 # Predefined preprocessor variables.
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_NAME "$PACKAGE_NAME"
2272 cat >>confdefs.h <<_ACEOF
2273 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2276 cat >>confdefs.h <<_ACEOF
2277 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2280 cat >>confdefs.h <<_ACEOF
2281 #define PACKAGE_STRING "$PACKAGE_STRING"
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_URL "$PACKAGE_URL"
2293 # Let the site file select an alternate cache file if it wants to.
2294 # Prefer an explicitly selected file to automatically selected ones.
2297 if test -n "$CONFIG_SITE"; then
2298 # We do not want a PATH search for config.site.
2299 case $CONFIG_SITE in #((
2300 -*) ac_site_file1=./$CONFIG_SITE;;
2301 */*) ac_site_file1=$CONFIG_SITE;;
2302 *) ac_site_file1=./$CONFIG_SITE;;
2304 elif test "x$prefix" != xNONE; then
2305 ac_site_file1=$prefix/share/config.site
2306 ac_site_file2=$prefix/etc/config.site
2308 ac_site_file1=$ac_default_prefix/share/config.site
2309 ac_site_file2=$ac_default_prefix/etc/config.site
2311 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2313 test "x$ac_site_file" = xNONE && continue
2314 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2316 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2317 sed 's/^/| /' "$ac_site_file" >&5
2319 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2321 as_fn_error $? "failed to load site script $ac_site_file
2322 See \`config.log' for more details" "$LINENO" 5; }
2326 if test -r "$cache_file"; then
2327 # Some versions of bash will fail to source /dev/null (special files
2328 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2329 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2331 $as_echo "$as_me: loading cache $cache_file" >&6;}
2333 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2334 *) . "./$cache_file";;
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2339 $as_echo "$as_me: creating cache $cache_file" >&6;}
2343 # Check that the precious variables saved in the cache have kept the same
2345 ac_cache_corrupted=false
2346 for ac_var in $ac_precious_vars; do
2347 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2348 eval ac_new_set=\$ac_env_${ac_var}_set
2349 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2350 eval ac_new_val=\$ac_env_${ac_var}_value
2351 case $ac_old_set,$ac_new_set in
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2354 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2355 ac_cache_corrupted=: ;;
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2358 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2359 ac_cache_corrupted=: ;;
2362 if test "x$ac_old_val" != "x$ac_new_val"; then
2363 # differences in whitespace do not lead to failure.
2364 ac_old_val_w=`echo x $ac_old_val`
2365 ac_new_val_w=`echo x $ac_new_val`
2366 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2368 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2369 ac_cache_corrupted=:
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2372 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2373 eval $ac_var=\$ac_old_val
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2376 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2378 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2381 # Pass precious variables to config.status.
2382 if test "$ac_new_set" = set; then
2384 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2385 *) ac_arg=$ac_var=$ac_new_val ;;
2387 case " $ac_configure_args " in
2388 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2389 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2393 if $ac_cache_corrupted; then
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2397 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2398 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2400 ## -------------------- ##
2401 ## Main body of script. ##
2402 ## -------------------- ##
2405 ac_cpp='$CPP $CPPFLAGS'
2406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2413 for ac_dir in build-aux "$srcdir"/build-aux; do
2414 if test -f "$ac_dir/install-sh"; then
2416 ac_install_sh="$ac_aux_dir/install-sh -c"
2418 elif test -f "$ac_dir/install.sh"; then
2420 ac_install_sh="$ac_aux_dir/install.sh -c"
2422 elif test -f "$ac_dir/shtool"; then
2424 ac_install_sh="$ac_aux_dir/shtool install -c"
2428 if test -z "$ac_aux_dir"; then
2429 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2432 # These three variables are undocumented and unsupported,
2433 # and are intended to be withdrawn in a future Autoconf release.
2434 # They can cause serious problems if a builder's source tree is in a directory
2435 # whose full name contains unusual characters.
2436 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2437 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2438 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2442 # expand $ac_aux_dir to an absolute path
2443 am_aux_dir=`cd $ac_aux_dir && pwd`
2446 ac_cpp='$CPP $CPPFLAGS'
2447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2450 if test -n "$ac_tool_prefix"; then
2451 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2452 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2454 $as_echo_n "checking for $ac_word... " >&6; }
2455 if ${ac_cv_prog_CC+:} false; then :
2456 $as_echo_n "(cached) " >&6
2458 if test -n "$CC"; then
2459 ac_cv_prog_CC="$CC" # Let the user override the test.
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir=.
2466 for ac_exec_ext in '' $ac_executable_extensions; do
2467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2468 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 if test -n "$CC"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2481 $as_echo "$CC" >&6; }
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484 $as_echo "no" >&6; }
2489 if test -z "$ac_cv_prog_CC"; then
2491 # Extract the first word of "gcc", so it can be a program name with args.
2492 set dummy gcc; ac_word=$2
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2494 $as_echo_n "checking for $ac_word... " >&6; }
2495 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2496 $as_echo_n "(cached) " >&6
2498 if test -n "$ac_ct_CC"; then
2499 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir=.
2506 for ac_exec_ext in '' $ac_executable_extensions; do
2507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2508 ac_cv_prog_ac_ct_CC="gcc"
2509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2519 if test -n "$ac_ct_CC"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2521 $as_echo "$ac_ct_CC" >&6; }
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2524 $as_echo "no" >&6; }
2527 if test "x$ac_ct_CC" = x; then
2530 case $cross_compiling:$ac_tool_warned in
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2534 ac_tool_warned=yes ;;
2542 if test -z "$CC"; then
2543 if test -n "$ac_tool_prefix"; then
2544 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2545 set dummy ${ac_tool_prefix}cc; ac_word=$2
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2547 $as_echo_n "checking for $ac_word... " >&6; }
2548 if ${ac_cv_prog_CC+:} false; then :
2549 $as_echo_n "(cached) " >&6
2551 if test -n "$CC"; then
2552 ac_cv_prog_CC="$CC" # Let the user override the test.
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 test -z "$as_dir" && as_dir=.
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2561 ac_cv_prog_CC="${ac_tool_prefix}cc"
2562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2572 if test -n "$CC"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2574 $as_echo "$CC" >&6; }
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2577 $as_echo "no" >&6; }
2583 if test -z "$CC"; then
2584 # Extract the first word of "cc", so it can be a program name with args.
2585 set dummy cc; ac_word=$2
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2587 $as_echo_n "checking for $ac_word... " >&6; }
2588 if ${ac_cv_prog_CC+:} false; then :
2589 $as_echo_n "(cached) " >&6
2591 if test -n "$CC"; then
2592 ac_cv_prog_CC="$CC" # Let the user override the test.
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir=.
2600 for ac_exec_ext in '' $ac_executable_extensions; do
2601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2602 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2603 ac_prog_rejected=yes
2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 if test $ac_prog_rejected = yes; then
2615 # We found a bogon in the path, so make sure we never use it.
2616 set dummy $ac_cv_prog_CC
2618 if test $# != 0; then
2619 # We chose a different compiler from the bogus one.
2620 # However, it has the same basename, so the bogon will be chosen
2621 # first if we set CC to just the basename; use the full file name.
2623 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2629 if test -n "$CC"; then
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2631 $as_echo "$CC" >&6; }
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2634 $as_echo "no" >&6; }
2639 if test -z "$CC"; then
2640 if test -n "$ac_tool_prefix"; then
2641 for ac_prog in cl.exe
2643 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2644 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646 $as_echo_n "checking for $ac_word... " >&6; }
2647 if ${ac_cv_prog_CC+:} false; then :
2648 $as_echo_n "(cached) " >&6
2650 if test -n "$CC"; then
2651 ac_cv_prog_CC="$CC" # Let the user override the test.
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671 if test -n "$CC"; then
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2673 $as_echo "$CC" >&6; }
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676 $as_echo "no" >&6; }
2680 test -n "$CC" && break
2683 if test -z "$CC"; then
2685 for ac_prog in cl.exe
2687 # Extract the first word of "$ac_prog", so it can be a program name with args.
2688 set dummy $ac_prog; ac_word=$2
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690 $as_echo_n "checking for $ac_word... " >&6; }
2691 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2692 $as_echo_n "(cached) " >&6
2694 if test -n "$ac_ct_CC"; then
2695 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir=.
2702 for ac_exec_ext in '' $ac_executable_extensions; do
2703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2704 ac_cv_prog_ac_ct_CC="$ac_prog"
2705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2715 if test -n "$ac_ct_CC"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2717 $as_echo "$ac_ct_CC" >&6; }
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720 $as_echo "no" >&6; }
2724 test -n "$ac_ct_CC" && break
2727 if test "x$ac_ct_CC" = x; then
2730 case $cross_compiling:$ac_tool_warned in
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2734 ac_tool_warned=yes ;;
2743 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2745 as_fn_error $? "no acceptable C compiler found in \$PATH
2746 See \`config.log' for more details" "$LINENO" 5; }
2748 # Provide some information about the compiler.
2749 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2752 for ac_option in --version -v -V -qversion; do
2753 { { ac_try="$ac_compiler $ac_option >&5"
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2762 if test -s conftest.err; then
2764 ... rest of stderr output deleted ...
2765 10q' conftest.err >conftest.er1
2766 cat conftest.er1 >&5
2768 rm -f conftest.er1 conftest.err
2769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2770 test $ac_status = 0; }
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2784 ac_clean_files_save=$ac_clean_files
2785 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2786 # Try to create an executable without -o first, disregard a.out.
2787 # It will help us diagnose broken compilers, and finding out an intuition
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2790 $as_echo_n "checking whether the C compiler works... " >&6; }
2791 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2793 # The possible output files:
2794 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2797 for ac_file in $ac_files
2800 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2801 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2806 if { { ac_try="$ac_link_default"
2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2812 $as_echo "$ac_try_echo"; } >&5
2813 (eval "$ac_link_default") 2>&5
2815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2816 test $ac_status = 0; }; then :
2817 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2818 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2819 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2820 # so that the user can short-circuit this test for compilers unknown to
2822 for ac_file in $ac_files ''
2824 test -f "$ac_file" || continue
2826 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2829 # We found the default executable, but exeext='' is most
2833 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2835 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2837 # We set ac_cv_exeext here because the later test for it is not
2838 # safe: cross compilers may not add the suffix if given an `-o'
2839 # argument, so we may need to know it at that point already.
2840 # Even if this section looks crufty: it has the advantage of
2847 test "$ac_cv_exeext" = no && ac_cv_exeext=
2852 if test -z "$ac_file"; then :
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2855 $as_echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2860 as_fn_error 77 "C compiler cannot create executables
2861 See \`config.log' for more details" "$LINENO" 5; }
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2864 $as_echo "yes" >&6; }
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2867 $as_echo_n "checking for C compiler default output file name... " >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2869 $as_echo "$ac_file" >&6; }
2870 ac_exeext=$ac_cv_exeext
2872 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2873 ac_clean_files=$ac_clean_files_save
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2875 $as_echo_n "checking for suffix of executables... " >&6; }
2876 if { { ac_try="$ac_link"
2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879 *) ac_try_echo=$ac_try;;
2881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2882 $as_echo "$ac_try_echo"; } >&5
2883 (eval "$ac_link") 2>&5
2885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2886 test $ac_status = 0; }; then :
2887 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2888 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2889 # work properly (i.e., refer to `conftest.exe'), while it won't with
2891 for ac_file in conftest.exe conftest conftest.*; do
2892 test -f "$ac_file" || continue
2894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2895 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2903 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2904 See \`config.log' for more details" "$LINENO" 5; }
2906 rm -f conftest conftest$ac_cv_exeext
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2908 $as_echo "$ac_cv_exeext" >&6; }
2910 rm -f conftest.$ac_ext
2911 EXEEXT=$ac_cv_exeext
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2919 FILE *f = fopen ("conftest.out", "w");
2920 return ferror (f) || fclose (f) != 0;
2926 ac_clean_files="$ac_clean_files conftest.out"
2927 # Check that the compiler produces executables we can run. If not, either
2928 # the compiler is broken, or we cross compile.
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2930 $as_echo_n "checking whether we are cross compiling... " >&6; }
2931 if test "$cross_compiling" != yes; then
2932 { { ac_try="$ac_link"
2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2935 *) ac_try_echo=$ac_try;;
2937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2938 $as_echo "$ac_try_echo"; } >&5
2939 (eval "$ac_link") 2>&5
2941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2942 test $ac_status = 0; }
2943 if { ac_try='./conftest$ac_cv_exeext'
2944 { { case "(($ac_try" in
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950 (eval "$ac_try") 2>&5
2952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; }; }; then
2956 if test "$cross_compiling" = maybe; then
2959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2961 as_fn_error $? "cannot run C compiled programs.
2962 If you meant to cross compile, use \`--host'.
2963 See \`config.log' for more details" "$LINENO" 5; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2968 $as_echo "$cross_compiling" >&6; }
2970 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2971 ac_clean_files=$ac_clean_files_save
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2973 $as_echo_n "checking for suffix of object files... " >&6; }
2974 if ${ac_cv_objext+:} false; then :
2975 $as_echo_n "(cached) " >&6
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2988 rm -f conftest.o conftest.obj
2989 if { { ac_try="$ac_compile"
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2995 $as_echo "$ac_try_echo"; } >&5
2996 (eval "$ac_compile") 2>&5
2998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2999 test $ac_status = 0; }; then :
3000 for ac_file in conftest.o conftest.obj conftest.*; do
3001 test -f "$ac_file" || continue;
3003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3004 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3009 $as_echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3014 as_fn_error $? "cannot compute suffix of object files: cannot compile
3015 See \`config.log' for more details" "$LINENO" 5; }
3017 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3020 $as_echo "$ac_cv_objext" >&6; }
3021 OBJEXT=$ac_cv_objext
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3024 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3025 if ${ac_cv_c_compiler_gnu+:} false; then :
3026 $as_echo_n "(cached) " >&6
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3042 if ac_fn_c_try_compile "$LINENO"; then :
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3052 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3053 if test $ac_compiler_gnu = yes; then
3058 ac_test_CFLAGS=${CFLAGS+set}
3059 ac_save_CFLAGS=$CFLAGS
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3061 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3062 if ${ac_cv_prog_cc_g+:} false; then :
3063 $as_echo_n "(cached) " >&6
3065 ac_save_c_werror_flag=$ac_c_werror_flag
3066 ac_c_werror_flag=yes
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3080 if ac_fn_c_try_compile "$LINENO"; then :
3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3095 if ac_fn_c_try_compile "$LINENO"; then :
3098 ac_c_werror_flag=$ac_save_c_werror_flag
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3111 if ac_fn_c_try_compile "$LINENO"; then :
3114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3119 ac_c_werror_flag=$ac_save_c_werror_flag
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3122 $as_echo "$ac_cv_prog_cc_g" >&6; }
3123 if test "$ac_test_CFLAGS" = set; then
3124 CFLAGS=$ac_save_CFLAGS
3125 elif test $ac_cv_prog_cc_g = yes; then
3126 if test "$GCC" = yes; then
3132 if test "$GCC" = yes; then
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3139 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3140 if ${ac_cv_prog_cc_c89+:} false; then :
3141 $as_echo_n "(cached) " >&6
3143 ac_cv_prog_cc_c89=no
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3150 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3151 struct buf { int x; };
3152 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3153 static char *e (p, i)
3159 static char *f (char * (*g) (char **, int), char **p, ...)
3164 s = g (p, va_arg (v,int));
3169 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3170 function prototypes and stuff, but not '\xHH' hex character constants.
3171 These don't provoke an error unfortunately, instead are silently treated
3172 as 'x'. The following induces an error, until -std is added to get
3173 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3174 array size at least. It's necessary to write '\x00'==0 to get something
3175 that's true only with -std. */
3176 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3178 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3179 inside strings and character constants. */
3181 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3183 int test (int i, double x);
3184 struct s1 {int (*f) (int a);};
3185 struct s2 {int (*f) (double a);};
3186 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3192 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3197 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3198 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3200 CC="$ac_save_CC $ac_arg"
3201 if ac_fn_c_try_compile "$LINENO"; then :
3202 ac_cv_prog_cc_c89=$ac_arg
3204 rm -f core conftest.err conftest.$ac_objext
3205 test "x$ac_cv_prog_cc_c89" != "xno" && break
3207 rm -f conftest.$ac_ext
3212 case "x$ac_cv_prog_cc_c89" in
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3215 $as_echo "none needed" >&6; } ;;
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3218 $as_echo "unsupported" >&6; } ;;
3220 CC="$CC $ac_cv_prog_cc_c89"
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3222 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3224 if test "x$ac_cv_prog_cc_c89" != xno; then :
3229 ac_cpp='$CPP $CPPFLAGS'
3230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3235 ac_cpp='$CPP $CPPFLAGS'
3236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3240 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3241 if ${am_cv_prog_cc_c_o+:} false; then :
3242 $as_echo_n "(cached) " >&6
3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3245 /* end confdefs.h. */
3255 # Make sure it works both with $CC and with simple cc.
3256 # Following AC_PROG_CC_C_O, we do the test twice because some
3257 # compilers refuse to overwrite an existing .o file with -o,
3258 # though they will create one.
3259 am_cv_prog_cc_c_o=yes
3261 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3262 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); } \
3266 && test -f conftest2.$ac_objext; then
3269 am_cv_prog_cc_c_o=no
3273 rm -f core conftest*
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3277 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3278 if test "$am_cv_prog_cc_c_o" != yes; then
3279 # Losing compiler, so override with the script.
3280 # FIXME: It is wrong to rewrite CC.
3281 # But if we don't then we get into trouble of one sort or another.
3282 # A longer-term fix would be to have automake use am__CC in this case,
3283 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3284 CC="$am_aux_dir/compile $CC"
3287 ac_cpp='$CPP $CPPFLAGS'
3288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3295 ac_cpp='$CPP $CPPFLAGS'
3296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3300 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3301 # On Suns, sometimes $CPP names a directory.
3302 if test -n "$CPP" && test -d "$CPP"; then
3305 if test -z "$CPP"; then
3306 if ${ac_cv_prog_CPP+:} false; then :
3307 $as_echo_n "(cached) " >&6
3309 # Double quotes because CPP needs to be expanded
3310 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3313 for ac_c_preproc_warn_flag in '' yes
3315 # Use a header file that comes with gcc, so configuring glibc
3316 # with a fresh cross-compiler works.
3317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3318 # <limits.h> exists even on freestanding compilers.
3319 # On the NeXT, cc -E runs the code through the compiler's parser,
3320 # not just through cpp. "Syntax error" is here to catch this case.
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3324 # include <limits.h>
3326 # include <assert.h>
3330 if ac_fn_c_try_cpp "$LINENO"; then :
3333 # Broken: fails on valid input.
3336 rm -f conftest.err conftest.i conftest.$ac_ext
3338 # OK, works on sane cases. Now check whether nonexistent headers
3339 # can be detected and how.
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3342 #include <ac_nonexistent.h>
3344 if ac_fn_c_try_cpp "$LINENO"; then :
3345 # Broken: success on invalid input.
3348 # Passes both tests.
3352 rm -f conftest.err conftest.i conftest.$ac_ext
3355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3356 rm -f conftest.i conftest.err conftest.$ac_ext
3357 if $ac_preproc_ok; then :
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3370 $as_echo "$CPP" >&6; }
3372 for ac_c_preproc_warn_flag in '' yes
3374 # Use a header file that comes with gcc, so configuring glibc
3375 # with a fresh cross-compiler works.
3376 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3377 # <limits.h> exists even on freestanding compilers.
3378 # On the NeXT, cc -E runs the code through the compiler's parser,
3379 # not just through cpp. "Syntax error" is here to catch this case.
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3383 # include <limits.h>
3385 # include <assert.h>
3389 if ac_fn_c_try_cpp "$LINENO"; then :
3392 # Broken: fails on valid input.
3395 rm -f conftest.err conftest.i conftest.$ac_ext
3397 # OK, works on sane cases. Now check whether nonexistent headers
3398 # can be detected and how.
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3401 #include <ac_nonexistent.h>
3403 if ac_fn_c_try_cpp "$LINENO"; then :
3404 # Broken: success on invalid input.
3407 # Passes both tests.
3411 rm -f conftest.err conftest.i conftest.$ac_ext
3414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3415 rm -f conftest.i conftest.err conftest.$ac_ext
3416 if $ac_preproc_ok; then :
3419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3421 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3422 See \`config.log' for more details" "$LINENO" 5; }
3426 ac_cpp='$CPP $CPPFLAGS'
3427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3433 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3434 if ${ac_cv_path_GREP+:} false; then :
3435 $as_echo_n "(cached) " >&6
3437 if test -z "$GREP"; then
3438 ac_path_GREP_found=false
3439 # Loop through the user's path and test for each of PROGNAME-LIST
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3444 test -z "$as_dir" && as_dir=.
3445 for ac_prog in grep ggrep; do
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3448 as_fn_executable_p "$ac_path_GREP" || continue
3449 # Check for GNU ac_path_GREP and select it if it is found.
3450 # Check for GNU $ac_path_GREP
3451 case `"$ac_path_GREP" --version 2>&1` in
3453 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3456 $as_echo_n 0123456789 >"conftest.in"
3459 cat "conftest.in" "conftest.in" >"conftest.tmp"
3460 mv "conftest.tmp" "conftest.in"
3461 cp "conftest.in" "conftest.nl"
3462 $as_echo 'GREP' >> "conftest.nl"
3463 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3464 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3465 as_fn_arith $ac_count + 1 && ac_count=$as_val
3466 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3467 # Best one so far, save it but keep looking for a better one
3468 ac_cv_path_GREP="$ac_path_GREP"
3469 ac_path_GREP_max=$ac_count
3471 # 10*(2^10) chars as input seems more than enough
3472 test $ac_count -gt 10 && break
3474 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3477 $ac_path_GREP_found && break 3
3482 if test -z "$ac_cv_path_GREP"; then
3483 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3486 ac_cv_path_GREP=$GREP
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3491 $as_echo "$ac_cv_path_GREP" >&6; }
3492 GREP="$ac_cv_path_GREP"
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3496 $as_echo_n "checking for egrep... " >&6; }
3497 if ${ac_cv_path_EGREP+:} false; then :
3498 $as_echo_n "(cached) " >&6
3500 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3501 then ac_cv_path_EGREP="$GREP -E"
3503 if test -z "$EGREP"; then
3504 ac_path_EGREP_found=false
3505 # Loop through the user's path and test for each of PROGNAME-LIST
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3510 test -z "$as_dir" && as_dir=.
3511 for ac_prog in egrep; do
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3514 as_fn_executable_p "$ac_path_EGREP" || continue
3515 # Check for GNU ac_path_EGREP and select it if it is found.
3516 # Check for GNU $ac_path_EGREP
3517 case `"$ac_path_EGREP" --version 2>&1` in
3519 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3522 $as_echo_n 0123456789 >"conftest.in"
3525 cat "conftest.in" "conftest.in" >"conftest.tmp"
3526 mv "conftest.tmp" "conftest.in"
3527 cp "conftest.in" "conftest.nl"
3528 $as_echo 'EGREP' >> "conftest.nl"
3529 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3530 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3531 as_fn_arith $ac_count + 1 && ac_count=$as_val
3532 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3533 # Best one so far, save it but keep looking for a better one
3534 ac_cv_path_EGREP="$ac_path_EGREP"
3535 ac_path_EGREP_max=$ac_count
3537 # 10*(2^10) chars as input seems more than enough
3538 test $ac_count -gt 10 && break
3540 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3543 $ac_path_EGREP_found && break 3
3548 if test -z "$ac_cv_path_EGREP"; then
3549 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3552 ac_cv_path_EGREP=$EGREP
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3558 $as_echo "$ac_cv_path_EGREP" >&6; }
3559 EGREP="$ac_cv_path_EGREP"
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3563 $as_echo_n "checking for ANSI C header files... " >&6; }
3564 if ${ac_cv_header_stdc+:} false; then :
3565 $as_echo_n "(cached) " >&6
3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3582 if ac_fn_c_try_compile "$LINENO"; then :
3583 ac_cv_header_stdc=yes
3585 ac_cv_header_stdc=no
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 if test $ac_cv_header_stdc = yes; then
3590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3597 $EGREP "memchr" >/dev/null 2>&1; then :
3600 ac_cv_header_stdc=no
3606 if test $ac_cv_header_stdc = yes; then
3607 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3609 /* end confdefs.h. */
3613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3614 $EGREP "free" >/dev/null 2>&1; then :
3617 ac_cv_header_stdc=no
3623 if test $ac_cv_header_stdc = yes; then
3624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3625 if test "$cross_compiling" = yes; then :
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3632 #if ((' ' & 0x0FF) == 0x020)
3633 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3634 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3636 # define ISLOWER(c) \
3637 (('a' <= (c) && (c) <= 'i') \
3638 || ('j' <= (c) && (c) <= 'r') \
3639 || ('s' <= (c) && (c) <= 'z'))
3640 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3643 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3648 for (i = 0; i < 256; i++)
3649 if (XOR (islower (i), ISLOWER (i))
3650 || toupper (i) != TOUPPER (i))
3655 if ac_fn_c_try_run "$LINENO"; then :
3658 ac_cv_header_stdc=no
3660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3661 conftest.$ac_objext conftest.beam conftest.$ac_ext
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3667 $as_echo "$ac_cv_header_stdc" >&6; }
3668 if test $ac_cv_header_stdc = yes; then
3670 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3674 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3675 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3676 inttypes.h stdint.h unistd.h
3678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3679 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3682 cat >>confdefs.h <<_ACEOF
3683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3692 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3693 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3700 if test "$MINIX" = yes; then
3702 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3705 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3708 $as_echo "#define _MINIX 1" >>confdefs.h
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3714 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3715 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3716 $as_echo_n "(cached) " >&6
3718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3721 # define __EXTENSIONS__ 1
3722 $ac_includes_default
3731 if ac_fn_c_try_compile "$LINENO"; then :
3732 ac_cv_safe_to_define___extensions__=yes
3734 ac_cv_safe_to_define___extensions__=no
3736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3739 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3740 test $ac_cv_safe_to_define___extensions__ = yes &&
3741 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3743 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3745 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3747 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3749 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3752 am__api_version='1.14'
3754 # Find a good install program. We prefer a C program (faster),
3755 # so one script is as good as another. But avoid the broken or
3756 # incompatible versions:
3757 # SysV /etc/install, /usr/sbin/install
3758 # SunOS /usr/etc/install
3759 # IRIX /sbin/install
3761 # AmigaOS /C/install, which installs bootblocks on floppy discs
3762 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3763 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3764 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3765 # OS/2's system install, which has a completely different semantic
3766 # ./install, which can be erroneously created by make from ./install.sh.
3767 # Reject install programs that cannot install multiple files.
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3769 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3770 if test -z "$INSTALL"; then
3771 if ${ac_cv_path_install+:} false; then :
3772 $as_echo_n "(cached) " >&6
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778 test -z "$as_dir" && as_dir=.
3779 # Account for people who put trailing slashes in PATH elements.
3780 case $as_dir/ in #((
3781 ./ | .// | /[cC]/* | \
3782 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3783 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3786 # OSF1 and SCO ODT 3.0 have their own names for install.
3787 # Don't use installbsd from OSF since it installs stuff as root
3789 for ac_prog in ginstall scoinst install; do
3790 for ac_exec_ext in '' $ac_executable_extensions; do
3791 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3792 if test $ac_prog = install &&
3793 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3794 # AIX install. It has an incompatible calling convention.
3796 elif test $ac_prog = install &&
3797 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3798 # program-specific install script used by HP pwplus--don't use.
3801 rm -rf conftest.one conftest.two conftest.dir
3802 echo one > conftest.one
3803 echo two > conftest.two
3805 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3806 test -s conftest.one && test -s conftest.two &&
3807 test -s conftest.dir/conftest.one &&
3808 test -s conftest.dir/conftest.two
3810 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3823 rm -rf conftest.one conftest.two conftest.dir
3826 if test "${ac_cv_path_install+set}" = set; then
3827 INSTALL=$ac_cv_path_install
3829 # As a last resort, use the slow shell script. Don't cache a
3830 # value for INSTALL within a source directory, because that will
3831 # break other packages using the cache if that directory is
3832 # removed, or if the value is a relative name.
3833 INSTALL=$ac_install_sh
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3837 $as_echo "$INSTALL" >&6; }
3839 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3840 # It thinks the first close brace ends the variable substitution.
3841 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3843 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3845 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3848 $as_echo_n "checking whether build environment is sane... " >&6; }
3849 # Reject unsafe characters in $srcdir or the absolute working directory
3850 # name. Accept space and tab only in the latter.
3854 *[\\\"\#\$\&\'\`$am_lf]*)
3855 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3858 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3859 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3862 # Do 'set' in a subshell so we don't clobber the current shell's
3863 # arguments. Must try -L first in case configure is actually a
3864 # symlink; some systems play weird games with the mod time of symlinks
3865 # (eg FreeBSD returns the mod time of the symlink's containing
3869 for am_try in 1 2; do
3870 echo "timestamp, slept: $am_has_slept" > conftest.file
3871 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3872 if test "$*" = "X"; then
3874 set X `ls -t "$srcdir/configure" conftest.file`
3876 if test "$*" != "X $srcdir/configure conftest.file" \
3877 && test "$*" != "X conftest.file $srcdir/configure"; then
3879 # If neither matched, then we have a broken ls. This can happen
3880 # if, for instance, CONFIG_SHELL is bash and it inherits a
3881 # broken ls alias from the environment. This has actually
3882 # happened. Such a system could not be considered "sane".
3883 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3884 alias in your environment" "$LINENO" 5
3886 if test "$2" = conftest.file || test $am_try -eq 2; then
3893 test "$2" = conftest.file
3899 as_fn_error $? "newly created file is older than distributed files!
3900 Check your system clock" "$LINENO" 5
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3903 $as_echo "yes" >&6; }
3904 # If we didn't sleep, we still need to ensure time stamps of config.status and
3905 # generated files are strictly newer.
3907 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3914 test "$program_prefix" != NONE &&
3915 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3916 # Use a double $ so make ignores it.
3917 test "$program_suffix" != NONE &&
3918 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3919 # Double any \ or $.
3920 # By default was `s,x,x', remove it if useless.
3921 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3922 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3924 if test x"${MISSING+set}" != xset; then
3927 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3929 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3932 # Use eval to expand $SHELL
3933 if eval "$MISSING --is-lightweight"; then
3934 am_missing_run="$MISSING "
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3938 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3941 if test x"${install_sh}" != xset; then
3944 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3946 install_sh="\${SHELL} $am_aux_dir/install-sh"
3950 # Installed binaries are usually stripped using 'strip' when the user
3951 # run "make install-strip". However 'strip' might not be the right
3952 # tool to use in cross-compilation environments, therefore Automake
3953 # will honor the 'STRIP' environment variable to overrule this program.
3954 if test "$cross_compiling" != no; then
3955 if test -n "$ac_tool_prefix"; then
3956 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3957 set dummy ${ac_tool_prefix}strip; ac_word=$2
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3959 $as_echo_n "checking for $ac_word... " >&6; }
3960 if ${ac_cv_prog_STRIP+:} false; then :
3961 $as_echo_n "(cached) " >&6
3963 if test -n "$STRIP"; then
3964 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 test -z "$as_dir" && as_dir=.
3971 for ac_exec_ext in '' $ac_executable_extensions; do
3972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3973 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3983 STRIP=$ac_cv_prog_STRIP
3984 if test -n "$STRIP"; then
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3986 $as_echo "$STRIP" >&6; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989 $as_echo "no" >&6; }
3994 if test -z "$ac_cv_prog_STRIP"; then
3996 # Extract the first word of "strip", so it can be a program name with args.
3997 set dummy strip; ac_word=$2
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3999 $as_echo_n "checking for $ac_word... " >&6; }
4000 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4001 $as_echo_n "(cached) " >&6
4003 if test -n "$ac_ct_STRIP"; then
4004 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010 test -z "$as_dir" && as_dir=.
4011 for ac_exec_ext in '' $ac_executable_extensions; do
4012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4013 ac_cv_prog_ac_ct_STRIP="strip"
4014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4024 if test -n "$ac_ct_STRIP"; then
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4026 $as_echo "$ac_ct_STRIP" >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4029 $as_echo "no" >&6; }
4032 if test "x$ac_ct_STRIP" = x; then
4035 case $cross_compiling:$ac_tool_warned in
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4039 ac_tool_warned=yes ;;
4044 STRIP="$ac_cv_prog_STRIP"
4048 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4051 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4052 if test -z "$MKDIR_P"; then
4053 if ${ac_cv_path_mkdir+:} false; then :
4054 $as_echo_n "(cached) " >&6
4056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4060 test -z "$as_dir" && as_dir=.
4061 for ac_prog in mkdir gmkdir; do
4062 for ac_exec_ext in '' $ac_executable_extensions; do
4063 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4064 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4065 'mkdir (GNU coreutils) '* | \
4066 'mkdir (coreutils) '* | \
4067 'mkdir (fileutils) '4.1*)
4068 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4078 test -d ./--version && rmdir ./--version
4079 if test "${ac_cv_path_mkdir+set}" = set; then
4080 MKDIR_P="$ac_cv_path_mkdir -p"
4082 # As a last resort, use the slow shell script. Don't cache a
4083 # value for MKDIR_P within a source directory, because that will
4084 # break other packages using the cache if that directory is
4085 # removed, or if the value is a relative name.
4086 MKDIR_P="$ac_install_sh -d"
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4090 $as_echo "$MKDIR_P" >&6; }
4092 for ac_prog in gawk mawk nawk awk
4094 # Extract the first word of "$ac_prog", so it can be a program name with args.
4095 set dummy $ac_prog; ac_word=$2
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4097 $as_echo_n "checking for $ac_word... " >&6; }
4098 if ${ac_cv_prog_AWK+:} false; then :
4099 $as_echo_n "(cached) " >&6
4101 if test -n "$AWK"; then
4102 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4108 test -z "$as_dir" && as_dir=.
4109 for ac_exec_ext in '' $ac_executable_extensions; do
4110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4111 ac_cv_prog_AWK="$ac_prog"
4112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4122 if test -n "$AWK"; then
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4124 $as_echo "$AWK" >&6; }
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4127 $as_echo "no" >&6; }
4131 test -n "$AWK" && break
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4135 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4137 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4138 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4139 $as_echo_n "(cached) " >&6
4141 cat >conftest.make <<\_ACEOF
4144 @echo '@@@%%%=$(MAKE)=@@@%%%'
4146 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4147 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4149 eval ac_cv_prog_make_${ac_make}_set=yes;;
4151 eval ac_cv_prog_make_${ac_make}_set=no;;
4155 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4157 $as_echo "yes" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4161 $as_echo "no" >&6; }
4162 SET_MAKE="MAKE=${MAKE-make}"
4165 rm -rf .tst 2>/dev/null
4166 mkdir .tst 2>/dev/null
4167 if test -d .tst; then
4172 rmdir .tst 2>/dev/null
4174 DEPDIR="${am__leading_dot}deps"
4176 ac_config_commands="$ac_config_commands depfiles"
4179 am_make=${MAKE-make}
4180 cat > confinc << 'END'
4182 @echo this is the am__doit target
4185 # If we don't find an include directive, just comment out the code.
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4187 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4191 # First try GNU make style include.
4192 echo "include confinc" > confmf
4193 # Ignore all kinds of additional output from 'make'.
4194 case `$am_make -s -f confmf 2> /dev/null` in #(
4195 *the\ am__doit\ target*)
4201 # Now try BSD make style include.
4202 if test "$am__include" = "#"; then
4203 echo '.include "confinc"' > confmf
4204 case `$am_make -s -f confmf 2> /dev/null` in #(
4205 *the\ am__doit\ target*)
4206 am__include=.include
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4215 $as_echo "$_am_result" >&6; }
4216 rm -f confinc confmf
4218 # Check whether --enable-dependency-tracking was given.
4219 if test "${enable_dependency_tracking+set}" = set; then :
4220 enableval=$enable_dependency_tracking;
4223 if test "x$enable_dependency_tracking" != xno; then
4224 am_depcomp="$ac_aux_dir/depcomp"
4228 if test "x$enable_dependency_tracking" != xno; then
4237 # Check whether --enable-silent-rules was given.
4238 if test "${enable_silent_rules+set}" = set; then :
4239 enableval=$enable_silent_rules;
4242 case $enable_silent_rules in # (((
4243 yes) AM_DEFAULT_VERBOSITY=0;;
4244 no) AM_DEFAULT_VERBOSITY=1;;
4245 *) AM_DEFAULT_VERBOSITY=1;;
4247 am_make=${MAKE-make}
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4249 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4250 if ${am_cv_make_support_nested_variables+:} false; then :
4251 $as_echo_n "(cached) " >&6
4253 if $as_echo 'TRUE=$(BAR$(V))
4259 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4260 am_cv_make_support_nested_variables=yes
4262 am_cv_make_support_nested_variables=no
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4266 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4267 if test $am_cv_make_support_nested_variables = yes; then
4269 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4271 AM_V=$AM_DEFAULT_VERBOSITY
4272 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4276 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4277 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4278 # is not polluted with repeated "-I."
4279 am__isrc=' -I$(srcdir)'
4280 # test to see if srcdir already configured
4281 if test -f $srcdir/config.status; then
4282 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4286 # test whether we have cygpath
4287 if test -z "$CYGPATH_W"; then
4288 if (cygpath --version) >/dev/null 2>/dev/null; then
4289 CYGPATH_W='cygpath -w'
4296 # Define the identity of the package.
4301 cat >>confdefs.h <<_ACEOF
4302 #define PACKAGE "$PACKAGE"
4306 cat >>confdefs.h <<_ACEOF
4307 #define VERSION "$VERSION"
4310 # Some tools Automake needs.
4312 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4315 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4318 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4321 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4324 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4326 # For better backward compatibility. To be removed once Automake 1.9.x
4327 # dies out for good. For more background, see:
4328 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4329 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4330 mkdir_p='$(MKDIR_P)'
4332 # We need awk for the "check" target. The system "awk" is bad on
4334 # Always define AMTAR for backward compatibility. Yes, it's still used
4335 # in the wild :-( We should find a proper way to deprecate it ...
4339 # We'll loop over all known methods to create a tar archive until one works.
4340 _am_tools='gnutar pax cpio none'
4342 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4348 depcc="$CC" am_compiler_list=
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4351 $as_echo_n "checking dependency style of $depcc... " >&6; }
4352 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4353 $as_echo_n "(cached) " >&6
4355 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4356 # We make a subdir and do the tests there. Otherwise we can end up
4357 # making bogus files that we don't know about and never remove. For
4358 # instance it was reported that on HP-UX the gcc test will end up
4359 # making a dummy file named 'D' -- because '-MD' means "put the output
4363 # Copy depcomp to subdir because otherwise we won't find it if we're
4364 # using a relative directory.
4365 cp "$am_depcomp" conftest.dir
4367 # We will build objects and dependencies in a subdirectory because
4368 # it helps to detect inapplicable dependency modes. For instance
4369 # both Tru64's cc and ICC support -MD to output dependencies as a
4370 # side effect of compilation, but ICC will put the dependencies in
4371 # the current directory while Tru64 will put them in the object
4375 am_cv_CC_dependencies_compiler_type=none
4376 if test "$am_compiler_list" = ""; then
4377 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4380 case " $depcc " in #(
4381 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4384 for depmode in $am_compiler_list; do
4385 # Setup a source with many dependencies, because some compilers
4386 # like to wrap large dependency lists on column 80 (with \), and
4387 # we should not choose a depcomp mode which is confused by this.
4389 # We need to recreate these files for each test, as the compiler may
4390 # overwrite some of them when testing with obscure command lines.
4391 # This happens at least with the AIX C compiler.
4393 for i in 1 2 3 4 5 6; do
4394 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4395 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4396 # Solaris 10 /bin/sh.
4397 echo '/* dummy */' > sub/conftst$i.h
4399 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4401 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4402 # mode. It turns out that the SunPro C++ compiler does not properly
4403 # handle '-M -o', and we need to detect this. Also, some Intel
4404 # versions had trouble with output in subdirs.
4405 am__obj=sub/conftest.${OBJEXT-o}
4406 am__minus_obj="-o $am__obj"
4409 # This depmode causes a compiler race in universal mode.
4410 test "$am__universal" = false || continue
4413 # After this tag, mechanisms are not by side-effect, so they'll
4414 # only be used when explicitly requested.
4415 if test "x$enable_dependency_tracking" = xyes; then
4421 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4422 # This compiler won't grok '-c -o', but also, the minuso test has
4423 # not run yet. These depmodes are late enough in the game, and
4424 # so weak that their functioning should not be impacted.
4425 am__obj=conftest.${OBJEXT-o}
4430 if depmode=$depmode \
4431 source=sub/conftest.c object=$am__obj \
4432 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4433 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4434 >/dev/null 2>conftest.err &&
4435 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4436 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4437 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4438 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4439 # icc doesn't choke on unknown options, it will just issue warnings
4440 # or remarks (even with -Werror). So we grep stderr for any message
4441 # that says an option was ignored or not supported.
4442 # When given -MP, icc 7.0 and 7.1 complain thusly:
4443 # icc: Command line warning: ignoring option '-M'; no argument required
4444 # The diagnosis changed in icc 8.0:
4445 # icc: Command line remark: option '-MP' not supported
4446 if (grep 'ignoring option' conftest.err ||
4447 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4448 am_cv_CC_dependencies_compiler_type=$depmode
4457 am_cv_CC_dependencies_compiler_type=none
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4462 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4463 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4466 test "x$enable_dependency_tracking" != xno \
4467 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4469 am__fastdepCC_FALSE='#'
4471 am__fastdepCC_TRUE='#'
4472 am__fastdepCC_FALSE=
4477 # POSIX will say in a future version that running "rm -f" with no argument
4478 # is OK; and we want to be able to make that assumption in our Makefile
4479 # recipes. So use an aggressive probe to check that the usage we want is
4480 # actually supported "in the wild" to an acceptable degree.
4481 # See automake bug#10828.
4482 # To make any issue more visible, cause the running configure to be aborted
4483 # by default if the 'rm' program in use doesn't match our expectations; the
4484 # user can still override this though.
4485 if rm -f && rm -fr && rm -rf; then : OK; else
4489 Your 'rm' program seems unable to run without file operands specified
4490 on the command line, even when the '-f' option is present. This is contrary
4491 to the behaviour of most rm programs out there, and not conforming with
4492 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4494 Please tell bug-automake@gnu.org about your system, including the value
4495 of your $PATH and any error possibly output before this message. This
4496 can help us improve future automake versions.
4499 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4500 echo 'Configuration will proceed anyway, since you have set the' >&2
4501 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4505 Aborting the configuration process, to ensure you take notice of the issue.
4507 You can download and install GNU coreutils to get an 'rm' implementation
4508 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4510 If you want to complete the configuration process using your problematic
4511 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4512 to "yes", and re-run configure.
4515 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4519 if test "x$CC" != xcc; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4521 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4524 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4526 set dummy $CC; ac_cc=`$as_echo "$2" |
4527 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4528 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4529 $as_echo_n "(cached) " >&6
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4542 # Make sure it works both with $CC and with simple cc.
4543 # We do the test twice because some compilers refuse to overwrite an
4544 # existing .o file with -o, though they will create one.
4545 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4547 if { { case "(($ac_try" in
4548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4549 *) ac_try_echo=$ac_try;;
4551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4552 $as_echo "$ac_try_echo"; } >&5
4553 (eval "$ac_try") 2>&5
4555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4556 test $ac_status = 0; } &&
4557 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4559 *) ac_try_echo=$ac_try;;
4561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4562 $as_echo "$ac_try_echo"; } >&5
4563 (eval "$ac_try") 2>&5
4565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4566 test $ac_status = 0; };
4568 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4569 if test "x$CC" != xcc; then
4570 # Test first that cc exists at all.
4571 if { ac_try='cc -c conftest.$ac_ext >&5'
4572 { { case "(($ac_try" in
4573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4574 *) ac_try_echo=$ac_try;;
4576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4577 $as_echo "$ac_try_echo"; } >&5
4578 (eval "$ac_try") 2>&5
4580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4581 test $ac_status = 0; }; }; then
4582 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4584 if { { case "(($ac_try" in
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4589 $as_echo "$ac_try_echo"; } >&5
4590 (eval "$ac_try") 2>&5
4592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4593 test $ac_status = 0; } &&
4594 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4596 *) ac_try_echo=$ac_try;;
4598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4599 $as_echo "$ac_try_echo"; } >&5
4600 (eval "$ac_try") 2>&5
4602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4603 test $ac_status = 0; };
4608 # cc exists but doesn't like -o.
4609 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4614 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4616 rm -f core conftest*
4619 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4621 $as_echo "yes" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4626 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4630 # FIXME: we rely on the cache variable name because
4631 # there is no other way.
4633 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4634 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4635 if test "$am_t" != yes; then
4636 # Losing compiler, so override with the script.
4637 # FIXME: It is wrong to rewrite CC.
4638 # But if we don't then we get into trouble of one sort or another.
4639 # A longer-term fix would be to have automake use am__CC in this case,
4640 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4641 CC="$am_aux_dir/compile $CC"
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4647 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4648 # Check whether --enable-maintainer-mode was given.
4649 if test "${enable_maintainer_mode+set}" = set; then :
4650 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4652 USE_MAINTAINER_MODE=no
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4656 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4657 if test $USE_MAINTAINER_MODE = yes; then
4658 MAINTAINER_MODE_TRUE=
4659 MAINTAINER_MODE_FALSE='#'
4661 MAINTAINER_MODE_TRUE='#'
4662 MAINTAINER_MODE_FALSE=
4665 MAINT=$MAINTAINER_MODE_TRUE
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4672 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4677 macro_version='2.4.2'
4678 macro_revision='1.3337'
4692 ltmain="$ac_aux_dir/ltmain.sh"
4694 # Make sure we can run config.sub.
4695 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4696 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4699 $as_echo_n "checking build system type... " >&6; }
4700 if ${ac_cv_build+:} false; then :
4701 $as_echo_n "(cached) " >&6
4703 ac_build_alias=$build_alias
4704 test "x$ac_build_alias" = x &&
4705 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4706 test "x$ac_build_alias" = x &&
4707 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4708 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4709 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4713 $as_echo "$ac_cv_build" >&6; }
4714 case $ac_cv_build in
4716 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4719 ac_save_IFS=$IFS; IFS='-'
4725 # Remember, the first character of IFS is used to create $*,
4726 # except with old shells:
4729 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4733 $as_echo_n "checking host system type... " >&6; }
4734 if ${ac_cv_host+:} false; then :
4735 $as_echo_n "(cached) " >&6
4737 if test "x$host_alias" = x; then
4738 ac_cv_host=$ac_cv_build
4740 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4741 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4746 $as_echo "$ac_cv_host" >&6; }
4749 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4752 ac_save_IFS=$IFS; IFS='-'
4758 # Remember, the first character of IFS is used to create $*,
4759 # except with old shells:
4762 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4765 # Backslashify metacharacters that are still active within
4766 # double-quoted strings.
4767 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4769 # Same as above, but do not quote variable references.
4770 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4772 # Sed substitution to delay expansion of an escaped shell variable in a
4773 # double_quote_subst'ed string.
4774 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4776 # Sed substitution to delay expansion of an escaped single quote.
4777 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4779 # Sed substitution to avoid accidental globbing in evaled expressions
4780 no_glob_subst='s/\*/\\\*/g'
4782 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4783 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4784 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4787 $as_echo_n "checking how to print strings... " >&6; }
4788 # Test print first, because it will be a builtin if present.
4789 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4790 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4792 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4795 # Use this function as a fallback that always works.
4796 func_fallback_echo ()
4798 eval 'cat <<_LTECHO_EOF
4802 ECHO='func_fallback_echo'
4805 # func_echo_all arg...
4806 # Invoke $ECHO with all args, space-separated.
4813 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4814 $as_echo "printf" >&6; } ;;
4815 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4816 $as_echo "print -r" >&6; } ;;
4817 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4818 $as_echo "cat" >&6; } ;;
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4835 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4836 if ${ac_cv_path_SED+:} false; then :
4837 $as_echo_n "(cached) " >&6
4839 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4840 for ac_i in 1 2 3 4 5 6 7; do
4841 ac_script="$ac_script$as_nl$ac_script"
4843 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4844 { ac_script=; unset ac_script;}
4845 if test -z "$SED"; then
4846 ac_path_SED_found=false
4847 # Loop through the user's path and test for each of PROGNAME-LIST
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852 test -z "$as_dir" && as_dir=.
4853 for ac_prog in sed gsed; do
4854 for ac_exec_ext in '' $ac_executable_extensions; do
4855 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4856 as_fn_executable_p "$ac_path_SED" || continue
4857 # Check for GNU ac_path_SED and select it if it is found.
4858 # Check for GNU $ac_path_SED
4859 case `"$ac_path_SED" --version 2>&1` in
4861 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4864 $as_echo_n 0123456789 >"conftest.in"
4867 cat "conftest.in" "conftest.in" >"conftest.tmp"
4868 mv "conftest.tmp" "conftest.in"
4869 cp "conftest.in" "conftest.nl"
4870 $as_echo '' >> "conftest.nl"
4871 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4872 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4873 as_fn_arith $ac_count + 1 && ac_count=$as_val
4874 if test $ac_count -gt ${ac_path_SED_max-0}; then
4875 # Best one so far, save it but keep looking for a better one
4876 ac_cv_path_SED="$ac_path_SED"
4877 ac_path_SED_max=$ac_count
4879 # 10*(2^10) chars as input seems more than enough
4880 test $ac_count -gt 10 && break
4882 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4885 $ac_path_SED_found && break 3
4890 if test -z "$ac_cv_path_SED"; then
4891 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4899 $as_echo "$ac_cv_path_SED" >&6; }
4900 SED="$ac_cv_path_SED"
4903 test -z "$SED" && SED=sed
4904 Xsed="$SED -e 1s/^X//"
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4917 $as_echo_n "checking for fgrep... " >&6; }
4918 if ${ac_cv_path_FGREP+:} false; then :
4919 $as_echo_n "(cached) " >&6
4921 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4922 then ac_cv_path_FGREP="$GREP -F"
4924 if test -z "$FGREP"; then
4925 ac_path_FGREP_found=false
4926 # Loop through the user's path and test for each of PROGNAME-LIST
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4931 test -z "$as_dir" && as_dir=.
4932 for ac_prog in fgrep; do
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4935 as_fn_executable_p "$ac_path_FGREP" || continue
4936 # Check for GNU ac_path_FGREP and select it if it is found.
4937 # Check for GNU $ac_path_FGREP
4938 case `"$ac_path_FGREP" --version 2>&1` in
4940 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4943 $as_echo_n 0123456789 >"conftest.in"
4946 cat "conftest.in" "conftest.in" >"conftest.tmp"
4947 mv "conftest.tmp" "conftest.in"
4948 cp "conftest.in" "conftest.nl"
4949 $as_echo 'FGREP' >> "conftest.nl"
4950 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4951 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4952 as_fn_arith $ac_count + 1 && ac_count=$as_val
4953 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4954 # Best one so far, save it but keep looking for a better one
4955 ac_cv_path_FGREP="$ac_path_FGREP"
4956 ac_path_FGREP_max=$ac_count
4958 # 10*(2^10) chars as input seems more than enough
4959 test $ac_count -gt 10 && break
4961 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4964 $ac_path_FGREP_found && break 3
4969 if test -z "$ac_cv_path_FGREP"; then
4970 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4973 ac_cv_path_FGREP=$FGREP
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4979 $as_echo "$ac_cv_path_FGREP" >&6; }
4980 FGREP="$ac_cv_path_FGREP"
4983 test -z "$GREP" && GREP=grep
5003 # Check whether --with-gnu-ld was given.
5004 if test "${with_gnu_ld+set}" = set; then :
5005 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5011 if test "$GCC" = yes; then
5012 # Check if gcc -print-prog-name=ld gives a path.
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5014 $as_echo_n "checking for ld used by $CC... " >&6; }
5017 # gcc leaves a trailing carriage return which upsets mingw
5018 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5020 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5023 # Accept absolute paths.
5025 re_direlt='/[^/][^/]*/\.\./'
5026 # Canonicalize the pathname of ld
5027 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5028 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5029 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5031 test -z "$LD" && LD="$ac_prog"
5034 # If it fails, then pretend we aren't using GCC.
5038 # If it is relative, then search for the first ld in PATH.
5042 elif test "$with_gnu_ld" = yes; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5044 $as_echo_n "checking for GNU ld... " >&6; }
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5047 $as_echo_n "checking for non-GNU ld... " >&6; }
5049 if ${lt_cv_path_LD+:} false; then :
5050 $as_echo_n "(cached) " >&6
5052 if test -z "$LD"; then
5053 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5054 for ac_dir in $PATH; do
5056 test -z "$ac_dir" && ac_dir=.
5057 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5058 lt_cv_path_LD="$ac_dir/$ac_prog"
5059 # Check to see if the program is GNU ld. I'd rather use --version,
5060 # but apparently some variants of GNU ld only accept -v.
5061 # Break only if it was the GNU/non-GNU ld that we prefer.
5062 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5063 *GNU* | *'with BFD'*)
5064 test "$with_gnu_ld" != no && break
5067 test "$with_gnu_ld" != yes && break
5074 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5079 if test -n "$LD"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5081 $as_echo "$LD" >&6; }
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5086 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5088 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5089 if ${lt_cv_prog_gnu_ld+:} false; then :
5090 $as_echo_n "(cached) " >&6
5092 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5093 case `$LD -v 2>&1 </dev/null` in
5094 *GNU* | *'with BFD'*)
5095 lt_cv_prog_gnu_ld=yes
5098 lt_cv_prog_gnu_ld=no
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5103 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5104 with_gnu_ld=$lt_cv_prog_gnu_ld
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5115 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5116 if ${lt_cv_path_NM+:} false; then :
5117 $as_echo_n "(cached) " >&6
5119 if test -n "$NM"; then
5120 # Let the user override the test.
5123 lt_nm_to_check="${ac_tool_prefix}nm"
5124 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5125 lt_nm_to_check="$lt_nm_to_check nm"
5127 for lt_tmp_nm in $lt_nm_to_check; do
5128 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5129 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5131 test -z "$ac_dir" && ac_dir=.
5132 tmp_nm="$ac_dir/$lt_tmp_nm"
5133 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5134 # Check to see if the nm accepts a BSD-compat flag.
5135 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5136 # nm: unknown option "B" ignored
5137 # Tru64's nm complains that /dev/null is an invalid object file
5138 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5139 */dev/null* | *'Invalid file or object type'*)
5140 lt_cv_path_NM="$tmp_nm -B"
5144 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5146 lt_cv_path_NM="$tmp_nm -p"
5150 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5151 continue # so that we can try to find one that supports BSD flags
5160 : ${lt_cv_path_NM=no}
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5164 $as_echo "$lt_cv_path_NM" >&6; }
5165 if test "$lt_cv_path_NM" != "no"; then
5168 # Didn't find any BSD compatible name lister, look for dumpbin.
5169 if test -n "$DUMPBIN"; then :
5170 # Let the user override the test.
5172 if test -n "$ac_tool_prefix"; then
5173 for ac_prog in dumpbin "link -dump"
5175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5176 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_DUMPBIN+:} false; then :
5180 $as_echo_n "(cached) " >&6
5182 if test -n "$DUMPBIN"; then
5183 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 test -z "$as_dir" && as_dir=.
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 DUMPBIN=$ac_cv_prog_DUMPBIN
5203 if test -n "$DUMPBIN"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5205 $as_echo "$DUMPBIN" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 test -n "$DUMPBIN" && break
5215 if test -z "$DUMPBIN"; then
5216 ac_ct_DUMPBIN=$DUMPBIN
5217 for ac_prog in dumpbin "link -dump"
5219 # Extract the first word of "$ac_prog", so it can be a program name with args.
5220 set dummy $ac_prog; ac_word=$2
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5222 $as_echo_n "checking for $ac_word... " >&6; }
5223 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5224 $as_echo_n "(cached) " >&6
5226 if test -n "$ac_ct_DUMPBIN"; then
5227 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5233 test -z "$as_dir" && as_dir=.
5234 for ac_exec_ext in '' $ac_executable_extensions; do
5235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5236 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5247 if test -n "$ac_ct_DUMPBIN"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5249 $as_echo "$ac_ct_DUMPBIN" >&6; }
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252 $as_echo "no" >&6; }
5256 test -n "$ac_ct_DUMPBIN" && break
5259 if test "x$ac_ct_DUMPBIN" = x; then
5262 case $cross_compiling:$ac_tool_warned in
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5266 ac_tool_warned=yes ;;
5268 DUMPBIN=$ac_ct_DUMPBIN
5272 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5274 DUMPBIN="$DUMPBIN -symbols"
5282 if test "$DUMPBIN" != ":"; then
5286 test -z "$NM" && NM=nm
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5294 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5295 if ${lt_cv_nm_interface+:} false; then :
5296 $as_echo_n "(cached) " >&6
5298 lt_cv_nm_interface="BSD nm"
5299 echo "int some_variable = 0;" > conftest.$ac_ext
5300 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5301 (eval "$ac_compile" 2>conftest.err)
5302 cat conftest.err >&5
5303 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5304 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5305 cat conftest.err >&5
5306 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5307 cat conftest.out >&5
5308 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5309 lt_cv_nm_interface="MS dumpbin"
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5314 $as_echo "$lt_cv_nm_interface" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5317 $as_echo_n "checking whether ln -s works... " >&6; }
5319 if test "$LN_S" = "ln -s"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5321 $as_echo "yes" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5324 $as_echo "no, using $LN_S" >&6; }
5327 # find the maximum length of command line arguments
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5329 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5330 if ${lt_cv_sys_max_cmd_len+:} false; then :
5331 $as_echo_n "(cached) " >&6
5338 # On DJGPP, this test can blow up pretty badly due to problems in libc
5339 # (any single argument exceeding 2000 bytes causes a buffer overrun
5340 # during glob expansion). Even if it were fixed, the result of this
5341 # check would be larger than it should be.
5342 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5346 # Under GNU Hurd, this test is not required because there is
5347 # no limit to the length of command line arguments.
5348 # Libtool will interpret -1 as no limit whatsoever
5349 lt_cv_sys_max_cmd_len=-1;
5352 cygwin* | mingw* | cegcc*)
5353 # On Win9x/ME, this test blows up -- it succeeds, but takes
5354 # about 5 minutes as the teststring grows exponentially.
5355 # Worse, since 9x/ME are not pre-emptively multitasking,
5356 # you end up with a "frozen" computer, even though with patience
5357 # the test eventually succeeds (with a max line length of 256k).
5358 # Instead, let's just punt: use the minimum linelength reported by
5359 # all of the supported platforms: 8192 (on NT/2K/XP).
5360 lt_cv_sys_max_cmd_len=8192;
5364 # On MiNT this can take a long time and run out of memory.
5365 lt_cv_sys_max_cmd_len=8192;
5369 # On AmigaOS with pdksh, this test takes hours, literally.
5370 # So we just punt and use a minimum line length of 8192.
5371 lt_cv_sys_max_cmd_len=8192;
5374 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5375 # This has been around since 386BSD, at least. Likely further.
5376 if test -x /sbin/sysctl; then
5377 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5378 elif test -x /usr/sbin/sysctl; then
5379 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5381 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5383 # And add a safety zone
5384 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5385 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5389 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5390 lt_cv_sys_max_cmd_len=196608
5394 # The test takes a long time on OS/2.
5395 lt_cv_sys_max_cmd_len=8192
5399 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5400 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5401 # nice to cause kernel panics so lets avoid the loop below.
5402 # First set a reasonable default.
5403 lt_cv_sys_max_cmd_len=16384
5405 if test -x /sbin/sysconfig; then
5406 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5407 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5412 lt_cv_sys_max_cmd_len=102400
5414 sysv5* | sco5v6* | sysv4.2uw2*)
5415 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5416 if test -n "$kargmax"; then
5417 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5419 lt_cv_sys_max_cmd_len=32768
5423 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5424 if test -n "$lt_cv_sys_max_cmd_len" && \
5425 test undefined != "$lt_cv_sys_max_cmd_len"; then
5426 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5427 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5429 # Make teststring a little bigger before we do anything with it.
5430 # a 1K string should be a reasonable start.
5431 for i in 1 2 3 4 5 6 7 8 ; do
5432 teststring=$teststring$teststring
5434 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5435 # If test is not a shell built-in, we'll probably end up computing a
5436 # maximum length that is only half of the actual maximum length, but
5438 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5439 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5440 test $i != 17 # 1/2 MB should be enough
5443 teststring=$teststring$teststring
5445 # Only check the string length outside the loop.
5446 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5448 # Add a significant safety factor because C++ compilers can tack on
5449 # massive amounts of additional arguments before passing them to the
5450 # linker. It appears as though 1/2 is a usable value.
5451 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5458 if test -n $lt_cv_sys_max_cmd_len ; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5460 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5463 $as_echo "none" >&6; }
5465 max_cmd_len=$lt_cv_sys_max_cmd_len
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5477 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5478 # Try some XSI features
5481 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5483 && eval 'test $(( 1 + 1 )) -eq 2 \
5484 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5487 $as_echo "$xsi_shell" >&6; }
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5491 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5493 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5495 && lt_shell_append=yes
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5497 $as_echo "$lt_shell_append" >&6; }
5500 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5510 # test EBCDIC or ASCII
5511 case `echo X|tr X '\101'` in
5512 A) # ASCII based system
5513 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5514 lt_SP2NL='tr \040 \012'
5515 lt_NL2SP='tr \015\012 \040\040'
5517 *) # EBCDIC based system
5518 lt_SP2NL='tr \100 \n'
5519 lt_NL2SP='tr \r\n \100\100'
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5532 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5533 if ${lt_cv_to_host_file_cmd+:} false; then :
5534 $as_echo_n "(cached) " >&6
5539 *-*-mingw* ) # actually msys
5540 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5543 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5545 * ) # otherwise, assume *nix
5546 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5552 *-*-mingw* ) # actually msys
5553 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5556 lt_cv_to_host_file_cmd=func_convert_file_noop
5558 * ) # otherwise, assume *nix
5559 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5563 * ) # unhandled hosts (and "normal" native builds)
5564 lt_cv_to_host_file_cmd=func_convert_file_noop
5570 to_host_file_cmd=$lt_cv_to_host_file_cmd
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5572 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5579 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5580 if ${lt_cv_to_tool_file_cmd+:} false; then :
5581 $as_echo_n "(cached) " >&6
5583 #assume ordinary cross tools, or native build.
5584 lt_cv_to_tool_file_cmd=func_convert_file_noop
5588 *-*-mingw* ) # actually msys
5589 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5597 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5599 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5606 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5607 if ${lt_cv_ld_reload_flag+:} false; then :
5608 $as_echo_n "(cached) " >&6
5610 lt_cv_ld_reload_flag='-r'
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5613 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5614 reload_flag=$lt_cv_ld_reload_flag
5615 case $reload_flag in
5617 *) reload_flag=" $reload_flag" ;;
5619 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5621 cygwin* | mingw* | pw32* | cegcc*)
5622 if test "$GCC" != yes; then
5627 if test "$GCC" = yes; then
5628 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5630 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5643 if test -n "$ac_tool_prefix"; then
5644 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5645 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if ${ac_cv_prog_OBJDUMP+:} false; then :
5649 $as_echo_n "(cached) " >&6
5651 if test -n "$OBJDUMP"; then
5652 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5661 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 OBJDUMP=$ac_cv_prog_OBJDUMP
5672 if test -n "$OBJDUMP"; then
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5674 $as_echo "$OBJDUMP" >&6; }
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5682 if test -z "$ac_cv_prog_OBJDUMP"; then
5683 ac_ct_OBJDUMP=$OBJDUMP
5684 # Extract the first word of "objdump", so it can be a program name with args.
5685 set dummy objdump; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5689 $as_echo_n "(cached) " >&6
5691 if test -n "$ac_ct_OBJDUMP"; then
5692 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir=.
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5712 if test -n "$ac_ct_OBJDUMP"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5714 $as_echo "$ac_ct_OBJDUMP" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5720 if test "x$ac_ct_OBJDUMP" = x; then
5723 case $cross_compiling:$ac_tool_warned in
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5727 ac_tool_warned=yes ;;
5729 OBJDUMP=$ac_ct_OBJDUMP
5732 OBJDUMP="$ac_cv_prog_OBJDUMP"
5735 test -z "$OBJDUMP" && OBJDUMP=objdump
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5743 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5744 if ${lt_cv_deplibs_check_method+:} false; then :
5745 $as_echo_n "(cached) " >&6
5747 lt_cv_file_magic_cmd='$MAGIC_CMD'
5748 lt_cv_file_magic_test_file=
5749 lt_cv_deplibs_check_method='unknown'
5750 # Need to set the preceding variable on all platforms that support
5751 # interlibrary dependencies.
5752 # 'none' -- dependencies not supported.
5753 # `unknown' -- same as none, but documents that we really don't know.
5754 # 'pass_all' -- all dependencies passed with no checks.
5755 # 'test_compile' -- check by making test program.
5756 # 'file_magic [[regex]]' -- check by looking for files in library path
5757 # which responds to the $file_magic_cmd with a given extended regex.
5758 # If you have `file' or equivalent on your system and you're not sure
5759 # whether `pass_all' will *always* work, you probably want this one.
5763 lt_cv_deplibs_check_method=pass_all
5767 lt_cv_deplibs_check_method=pass_all
5771 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5772 lt_cv_file_magic_cmd='/usr/bin/file -L'
5773 lt_cv_file_magic_test_file=/shlib/libc.so
5777 # func_win32_libid is a shell function defined in ltmain.sh
5778 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5779 lt_cv_file_magic_cmd='func_win32_libid'
5783 # Base MSYS/MinGW do not provide the 'file' command needed by
5784 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5785 # unless we find 'file', for example because we are cross-compiling.
5786 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5787 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5788 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5789 lt_cv_file_magic_cmd='func_win32_libid'
5791 # Keep this pattern in sync with the one in func_win32_libid.
5792 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5793 lt_cv_file_magic_cmd='$OBJDUMP -f'
5798 # use the weaker test based on 'objdump'. See mingw*.
5799 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5800 lt_cv_file_magic_cmd='$OBJDUMP -f'
5803 darwin* | rhapsody*)
5804 lt_cv_deplibs_check_method=pass_all
5807 freebsd* | dragonfly*)
5808 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5811 # Not sure whether the presence of OpenBSD here was a mistake.
5812 # Let's accept both of them until this is cleared up.
5813 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5814 lt_cv_file_magic_cmd=/usr/bin/file
5815 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5819 lt_cv_deplibs_check_method=pass_all
5824 lt_cv_deplibs_check_method=pass_all
5827 hpux10.20* | hpux11*)
5828 lt_cv_file_magic_cmd=/usr/bin/file
5831 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5832 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5835 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]'
5836 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5839 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5840 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5846 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5847 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5850 irix5* | irix6* | nonstopux*)
5852 *-32|*"-32 ") libmagic=32-bit;;
5853 *-n32|*"-n32 ") libmagic=N32;;
5854 *-64|*"-64 ") libmagic=64-bit;;
5855 *) libmagic=never-match;;
5857 lt_cv_deplibs_check_method=pass_all
5860 # This must be glibc/ELF.
5861 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5862 lt_cv_deplibs_check_method=pass_all
5865 netbsd* | netbsdelf*-gnu)
5866 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5867 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5869 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5874 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5875 lt_cv_file_magic_cmd=/usr/bin/file
5876 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5880 lt_cv_deplibs_check_method=pass_all
5884 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5885 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5887 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5891 osf3* | osf4* | osf5*)
5892 lt_cv_deplibs_check_method=pass_all
5896 lt_cv_deplibs_check_method=pass_all
5900 lt_cv_deplibs_check_method=pass_all
5903 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5904 lt_cv_deplibs_check_method=pass_all
5908 case $host_vendor in
5910 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]'
5911 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5914 lt_cv_deplibs_check_method=pass_all
5917 lt_cv_file_magic_cmd='/bin/file'
5918 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5921 lt_cv_file_magic_cmd='/bin/file'
5922 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5923 lt_cv_file_magic_test_file=/lib/libc.so
5926 lt_cv_deplibs_check_method=pass_all
5929 lt_cv_deplibs_check_method=pass_all
5935 lt_cv_deplibs_check_method=pass_all
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5941 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5945 if test "$build" = "$host"; then
5948 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5951 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5957 file_magic_cmd=$lt_cv_file_magic_cmd
5958 deplibs_check_method=$lt_cv_deplibs_check_method
5959 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5982 if test -n "$ac_tool_prefix"; then
5983 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5984 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5986 $as_echo_n "checking for $ac_word... " >&6; }
5987 if ${ac_cv_prog_DLLTOOL+:} false; then :
5988 $as_echo_n "(cached) " >&6
5990 if test -n "$DLLTOOL"; then
5991 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 test -z "$as_dir" && as_dir=.
5998 for ac_exec_ext in '' $ac_executable_extensions; do
5999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6000 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6010 DLLTOOL=$ac_cv_prog_DLLTOOL
6011 if test -n "$DLLTOOL"; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6013 $as_echo "$DLLTOOL" >&6; }
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 $as_echo "no" >&6; }
6021 if test -z "$ac_cv_prog_DLLTOOL"; then
6022 ac_ct_DLLTOOL=$DLLTOOL
6023 # Extract the first word of "dlltool", so it can be a program name with args.
6024 set dummy dlltool; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6028 $as_echo_n "(cached) " >&6
6030 if test -n "$ac_ct_DLLTOOL"; then
6031 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 test -z "$as_dir" && as_dir=.
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6051 if test -n "$ac_ct_DLLTOOL"; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6053 $as_echo "$ac_ct_DLLTOOL" >&6; }
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6059 if test "x$ac_ct_DLLTOOL" = x; then
6062 case $cross_compiling:$ac_tool_warned in
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6066 ac_tool_warned=yes ;;
6068 DLLTOOL=$ac_ct_DLLTOOL
6071 DLLTOOL="$ac_cv_prog_DLLTOOL"
6074 test -z "$DLLTOOL" && DLLTOOL=dlltool
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6083 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6084 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6085 $as_echo_n "(cached) " >&6
6087 lt_cv_sharedlib_from_linklib_cmd='unknown'
6090 cygwin* | mingw* | pw32* | cegcc*)
6091 # two different shell functions defined in ltmain.sh
6092 # decide which to use based on capabilities of $DLLTOOL
6093 case `$DLLTOOL --help 2>&1` in
6094 *--identify-strict*)
6095 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6098 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6103 # fallback: assume linklib IS sharedlib
6104 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6110 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6111 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6112 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6120 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_AR+:} false; then :
6128 $as_echo_n "(cached) " >&6
6130 if test -n "$AR"; then
6131 ac_cv_prog_AR="$AR" # Let the user override the test.
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6151 if test -n "$AR"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6153 $as_echo "$AR" >&6; }
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6160 test -n "$AR" && break
6163 if test -z "$AR"; then
6167 # Extract the first word of "$ac_prog", so it can be a program name with args.
6168 set dummy $ac_prog; ac_word=$2
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6170 $as_echo_n "checking for $ac_word... " >&6; }
6171 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6172 $as_echo_n "(cached) " >&6
6174 if test -n "$ac_ct_AR"; then
6175 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181 test -z "$as_dir" && as_dir=.
6182 for ac_exec_ext in '' $ac_executable_extensions; do
6183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6184 ac_cv_prog_ac_ct_AR="$ac_prog"
6185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6194 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6195 if test -n "$ac_ct_AR"; then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6197 $as_echo "$ac_ct_AR" >&6; }
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 $as_echo "no" >&6; }
6204 test -n "$ac_ct_AR" && break
6207 if test "x$ac_ct_AR" = x; then
6210 case $cross_compiling:$ac_tool_warned in
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6214 ac_tool_warned=yes ;;
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6234 $as_echo_n "checking for archiver @FILE support... " >&6; }
6235 if ${lt_cv_ar_at_file+:} false; then :
6236 $as_echo_n "(cached) " >&6
6239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6250 if ac_fn_c_try_compile "$LINENO"; then :
6251 echo conftest.$ac_objext > conftest.lst
6252 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6253 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6254 (eval $lt_ar_try) 2>&5
6256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6257 test $ac_status = 0; }
6258 if test "$ac_status" -eq 0; then
6259 # Ensure the archiver fails upon bogus file names.
6260 rm -f conftest.$ac_objext libconftest.a
6261 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6262 (eval $lt_ar_try) 2>&5
6264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6265 test $ac_status = 0; }
6266 if test "$ac_status" -ne 0; then
6270 rm -f conftest.* libconftest.a
6273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6277 $as_echo "$lt_cv_ar_at_file" >&6; }
6279 if test "x$lt_cv_ar_at_file" = xno; then
6282 archiver_list_spec=$lt_cv_ar_at_file
6291 if test -n "$ac_tool_prefix"; then
6292 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6293 set dummy ${ac_tool_prefix}strip; ac_word=$2
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6295 $as_echo_n "checking for $ac_word... " >&6; }
6296 if ${ac_cv_prog_STRIP+:} false; then :
6297 $as_echo_n "(cached) " >&6
6299 if test -n "$STRIP"; then
6300 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6306 test -z "$as_dir" && as_dir=.
6307 for ac_exec_ext in '' $ac_executable_extensions; do
6308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6309 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 STRIP=$ac_cv_prog_STRIP
6320 if test -n "$STRIP"; then
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6322 $as_echo "$STRIP" >&6; }
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6325 $as_echo "no" >&6; }
6330 if test -z "$ac_cv_prog_STRIP"; then
6332 # Extract the first word of "strip", so it can be a program name with args.
6333 set dummy strip; ac_word=$2
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6335 $as_echo_n "checking for $ac_word... " >&6; }
6336 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6337 $as_echo_n "(cached) " >&6
6339 if test -n "$ac_ct_STRIP"; then
6340 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6346 test -z "$as_dir" && as_dir=.
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6349 ac_cv_prog_ac_ct_STRIP="strip"
6350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6359 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6360 if test -n "$ac_ct_STRIP"; then
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6362 $as_echo "$ac_ct_STRIP" >&6; }
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6365 $as_echo "no" >&6; }
6368 if test "x$ac_ct_STRIP" = x; then
6371 case $cross_compiling:$ac_tool_warned in
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6375 ac_tool_warned=yes ;;
6380 STRIP="$ac_cv_prog_STRIP"
6383 test -z "$STRIP" && STRIP=:
6390 if test -n "$ac_tool_prefix"; then
6391 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6392 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_prog_RANLIB+:} false; then :
6396 $as_echo_n "(cached) " >&6
6398 if test -n "$RANLIB"; then
6399 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405 test -z "$as_dir" && as_dir=.
6406 for ac_exec_ext in '' $ac_executable_extensions; do
6407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6408 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6418 RANLIB=$ac_cv_prog_RANLIB
6419 if test -n "$RANLIB"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6421 $as_echo "$RANLIB" >&6; }
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6429 if test -z "$ac_cv_prog_RANLIB"; then
6430 ac_ct_RANLIB=$RANLIB
6431 # Extract the first word of "ranlib", so it can be a program name with args.
6432 set dummy ranlib; ac_word=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434 $as_echo_n "checking for $ac_word... " >&6; }
6435 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6436 $as_echo_n "(cached) " >&6
6438 if test -n "$ac_ct_RANLIB"; then
6439 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 test -z "$as_dir" && as_dir=.
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_ac_ct_RANLIB="ranlib"
6449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6459 if test -n "$ac_ct_RANLIB"; then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6461 $as_echo "$ac_ct_RANLIB" >&6; }
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6467 if test "x$ac_ct_RANLIB" = x; then
6470 case $cross_compiling:$ac_tool_warned in
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6474 ac_tool_warned=yes ;;
6476 RANLIB=$ac_ct_RANLIB
6479 RANLIB="$ac_cv_prog_RANLIB"
6482 test -z "$RANLIB" && RANLIB=:
6489 # Determine commands to create old-style static archives.
6490 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6491 old_postinstall_cmds='chmod 644 $oldlib'
6492 old_postuninstall_cmds=
6494 if test -n "$RANLIB"; then
6497 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6500 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6503 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6508 lock_old_archive_extraction=yes ;;
6510 lock_old_archive_extraction=no ;;
6551 # If no C compiler was specified, use CC.
6554 # If no C compiler flags were specified, use CFLAGS.
6555 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6557 # Allow CC to be a program name with arguments.
6561 # Check for command to grab the raw symbol name followed by C symbol from nm.
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6563 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6564 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6565 $as_echo_n "(cached) " >&6
6568 # These are sane defaults that work on at least a few old systems.
6569 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6571 # Character class describing NM global symbol codes.
6572 symcode='[BCDEGRST]'
6574 # Regexp to match symbols that can be accessed directly from C.
6575 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6577 # Define system-specific variables.
6582 cygwin* | mingw* | pw32* | cegcc*)
6583 symcode='[ABCDGISTW]'
6586 if test "$host_cpu" = ia64; then
6587 symcode='[ABCDEGRST]'
6591 symcode='[BCDEGRST]'
6594 symcode='[BCDEGQRST]'
6605 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6613 # If we're using GNU nm, then use its standard symbol codes.
6614 case `$NM -V 2>&1` in
6615 *GNU* | *'with BFD'*)
6616 symcode='[ABCDGIRSTW]' ;;
6619 # Transform an extracted symbol line into a proper C declaration.
6620 # Some systems (esp. on ia64) link data and code symbols differently,
6621 # so use this general approach.
6622 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6624 # Transform an extracted symbol line into symbol name and symbol address
6625 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6626 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6628 # Handle CRLF in mingw tool chain
6632 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6636 # Try without a prefix underscore, then with it.
6637 for ac_symprfx in "" "_"; do
6639 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6640 symxfrm="\\1 $ac_symprfx\\2 \\2"
6642 # Write the raw and C identifiers.
6643 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6644 # Fake it for dumpbin and say T for any non-static function
6645 # and D for any global variable.
6646 # Also find C++ and __fastcall symbols from MSVC++,
6647 # which start with @ or ?.
6648 lt_cv_sys_global_symbol_pipe="$AWK '"\
6649 " {last_section=section; section=\$ 3};"\
6650 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6651 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6652 " \$ 0!~/External *\|/{next};"\
6653 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6654 " {if(hide[section]) next};"\
6655 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6656 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6657 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6658 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6659 " ' prfx=^$ac_symprfx"
6661 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6663 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6665 # Check to see that the pipe works correctly.
6669 cat > conftest.$ac_ext <<_LT_EOF
6674 void nm_test_func(void);
6675 void nm_test_func(void){}
6679 int main(){nm_test_var='a';nm_test_func();return(0);}
6682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6683 (eval $ac_compile) 2>&5
6685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6686 test $ac_status = 0; }; then
6687 # Now try to grab the symbols.
6689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6690 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6693 test $ac_status = 0; } && test -s "$nlist"; then
6694 # Try sorting and uniquifying the output.
6695 if sort "$nlist" | uniq > "$nlist"T; then
6696 mv -f "$nlist"T "$nlist"
6701 # Make sure that we snagged all the symbols we need.
6702 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6703 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6704 cat <<_LT_EOF > conftest.$ac_ext
6705 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6706 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6707 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6708 relocations are performed -- see ld's documentation on pseudo-relocs. */
6709 # define LT_DLSYM_CONST
6710 #elif defined(__osf__)
6711 /* This system does not cope well with relocations in const data. */
6712 # define LT_DLSYM_CONST
6714 # define LT_DLSYM_CONST const
6722 # Now generate the symbol file.
6723 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6725 cat <<_LT_EOF >> conftest.$ac_ext
6727 /* The mapping between symbol names and symbols. */
6728 LT_DLSYM_CONST struct {
6732 lt__PROGRAM__LTX_preloaded_symbols[] =
6734 { "@PROGRAM@", (void *) 0 },
6736 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6737 cat <<\_LT_EOF >> conftest.$ac_ext
6741 /* This works around a problem in FreeBSD linker */
6742 #ifdef FREEBSD_WORKAROUND
6743 static const void *lt_preloaded_setup() {
6744 return lt__PROGRAM__LTX_preloaded_symbols;
6752 # Now try linking the two files.
6753 mv conftest.$ac_objext conftstm.$ac_objext
6754 lt_globsym_save_LIBS=$LIBS
6755 lt_globsym_save_CFLAGS=$CFLAGS
6756 LIBS="conftstm.$ac_objext"
6757 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6759 (eval $ac_link) 2>&5
6761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6762 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6765 LIBS=$lt_globsym_save_LIBS
6766 CFLAGS=$lt_globsym_save_CFLAGS
6768 echo "cannot find nm_test_func in $nlist" >&5
6771 echo "cannot find nm_test_var in $nlist" >&5
6774 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6777 echo "$progname: failed program was:" >&5
6778 cat conftest.$ac_ext >&5
6780 rm -rf conftest* conftst*
6782 # Do not use the global_symbol_pipe unless it works.
6783 if test "$pipe_works" = yes; then
6786 lt_cv_sys_global_symbol_pipe=
6792 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6793 lt_cv_sys_global_symbol_to_cdecl=
6795 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6797 $as_echo "failed" >&6; }
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6800 $as_echo "ok" >&6; }
6803 # Response file support.
6804 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6805 nm_file_list_spec='@'
6806 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6807 nm_file_list_spec='@'
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6837 $as_echo_n "checking for sysroot... " >&6; }
6839 # Check whether --with-sysroot was given.
6840 if test "${with_sysroot+set}" = set; then :
6841 withval=$with_sysroot;
6848 case ${with_sysroot} in #(
6850 if test "$GCC" = yes; then
6851 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6855 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6861 $as_echo "${with_sysroot}" >&6; }
6862 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6867 $as_echo "${lt_sysroot:-no}" >&6; }
6873 # Check whether --enable-libtool-lock was given.
6874 if test "${enable_libtool_lock+set}" = set; then :
6875 enableval=$enable_libtool_lock;
6878 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6880 # Some flags need to be propagated to the compiler or linker for good
6884 # Find out which ABI we are using.
6885 echo 'int i;' > conftest.$ac_ext
6886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6887 (eval $ac_compile) 2>&5
6889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6890 test $ac_status = 0; }; then
6891 case `/usr/bin/file conftest.$ac_objext` in
6903 # Find out which ABI we are using.
6904 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6906 (eval $ac_compile) 2>&5
6908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6909 test $ac_status = 0; }; then
6910 if test "$lt_cv_prog_gnu_ld" = yes; then
6911 case `/usr/bin/file conftest.$ac_objext` in
6913 LD="${LD-ld} -melf32bsmip"
6916 LD="${LD-ld} -melf32bmipn32"
6919 LD="${LD-ld} -melf64bmip"
6923 case `/usr/bin/file conftest.$ac_objext` in
6939 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6940 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6941 # Find out which ABI we are using.
6942 echo 'int i;' > conftest.$ac_ext
6943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6944 (eval $ac_compile) 2>&5
6946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6947 test $ac_status = 0; }; then
6948 case `/usr/bin/file conftest.o` in
6951 x86_64-*kfreebsd*-gnu)
6952 LD="${LD-ld} -m elf_i386_fbsd"
6955 case `/usr/bin/file conftest.o` in
6957 LD="${LD-ld} -m elf32_x86_64"
6960 LD="${LD-ld} -m elf_i386"
6965 LD="${LD-ld} -m elf32lppclinux"
6968 LD="${LD-ld} -m elf32ppclinux"
6971 LD="${LD-ld} -m elf_s390"
6974 LD="${LD-ld} -m elf32_sparc"
6980 x86_64-*kfreebsd*-gnu)
6981 LD="${LD-ld} -m elf_x86_64_fbsd"
6984 LD="${LD-ld} -m elf_x86_64"
6987 LD="${LD-ld} -m elf64lppc"
6990 LD="${LD-ld} -m elf64ppc"
6992 s390*-*linux*|s390*-*tpf*)
6993 LD="${LD-ld} -m elf64_s390"
6996 LD="${LD-ld} -m elf64_sparc"
7006 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7007 SAVE_CFLAGS="$CFLAGS"
7008 CFLAGS="$CFLAGS -belf"
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7010 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7011 if ${lt_cv_cc_needs_belf+:} false; then :
7012 $as_echo_n "(cached) " >&6
7015 ac_cpp='$CPP $CPPFLAGS'
7016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7031 if ac_fn_c_try_link "$LINENO"; then :
7032 lt_cv_cc_needs_belf=yes
7034 lt_cv_cc_needs_belf=no
7036 rm -f core conftest.err conftest.$ac_objext \
7037 conftest$ac_exeext conftest.$ac_ext
7039 ac_cpp='$CPP $CPPFLAGS'
7040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7046 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7047 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7048 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7049 CFLAGS="$SAVE_CFLAGS"
7053 # Find out which ABI we are using.
7054 echo 'int i;' > conftest.$ac_ext
7055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7056 (eval $ac_compile) 2>&5
7058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7059 test $ac_status = 0; }; then
7060 case `/usr/bin/file conftest.o` in
7062 case $lt_cv_prog_gnu_ld in
7066 LD="${LD-ld} -m elf_x86_64"
7069 LD="${LD-ld} -m elf64_sparc"
7072 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7073 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7078 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7090 need_locks="$enable_libtool_lock"
7092 if test -n "$ac_tool_prefix"; then
7093 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7094 set dummy ${ac_tool_prefix}mt; ac_word=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7098 $as_echo_n "(cached) " >&6
7100 if test -n "$MANIFEST_TOOL"; then
7101 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107 test -z "$as_dir" && as_dir=.
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7121 if test -n "$MANIFEST_TOOL"; then
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7123 $as_echo "$MANIFEST_TOOL" >&6; }
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7131 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7132 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7133 # Extract the first word of "mt", so it can be a program name with args.
7134 set dummy mt; ac_word=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7138 $as_echo_n "(cached) " >&6
7140 if test -n "$ac_ct_MANIFEST_TOOL"; then
7141 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 test -z "$as_dir" && as_dir=.
7148 for ac_exec_ext in '' $ac_executable_extensions; do
7149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7161 if test -n "$ac_ct_MANIFEST_TOOL"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7163 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7169 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7172 case $cross_compiling:$ac_tool_warned in
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7176 ac_tool_warned=yes ;;
7178 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7181 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7184 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7186 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7187 if ${lt_cv_path_mainfest_tool+:} false; then :
7188 $as_echo_n "(cached) " >&6
7190 lt_cv_path_mainfest_tool=no
7191 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7192 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7193 cat conftest.err >&5
7194 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7195 lt_cv_path_mainfest_tool=yes
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7200 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7201 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7211 rhapsody* | darwin*)
7212 if test -n "$ac_tool_prefix"; then
7213 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7214 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7218 $as_echo_n "(cached) " >&6
7220 if test -n "$DSYMUTIL"; then
7221 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7240 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7241 if test -n "$DSYMUTIL"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7243 $as_echo "$DSYMUTIL" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7251 if test -z "$ac_cv_prog_DSYMUTIL"; then
7252 ac_ct_DSYMUTIL=$DSYMUTIL
7253 # Extract the first word of "dsymutil", so it can be a program name with args.
7254 set dummy dsymutil; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256 $as_echo_n "checking for $ac_word... " >&6; }
7257 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7258 $as_echo_n "(cached) " >&6
7260 if test -n "$ac_ct_DSYMUTIL"; then
7261 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7280 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7281 if test -n "$ac_ct_DSYMUTIL"; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7283 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 $as_echo "no" >&6; }
7289 if test "x$ac_ct_DSYMUTIL" = x; then
7292 case $cross_compiling:$ac_tool_warned in
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7296 ac_tool_warned=yes ;;
7298 DSYMUTIL=$ac_ct_DSYMUTIL
7301 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7304 if test -n "$ac_tool_prefix"; then
7305 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_NMEDIT+:} false; then :
7310 $as_echo_n "(cached) " >&6
7312 if test -n "$NMEDIT"; then
7313 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332 NMEDIT=$ac_cv_prog_NMEDIT
7333 if test -n "$NMEDIT"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7335 $as_echo "$NMEDIT" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7343 if test -z "$ac_cv_prog_NMEDIT"; then
7344 ac_ct_NMEDIT=$NMEDIT
7345 # Extract the first word of "nmedit", so it can be a program name with args.
7346 set dummy nmedit; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7350 $as_echo_n "(cached) " >&6
7352 if test -n "$ac_ct_NMEDIT"; then
7353 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7373 if test -n "$ac_ct_NMEDIT"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7375 $as_echo "$ac_ct_NMEDIT" >&6; }
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7381 if test "x$ac_ct_NMEDIT" = x; then
7384 case $cross_compiling:$ac_tool_warned in
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7390 NMEDIT=$ac_ct_NMEDIT
7393 NMEDIT="$ac_cv_prog_NMEDIT"
7396 if test -n "$ac_tool_prefix"; then
7397 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7398 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7400 $as_echo_n "checking for $ac_word... " >&6; }
7401 if ${ac_cv_prog_LIPO+:} false; then :
7402 $as_echo_n "(cached) " >&6
7404 if test -n "$LIPO"; then
7405 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7414 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7424 LIPO=$ac_cv_prog_LIPO
7425 if test -n "$LIPO"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7427 $as_echo "$LIPO" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7435 if test -z "$ac_cv_prog_LIPO"; then
7437 # Extract the first word of "lipo", so it can be a program name with args.
7438 set dummy lipo; 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_ac_ct_LIPO+:} false; then :
7442 $as_echo_n "(cached) " >&6
7444 if test -n "$ac_ct_LIPO"; then
7445 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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_ac_ct_LIPO="lipo"
7455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7464 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7465 if test -n "$ac_ct_LIPO"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7467 $as_echo "$ac_ct_LIPO" >&6; }
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 $as_echo "no" >&6; }
7473 if test "x$ac_ct_LIPO" = x; then
7476 case $cross_compiling:$ac_tool_warned in
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7480 ac_tool_warned=yes ;;
7485 LIPO="$ac_cv_prog_LIPO"
7488 if test -n "$ac_tool_prefix"; then
7489 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7490 set dummy ${ac_tool_prefix}otool; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7492 $as_echo_n "checking for $ac_word... " >&6; }
7493 if ${ac_cv_prog_OTOOL+:} false; then :
7494 $as_echo_n "(cached) " >&6
7496 if test -n "$OTOOL"; then
7497 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7506 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 OTOOL=$ac_cv_prog_OTOOL
7517 if test -n "$OTOOL"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7519 $as_echo "$OTOOL" >&6; }
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7527 if test -z "$ac_cv_prog_OTOOL"; then
7529 # Extract the first word of "otool", so it can be a program name with args.
7530 set dummy otool; 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_ac_ct_OTOOL+:} false; then :
7534 $as_echo_n "(cached) " >&6
7536 if test -n "$ac_ct_OTOOL"; then
7537 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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_ac_ct_OTOOL="otool"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7556 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7557 if test -n "$ac_ct_OTOOL"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7559 $as_echo "$ac_ct_OTOOL" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7565 if test "x$ac_ct_OTOOL" = x; then
7568 case $cross_compiling:$ac_tool_warned in
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7572 ac_tool_warned=yes ;;
7577 OTOOL="$ac_cv_prog_OTOOL"
7580 if test -n "$ac_tool_prefix"; then
7581 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7582 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if ${ac_cv_prog_OTOOL64+:} false; then :
7586 $as_echo_n "(cached) " >&6
7588 if test -n "$OTOOL64"; then
7589 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 test -z "$as_dir" && as_dir=.
7596 for ac_exec_ext in '' $ac_executable_extensions; do
7597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7598 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 OTOOL64=$ac_cv_prog_OTOOL64
7609 if test -n "$OTOOL64"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7611 $as_echo "$OTOOL64" >&6; }
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7619 if test -z "$ac_cv_prog_OTOOL64"; then
7620 ac_ct_OTOOL64=$OTOOL64
7621 # Extract the first word of "otool64", so it can be a program name with args.
7622 set dummy otool64; 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_ac_ct_OTOOL64+:} false; then :
7626 $as_echo_n "(cached) " >&6
7628 if test -n "$ac_ct_OTOOL64"; then
7629 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # 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_ac_ct_OTOOL64="otool64"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7648 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7649 if test -n "$ac_ct_OTOOL64"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7651 $as_echo "$ac_ct_OTOOL64" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7657 if test "x$ac_ct_OTOOL64" = x; then
7660 case $cross_compiling:$ac_tool_warned in
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7664 ac_tool_warned=yes ;;
7666 OTOOL64=$ac_ct_OTOOL64
7669 OTOOL64="$ac_cv_prog_OTOOL64"
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7699 $as_echo_n "checking for -single_module linker flag... " >&6; }
7700 if ${lt_cv_apple_cc_single_mod+:} false; then :
7701 $as_echo_n "(cached) " >&6
7703 lt_cv_apple_cc_single_mod=no
7704 if test -z "${LT_MULTI_MODULE}"; then
7705 # By default we will add the -single_module flag. You can override
7706 # by either setting the environment variable LT_MULTI_MODULE
7707 # non-empty at configure time, or by adding -multi_module to the
7709 rm -rf libconftest.dylib*
7710 echo "int foo(void){return 1;}" > conftest.c
7711 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7712 -dynamiclib -Wl,-single_module conftest.c" >&5
7713 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7714 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7716 # If there is a non-empty error log, and "single_module"
7717 # appears in it, assume the flag caused a linker warning
7718 if test -s conftest.err && $GREP single_module conftest.err; then
7719 cat conftest.err >&5
7720 # Otherwise, if the output was created with a 0 exit code from
7721 # the compiler, it worked.
7722 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7723 lt_cv_apple_cc_single_mod=yes
7725 cat conftest.err >&5
7727 rm -rf libconftest.dylib*
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7732 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7735 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7736 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7737 $as_echo_n "(cached) " >&6
7739 lt_cv_ld_exported_symbols_list=no
7740 save_LDFLAGS=$LDFLAGS
7741 echo "_main" > conftest.sym
7742 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7744 /* end confdefs.h. */
7754 if ac_fn_c_try_link "$LINENO"; then :
7755 lt_cv_ld_exported_symbols_list=yes
7757 lt_cv_ld_exported_symbols_list=no
7759 rm -f core conftest.err conftest.$ac_objext \
7760 conftest$ac_exeext conftest.$ac_ext
7761 LDFLAGS="$save_LDFLAGS"
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7765 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7768 $as_echo_n "checking for -force_load linker flag... " >&6; }
7769 if ${lt_cv_ld_force_load+:} false; then :
7770 $as_echo_n "(cached) " >&6
7772 lt_cv_ld_force_load=no
7773 cat > conftest.c << _LT_EOF
7774 int forced_loaded() { return 2;}
7776 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7777 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7778 echo "$AR cru libconftest.a conftest.o" >&5
7779 $AR cru libconftest.a conftest.o 2>&5
7780 echo "$RANLIB libconftest.a" >&5
7781 $RANLIB libconftest.a 2>&5
7782 cat > conftest.c << _LT_EOF
7783 int main() { return 0;}
7785 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7786 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7788 if test -s conftest.err && $GREP force_load conftest.err; then
7789 cat conftest.err >&5
7790 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7791 lt_cv_ld_force_load=yes
7793 cat conftest.err >&5
7795 rm -f conftest.err libconftest.a conftest conftest.c
7796 rm -rf conftest.dSYM
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7800 $as_echo "$lt_cv_ld_force_load" >&6; }
7802 rhapsody* | darwin1.[012])
7803 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7805 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7806 darwin*) # darwin 5.x on
7807 # if running on 10.5 or later, the deployment target defaults
7808 # to the OS version, if on x86, and 10.4, the deployment
7809 # target defaults to 10.4. Don't you love it?
7810 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7811 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7812 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7814 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7816 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7820 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7821 _lt_dar_single_mod='$single_module'
7823 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7824 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7826 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7828 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7829 _lt_dsymutil='~$DSYMUTIL $lib || :'
7836 for ac_header in dlfcn.h
7838 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7840 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7841 cat >>confdefs.h <<_ACEOF
7842 #define HAVE_DLFCN_H 1
7855 # Check whether --enable-static was given.
7856 if test "${enable_static+set}" = set; then :
7857 enableval=$enable_static; p=${PACKAGE-default}
7859 yes) enable_static=yes ;;
7860 no) enable_static=no ;;
7863 # Look at the argument we got. We use all the common list separators.
7864 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7865 for pkg in $enableval; do
7867 if test "X$pkg" = "X$p"; then
7884 enable_win32_dll=yes
7887 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7888 if test -n "$ac_tool_prefix"; then
7889 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7890 set dummy ${ac_tool_prefix}as; ac_word=$2
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7892 $as_echo_n "checking for $ac_word... " >&6; }
7893 if ${ac_cv_prog_AS+:} false; then :
7894 $as_echo_n "(cached) " >&6
7896 if test -n "$AS"; then
7897 ac_cv_prog_AS="$AS" # Let the user override the test.
7899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903 test -z "$as_dir" && as_dir=.
7904 for ac_exec_ext in '' $ac_executable_extensions; do
7905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906 ac_cv_prog_AS="${ac_tool_prefix}as"
7907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7917 if test -n "$AS"; then
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7919 $as_echo "$AS" >&6; }
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922 $as_echo "no" >&6; }
7927 if test -z "$ac_cv_prog_AS"; then
7929 # Extract the first word of "as", so it can be a program name with args.
7930 set dummy as; ac_word=$2
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932 $as_echo_n "checking for $ac_word... " >&6; }
7933 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7934 $as_echo_n "(cached) " >&6
7936 if test -n "$ac_ct_AS"; then
7937 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943 test -z "$as_dir" && as_dir=.
7944 for ac_exec_ext in '' $ac_executable_extensions; do
7945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7946 ac_cv_prog_ac_ct_AS="as"
7947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7957 if test -n "$ac_ct_AS"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7959 $as_echo "$ac_ct_AS" >&6; }
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962 $as_echo "no" >&6; }
7965 if test "x$ac_ct_AS" = x; then
7968 case $cross_compiling:$ac_tool_warned in
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7972 ac_tool_warned=yes ;;
7980 if test -n "$ac_tool_prefix"; then
7981 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7982 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if ${ac_cv_prog_DLLTOOL+:} false; then :
7986 $as_echo_n "(cached) " >&6
7988 if test -n "$DLLTOOL"; then
7989 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8008 DLLTOOL=$ac_cv_prog_DLLTOOL
8009 if test -n "$DLLTOOL"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8011 $as_echo "$DLLTOOL" >&6; }
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8019 if test -z "$ac_cv_prog_DLLTOOL"; then
8020 ac_ct_DLLTOOL=$DLLTOOL
8021 # Extract the first word of "dlltool", so it can be a program name with args.
8022 set dummy dlltool; ac_word=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024 $as_echo_n "checking for $ac_word... " >&6; }
8025 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8026 $as_echo_n "(cached) " >&6
8028 if test -n "$ac_ct_DLLTOOL"; then
8029 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8035 test -z "$as_dir" && as_dir=.
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8048 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8049 if test -n "$ac_ct_DLLTOOL"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8051 $as_echo "$ac_ct_DLLTOOL" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8057 if test "x$ac_ct_DLLTOOL" = x; then
8060 case $cross_compiling:$ac_tool_warned in
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8064 ac_tool_warned=yes ;;
8066 DLLTOOL=$ac_ct_DLLTOOL
8069 DLLTOOL="$ac_cv_prog_DLLTOOL"
8072 if test -n "$ac_tool_prefix"; then
8073 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8074 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8076 $as_echo_n "checking for $ac_word... " >&6; }
8077 if ${ac_cv_prog_OBJDUMP+:} false; then :
8078 $as_echo_n "(cached) " >&6
8080 if test -n "$OBJDUMP"; then
8081 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8087 test -z "$as_dir" && as_dir=.
8088 for ac_exec_ext in '' $ac_executable_extensions; do
8089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8090 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8100 OBJDUMP=$ac_cv_prog_OBJDUMP
8101 if test -n "$OBJDUMP"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8103 $as_echo "$OBJDUMP" >&6; }
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106 $as_echo "no" >&6; }
8111 if test -z "$ac_cv_prog_OBJDUMP"; then
8112 ac_ct_OBJDUMP=$OBJDUMP
8113 # Extract the first word of "objdump", so it can be a program name with args.
8114 set dummy objdump; ac_word=$2
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8116 $as_echo_n "checking for $ac_word... " >&6; }
8117 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8118 $as_echo_n "(cached) " >&6
8120 if test -n "$ac_ct_OBJDUMP"; then
8121 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8127 test -z "$as_dir" && as_dir=.
8128 for ac_exec_ext in '' $ac_executable_extensions; do
8129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8130 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8141 if test -n "$ac_ct_OBJDUMP"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8143 $as_echo "$ac_ct_OBJDUMP" >&6; }
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146 $as_echo "no" >&6; }
8149 if test "x$ac_ct_OBJDUMP" = x; then
8152 case $cross_compiling:$ac_tool_warned in
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8156 ac_tool_warned=yes ;;
8158 OBJDUMP=$ac_ct_OBJDUMP
8161 OBJDUMP="$ac_cv_prog_OBJDUMP"
8167 test -z "$AS" && AS=as
8173 test -z "$DLLTOOL" && DLLTOOL=dlltool
8179 test -z "$OBJDUMP" && OBJDUMP=objdump
8189 # Check whether --enable-shared was given.
8190 if test "${enable_shared+set}" = set; then :
8191 enableval=$enable_shared; p=${PACKAGE-default}
8193 yes) enable_shared=yes ;;
8194 no) enable_shared=no ;;
8197 # Look at the argument we got. We use all the common list separators.
8198 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8199 for pkg in $enableval; do
8201 if test "X$pkg" = "X$p"; then
8222 # Check whether --with-pic was given.
8223 if test "${with_pic+set}" = set; then :
8224 withval=$with_pic; lt_p=${PACKAGE-default}
8226 yes|no) pic_mode=$withval ;;
8229 # Look at the argument we got. We use all the common list separators.
8230 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8231 for lt_pkg in $withval; do
8233 if test "X$lt_pkg" = "X$lt_p"; then
8245 test -z "$pic_mode" && pic_mode=default
8253 # Check whether --enable-fast-install was given.
8254 if test "${enable_fast_install+set}" = set; then :
8255 enableval=$enable_fast_install; p=${PACKAGE-default}
8257 yes) enable_fast_install=yes ;;
8258 no) enable_fast_install=no ;;
8260 enable_fast_install=no
8261 # Look at the argument we got. We use all the common list separators.
8262 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8263 for pkg in $enableval; do
8265 if test "X$pkg" = "X$p"; then
8266 enable_fast_install=yes
8273 enable_fast_install=yes
8286 # This can be used to rebuild libtool when needed
8287 LIBTOOL_DEPS="$ltmain"
8289 # Always use our own libtool.
8290 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8321 test -z "$LN_S" && LN_S="ln -s"
8336 if test -n "${ZSH_VERSION+set}" ; then
8337 setopt NO_GLOB_SUBST
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8341 $as_echo_n "checking for objdir... " >&6; }
8342 if ${lt_cv_objdir+:} false; then :
8343 $as_echo_n "(cached) " >&6
8345 rm -f .libs 2>/dev/null
8346 mkdir .libs 2>/dev/null
8347 if test -d .libs; then
8350 # MS-DOS does not allow filenames that begin with a dot.
8353 rmdir .libs 2>/dev/null
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8356 $as_echo "$lt_cv_objdir" >&6; }
8357 objdir=$lt_cv_objdir
8363 cat >>confdefs.h <<_ACEOF
8364 #define LT_OBJDIR "$lt_cv_objdir/"
8372 # AIX sometimes has problems with the GCC collect2 program. For some
8373 # reason, if we set the COLLECT_NAMES environment variable, the problems
8374 # vanish in a puff of smoke.
8375 if test "X${COLLECT_NAMES+set}" != Xset; then
8377 export COLLECT_NAMES
8384 can_build_shared=yes
8386 # All known linkers require a `.a' archive for static linking (except MSVC,
8387 # which needs '.lib').
8390 with_gnu_ld="$lt_cv_prog_gnu_ld"
8393 old_CFLAGS="$CFLAGS"
8395 # Set sane defaults for various variables
8396 test -z "$CC" && CC=cc
8397 test -z "$LTCC" && LTCC=$CC
8398 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8399 test -z "$LD" && LD=ld
8400 test -z "$ac_objext" && ac_objext=o
8402 for cc_temp in $compiler""; do
8404 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8405 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8410 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8413 # Only perform the check for file, if the check method requires it
8414 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8415 case $deplibs_check_method in
8417 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8419 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8420 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8421 $as_echo_n "(cached) " >&6
8425 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8428 lt_save_MAGIC_CMD="$MAGIC_CMD"
8429 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8430 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8431 for ac_dir in $ac_dummy; do
8433 test -z "$ac_dir" && ac_dir=.
8434 if test -f $ac_dir/${ac_tool_prefix}file; then
8435 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8436 if test -n "$file_magic_test_file"; then
8437 case $deplibs_check_method in
8439 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8440 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8441 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8442 $EGREP "$file_magic_regex" > /dev/null; then
8447 *** Warning: the command libtool uses to detect shared libraries,
8448 *** $file_magic_cmd, produces output that libtool cannot recognize.
8449 *** The result is that libtool may fail to recognize shared libraries
8450 *** as such. This will affect the creation of libtool libraries that
8451 *** depend on shared libraries, but programs linked with such libtool
8452 *** libraries will work regardless of this problem. Nevertheless, you
8453 *** may want to report the problem to your system manager and/or to
8454 *** bug-libtool@gnu.org
8464 MAGIC_CMD="$lt_save_MAGIC_CMD"
8469 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8470 if test -n "$MAGIC_CMD"; then
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8472 $as_echo "$MAGIC_CMD" >&6; }
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8475 $as_echo "no" >&6; }
8482 if test -z "$lt_cv_path_MAGIC_CMD"; then
8483 if test -n "$ac_tool_prefix"; then
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8485 $as_echo_n "checking for file... " >&6; }
8486 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8487 $as_echo_n "(cached) " >&6
8491 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8494 lt_save_MAGIC_CMD="$MAGIC_CMD"
8495 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8496 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8497 for ac_dir in $ac_dummy; do
8499 test -z "$ac_dir" && ac_dir=.
8500 if test -f $ac_dir/file; then
8501 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8502 if test -n "$file_magic_test_file"; then
8503 case $deplibs_check_method in
8505 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8506 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8507 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8508 $EGREP "$file_magic_regex" > /dev/null; then
8513 *** Warning: the command libtool uses to detect shared libraries,
8514 *** $file_magic_cmd, produces output that libtool cannot recognize.
8515 *** The result is that libtool may fail to recognize shared libraries
8516 *** as such. This will affect the creation of libtool libraries that
8517 *** depend on shared libraries, but programs linked with such libtool
8518 *** libraries will work regardless of this problem. Nevertheless, you
8519 *** may want to report the problem to your system manager and/or to
8520 *** bug-libtool@gnu.org
8530 MAGIC_CMD="$lt_save_MAGIC_CMD"
8535 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8536 if test -n "$MAGIC_CMD"; then
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8538 $as_echo "$MAGIC_CMD" >&6; }
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8541 $as_echo "no" >&6; }
8554 # Use C for the default configuration in the libtool script
8558 ac_cpp='$CPP $CPPFLAGS'
8559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8564 # Source file extension for C test sources.
8567 # Object file extension for compiled C test sources.
8571 # Code to be used in simple compile tests
8572 lt_simple_compile_test_code="int some_variable = 0;"
8574 # Code to be used in simple link tests
8575 lt_simple_link_test_code='int main(){return(0);}'
8583 # If no C compiler was specified, use CC.
8586 # If no C compiler flags were specified, use CFLAGS.
8587 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8589 # Allow CC to be a program name with arguments.
8592 # Save the default compiler, since it gets overwritten when the other
8593 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8594 compiler_DEFAULT=$CC
8596 # save warnings/boilerplate of simple test code
8597 ac_outfile=conftest.$ac_objext
8598 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8599 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8600 _lt_compiler_boilerplate=`cat conftest.err`
8603 ac_outfile=conftest.$ac_objext
8604 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8605 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8606 _lt_linker_boilerplate=`cat conftest.err`
8611 ## There is no encapsulation within the following macros, do not change
8612 ## the running order or otherwise move them around unless you know exactly
8613 ## what you are doing...
8614 if test -n "$compiler"; then
8616 lt_prog_compiler_no_builtin_flag=
8618 if test "$GCC" = yes; then
8619 case $cc_basename in
8621 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8623 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8627 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8628 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8629 $as_echo_n "(cached) " >&6
8631 lt_cv_prog_compiler_rtti_exceptions=no
8632 ac_outfile=conftest.$ac_objext
8633 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8634 lt_compiler_flag="-fno-rtti -fno-exceptions"
8635 # Insert the option either (1) after the last *FLAGS variable, or
8636 # (2) before a word containing "conftest.", or (3) at the end.
8637 # Note that $ac_compile itself does not contain backslashes and begins
8638 # with a dollar sign (not a hyphen), so the echo should work correctly.
8639 # The option is referenced via a variable to avoid confusing sed.
8640 lt_compile=`echo "$ac_compile" | $SED \
8641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8643 -e 's:$: $lt_compiler_flag:'`
8644 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8645 (eval "$lt_compile" 2>conftest.err)
8647 cat conftest.err >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 if (exit $ac_status) && test -s "$ac_outfile"; then
8650 # The compiler can only warn and ignore the option if not recognized
8651 # So say no if there are warnings other than the usual output.
8652 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8653 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8654 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8655 lt_cv_prog_compiler_rtti_exceptions=yes
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8662 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8664 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8665 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8677 lt_prog_compiler_wl=
8678 lt_prog_compiler_pic=
8679 lt_prog_compiler_static=
8682 if test "$GCC" = yes; then
8683 lt_prog_compiler_wl='-Wl,'
8684 lt_prog_compiler_static='-static'
8688 # All AIX code is PIC.
8689 if test "$host_cpu" = ia64; then
8690 # AIX 5 now supports IA64 processor
8691 lt_prog_compiler_static='-Bstatic'
8698 # see comment about AmigaOS4 .so support
8699 lt_prog_compiler_pic='-fPIC'
8702 # FIXME: we need at least 68020 code to build shared libraries, but
8703 # adding the `-m68020' flag to GCC prevents building anything better,
8705 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8710 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8711 # PIC is the default for these OSes.
8714 mingw* | cygwin* | pw32* | os2* | cegcc*)
8715 # This hack is so that the source file can tell whether it is being
8716 # built for inclusion in a dll (and should export symbols for example).
8717 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8718 # (--disable-auto-import) libraries
8719 lt_prog_compiler_pic='-DDLL_EXPORT'
8722 darwin* | rhapsody*)
8723 # PIC is the default on this platform
8724 # Common symbols not allowed in MH_DYLIB files
8725 lt_prog_compiler_pic='-fno-common'
8729 # PIC is the default for Haiku.
8730 # The "-static" flag exists, but is broken.
8731 lt_prog_compiler_static=
8735 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8736 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8737 # sets the default TLS model and affects inlining.
8743 lt_prog_compiler_pic='-fPIC'
8749 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8750 # Instead, we relocate shared libraries at runtime.
8754 # Just because we use GCC doesn't mean we suddenly get shared libraries
8755 # on systems that don't support them.
8756 lt_prog_compiler_can_build_shared=no
8761 # QNX uses GNU C++, but need to define -shared option too, otherwise
8763 lt_prog_compiler_pic='-fPIC -shared'
8767 if test -d /usr/nec; then
8768 lt_prog_compiler_pic=-Kconform_pic
8773 lt_prog_compiler_pic='-fPIC'
8777 case $cc_basename in
8778 nvcc*) # Cuda Compiler Driver 2.2
8779 lt_prog_compiler_wl='-Xlinker '
8780 if test -n "$lt_prog_compiler_pic"; then
8781 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8786 # PORTME Check for flag to pass linker flags through the system compiler.
8789 lt_prog_compiler_wl='-Wl,'
8790 if test "$host_cpu" = ia64; then
8791 # AIX 5 now supports IA64 processor
8792 lt_prog_compiler_static='-Bstatic'
8794 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8798 mingw* | cygwin* | pw32* | os2* | cegcc*)
8799 # This hack is so that the source file can tell whether it is being
8800 # built for inclusion in a dll (and should export symbols for example).
8801 lt_prog_compiler_pic='-DDLL_EXPORT'
8804 hpux9* | hpux10* | hpux11*)
8805 lt_prog_compiler_wl='-Wl,'
8806 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8813 lt_prog_compiler_pic='+Z'
8816 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8817 lt_prog_compiler_static='${wl}-a ${wl}archive'
8820 irix5* | irix6* | nonstopux*)
8821 lt_prog_compiler_wl='-Wl,'
8822 # PIC (with -KPIC) is the default.
8823 lt_prog_compiler_static='-non_shared'
8826 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8827 case $cc_basename in
8828 # old Intel for x86_64 which still supported -KPIC.
8830 lt_prog_compiler_wl='-Wl,'
8831 lt_prog_compiler_pic='-KPIC'
8832 lt_prog_compiler_static='-static'
8834 # icc used to be incompatible with GCC.
8835 # ICC 10 doesn't accept -KPIC any more.
8837 lt_prog_compiler_wl='-Wl,'
8838 lt_prog_compiler_pic='-fPIC'
8839 lt_prog_compiler_static='-static'
8841 # Lahey Fortran 8.1.
8843 lt_prog_compiler_wl='-Wl,'
8844 lt_prog_compiler_pic='--shared'
8845 lt_prog_compiler_static='--static'
8848 # NAG Fortran compiler
8849 lt_prog_compiler_wl='-Wl,-Wl,,'
8850 lt_prog_compiler_pic='-PIC'
8851 lt_prog_compiler_static='-Bstatic'
8853 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8854 # Portland Group compilers (*not* the Pentium gcc compiler,
8855 # which looks to be a dead project)
8856 lt_prog_compiler_wl='-Wl,'
8857 lt_prog_compiler_pic='-fpic'
8858 lt_prog_compiler_static='-Bstatic'
8861 lt_prog_compiler_wl='-Wl,'
8862 # All Alpha code is PIC.
8863 lt_prog_compiler_static='-non_shared'
8865 xl* | bgxl* | bgf* | mpixl*)
8866 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8867 lt_prog_compiler_wl='-Wl,'
8868 lt_prog_compiler_pic='-qpic'
8869 lt_prog_compiler_static='-qstaticlink'
8872 case `$CC -V 2>&1 | sed 5q` in
8873 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8874 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8875 lt_prog_compiler_pic='-KPIC'
8876 lt_prog_compiler_static='-Bstatic'
8877 lt_prog_compiler_wl=''
8879 *Sun\ F* | *Sun*Fortran*)
8880 lt_prog_compiler_pic='-KPIC'
8881 lt_prog_compiler_static='-Bstatic'
8882 lt_prog_compiler_wl='-Qoption ld '
8886 lt_prog_compiler_pic='-KPIC'
8887 lt_prog_compiler_static='-Bstatic'
8888 lt_prog_compiler_wl='-Wl,'
8890 *Intel*\ [CF]*Compiler*)
8891 lt_prog_compiler_wl='-Wl,'
8892 lt_prog_compiler_pic='-fPIC'
8893 lt_prog_compiler_static='-static'
8896 lt_prog_compiler_wl='-Wl,'
8897 lt_prog_compiler_pic='-fpic'
8898 lt_prog_compiler_static='-Bstatic'
8906 lt_prog_compiler_pic='-KPIC'
8907 lt_prog_compiler_static='-Bstatic'
8911 # QNX uses GNU C++, but need to define -shared option too, otherwise
8913 lt_prog_compiler_pic='-fPIC -shared'
8916 osf3* | osf4* | osf5*)
8917 lt_prog_compiler_wl='-Wl,'
8918 # All OSF/1 code is PIC.
8919 lt_prog_compiler_static='-non_shared'
8923 lt_prog_compiler_static='-non_shared'
8927 lt_prog_compiler_pic='-KPIC'
8928 lt_prog_compiler_static='-Bstatic'
8929 case $cc_basename in
8930 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8931 lt_prog_compiler_wl='-Qoption ld ';;
8933 lt_prog_compiler_wl='-Wl,';;
8938 lt_prog_compiler_wl='-Qoption ld '
8939 lt_prog_compiler_pic='-PIC'
8940 lt_prog_compiler_static='-Bstatic'
8943 sysv4 | sysv4.2uw2* | sysv4.3*)
8944 lt_prog_compiler_wl='-Wl,'
8945 lt_prog_compiler_pic='-KPIC'
8946 lt_prog_compiler_static='-Bstatic'
8950 if test -d /usr/nec ;then
8951 lt_prog_compiler_pic='-Kconform_pic'
8952 lt_prog_compiler_static='-Bstatic'
8956 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8957 lt_prog_compiler_wl='-Wl,'
8958 lt_prog_compiler_pic='-KPIC'
8959 lt_prog_compiler_static='-Bstatic'
8963 lt_prog_compiler_wl='-Wl,'
8964 lt_prog_compiler_can_build_shared=no
8968 lt_prog_compiler_pic='-pic'
8969 lt_prog_compiler_static='-Bstatic'
8973 lt_prog_compiler_can_build_shared=no
8979 # For platforms which do not support PIC, -DPIC is meaningless:
8981 lt_prog_compiler_pic=
8984 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8989 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8990 if ${lt_cv_prog_compiler_pic+:} false; then :
8991 $as_echo_n "(cached) " >&6
8993 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8996 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8997 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9000 # Check to make sure the PIC flag actually works.
9002 if test -n "$lt_prog_compiler_pic"; then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9004 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9005 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9006 $as_echo_n "(cached) " >&6
9008 lt_cv_prog_compiler_pic_works=no
9009 ac_outfile=conftest.$ac_objext
9010 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9011 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9012 # Insert the option either (1) after the last *FLAGS variable, or
9013 # (2) before a word containing "conftest.", or (3) at the end.
9014 # Note that $ac_compile itself does not contain backslashes and begins
9015 # with a dollar sign (not a hyphen), so the echo should work correctly.
9016 # The option is referenced via a variable to avoid confusing sed.
9017 lt_compile=`echo "$ac_compile" | $SED \
9018 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9019 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9020 -e 's:$: $lt_compiler_flag:'`
9021 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9022 (eval "$lt_compile" 2>conftest.err)
9024 cat conftest.err >&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 if (exit $ac_status) && test -s "$ac_outfile"; then
9027 # The compiler can only warn and ignore the option if not recognized
9028 # So say no if there are warnings other than the usual output.
9029 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9030 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9031 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9032 lt_cv_prog_compiler_pic_works=yes
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9039 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9041 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9042 case $lt_prog_compiler_pic in
9044 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9047 lt_prog_compiler_pic=
9048 lt_prog_compiler_can_build_shared=no
9064 # Check to make sure the static flag actually works.
9066 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9068 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9069 if ${lt_cv_prog_compiler_static_works+:} false; then :
9070 $as_echo_n "(cached) " >&6
9072 lt_cv_prog_compiler_static_works=no
9073 save_LDFLAGS="$LDFLAGS"
9074 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9075 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9076 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9077 # The linker can only warn and ignore the option if not recognized
9078 # So say no if there are warnings
9079 if test -s conftest.err; then
9080 # Append any errors to the config.log.
9081 cat conftest.err 1>&5
9082 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9083 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9084 if diff conftest.exp conftest.er2 >/dev/null; then
9085 lt_cv_prog_compiler_static_works=yes
9088 lt_cv_prog_compiler_static_works=yes
9092 LDFLAGS="$save_LDFLAGS"
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9096 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9098 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9101 lt_prog_compiler_static=
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9111 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9112 if ${lt_cv_prog_compiler_c_o+:} false; then :
9113 $as_echo_n "(cached) " >&6
9115 lt_cv_prog_compiler_c_o=no
9116 $RM -r conftest 2>/dev/null
9120 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9122 lt_compiler_flag="-o out/conftest2.$ac_objext"
9123 # Insert the option either (1) after the last *FLAGS variable, or
9124 # (2) before a word containing "conftest.", or (3) at the end.
9125 # Note that $ac_compile itself does not contain backslashes and begins
9126 # with a dollar sign (not a hyphen), so the echo should work correctly.
9127 lt_compile=`echo "$ac_compile" | $SED \
9128 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9129 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9130 -e 's:$: $lt_compiler_flag:'`
9131 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9132 (eval "$lt_compile" 2>out/conftest.err)
9134 cat out/conftest.err >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9138 # The compiler can only warn and ignore the option if not recognized
9139 # So say no if there are warnings
9140 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9141 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9142 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9143 lt_cv_prog_compiler_c_o=yes
9148 # SGI C++ compiler will create directory out/ii_files/ for
9149 # template instantiation
9150 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9151 $RM out/* && rmdir out
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9158 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9166 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9167 if ${lt_cv_prog_compiler_c_o+:} false; then :
9168 $as_echo_n "(cached) " >&6
9170 lt_cv_prog_compiler_c_o=no
9171 $RM -r conftest 2>/dev/null
9175 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9177 lt_compiler_flag="-o out/conftest2.$ac_objext"
9178 # Insert the option either (1) after the last *FLAGS variable, or
9179 # (2) before a word containing "conftest.", or (3) at the end.
9180 # Note that $ac_compile itself does not contain backslashes and begins
9181 # with a dollar sign (not a hyphen), so the echo should work correctly.
9182 lt_compile=`echo "$ac_compile" | $SED \
9183 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9184 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9185 -e 's:$: $lt_compiler_flag:'`
9186 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9187 (eval "$lt_compile" 2>out/conftest.err)
9189 cat out/conftest.err >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9193 # The compiler can only warn and ignore the option if not recognized
9194 # So say no if there are warnings
9195 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9196 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9197 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9198 lt_cv_prog_compiler_c_o=yes
9203 # SGI C++ compiler will create directory out/ii_files/ for
9204 # template instantiation
9205 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9206 $RM out/* && rmdir out
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9213 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9218 hard_links="nottested"
9219 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9220 # do not overwrite the value of need_locks provided by the user
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9222 $as_echo_n "checking if we can lock with hard links... " >&6; }
9225 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9227 ln conftest.a conftest.b 2>&5 || hard_links=no
9228 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9230 $as_echo "$hard_links" >&6; }
9231 if test "$hard_links" = no; then
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9233 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9246 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9249 allow_undefined_flag=
9250 always_export_symbols=no
9252 archive_expsym_cmds=
9253 compiler_needs_object=no
9254 enable_shared_with_static_runtimes=no
9255 export_dynamic_flag_spec=
9256 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9257 hardcode_automatic=no
9259 hardcode_direct_absolute=no
9260 hardcode_libdir_flag_spec=
9261 hardcode_libdir_separator=
9263 hardcode_shlibpath_var=unsupported
9265 link_all_deplibs=unknown
9268 old_archive_from_new_cmds=
9269 old_archive_from_expsyms_cmds=
9270 thread_safe_flag_spec=
9271 whole_archive_flag_spec=
9272 # include_expsyms should be a list of space-separated symbols to be *always*
9273 # included in the symbol list
9275 # exclude_expsyms can be an extended regexp of symbols to exclude
9276 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9277 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9278 # as well as any symbol that contains `d'.
9279 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9280 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9281 # platforms (ab)use it in PIC code, but their linkers get confused if
9282 # the symbol is explicitly referenced. Since portable code cannot
9283 # rely on this symbol name, it's probably fine to never include it in
9284 # preloaded symbol tables.
9285 # Exclude shared library initialization/finalization symbols.
9286 extract_expsyms_cmds=
9289 cygwin* | mingw* | pw32* | cegcc*)
9290 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9291 # When not using gcc, we currently assume that we are using
9292 # Microsoft Visual C++.
9293 if test "$GCC" != yes; then
9298 # we just hope/assume this is gcc and not c89 (= MSVC++)
9304 linux* | k*bsd*-gnu | gnu*)
9311 # On some targets, GNU ld is compatible enough with the native linker
9312 # that we're better off using the native interface for both.
9313 lt_use_gnu_ld_interface=no
9314 if test "$with_gnu_ld" = yes; then
9317 # The AIX port of GNU ld has always aspired to compatibility
9318 # with the native linker. However, as the warning in the GNU ld
9319 # block says, versions before 2.19.5* couldn't really create working
9320 # shared libraries, regardless of the interface used.
9321 case `$LD -v 2>&1` in
9322 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9323 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9324 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9326 lt_use_gnu_ld_interface=yes
9331 lt_use_gnu_ld_interface=yes
9336 if test "$lt_use_gnu_ld_interface" = yes; then
9337 # If archive_cmds runs LD, not CC, wlarc should be empty
9340 # Set some defaults for GNU ld with shared library support. These
9341 # are reset later if shared libraries are not supported. Putting them
9342 # here allows them to be overridden if necessary.
9343 runpath_var=LD_RUN_PATH
9344 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9345 export_dynamic_flag_spec='${wl}--export-dynamic'
9346 # ancient GNU ld didn't support --whole-archive et. al.
9347 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9348 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9350 whole_archive_flag_spec=
9352 supports_anon_versioning=no
9353 case `$LD -v 2>&1` in
9354 *GNU\ gold*) supports_anon_versioning=yes ;;
9355 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9356 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9357 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9358 *\ 2.11.*) ;; # other 2.11 versions
9359 *) supports_anon_versioning=yes ;;
9362 # See if GNU ld supports shared libraries.
9365 # On AIX/PPC, the GNU linker is very broken
9366 if test "$host_cpu" != ia64; then
9370 *** Warning: the GNU linker, at least up to release 2.19, is reported
9371 *** to be unable to reliably create shared libraries on AIX.
9372 *** Therefore, libtool is disabling shared libraries support. If you
9373 *** really care for shared libraries, you may want to install binutils
9374 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9375 *** You will then need to restart the configuration process.
9384 # see comment about AmigaOS4 .so support
9385 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9386 archive_expsym_cmds=''
9389 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)'
9390 hardcode_libdir_flag_spec='-L$libdir'
9391 hardcode_minus_L=yes
9397 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9398 allow_undefined_flag=unsupported
9399 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9400 # support --undefined. This deserves some investigation. FIXME
9401 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9407 cygwin* | mingw* | pw32* | cegcc*)
9408 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9409 # as there is no search path for DLLs.
9410 hardcode_libdir_flag_spec='-L$libdir'
9411 export_dynamic_flag_spec='${wl}--export-all-symbols'
9412 allow_undefined_flag=unsupported
9413 always_export_symbols=no
9414 enable_shared_with_static_runtimes=yes
9415 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'
9416 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9418 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9419 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9420 # If the export-symbols file already is a .def file (1st line
9421 # is EXPORTS), use it as is; otherwise, prepend...
9422 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9423 cp $export_symbols $output_objdir/$soname.def;
9425 echo EXPORTS > $output_objdir/$soname.def;
9426 cat $export_symbols >> $output_objdir/$soname.def;
9428 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9435 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9436 link_all_deplibs=yes
9441 hardcode_shlibpath_var=no
9442 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9443 export_dynamic_flag_spec='${wl}-E'
9444 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9445 # Instead, shared libraries are loaded at an image base (0x10000000 by
9446 # default) and relocated if they conflict, which is a slow very memory
9447 # consuming and fragmenting process. To avoid this, we pick a random,
9448 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9449 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9450 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9451 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'
9454 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9456 if test "$host_os" = linux-dietlibc; then
9457 case $cc_basename in
9458 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9461 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9462 && test "$tmp_diet" = no
9464 tmp_addflag=' $pic_flag'
9465 tmp_sharedflag='-shared'
9466 case $cc_basename,$host_cpu in
9467 pgcc*) # Portland Group C compiler
9468 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'
9469 tmp_addflag=' $pic_flag'
9471 pgf77* | pgf90* | pgf95* | pgfortran*)
9472 # Portland Group f77 and f90 compilers
9473 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'
9474 tmp_addflag=' $pic_flag -Mnomain' ;;
9475 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9476 tmp_addflag=' -i_dynamic' ;;
9477 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9478 tmp_addflag=' -i_dynamic -nofor_main' ;;
9479 ifc* | ifort*) # Intel Fortran compiler
9480 tmp_addflag=' -nofor_main' ;;
9481 lf95*) # Lahey Fortran 8.1
9482 whole_archive_flag_spec=
9483 tmp_sharedflag='--shared' ;;
9484 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9485 tmp_sharedflag='-qmkshrobj'
9487 nvcc*) # Cuda Compiler Driver 2.2
9488 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'
9489 compiler_needs_object=yes
9492 case `$CC -V 2>&1 | sed 5q` in
9493 *Sun\ C*) # Sun C 5.9
9494 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'
9495 compiler_needs_object=yes
9496 tmp_sharedflag='-G' ;;
9497 *Sun\ F*) # Sun Fortran 8.3
9498 tmp_sharedflag='-G' ;;
9500 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9502 if test "x$supports_anon_versioning" = xyes; then
9503 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9504 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9505 echo "local: *; };" >> $output_objdir/$libname.ver~
9506 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9509 case $cc_basename in
9510 xlf* | bgf* | bgxlf* | mpixlf*)
9511 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9512 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9513 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9514 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9515 if test "x$supports_anon_versioning" = xyes; then
9516 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9517 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9518 echo "local: *; };" >> $output_objdir/$libname.ver~
9519 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9528 netbsd* | netbsdelf*-gnu)
9529 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9530 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9533 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9534 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9539 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9543 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9544 *** create shared libraries on Solaris systems. Therefore, libtool
9545 *** is disabling shared libraries support. We urge you to upgrade GNU
9546 *** binutils to release 2.9.1 or newer. Another option is to modify
9547 *** your PATH or compiler configuration so that the native linker is
9548 *** used, and then restart.
9551 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9552 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9553 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9559 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9560 case `$LD -v 2>&1` in
9561 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9565 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9566 *** reliably create shared libraries on SCO systems. Therefore, libtool
9567 *** is disabling shared libraries support. We urge you to upgrade GNU
9568 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9569 *** your PATH or compiler configuration so that the native linker is
9570 *** used, and then restart.
9575 # For security reasons, it is highly recommended that you always
9576 # use absolute paths for naming shared libraries, and exclude the
9577 # DT_RUNPATH tag from executables and libraries. But doing so
9578 # requires that you compile everything twice, which is a pain.
9579 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9580 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9581 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9582 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9591 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9594 hardcode_shlibpath_var=no
9598 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9599 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9600 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9607 if test "$ld_shlibs" = no; then
9609 hardcode_libdir_flag_spec=
9610 export_dynamic_flag_spec=
9611 whole_archive_flag_spec=
9614 # PORTME fill in a description of your system's linker (not GNU ld)
9617 allow_undefined_flag=unsupported
9618 always_export_symbols=yes
9619 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'
9620 # Note: this linker hardcodes the directories in LIBPATH if there
9621 # are no directories specified by -L.
9622 hardcode_minus_L=yes
9623 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9624 # Neither direct hardcoding nor static linking is supported with a
9626 hardcode_direct=unsupported
9631 if test "$host_cpu" = ia64; then
9632 # On IA64, the linker does run time linking by default, so we don't
9633 # have to do anything special.
9634 aix_use_runtimelinking=no
9635 exp_sym_flag='-Bexport'
9638 # If we're using GNU nm, then we don't want the "-C" option.
9639 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9640 # Also, AIX nm treats weak defined symbols like other global
9641 # defined symbols, whereas GNU nm marks them as "W".
9642 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9643 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9645 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9647 aix_use_runtimelinking=no
9649 # Test if we are trying to use run time linking or normal
9650 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9651 # need to do runtime linking.
9652 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9653 for ld_flag in $LDFLAGS; do
9654 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9655 aix_use_runtimelinking=yes
9662 exp_sym_flag='-bexport'
9663 no_entry_flag='-bnoentry'
9666 # When large executables or shared objects are built, AIX ld can
9667 # have problems creating the table of contents. If linking a library
9668 # or program results in "error TOC overflow" add -mminimal-toc to
9669 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9670 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9674 hardcode_direct_absolute=yes
9675 hardcode_libdir_separator=':'
9676 link_all_deplibs=yes
9677 file_list_spec='${wl}-f,'
9679 if test "$GCC" = yes; then
9680 case $host_os in aix4.[012]|aix4.[012].*)
9681 # We only want to do this on AIX 4.2 and lower, the check
9682 # below for broken collect2 doesn't work under 4.3+
9683 collect2name=`${CC} -print-prog-name=collect2`
9684 if test -f "$collect2name" &&
9685 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9687 # We have reworked collect2
9690 # We have old collect2
9691 hardcode_direct=unsupported
9692 # It fails to find uninstalled libraries when the uninstalled
9693 # path is not listed in the libpath. Setting hardcode_minus_L
9694 # to unsupported forces relinking
9695 hardcode_minus_L=yes
9696 hardcode_libdir_flag_spec='-L$libdir'
9697 hardcode_libdir_separator=
9701 shared_flag='-shared'
9702 if test "$aix_use_runtimelinking" = yes; then
9703 shared_flag="$shared_flag "'${wl}-G'
9708 if test "$host_cpu" = ia64; then
9709 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9710 # chokes on -Wl,-G. The following line is correct:
9713 if test "$aix_use_runtimelinking" = yes; then
9714 shared_flag='${wl}-G'
9716 shared_flag='${wl}-bM:SRE'
9721 export_dynamic_flag_spec='${wl}-bexpall'
9722 # It seems that -bexpall does not export symbols beginning with
9723 # underscore (_), so it is better to generate a list of symbols to export.
9724 always_export_symbols=yes
9725 if test "$aix_use_runtimelinking" = yes; then
9726 # Warning - without using the other runtime loading flags (-brtl),
9727 # -berok will link without error, but may produce a broken library.
9728 allow_undefined_flag='-berok'
9729 # Determine the default libpath from the value encoded in an
9731 if test "${lt_cv_aix_libpath+set}" = set; then
9732 aix_libpath=$lt_cv_aix_libpath
9734 if ${lt_cv_aix_libpath_+:} false; then :
9735 $as_echo_n "(cached) " >&6
9737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9748 if ac_fn_c_try_link "$LINENO"; then :
9750 lt_aix_libpath_sed='
9751 /Import File Strings/,/^$/ {
9753 s/^0 *\([^ ]*\) *$/\1/
9757 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9758 # Check for a 64-bit object if we didn't find anything.
9759 if test -z "$lt_cv_aix_libpath_"; then
9760 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9763 rm -f core conftest.err conftest.$ac_objext \
9764 conftest$ac_exeext conftest.$ac_ext
9765 if test -z "$lt_cv_aix_libpath_"; then
9766 lt_cv_aix_libpath_="/usr/lib:/lib"
9771 aix_libpath=$lt_cv_aix_libpath_
9774 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9775 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9777 if test "$host_cpu" = ia64; then
9778 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9779 allow_undefined_flag="-z nodefs"
9780 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"
9782 # Determine the default libpath from the value encoded in an
9784 if test "${lt_cv_aix_libpath+set}" = set; then
9785 aix_libpath=$lt_cv_aix_libpath
9787 if ${lt_cv_aix_libpath_+:} false; then :
9788 $as_echo_n "(cached) " >&6
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9791 /* end confdefs.h. */
9801 if ac_fn_c_try_link "$LINENO"; then :
9803 lt_aix_libpath_sed='
9804 /Import File Strings/,/^$/ {
9806 s/^0 *\([^ ]*\) *$/\1/
9810 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9811 # Check for a 64-bit object if we didn't find anything.
9812 if test -z "$lt_cv_aix_libpath_"; then
9813 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9816 rm -f core conftest.err conftest.$ac_objext \
9817 conftest$ac_exeext conftest.$ac_ext
9818 if test -z "$lt_cv_aix_libpath_"; then
9819 lt_cv_aix_libpath_="/usr/lib:/lib"
9824 aix_libpath=$lt_cv_aix_libpath_
9827 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9828 # Warning - without using the other run time loading flags,
9829 # -berok will link without error, but may produce a broken library.
9830 no_undefined_flag=' ${wl}-bernotok'
9831 allow_undefined_flag=' ${wl}-berok'
9832 if test "$with_gnu_ld" = yes; then
9833 # We only use this code for GNU lds that support --whole-archive.
9834 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9836 # Exported symbols can be pulled into shared objects from archives
9837 whole_archive_flag_spec='$convenience'
9839 archive_cmds_need_lc=yes
9840 # This is similar to how AIX traditionally builds its shared libraries.
9841 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9849 # see comment about AmigaOS4 .so support
9850 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9851 archive_expsym_cmds=''
9854 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)'
9855 hardcode_libdir_flag_spec='-L$libdir'
9856 hardcode_minus_L=yes
9862 export_dynamic_flag_spec=-rdynamic
9865 cygwin* | mingw* | pw32* | cegcc*)
9866 # When not using gcc, we currently assume that we are using
9867 # Microsoft Visual C++.
9868 # hardcode_libdir_flag_spec is actually meaningless, as there is
9869 # no search path for DLLs.
9870 case $cc_basename in
9873 hardcode_libdir_flag_spec=' '
9874 allow_undefined_flag=unsupported
9875 always_export_symbols=yes
9877 # Tell ltmain to make .lib files, not .a files.
9879 # Tell ltmain to make .dll files, not .so files.
9881 # FIXME: Setting linknames here is a bad hack.
9882 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9883 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9884 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9886 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9888 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9890 # The linker will not automatically build a static lib if we build a DLL.
9891 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9892 enable_shared_with_static_runtimes=yes
9893 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9894 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9896 old_postinstall_cmds='chmod 644 $oldlib'
9897 postlink_cmds='lt_outputfile="@OUTPUT@"~
9898 lt_tool_outputfile="@TOOL_OUTPUT@"~
9899 case $lt_outputfile in
9902 lt_outputfile="$lt_outputfile.exe"
9903 lt_tool_outputfile="$lt_tool_outputfile.exe"
9906 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9907 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9908 $RM "$lt_outputfile.manifest";
9912 # Assume MSVC wrapper
9913 hardcode_libdir_flag_spec=' '
9914 allow_undefined_flag=unsupported
9915 # Tell ltmain to make .lib files, not .a files.
9917 # Tell ltmain to make .dll files, not .so files.
9919 # FIXME: Setting linknames here is a bad hack.
9920 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9921 # The linker will automatically build a .lib file if we build a DLL.
9922 old_archive_from_new_cmds='true'
9923 # FIXME: Should let the user specify the lib program.
9924 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9925 enable_shared_with_static_runtimes=yes
9930 darwin* | rhapsody*)
9933 archive_cmds_need_lc=no
9935 hardcode_automatic=yes
9936 hardcode_shlibpath_var=unsupported
9937 if test "$lt_cv_ld_force_load" = "yes"; then
9938 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\"`'
9941 whole_archive_flag_spec=''
9943 link_all_deplibs=yes
9944 allow_undefined_flag="$_lt_dar_allow_undefined"
9945 case $cc_basename in
9946 ifort*) _lt_dar_can_shared=yes ;;
9947 *) _lt_dar_can_shared=$GCC ;;
9949 if test "$_lt_dar_can_shared" = "yes"; then
9950 output_verbose_link_cmd=func_echo_all
9951 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9952 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9953 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}"
9954 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}"
9963 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9964 hardcode_libdir_flag_spec='-L$libdir'
9965 hardcode_shlibpath_var=no
9968 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9969 # support. Future versions do this automatically, but an explicit c++rt0.o
9970 # does not break anything, and helps significantly (at the cost of a little
9973 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9974 hardcode_libdir_flag_spec='-R$libdir'
9976 hardcode_shlibpath_var=no
9979 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9981 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9983 hardcode_minus_L=yes
9984 hardcode_shlibpath_var=no
9987 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9988 freebsd* | dragonfly*)
9989 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9990 hardcode_libdir_flag_spec='-R$libdir'
9992 hardcode_shlibpath_var=no
9996 if test "$GCC" = yes; then
9997 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9999 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10001 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10002 hardcode_libdir_separator=:
10003 hardcode_direct=yes
10005 # hardcode_minus_L: Not really in the search PATH,
10006 # but as the default location of the library.
10007 hardcode_minus_L=yes
10008 export_dynamic_flag_spec='${wl}-E'
10012 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10013 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10015 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10017 if test "$with_gnu_ld" = no; then
10018 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10019 hardcode_libdir_separator=:
10020 hardcode_direct=yes
10021 hardcode_direct_absolute=yes
10022 export_dynamic_flag_spec='${wl}-E'
10023 # hardcode_minus_L: Not really in the search PATH,
10024 # but as the default location of the library.
10025 hardcode_minus_L=yes
10030 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10033 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10036 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10039 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10045 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10048 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10052 # Older versions of the 11.00 compiler do not understand -b yet
10053 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10055 $as_echo_n "checking if $CC understands -b... " >&6; }
10056 if ${lt_cv_prog_compiler__b+:} false; then :
10057 $as_echo_n "(cached) " >&6
10059 lt_cv_prog_compiler__b=no
10060 save_LDFLAGS="$LDFLAGS"
10061 LDFLAGS="$LDFLAGS -b"
10062 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10063 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10064 # The linker can only warn and ignore the option if not recognized
10065 # So say no if there are warnings
10066 if test -s conftest.err; then
10067 # Append any errors to the config.log.
10068 cat conftest.err 1>&5
10069 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10070 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10071 if diff conftest.exp conftest.er2 >/dev/null; then
10072 lt_cv_prog_compiler__b=yes
10075 lt_cv_prog_compiler__b=yes
10079 LDFLAGS="$save_LDFLAGS"
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10083 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10085 if test x"$lt_cv_prog_compiler__b" = xyes; then
10086 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10094 if test "$with_gnu_ld" = no; then
10095 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10096 hardcode_libdir_separator=:
10101 hardcode_shlibpath_var=no
10104 hardcode_direct=yes
10105 hardcode_direct_absolute=yes
10106 export_dynamic_flag_spec='${wl}-E'
10108 # hardcode_minus_L: Not really in the search PATH,
10109 # but as the default location of the library.
10110 hardcode_minus_L=yes
10116 irix5* | irix6* | nonstopux*)
10117 if test "$GCC" = yes; then
10118 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'
10119 # Try to use the -exported_symbol ld option, if it does not
10120 # work, assume that -exports_file does not work either and
10121 # implicitly export all symbols.
10122 # This should be the same for all languages, so no per-tag cache variable.
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10124 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10125 if ${lt_cv_irix_exported_symbol+:} false; then :
10126 $as_echo_n "(cached) " >&6
10128 save_LDFLAGS="$LDFLAGS"
10129 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10132 int foo (void) { return 0; }
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 lt_cv_irix_exported_symbol=yes
10137 lt_cv_irix_exported_symbol=no
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LDFLAGS="$save_LDFLAGS"
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10144 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10145 if test "$lt_cv_irix_exported_symbol" = yes; then
10146 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'
10149 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'
10150 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'
10152 archive_cmds_need_lc='no'
10153 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10154 hardcode_libdir_separator=:
10156 link_all_deplibs=yes
10159 netbsd* | netbsdelf*-gnu)
10160 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10161 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10163 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10165 hardcode_libdir_flag_spec='-R$libdir'
10166 hardcode_direct=yes
10167 hardcode_shlibpath_var=no
10171 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10172 hardcode_direct=yes
10173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10174 hardcode_libdir_separator=:
10175 hardcode_shlibpath_var=no
10182 if test -f /usr/libexec/ld.so; then
10183 hardcode_direct=yes
10184 hardcode_shlibpath_var=no
10185 hardcode_direct_absolute=yes
10186 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10187 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10188 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10189 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10190 export_dynamic_flag_spec='${wl}-E'
10193 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10194 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10195 hardcode_libdir_flag_spec='-R$libdir'
10198 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10199 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10209 hardcode_libdir_flag_spec='-L$libdir'
10210 hardcode_minus_L=yes
10211 allow_undefined_flag=unsupported
10212 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10213 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10217 if test "$GCC" = yes; then
10218 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10219 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'
10221 allow_undefined_flag=' -expect_unresolved \*'
10222 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'
10224 archive_cmds_need_lc='no'
10225 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10226 hardcode_libdir_separator=:
10229 osf4* | osf5*) # as osf3* with the addition of -msym flag
10230 if test "$GCC" = yes; then
10231 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10232 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'
10233 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10235 allow_undefined_flag=' -expect_unresolved \*'
10236 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'
10237 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~
10238 $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'
10240 # Both c and cxx compiler support -rpath directly
10241 hardcode_libdir_flag_spec='-rpath $libdir'
10243 archive_cmds_need_lc='no'
10244 hardcode_libdir_separator=:
10248 no_undefined_flag=' -z defs'
10249 if test "$GCC" = yes; then
10251 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10252 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10253 $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'
10255 case `$CC -V 2>&1` in
10258 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10259 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10260 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10264 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10265 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10266 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10270 hardcode_libdir_flag_spec='-R$libdir'
10271 hardcode_shlibpath_var=no
10273 solaris2.[0-5] | solaris2.[0-5].*) ;;
10275 # The compiler driver will combine and reorder linker options,
10276 # but understands `-z linker_flag'. GCC discards it without `$wl',
10277 # but is careful enough not to reorder.
10278 # Supported since Solaris 2.6 (maybe 2.5.1?)
10279 if test "$GCC" = yes; then
10280 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10282 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10286 link_all_deplibs=yes
10290 if test "x$host_vendor" = xsequent; then
10291 # Use $CC to link under sequent, because it throws in some extra .o
10292 # files that make .init and .fini sections work.
10293 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10295 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10297 hardcode_libdir_flag_spec='-L$libdir'
10298 hardcode_direct=yes
10299 hardcode_minus_L=yes
10300 hardcode_shlibpath_var=no
10304 case $host_vendor in
10306 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10307 hardcode_direct=yes # is this really true???
10310 ## LD is ld it makes a PLAMLIB
10311 ## CC just makes a GrossModule.
10312 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10313 reload_cmds='$CC -r -o $output$reload_objs'
10317 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10318 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10321 runpath_var='LD_RUN_PATH'
10322 hardcode_shlibpath_var=no
10326 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10327 hardcode_shlibpath_var=no
10328 export_dynamic_flag_spec='-Bexport'
10332 if test -d /usr/nec; then
10333 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10334 hardcode_shlibpath_var=no
10335 runpath_var=LD_RUN_PATH
10336 hardcode_runpath_var=yes
10341 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10342 no_undefined_flag='${wl}-z,text'
10343 archive_cmds_need_lc=no
10344 hardcode_shlibpath_var=no
10345 runpath_var='LD_RUN_PATH'
10347 if test "$GCC" = yes; then
10348 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10349 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10351 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10352 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10356 sysv5* | sco3.2v5* | sco5v6*)
10357 # Note: We can NOT use -z defs as we might desire, because we do not
10358 # link with -lc, and that would cause any symbols used from libc to
10359 # always be unresolved, which means just about no library would
10360 # ever link correctly. If we're not using GNU ld we use -z text
10361 # though, which does catch some bad symbols but isn't as heavy-handed
10363 no_undefined_flag='${wl}-z,text'
10364 allow_undefined_flag='${wl}-z,nodefs'
10365 archive_cmds_need_lc=no
10366 hardcode_shlibpath_var=no
10367 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10368 hardcode_libdir_separator=':'
10369 link_all_deplibs=yes
10370 export_dynamic_flag_spec='${wl}-Bexport'
10371 runpath_var='LD_RUN_PATH'
10373 if test "$GCC" = yes; then
10374 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10375 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10377 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10378 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10383 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10384 hardcode_libdir_flag_spec='-L$libdir'
10385 hardcode_shlibpath_var=no
10393 if test x$host_vendor = xsni; then
10395 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10396 export_dynamic_flag_spec='${wl}-Blargedynsym'
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10403 $as_echo "$ld_shlibs" >&6; }
10404 test "$ld_shlibs" = no && can_build_shared=no
10406 with_gnu_ld=$with_gnu_ld
10423 # Do we need to explicitly link libc?
10425 case "x$archive_cmds_need_lc" in
10427 # Assume -lc should be added
10428 archive_cmds_need_lc=yes
10430 if test "$enable_shared" = yes && test "$GCC" = yes; then
10431 case $archive_cmds in
10433 # FIXME: we may have to deal with multi-command sequences.
10436 # Test whether the compiler implicitly links with -lc since on some
10437 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10438 # to ld, don't add -lc before -lgcc.
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10440 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10441 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10442 $as_echo_n "(cached) " >&6
10445 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10448 (eval $ac_compile) 2>&5
10450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10451 test $ac_status = 0; } 2>conftest.err; then
10454 libobjs=conftest.$ac_objext
10456 wl=$lt_prog_compiler_wl
10457 pic_flag=$lt_prog_compiler_pic
10463 lt_save_allow_undefined_flag=$allow_undefined_flag
10464 allow_undefined_flag=
10465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10466 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10469 test $ac_status = 0; }
10471 lt_cv_archive_cmds_need_lc=no
10473 lt_cv_archive_cmds_need_lc=yes
10475 allow_undefined_flag=$lt_save_allow_undefined_flag
10477 cat conftest.err 1>&5
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10483 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10484 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10643 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10645 if test "$GCC" = yes; then
10647 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10648 *) lt_awk_arg="/^libraries:/" ;;
10651 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10652 *) lt_sed_strip_eq="s,=/,/,g" ;;
10654 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10655 case $lt_search_path_spec in
10657 # if the path contains ";" then we assume it to be the separator
10658 # otherwise default to the standard path separator (i.e. ":") - it is
10659 # assumed that no part of a normal pathname contains ";" but that should
10660 # okay in the real world where ";" in dirpaths is itself problematic.
10661 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10664 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10667 # Ok, now we have the path, separated by spaces, we can step through it
10668 # and add multilib dir if necessary.
10669 lt_tmp_lt_search_path_spec=
10670 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10671 for lt_sys_path in $lt_search_path_spec; do
10672 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10673 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10675 test -d "$lt_sys_path" && \
10676 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10679 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10680 BEGIN {RS=" "; FS="/|\n";} {
10683 for (lt_i = NF; lt_i > 0; lt_i--) {
10684 if ($lt_i != "" && $lt_i != ".") {
10685 if ($lt_i == "..") {
10688 if (lt_count == 0) {
10689 lt_foo="/" $lt_i lt_foo;
10696 if (lt_foo != "") { lt_freq[lt_foo]++; }
10697 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10699 # AWK program above erroneously prepends '/' to C:/dos/paths
10702 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10703 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10705 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10707 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10709 library_names_spec=
10710 libname_spec='lib$name'
10714 postuninstall_cmds=
10718 shlibpath_overrides_runpath=unknown
10720 dynamic_linker="$host_os ld.so"
10721 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10722 need_lib_prefix=unknown
10723 hardcode_into_libs=no
10725 # when you set need_version to no, make sure it does not cause -set_version
10726 # flags to be left without arguments
10727 need_version=unknown
10731 version_type=linux # correct to gnu/linux during the next big refactor
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10733 shlibpath_var=LIBPATH
10735 # AIX 3 has no versioning support, so we append a major version to the name.
10736 soname_spec='${libname}${release}${shared_ext}$major'
10740 version_type=linux # correct to gnu/linux during the next big refactor
10743 hardcode_into_libs=yes
10744 if test "$host_cpu" = ia64; then
10745 # AIX 5 supports IA64
10746 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10747 shlibpath_var=LD_LIBRARY_PATH
10749 # With GCC up to 2.95.x, collect2 would create an import file
10750 # for dependence libraries. The import file would start with
10751 # the line `#! .'. This would cause the generated library to
10752 # depend on `.', always an invalid library. This was fixed in
10753 # development snapshots of GCC prior to 3.0.
10755 aix4 | aix4.[01] | aix4.[01].*)
10756 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10758 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10761 can_build_shared=no
10765 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10766 # soname into executable. Probably we can add versioning support to
10767 # collect2, so additional links can be useful in future.
10768 if test "$aix_use_runtimelinking" = yes; then
10769 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10770 # instead of lib<name>.a to let people know that these are not
10771 # typical AIX shared libraries.
10772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774 # We preserve .a as extension for shared libraries through AIX4.2
10775 # and later when we are not doing run time linking.
10776 library_names_spec='${libname}${release}.a $libname.a'
10777 soname_spec='${libname}${release}${shared_ext}$major'
10779 shlibpath_var=LIBPATH
10786 # Since July 2007 AmigaOS4 officially supports .so libraries.
10787 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10791 library_names_spec='$libname.ixlibrary $libname.a'
10792 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10793 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10799 library_names_spec='${libname}${shared_ext}'
10800 dynamic_linker="$host_os ld.so"
10801 shlibpath_var=LIBRARY_PATH
10805 version_type=linux # correct to gnu/linux during the next big refactor
10807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10808 soname_spec='${libname}${release}${shared_ext}$major'
10809 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10810 shlibpath_var=LD_LIBRARY_PATH
10811 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10812 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10813 # the default ld.so.conf also contains /usr/contrib/lib and
10814 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10815 # libtool to hard-code these into programs
10818 cygwin* | mingw* | pw32* | cegcc*)
10819 version_type=windows
10824 case $GCC,$cc_basename in
10827 library_names_spec='$libname.dll.a'
10828 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10829 postinstall_cmds='base_file=`basename \${file}`~
10830 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10831 dldir=$destdir/`dirname \$dlpath`~
10832 test -d \$dldir || mkdir -p \$dldir~
10833 $install_prog $dir/$dlname \$dldir/$dlname~
10834 chmod a+x \$dldir/$dlname~
10835 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10836 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10838 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10839 dlpath=$dir/\$dldll~
10841 shlibpath_overrides_runpath=yes
10845 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10846 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10848 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10851 # MinGW DLLs use traditional 'lib' prefix
10852 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10855 # pw32 DLLs use 'pw' prefix rather than 'lib'
10856 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10859 dynamic_linker='Win32 ld.exe'
10864 libname_spec='$name'
10865 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10866 library_names_spec='${libname}.dll.lib'
10870 sys_lib_search_path_spec=
10873 for lt_path in $LIB
10876 # Let DOS variable expansion print the short 8.3 style file name.
10877 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10878 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10881 # Convert to MSYS style.
10882 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10885 # Convert to unix form, then to dos form, then back to unix form
10886 # but this time dos style (no spaces!) so that the unix form looks
10887 # like /cygdrive/c/PROGRA~1:/cygdr...
10888 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10889 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10890 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10893 sys_lib_search_path_spec="$LIB"
10894 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10895 # It is most probably a Windows format PATH.
10896 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10898 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10900 # FIXME: find the short name or the path components, as spaces are
10901 # common. (e.g. "Program Files" -> "PROGRA~1")
10905 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10906 postinstall_cmds='base_file=`basename \${file}`~
10907 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10908 dldir=$destdir/`dirname \$dlpath`~
10909 test -d \$dldir || mkdir -p \$dldir~
10910 $install_prog $dir/$dlname \$dldir/$dlname'
10911 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10912 dlpath=$dir/\$dldll~
10914 shlibpath_overrides_runpath=yes
10915 dynamic_linker='Win32 link.exe'
10919 # Assume MSVC wrapper
10920 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10921 dynamic_linker='Win32 ld.exe'
10924 # FIXME: first we should search . and the directory the executable is in
10928 darwin* | rhapsody*)
10929 dynamic_linker="$host_os dyld"
10930 version_type=darwin
10933 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10934 soname_spec='${libname}${release}${major}$shared_ext'
10935 shlibpath_overrides_runpath=yes
10936 shlibpath_var=DYLD_LIBRARY_PATH
10937 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10939 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10940 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10944 version_type=linux # correct to gnu/linux during the next big refactor
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10948 soname_spec='${libname}${release}${shared_ext}$major'
10949 shlibpath_var=LD_LIBRARY_PATH
10952 freebsd* | dragonfly*)
10953 # DragonFly does not have aout. When/if they implement a new
10954 # versioning mechanism, adjust this.
10955 if test -x /usr/bin/objformat; then
10956 objformat=`/usr/bin/objformat`
10959 freebsd[23].*) objformat=aout ;;
10960 *) objformat=elf ;;
10963 version_type=freebsd-$objformat
10964 case $version_type in
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10975 shlibpath_var=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath=yes
10980 freebsd3.[01]* | freebsdelf3.[01]*)
10981 shlibpath_overrides_runpath=yes
10982 hardcode_into_libs=yes
10984 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10985 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10986 shlibpath_overrides_runpath=no
10987 hardcode_into_libs=yes
10989 *) # from 4.6 on, and DragonFly
10990 shlibpath_overrides_runpath=yes
10991 hardcode_into_libs=yes
10997 version_type=linux # correct to gnu/linux during the next big refactor
11000 dynamic_linker="$host_os runtime_loader"
11001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11002 soname_spec='${libname}${release}${shared_ext}$major'
11003 shlibpath_var=LIBRARY_PATH
11004 shlibpath_overrides_runpath=yes
11005 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11006 hardcode_into_libs=yes
11009 hpux9* | hpux10* | hpux11*)
11010 # Give a soname corresponding to the major version so that dld.sl refuses to
11011 # link against other versions.
11018 hardcode_into_libs=yes
11019 dynamic_linker="$host_os dld.so"
11020 shlibpath_var=LD_LIBRARY_PATH
11021 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 soname_spec='${libname}${release}${shared_ext}$major'
11024 if test "X$HPUX_IA64_MODE" = X32; then
11025 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11027 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11029 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11033 hardcode_into_libs=yes
11034 dynamic_linker="$host_os dld.sl"
11035 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11036 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038 soname_spec='${libname}${release}${shared_ext}$major'
11039 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11040 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11044 dynamic_linker="$host_os dld.sl"
11045 shlibpath_var=SHLIB_PATH
11046 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 soname_spec='${libname}${release}${shared_ext}$major'
11051 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11052 postinstall_cmds='chmod 555 $lib'
11053 # or fails outright, so override atomically:
11054 install_override_mode=555
11058 version_type=linux # correct to gnu/linux during the next big refactor
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11064 shlibpath_var=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath=no
11066 hardcode_into_libs=yes
11069 irix5* | irix6* | nonstopux*)
11071 nonstopux*) version_type=nonstopux ;;
11073 if test "$lt_cv_prog_gnu_ld" = yes; then
11074 version_type=linux # correct to gnu/linux during the next big refactor
11081 soname_spec='${libname}${release}${shared_ext}$major'
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11084 irix5* | nonstopux*)
11085 libsuff= shlibsuff=
11088 case $LD in # libtool.m4 will add one of these switches to LD
11089 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11090 libsuff= shlibsuff= libmagic=32-bit;;
11091 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11092 libsuff=32 shlibsuff=N32 libmagic=N32;;
11093 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11094 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11095 *) libsuff= shlibsuff= libmagic=never-match;;
11099 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11100 shlibpath_overrides_runpath=no
11101 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11102 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11103 hardcode_into_libs=yes
11106 # No shared lib support for Linux oldld, aout, or coff.
11107 linux*oldld* | linux*aout* | linux*coff*)
11111 # This must be glibc/ELF.
11112 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11113 version_type=linux # correct to gnu/linux during the next big refactor
11116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11117 soname_spec='${libname}${release}${shared_ext}$major'
11118 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11119 shlibpath_var=LD_LIBRARY_PATH
11120 shlibpath_overrides_runpath=no
11122 # Some binutils ld are patched to set DT_RUNPATH
11123 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11124 $as_echo_n "(cached) " >&6
11126 lt_cv_shlibpath_overrides_runpath=no
11127 save_LDFLAGS=$LDFLAGS
11128 save_libdir=$libdir
11129 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11130 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11142 if ac_fn_c_try_link "$LINENO"; then :
11143 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11144 lt_cv_shlibpath_overrides_runpath=yes
11147 rm -f core conftest.err conftest.$ac_objext \
11148 conftest$ac_exeext conftest.$ac_ext
11149 LDFLAGS=$save_LDFLAGS
11150 libdir=$save_libdir
11154 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11156 # This implies no fast_install, which is unacceptable.
11157 # Some rework will be needed to allow for fast_install
11158 # before this can be enabled.
11159 hardcode_into_libs=yes
11161 # Append ld.so.conf contents to the search path
11162 if test -f /etc/ld.so.conf; then
11163 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' ' '`
11164 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11167 # We used to test for /lib/ld.so.1 and disable shared libraries on
11168 # powerpc, because MkLinux only supported shared libraries with the
11169 # GNU dynamic linker. Since this was broken with cross compilers,
11170 # most powerpc-linux boxes support dynamic linking these days and
11171 # people can always --disable-shared, the test was removed, and we
11172 # assume the GNU/Linux dynamic linker is in use.
11173 dynamic_linker='GNU/Linux ld.so'
11180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11181 soname_spec='${libname}${release}${shared_ext}$major'
11182 shlibpath_var=LD_LIBRARY_PATH
11183 shlibpath_overrides_runpath=no
11184 hardcode_into_libs=yes
11185 dynamic_linker='NetBSD ld.elf_so'
11192 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11194 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11195 dynamic_linker='NetBSD (a.out) ld.so'
11197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11198 soname_spec='${libname}${release}${shared_ext}$major'
11199 dynamic_linker='NetBSD ld.elf_so'
11201 shlibpath_var=LD_LIBRARY_PATH
11202 shlibpath_overrides_runpath=yes
11203 hardcode_into_libs=yes
11207 version_type=linux # correct to gnu/linux during the next big refactor
11208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11209 shlibpath_var=LD_LIBRARY_PATH
11210 shlibpath_overrides_runpath=yes
11217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11218 soname_spec='${libname}${release}${shared_ext}$major'
11219 shlibpath_var=LD_LIBRARY_PATH
11220 shlibpath_overrides_runpath=no
11221 hardcode_into_libs=yes
11222 dynamic_linker='ldqnx.so'
11227 sys_lib_dlsearch_path_spec="/usr/lib"
11229 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11231 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11232 *) need_version=no ;;
11234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11235 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11236 shlibpath_var=LD_LIBRARY_PATH
11237 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11239 openbsd2.[89] | openbsd2.[89].*)
11240 shlibpath_overrides_runpath=no
11243 shlibpath_overrides_runpath=yes
11247 shlibpath_overrides_runpath=yes
11252 libname_spec='$name'
11255 library_names_spec='$libname${shared_ext} $libname.a'
11256 dynamic_linker='OS/2 ld.exe'
11257 shlibpath_var=LIBPATH
11260 osf3* | osf4* | osf5*)
11264 soname_spec='${libname}${release}${shared_ext}$major'
11265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11266 shlibpath_var=LD_LIBRARY_PATH
11267 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11268 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11276 version_type=linux # correct to gnu/linux during the next big refactor
11279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11280 soname_spec='${libname}${release}${shared_ext}$major'
11281 shlibpath_var=LD_LIBRARY_PATH
11282 shlibpath_overrides_runpath=yes
11283 hardcode_into_libs=yes
11284 # ldd complains unless libraries are executable
11285 postinstall_cmds='chmod +x $lib'
11290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11291 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11292 shlibpath_var=LD_LIBRARY_PATH
11293 shlibpath_overrides_runpath=yes
11294 if test "$with_gnu_ld" = yes; then
11301 version_type=linux # correct to gnu/linux during the next big refactor
11302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11303 soname_spec='${libname}${release}${shared_ext}$major'
11304 shlibpath_var=LD_LIBRARY_PATH
11305 case $host_vendor in
11307 shlibpath_overrides_runpath=no
11309 runpath_var=LD_RUN_PATH
11317 shlibpath_overrides_runpath=no
11318 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11324 if test -d /usr/nec ;then
11325 version_type=linux # correct to gnu/linux during the next big refactor
11326 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11327 soname_spec='$libname${shared_ext}.$major'
11328 shlibpath_var=LD_LIBRARY_PATH
11332 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11333 version_type=freebsd-elf
11336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11337 soname_spec='${libname}${release}${shared_ext}$major'
11338 shlibpath_var=LD_LIBRARY_PATH
11339 shlibpath_overrides_runpath=yes
11340 hardcode_into_libs=yes
11341 if test "$with_gnu_ld" = yes; then
11342 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11344 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11347 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11351 sys_lib_dlsearch_path_spec='/usr/lib'
11355 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11356 version_type=linux # correct to gnu/linux during the next big refactor
11359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11360 shlibpath_var=LD_LIBRARY_PATH
11361 shlibpath_overrides_runpath=no
11362 hardcode_into_libs=yes
11366 version_type=linux # correct to gnu/linux during the next big refactor
11367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11368 soname_spec='${libname}${release}${shared_ext}$major'
11369 shlibpath_var=LD_LIBRARY_PATH
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11377 $as_echo "$dynamic_linker" >&6; }
11378 test "$dynamic_linker" = no && can_build_shared=no
11380 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11381 if test "$GCC" = yes; then
11382 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11385 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11386 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11388 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11389 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11484 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11486 if test -n "$hardcode_libdir_flag_spec" ||
11487 test -n "$runpath_var" ||
11488 test "X$hardcode_automatic" = "Xyes" ; then
11490 # We can hardcode non-existent directories.
11491 if test "$hardcode_direct" != no &&
11492 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11493 # have to relink, otherwise we might link with an installed library
11494 # when we should be linking with a yet-to-be-installed one
11495 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11496 test "$hardcode_minus_L" != no; then
11497 # Linking always hardcodes the temporary library directory.
11498 hardcode_action=relink
11500 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11501 hardcode_action=immediate
11504 # We cannot hardcode anything, or else we can only hardcode existing
11506 hardcode_action=unsupported
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11509 $as_echo "$hardcode_action" >&6; }
11511 if test "$hardcode_action" = relink ||
11512 test "$inherit_rpath" = yes; then
11513 # Fast installation is not supported
11514 enable_fast_install=no
11515 elif test "$shlibpath_overrides_runpath" = yes ||
11516 test "$enable_shared" = no; then
11517 # Fast installation is not necessary
11518 enable_fast_install=needless
11526 if test "x$enable_dlopen" != xyes; then
11527 enable_dlopen=unknown
11528 enable_dlopen_self=unknown
11529 enable_dlopen_self_static=unknown
11536 lt_cv_dlopen="load_add_on"
11538 lt_cv_dlopen_self=yes
11541 mingw* | pw32* | cegcc*)
11542 lt_cv_dlopen="LoadLibrary"
11547 lt_cv_dlopen="dlopen"
11552 # if libdl is installed we need to link against it
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11554 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11555 if ${ac_cv_lib_dl_dlopen+:} false; then :
11556 $as_echo_n "(cached) " >&6
11558 ac_check_lib_save_LIBS=$LIBS
11560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11561 /* end confdefs.h. */
11563 /* Override any GCC internal prototype to avoid an error.
11564 Use char because int might match the return type of a GCC
11565 builtin and then its argument prototype would still apply. */
11578 if ac_fn_c_try_link "$LINENO"; then :
11579 ac_cv_lib_dl_dlopen=yes
11581 ac_cv_lib_dl_dlopen=no
11583 rm -f core conftest.err conftest.$ac_objext \
11584 conftest$ac_exeext conftest.$ac_ext
11585 LIBS=$ac_check_lib_save_LIBS
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11588 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11589 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11590 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11593 lt_cv_dlopen="dyld"
11595 lt_cv_dlopen_self=yes
11602 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11603 if test "x$ac_cv_func_shl_load" = xyes; then :
11604 lt_cv_dlopen="shl_load"
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11607 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11608 if ${ac_cv_lib_dld_shl_load+:} false; then :
11609 $as_echo_n "(cached) " >&6
11611 ac_check_lib_save_LIBS=$LIBS
11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11616 /* Override any GCC internal prototype to avoid an error.
11617 Use char because int might match the return type of a GCC
11618 builtin and then its argument prototype would still apply. */
11626 return shl_load ();
11631 if ac_fn_c_try_link "$LINENO"; then :
11632 ac_cv_lib_dld_shl_load=yes
11634 ac_cv_lib_dld_shl_load=no
11636 rm -f core conftest.err conftest.$ac_objext \
11637 conftest$ac_exeext conftest.$ac_ext
11638 LIBS=$ac_check_lib_save_LIBS
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11641 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11642 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11643 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11645 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11646 if test "x$ac_cv_func_dlopen" = xyes; then :
11647 lt_cv_dlopen="dlopen"
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11650 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11651 if ${ac_cv_lib_dl_dlopen+:} false; then :
11652 $as_echo_n "(cached) " >&6
11654 ac_check_lib_save_LIBS=$LIBS
11656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11659 /* Override any GCC internal prototype to avoid an error.
11660 Use char because int might match the return type of a GCC
11661 builtin and then its argument prototype would still apply. */
11674 if ac_fn_c_try_link "$LINENO"; then :
11675 ac_cv_lib_dl_dlopen=yes
11677 ac_cv_lib_dl_dlopen=no
11679 rm -f core conftest.err conftest.$ac_objext \
11680 conftest$ac_exeext conftest.$ac_ext
11681 LIBS=$ac_check_lib_save_LIBS
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11684 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11685 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11686 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11689 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11690 if ${ac_cv_lib_svld_dlopen+:} false; then :
11691 $as_echo_n "(cached) " >&6
11693 ac_check_lib_save_LIBS=$LIBS
11694 LIBS="-lsvld $LIBS"
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11713 if ac_fn_c_try_link "$LINENO"; then :
11714 ac_cv_lib_svld_dlopen=yes
11716 ac_cv_lib_svld_dlopen=no
11718 rm -f core conftest.err conftest.$ac_objext \
11719 conftest$ac_exeext conftest.$ac_ext
11720 LIBS=$ac_check_lib_save_LIBS
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11723 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11724 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11725 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11728 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11729 if ${ac_cv_lib_dld_dld_link+:} false; then :
11730 $as_echo_n "(cached) " >&6
11732 ac_check_lib_save_LIBS=$LIBS
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11747 return dld_link ();
11752 if ac_fn_c_try_link "$LINENO"; then :
11753 ac_cv_lib_dld_dld_link=yes
11755 ac_cv_lib_dld_dld_link=no
11757 rm -f core conftest.err conftest.$ac_objext \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_lib_save_LIBS
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11762 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11763 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11764 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11785 if test "x$lt_cv_dlopen" != xno; then
11791 case $lt_cv_dlopen in
11793 save_CPPFLAGS="$CPPFLAGS"
11794 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11796 save_LDFLAGS="$LDFLAGS"
11797 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11800 LIBS="$lt_cv_dlopen_libs $LIBS"
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11803 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11804 if ${lt_cv_dlopen_self+:} false; then :
11805 $as_echo_n "(cached) " >&6
11807 if test "$cross_compiling" = yes; then :
11808 lt_cv_dlopen_self=cross
11810 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11811 lt_status=$lt_dlunknown
11812 cat > conftest.$ac_ext <<_LT_EOF
11813 #line $LINENO "configure"
11814 #include "confdefs.h"
11823 # define LT_DLGLOBAL RTLD_GLOBAL
11826 # define LT_DLGLOBAL DL_GLOBAL
11828 # define LT_DLGLOBAL 0
11832 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11833 find out it does not work in some platform. */
11834 #ifndef LT_DLLAZY_OR_NOW
11836 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11839 # define LT_DLLAZY_OR_NOW DL_LAZY
11842 # define LT_DLLAZY_OR_NOW RTLD_NOW
11845 # define LT_DLLAZY_OR_NOW DL_NOW
11847 # define LT_DLLAZY_OR_NOW 0
11854 /* When -fvisbility=hidden is used, assume the code has been annotated
11855 correspondingly for the symbols needed. */
11856 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11857 int fnord () __attribute__((visibility("default")));
11860 int fnord () { return 42; }
11863 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11864 int status = $lt_dlunknown;
11868 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11871 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11872 else puts (dlerror ());
11874 /* dlclose (self); */
11882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11883 (eval $ac_link) 2>&5
11885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11886 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11887 (./conftest; exit; ) >&5 2>/dev/null
11889 case x$lt_status in
11890 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11891 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11892 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11895 # compilation failed
11896 lt_cv_dlopen_self=no
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11904 $as_echo "$lt_cv_dlopen_self" >&6; }
11906 if test "x$lt_cv_dlopen_self" = xyes; then
11907 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11909 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11910 if ${lt_cv_dlopen_self_static+:} false; then :
11911 $as_echo_n "(cached) " >&6
11913 if test "$cross_compiling" = yes; then :
11914 lt_cv_dlopen_self_static=cross
11916 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11917 lt_status=$lt_dlunknown
11918 cat > conftest.$ac_ext <<_LT_EOF
11919 #line $LINENO "configure"
11920 #include "confdefs.h"
11929 # define LT_DLGLOBAL RTLD_GLOBAL
11932 # define LT_DLGLOBAL DL_GLOBAL
11934 # define LT_DLGLOBAL 0
11938 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11939 find out it does not work in some platform. */
11940 #ifndef LT_DLLAZY_OR_NOW
11942 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11945 # define LT_DLLAZY_OR_NOW DL_LAZY
11948 # define LT_DLLAZY_OR_NOW RTLD_NOW
11951 # define LT_DLLAZY_OR_NOW DL_NOW
11953 # define LT_DLLAZY_OR_NOW 0
11960 /* When -fvisbility=hidden is used, assume the code has been annotated
11961 correspondingly for the symbols needed. */
11962 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11963 int fnord () __attribute__((visibility("default")));
11966 int fnord () { return 42; }
11969 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11970 int status = $lt_dlunknown;
11974 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11977 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11978 else puts (dlerror ());
11980 /* dlclose (self); */
11988 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11989 (eval $ac_link) 2>&5
11991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11992 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11993 (./conftest; exit; ) >&5 2>/dev/null
11995 case x$lt_status in
11996 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11997 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11998 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12001 # compilation failed
12002 lt_cv_dlopen_self_static=no
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12010 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12013 CPPFLAGS="$save_CPPFLAGS"
12014 LDFLAGS="$save_LDFLAGS"
12019 case $lt_cv_dlopen_self in
12020 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12021 *) enable_dlopen_self=unknown ;;
12024 case $lt_cv_dlopen_self_static in
12025 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12026 *) enable_dlopen_self_static=unknown ;;
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12049 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12050 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12051 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12052 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12054 $as_echo "yes" >&6; }
12056 # FIXME - insert some real tests, host_os isn't really good enough
12059 if test -n "$STRIP" ; then
12060 striplib="$STRIP -x"
12061 old_striplib="$STRIP -S"
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12063 $as_echo "yes" >&6; }
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12066 $as_echo "no" >&6; }
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12071 $as_echo "no" >&6; }
12087 # Report which library types will actually be built
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12089 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12091 $as_echo "$can_build_shared" >&6; }
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12094 $as_echo_n "checking whether to build shared libraries... " >&6; }
12095 test "$can_build_shared" = "no" && enable_shared=no
12097 # On AIX, shared libraries and static libraries use the same namespace, and
12098 # are all built from PIC.
12101 test "$enable_shared" = yes && enable_static=no
12102 if test -n "$RANLIB"; then
12103 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12104 postinstall_cmds='$RANLIB $lib'
12109 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12110 test "$enable_shared" = yes && enable_static=no
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12115 $as_echo "$enable_shared" >&6; }
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12118 $as_echo_n "checking whether to build static libraries... " >&6; }
12119 # Make sure either enable_shared or enable_static is yes.
12120 test "$enable_shared" = yes || enable_static=yes
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12122 $as_echo "$enable_static" >&6; }
12129 ac_cpp='$CPP $CPPFLAGS'
12130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12150 ac_config_commands="$ac_config_commands libtool"
12155 # Only expand once:
12160 ac_cpp='$CXXCPP $CPPFLAGS'
12161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12164 if test -z "$CXX"; then
12165 if test -n "$CCC"; then
12168 if test -n "$ac_tool_prefix"; then
12169 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12171 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12172 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12174 $as_echo_n "checking for $ac_word... " >&6; }
12175 if ${ac_cv_prog_CXX+:} false; then :
12176 $as_echo_n "(cached) " >&6
12178 if test -n "$CXX"; then
12179 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12182 for as_dir in $PATH
12185 test -z "$as_dir" && as_dir=.
12186 for ac_exec_ext in '' $ac_executable_extensions; do
12187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12188 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12198 CXX=$ac_cv_prog_CXX
12199 if test -n "$CXX"; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12201 $as_echo "$CXX" >&6; }
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12204 $as_echo "no" >&6; }
12208 test -n "$CXX" && break
12211 if test -z "$CXX"; then
12213 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12215 # Extract the first word of "$ac_prog", so it can be a program name with args.
12216 set dummy $ac_prog; ac_word=$2
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12218 $as_echo_n "checking for $ac_word... " >&6; }
12219 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12220 $as_echo_n "(cached) " >&6
12222 if test -n "$ac_ct_CXX"; then
12223 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12226 for as_dir in $PATH
12229 test -z "$as_dir" && as_dir=.
12230 for ac_exec_ext in '' $ac_executable_extensions; do
12231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12232 ac_cv_prog_ac_ct_CXX="$ac_prog"
12233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12242 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12243 if test -n "$ac_ct_CXX"; then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12245 $as_echo "$ac_ct_CXX" >&6; }
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12248 $as_echo "no" >&6; }
12252 test -n "$ac_ct_CXX" && break
12255 if test "x$ac_ct_CXX" = x; then
12258 case $cross_compiling:$ac_tool_warned in
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12262 ac_tool_warned=yes ;;
12270 # Provide some information about the compiler.
12271 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12274 for ac_option in --version -v -V -qversion; do
12275 { { ac_try="$ac_compiler $ac_option >&5"
12276 case "(($ac_try" in
12277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12278 *) ac_try_echo=$ac_try;;
12280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12281 $as_echo "$ac_try_echo"; } >&5
12282 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12284 if test -s conftest.err; then
12286 ... rest of stderr output deleted ...
12287 10q' conftest.err >conftest.er1
12288 cat conftest.er1 >&5
12290 rm -f conftest.er1 conftest.err
12291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12292 test $ac_status = 0; }
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12296 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12297 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12298 $as_echo_n "(cached) " >&6
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12314 if ac_fn_cxx_try_compile "$LINENO"; then :
12315 ac_compiler_gnu=yes
12319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12320 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12324 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12325 if test $ac_compiler_gnu = yes; then
12330 ac_test_CXXFLAGS=${CXXFLAGS+set}
12331 ac_save_CXXFLAGS=$CXXFLAGS
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12333 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12334 if ${ac_cv_prog_cxx_g+:} false; then :
12335 $as_echo_n "(cached) " >&6
12337 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12338 ac_cxx_werror_flag=yes
12339 ac_cv_prog_cxx_g=no
12341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12342 /* end confdefs.h. */
12352 if ac_fn_cxx_try_compile "$LINENO"; then :
12353 ac_cv_prog_cxx_g=yes
12356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12367 if ac_fn_cxx_try_compile "$LINENO"; then :
12370 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12383 if ac_fn_cxx_try_compile "$LINENO"; then :
12384 ac_cv_prog_cxx_g=yes
12386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12391 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12394 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12395 if test "$ac_test_CXXFLAGS" = set; then
12396 CXXFLAGS=$ac_save_CXXFLAGS
12397 elif test $ac_cv_prog_cxx_g = yes; then
12398 if test "$GXX" = yes; then
12404 if test "$GXX" = yes; then
12411 ac_cpp='$CPP $CPPFLAGS'
12412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12416 depcc="$CXX" am_compiler_list=
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12419 $as_echo_n "checking dependency style of $depcc... " >&6; }
12420 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12421 $as_echo_n "(cached) " >&6
12423 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12424 # We make a subdir and do the tests there. Otherwise we can end up
12425 # making bogus files that we don't know about and never remove. For
12426 # instance it was reported that on HP-UX the gcc test will end up
12427 # making a dummy file named 'D' -- because '-MD' means "put the output
12429 rm -rf conftest.dir
12431 # Copy depcomp to subdir because otherwise we won't find it if we're
12432 # using a relative directory.
12433 cp "$am_depcomp" conftest.dir
12435 # We will build objects and dependencies in a subdirectory because
12436 # it helps to detect inapplicable dependency modes. For instance
12437 # both Tru64's cc and ICC support -MD to output dependencies as a
12438 # side effect of compilation, but ICC will put the dependencies in
12439 # the current directory while Tru64 will put them in the object
12443 am_cv_CXX_dependencies_compiler_type=none
12444 if test "$am_compiler_list" = ""; then
12445 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12447 am__universal=false
12448 case " $depcc " in #(
12449 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12452 for depmode in $am_compiler_list; do
12453 # Setup a source with many dependencies, because some compilers
12454 # like to wrap large dependency lists on column 80 (with \), and
12455 # we should not choose a depcomp mode which is confused by this.
12457 # We need to recreate these files for each test, as the compiler may
12458 # overwrite some of them when testing with obscure command lines.
12459 # This happens at least with the AIX C compiler.
12461 for i in 1 2 3 4 5 6; do
12462 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12463 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12464 # Solaris 10 /bin/sh.
12465 echo '/* dummy */' > sub/conftst$i.h
12467 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12469 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12470 # mode. It turns out that the SunPro C++ compiler does not properly
12471 # handle '-M -o', and we need to detect this. Also, some Intel
12472 # versions had trouble with output in subdirs.
12473 am__obj=sub/conftest.${OBJEXT-o}
12474 am__minus_obj="-o $am__obj"
12477 # This depmode causes a compiler race in universal mode.
12478 test "$am__universal" = false || continue
12481 # After this tag, mechanisms are not by side-effect, so they'll
12482 # only be used when explicitly requested.
12483 if test "x$enable_dependency_tracking" = xyes; then
12489 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12490 # This compiler won't grok '-c -o', but also, the minuso test has
12491 # not run yet. These depmodes are late enough in the game, and
12492 # so weak that their functioning should not be impacted.
12493 am__obj=conftest.${OBJEXT-o}
12498 if depmode=$depmode \
12499 source=sub/conftest.c object=$am__obj \
12500 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12501 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12502 >/dev/null 2>conftest.err &&
12503 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12504 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12505 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12506 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12507 # icc doesn't choke on unknown options, it will just issue warnings
12508 # or remarks (even with -Werror). So we grep stderr for any message
12509 # that says an option was ignored or not supported.
12510 # When given -MP, icc 7.0 and 7.1 complain thusly:
12511 # icc: Command line warning: ignoring option '-M'; no argument required
12512 # The diagnosis changed in icc 8.0:
12513 # icc: Command line remark: option '-MP' not supported
12514 if (grep 'ignoring option' conftest.err ||
12515 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12516 am_cv_CXX_dependencies_compiler_type=$depmode
12523 rm -rf conftest.dir
12525 am_cv_CXX_dependencies_compiler_type=none
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12530 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12531 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12534 test "x$enable_dependency_tracking" != xno \
12535 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12536 am__fastdepCXX_TRUE=
12537 am__fastdepCXX_FALSE='#'
12539 am__fastdepCXX_TRUE='#'
12540 am__fastdepCXX_FALSE=
12546 func_stripname_cnf ()
12549 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12550 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12552 } # func_stripname_cnf
12554 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12555 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12556 (test "X$CXX" != "Xg++"))) ; then
12558 ac_cpp='$CXXCPP $CPPFLAGS'
12559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12563 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12564 if test -z "$CXXCPP"; then
12565 if ${ac_cv_prog_CXXCPP+:} false; then :
12566 $as_echo_n "(cached) " >&6
12568 # Double quotes because CXXCPP needs to be expanded
12569 for CXXCPP in "$CXX -E" "/lib/cpp"
12571 ac_preproc_ok=false
12572 for ac_cxx_preproc_warn_flag in '' yes
12574 # Use a header file that comes with gcc, so configuring glibc
12575 # with a fresh cross-compiler works.
12576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12577 # <limits.h> exists even on freestanding compilers.
12578 # On the NeXT, cc -E runs the code through the compiler's parser,
12579 # not just through cpp. "Syntax error" is here to catch this case.
12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 # include <limits.h>
12585 # include <assert.h>
12589 if ac_fn_cxx_try_cpp "$LINENO"; then :
12592 # Broken: fails on valid input.
12595 rm -f conftest.err conftest.i conftest.$ac_ext
12597 # OK, works on sane cases. Now check whether nonexistent headers
12598 # can be detected and how.
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12601 #include <ac_nonexistent.h>
12603 if ac_fn_cxx_try_cpp "$LINENO"; then :
12604 # Broken: success on invalid input.
12607 # Passes both tests.
12611 rm -f conftest.err conftest.i conftest.$ac_ext
12614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12615 rm -f conftest.i conftest.err conftest.$ac_ext
12616 if $ac_preproc_ok; then :
12621 ac_cv_prog_CXXCPP=$CXXCPP
12624 CXXCPP=$ac_cv_prog_CXXCPP
12626 ac_cv_prog_CXXCPP=$CXXCPP
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12629 $as_echo "$CXXCPP" >&6; }
12630 ac_preproc_ok=false
12631 for ac_cxx_preproc_warn_flag in '' yes
12633 # Use a header file that comes with gcc, so configuring glibc
12634 # with a fresh cross-compiler works.
12635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12636 # <limits.h> exists even on freestanding compilers.
12637 # On the NeXT, cc -E runs the code through the compiler's parser,
12638 # not just through cpp. "Syntax error" is here to catch this case.
12639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12642 # include <limits.h>
12644 # include <assert.h>
12648 if ac_fn_cxx_try_cpp "$LINENO"; then :
12651 # Broken: fails on valid input.
12654 rm -f conftest.err conftest.i conftest.$ac_ext
12656 # OK, works on sane cases. Now check whether nonexistent headers
12657 # can be detected and how.
12658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12659 /* end confdefs.h. */
12660 #include <ac_nonexistent.h>
12662 if ac_fn_cxx_try_cpp "$LINENO"; then :
12663 # Broken: success on invalid input.
12666 # Passes both tests.
12670 rm -f conftest.err conftest.i conftest.$ac_ext
12673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12674 rm -f conftest.i conftest.err conftest.$ac_ext
12675 if $ac_preproc_ok; then :
12678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12680 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12681 See \`config.log' for more details" "$LINENO" 5; }
12685 ac_cpp='$CPP $CPPFLAGS'
12686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12691 _lt_caught_CXX_error=yes
12695 ac_cpp='$CXXCPP $CPPFLAGS'
12696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12700 archive_cmds_need_lc_CXX=no
12701 allow_undefined_flag_CXX=
12702 always_export_symbols_CXX=no
12703 archive_expsym_cmds_CXX=
12704 compiler_needs_object_CXX=no
12705 export_dynamic_flag_spec_CXX=
12706 hardcode_direct_CXX=no
12707 hardcode_direct_absolute_CXX=no
12708 hardcode_libdir_flag_spec_CXX=
12709 hardcode_libdir_separator_CXX=
12710 hardcode_minus_L_CXX=no
12711 hardcode_shlibpath_var_CXX=unsupported
12712 hardcode_automatic_CXX=no
12713 inherit_rpath_CXX=no
12715 module_expsym_cmds_CXX=
12716 link_all_deplibs_CXX=unknown
12717 old_archive_cmds_CXX=$old_archive_cmds
12718 reload_flag_CXX=$reload_flag
12719 reload_cmds_CXX=$reload_cmds
12720 no_undefined_flag_CXX=
12721 whole_archive_flag_spec_CXX=
12722 enable_shared_with_static_runtimes_CXX=no
12724 # Source file extension for C++ test sources.
12727 # Object file extension for compiled C++ test sources.
12731 # No sense in running all these tests if we already determined that
12732 # the CXX compiler isn't working. Some variables (like enable_shared)
12733 # are currently assumed to apply to all compilers on this platform,
12734 # and will be corrupted by setting them based on a non-working compiler.
12735 if test "$_lt_caught_CXX_error" != yes; then
12736 # Code to be used in simple compile tests
12737 lt_simple_compile_test_code="int some_variable = 0;"
12739 # Code to be used in simple link tests
12740 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12742 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12749 # If no C compiler was specified, use CC.
12752 # If no C compiler flags were specified, use CFLAGS.
12753 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12755 # Allow CC to be a program name with arguments.
12759 # save warnings/boilerplate of simple test code
12760 ac_outfile=conftest.$ac_objext
12761 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12762 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12763 _lt_compiler_boilerplate=`cat conftest.err`
12766 ac_outfile=conftest.$ac_objext
12767 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12768 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12769 _lt_linker_boilerplate=`cat conftest.err`
12773 # Allow CC to be a program name with arguments.
12775 lt_save_CFLAGS=$CFLAGS
12779 lt_save_with_gnu_ld=$with_gnu_ld
12780 lt_save_path_LD=$lt_cv_path_LD
12781 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12782 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12784 $as_unset lt_cv_prog_gnu_ld
12786 if test -n "${lt_cv_path_LDCXX+set}"; then
12787 lt_cv_path_LD=$lt_cv_path_LDCXX
12789 $as_unset lt_cv_path_LD
12791 test -z "${LDCXX+set}" || LD=$LDCXX
12796 for cc_temp in $compiler""; do
12798 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12799 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12804 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12807 if test -n "$compiler"; then
12808 # We don't want -fno-exception when compiling C++ code, so set the
12809 # no_builtin_flag separately
12810 if test "$GXX" = yes; then
12811 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12813 lt_prog_compiler_no_builtin_flag_CXX=
12816 if test "$GXX" = yes; then
12817 # Set up default GNU C++ configuration
12821 # Check whether --with-gnu-ld was given.
12822 if test "${with_gnu_ld+set}" = set; then :
12823 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12829 if test "$GCC" = yes; then
12830 # Check if gcc -print-prog-name=ld gives a path.
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12832 $as_echo_n "checking for ld used by $CC... " >&6; }
12835 # gcc leaves a trailing carriage return which upsets mingw
12836 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12838 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12841 # Accept absolute paths.
12843 re_direlt='/[^/][^/]*/\.\./'
12844 # Canonicalize the pathname of ld
12845 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12846 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12847 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12849 test -z "$LD" && LD="$ac_prog"
12852 # If it fails, then pretend we aren't using GCC.
12856 # If it is relative, then search for the first ld in PATH.
12857 with_gnu_ld=unknown
12860 elif test "$with_gnu_ld" = yes; then
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12862 $as_echo_n "checking for GNU ld... " >&6; }
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12865 $as_echo_n "checking for non-GNU ld... " >&6; }
12867 if ${lt_cv_path_LD+:} false; then :
12868 $as_echo_n "(cached) " >&6
12870 if test -z "$LD"; then
12871 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12872 for ac_dir in $PATH; do
12874 test -z "$ac_dir" && ac_dir=.
12875 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12876 lt_cv_path_LD="$ac_dir/$ac_prog"
12877 # Check to see if the program is GNU ld. I'd rather use --version,
12878 # but apparently some variants of GNU ld only accept -v.
12879 # Break only if it was the GNU/non-GNU ld that we prefer.
12880 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12881 *GNU* | *'with BFD'*)
12882 test "$with_gnu_ld" != no && break
12885 test "$with_gnu_ld" != yes && break
12892 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12896 LD="$lt_cv_path_LD"
12897 if test -n "$LD"; then
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12899 $as_echo "$LD" >&6; }
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12902 $as_echo "no" >&6; }
12904 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12906 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12907 if ${lt_cv_prog_gnu_ld+:} false; then :
12908 $as_echo_n "(cached) " >&6
12910 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12911 case `$LD -v 2>&1 </dev/null` in
12912 *GNU* | *'with BFD'*)
12913 lt_cv_prog_gnu_ld=yes
12916 lt_cv_prog_gnu_ld=no
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12921 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12922 with_gnu_ld=$lt_cv_prog_gnu_ld
12930 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12931 # archiving commands below assume that GNU ld is being used.
12932 if test "$with_gnu_ld" = yes; then
12933 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12934 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'
12936 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12937 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12939 # If archive_cmds runs LD, not CC, wlarc should be empty
12940 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12941 # investigate it a little bit more. (MM)
12944 # ancient GNU ld didn't support --whole-archive et. al.
12945 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12946 $GREP 'no-whole-archive' > /dev/null; then
12947 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12949 whole_archive_flag_spec_CXX=
12955 # A generic and very simple default shared library creation
12956 # command for GNU C++ for the case where it uses the native
12957 # linker, instead of GNU ld. If possible, this setting should
12958 # overridden to take advantage of the native linker features on
12959 # the platform it is being used on.
12960 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12963 # Commands to make compiler produce verbose output that lists
12964 # what "hidden" libraries, object files and flags are used when
12965 # linking a shared library.
12966 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12974 # PORTME: fill in a description of your system's C++ link characteristics
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12976 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12980 # FIXME: insert proper C++ library support
12984 if test "$host_cpu" = ia64; then
12985 # On IA64, the linker does run time linking by default, so we don't
12986 # have to do anything special.
12987 aix_use_runtimelinking=no
12988 exp_sym_flag='-Bexport'
12991 aix_use_runtimelinking=no
12993 # Test if we are trying to use run time linking or normal
12994 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12995 # need to do runtime linking.
12996 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12997 for ld_flag in $LDFLAGS; do
13000 aix_use_runtimelinking=yes
13008 exp_sym_flag='-bexport'
13009 no_entry_flag='-bnoentry'
13012 # When large executables or shared objects are built, AIX ld can
13013 # have problems creating the table of contents. If linking a library
13014 # or program results in "error TOC overflow" add -mminimal-toc to
13015 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13016 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13018 archive_cmds_CXX=''
13019 hardcode_direct_CXX=yes
13020 hardcode_direct_absolute_CXX=yes
13021 hardcode_libdir_separator_CXX=':'
13022 link_all_deplibs_CXX=yes
13023 file_list_spec_CXX='${wl}-f,'
13025 if test "$GXX" = yes; then
13026 case $host_os in aix4.[012]|aix4.[012].*)
13027 # We only want to do this on AIX 4.2 and lower, the check
13028 # below for broken collect2 doesn't work under 4.3+
13029 collect2name=`${CC} -print-prog-name=collect2`
13030 if test -f "$collect2name" &&
13031 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13033 # We have reworked collect2
13036 # We have old collect2
13037 hardcode_direct_CXX=unsupported
13038 # It fails to find uninstalled libraries when the uninstalled
13039 # path is not listed in the libpath. Setting hardcode_minus_L
13040 # to unsupported forces relinking
13041 hardcode_minus_L_CXX=yes
13042 hardcode_libdir_flag_spec_CXX='-L$libdir'
13043 hardcode_libdir_separator_CXX=
13046 shared_flag='-shared'
13047 if test "$aix_use_runtimelinking" = yes; then
13048 shared_flag="$shared_flag "'${wl}-G'
13052 if test "$host_cpu" = ia64; then
13053 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13054 # chokes on -Wl,-G. The following line is correct:
13057 if test "$aix_use_runtimelinking" = yes; then
13058 shared_flag='${wl}-G'
13060 shared_flag='${wl}-bM:SRE'
13065 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13066 # It seems that -bexpall does not export symbols beginning with
13067 # underscore (_), so it is better to generate a list of symbols to
13069 always_export_symbols_CXX=yes
13070 if test "$aix_use_runtimelinking" = yes; then
13071 # Warning - without using the other runtime loading flags (-brtl),
13072 # -berok will link without error, but may produce a broken library.
13073 allow_undefined_flag_CXX='-berok'
13074 # Determine the default libpath from the value encoded in an empty
13076 if test "${lt_cv_aix_libpath+set}" = set; then
13077 aix_libpath=$lt_cv_aix_libpath
13079 if ${lt_cv_aix_libpath__CXX+:} false; then :
13080 $as_echo_n "(cached) " >&6
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13093 if ac_fn_cxx_try_link "$LINENO"; then :
13095 lt_aix_libpath_sed='
13096 /Import File Strings/,/^$/ {
13098 s/^0 *\([^ ]*\) *$/\1/
13102 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13103 # Check for a 64-bit object if we didn't find anything.
13104 if test -z "$lt_cv_aix_libpath__CXX"; then
13105 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13108 rm -f core conftest.err conftest.$ac_objext \
13109 conftest$ac_exeext conftest.$ac_ext
13110 if test -z "$lt_cv_aix_libpath__CXX"; then
13111 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13116 aix_libpath=$lt_cv_aix_libpath__CXX
13119 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13121 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13123 if test "$host_cpu" = ia64; then
13124 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13125 allow_undefined_flag_CXX="-z nodefs"
13126 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"
13128 # Determine the default libpath from the value encoded in an
13129 # empty executable.
13130 if test "${lt_cv_aix_libpath+set}" = set; then
13131 aix_libpath=$lt_cv_aix_libpath
13133 if ${lt_cv_aix_libpath__CXX+:} false; then :
13134 $as_echo_n "(cached) " >&6
13136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13137 /* end confdefs.h. */
13147 if ac_fn_cxx_try_link "$LINENO"; then :
13149 lt_aix_libpath_sed='
13150 /Import File Strings/,/^$/ {
13152 s/^0 *\([^ ]*\) *$/\1/
13156 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13157 # Check for a 64-bit object if we didn't find anything.
13158 if test -z "$lt_cv_aix_libpath__CXX"; then
13159 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13162 rm -f core conftest.err conftest.$ac_objext \
13163 conftest$ac_exeext conftest.$ac_ext
13164 if test -z "$lt_cv_aix_libpath__CXX"; then
13165 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13170 aix_libpath=$lt_cv_aix_libpath__CXX
13173 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13174 # Warning - without using the other run time loading flags,
13175 # -berok will link without error, but may produce a broken library.
13176 no_undefined_flag_CXX=' ${wl}-bernotok'
13177 allow_undefined_flag_CXX=' ${wl}-berok'
13178 if test "$with_gnu_ld" = yes; then
13179 # We only use this code for GNU lds that support --whole-archive.
13180 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13182 # Exported symbols can be pulled into shared objects from archives
13183 whole_archive_flag_spec_CXX='$convenience'
13185 archive_cmds_need_lc_CXX=yes
13186 # This is similar to how AIX traditionally builds its shared
13188 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13194 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13195 allow_undefined_flag_CXX=unsupported
13196 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13197 # support --undefined. This deserves some investigation. FIXME
13198 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13205 case $cc_basename in
13207 # FIXME: insert proper C++ library support
13213 cygwin* | mingw* | pw32* | cegcc*)
13214 case $GXX,$cc_basename in
13217 # hardcode_libdir_flag_spec is actually meaningless, as there is
13218 # no search path for DLLs.
13219 hardcode_libdir_flag_spec_CXX=' '
13220 allow_undefined_flag_CXX=unsupported
13221 always_export_symbols_CXX=yes
13222 file_list_spec_CXX='@'
13223 # Tell ltmain to make .lib files, not .a files.
13225 # Tell ltmain to make .dll files, not .so files.
13227 # FIXME: Setting linknames here is a bad hack.
13228 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13229 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13230 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13232 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13234 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13236 # The linker will not automatically build a static lib if we build a DLL.
13237 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13238 enable_shared_with_static_runtimes_CXX=yes
13240 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13241 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13242 lt_tool_outputfile="@TOOL_OUTPUT@"~
13243 case $lt_outputfile in
13246 lt_outputfile="$lt_outputfile.exe"
13247 lt_tool_outputfile="$lt_tool_outputfile.exe"
13250 func_to_tool_file "$lt_outputfile"~
13251 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13252 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13253 $RM "$lt_outputfile.manifest";
13258 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13259 # as there is no search path for DLLs.
13260 hardcode_libdir_flag_spec_CXX='-L$libdir'
13261 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13262 allow_undefined_flag_CXX=unsupported
13263 always_export_symbols_CXX=no
13264 enable_shared_with_static_runtimes_CXX=yes
13266 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13267 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'
13268 # If the export-symbols file already is a .def file (1st line
13269 # is EXPORTS), use it as is; otherwise, prepend...
13270 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13271 cp $export_symbols $output_objdir/$soname.def;
13273 echo EXPORTS > $output_objdir/$soname.def;
13274 cat $export_symbols >> $output_objdir/$soname.def;
13276 $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'
13283 darwin* | rhapsody*)
13286 archive_cmds_need_lc_CXX=no
13287 hardcode_direct_CXX=no
13288 hardcode_automatic_CXX=yes
13289 hardcode_shlibpath_var_CXX=unsupported
13290 if test "$lt_cv_ld_force_load" = "yes"; then
13291 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\"`'
13294 whole_archive_flag_spec_CXX=''
13296 link_all_deplibs_CXX=yes
13297 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13298 case $cc_basename in
13299 ifort*) _lt_dar_can_shared=yes ;;
13300 *) _lt_dar_can_shared=$GCC ;;
13302 if test "$_lt_dar_can_shared" = "yes"; then
13303 output_verbose_link_cmd=func_echo_all
13304 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}"
13305 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13306 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}"
13307 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}"
13308 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13309 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}"
13310 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}"
13320 case $cc_basename in
13322 # FIXME: insert proper C++ library support
13326 # Green Hills C++ Compiler
13327 # FIXME: insert proper C++ library support
13331 # FIXME: insert proper C++ library support
13338 # C++ shared libraries reported to be fairly broken before
13344 archive_cmds_need_lc_CXX=no
13347 freebsd* | dragonfly*)
13348 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13354 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13355 link_all_deplibs_CXX=yes
13359 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13360 hardcode_libdir_separator_CXX=:
13361 export_dynamic_flag_spec_CXX='${wl}-E'
13362 hardcode_direct_CXX=yes
13363 hardcode_minus_L_CXX=yes # Not in the search PATH,
13364 # but as the default
13365 # location of the library.
13367 case $cc_basename in
13369 # FIXME: insert proper C++ library support
13373 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13374 # Commands to make compiler produce verbose output that lists
13375 # what "hidden" libraries, object files and flags are used when
13376 # linking a shared library.
13378 # There doesn't appear to be a way to prevent this compiler from
13379 # explicitly linking system object files so we need to strip them
13380 # from the output so that they don't get included in the library
13382 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"'
13385 if test "$GXX" = yes; then
13386 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13388 # FIXME: insert proper C++ library support
13396 if test $with_gnu_ld = no; then
13397 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13398 hardcode_libdir_separator_CXX=:
13404 export_dynamic_flag_spec_CXX='${wl}-E'
13410 hardcode_direct_CXX=no
13411 hardcode_shlibpath_var_CXX=no
13414 hardcode_direct_CXX=yes
13415 hardcode_direct_absolute_CXX=yes
13416 hardcode_minus_L_CXX=yes # Not in the search PATH,
13417 # but as the default
13418 # location of the library.
13422 case $cc_basename in
13424 # FIXME: insert proper C++ library support
13430 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13433 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13436 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13439 # Commands to make compiler produce verbose output that lists
13440 # what "hidden" libraries, object files and flags are used when
13441 # linking a shared library.
13443 # There doesn't appear to be a way to prevent this compiler from
13444 # explicitly linking system object files so we need to strip them
13445 # from the output so that they don't get included in the library
13447 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"'
13450 if test "$GXX" = yes; then
13451 if test $with_gnu_ld = no; then
13454 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13457 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13460 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'
13465 # FIXME: insert proper C++ library support
13473 hardcode_direct_CXX=no
13474 hardcode_shlibpath_var_CXX=no
13475 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13476 export_dynamic_flag_spec_CXX='${wl}-E'
13477 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13478 # Instead, shared libraries are loaded at an image base (0x10000000 by
13479 # default) and relocated if they conflict, which is a slow very memory
13480 # consuming and fragmenting process. To avoid this, we pick a random,
13481 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13482 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13483 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'
13484 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'
13487 case $cc_basename in
13490 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'
13492 # Archives containing C++ object files must be created using
13493 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13494 # necessary to make sure instantiated templates are included
13496 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13499 if test "$GXX" = yes; then
13500 if test "$with_gnu_ld" = no; then
13501 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'
13503 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'
13506 link_all_deplibs_CXX=yes
13509 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13510 hardcode_libdir_separator_CXX=:
13511 inherit_rpath_CXX=yes
13514 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13515 case $cc_basename in
13517 # Kuck and Associates, Inc. (KAI) C++ Compiler
13519 # KCC will only create a shared library if the output file
13520 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13521 # to its proper name (with version) after linking.
13522 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'
13523 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'
13524 # Commands to make compiler produce verbose output that lists
13525 # what "hidden" libraries, object files and flags are used when
13526 # linking a shared library.
13528 # There doesn't appear to be a way to prevent this compiler from
13529 # explicitly linking system object files so we need to strip them
13530 # from the output so that they don't get included in the library
13532 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"'
13534 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13535 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13537 # Archives containing C++ object files must be created using
13538 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13539 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13544 # version 8.0 and above of icpc choke on multiply defined symbols
13545 # if we add $predep_objects and $postdep_objects, however 7.1 and
13546 # earlier do not add the objects themselves.
13547 case `$CC -V 2>&1` in
13549 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13550 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'
13552 *) # Version 8.0 or newer
13555 ia64*) tmp_idyn=' -i_dynamic';;
13557 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13558 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'
13561 archive_cmds_need_lc_CXX=no
13562 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13563 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13564 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13567 # Portland Group C++ compiler
13569 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13570 prelink_cmds_CXX='tpldir=Template.dir~
13572 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13573 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13574 old_archive_cmds_CXX='tpldir=Template.dir~
13576 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13577 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13579 archive_cmds_CXX='tpldir=Template.dir~
13581 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13582 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13583 archive_expsym_cmds_CXX='tpldir=Template.dir~
13585 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13586 $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'
13588 *) # Version 6 and above use weak symbols
13589 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13590 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'
13594 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13595 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13596 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'
13600 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13601 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'
13603 runpath_var=LD_RUN_PATH
13604 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13605 hardcode_libdir_separator_CXX=:
13607 # Commands to make compiler produce verbose output that lists
13608 # what "hidden" libraries, object files and flags are used when
13609 # linking a shared library.
13611 # There doesn't appear to be a way to prevent this compiler from
13612 # explicitly linking system object files so we need to strip them
13613 # from the output so that they don't get included in the library
13615 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'
13617 xl* | mpixl* | bgxl*)
13618 # IBM XL 8.0 on PPC, with GNU ld
13619 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13620 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13621 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13622 if test "x$supports_anon_versioning" = xyes; then
13623 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13624 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13625 echo "local: *; };" >> $output_objdir/$libname.ver~
13626 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13630 case `$CC -V 2>&1 | sed 5q` in
13633 no_undefined_flag_CXX=' -zdefs'
13634 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13635 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'
13636 hardcode_libdir_flag_spec_CXX='-R$libdir'
13637 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'
13638 compiler_needs_object_CXX=yes
13640 # Not sure whether something based on
13641 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13643 output_verbose_link_cmd='func_echo_all'
13645 # Archives containing C++ object files must be created using
13646 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13647 # necessary to make sure instantiated templates are included
13649 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13657 # FIXME: insert proper C++ library support
13662 # FIXME: insert proper C++ library support
13667 case $cc_basename in
13669 # FIXME: insert proper C++ library support
13673 # FIXME: insert proper C++ library support
13680 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13681 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13683 hardcode_libdir_flag_spec_CXX='-R$libdir'
13684 hardcode_direct_CXX=yes
13685 hardcode_shlibpath_var_CXX=no
13687 # Workaround some broken pre-1.5 toolchains
13688 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13696 # C++ shared libraries are fairly broken
13701 if test -f /usr/libexec/ld.so; then
13702 hardcode_direct_CXX=yes
13703 hardcode_shlibpath_var_CXX=no
13704 hardcode_direct_absolute_CXX=yes
13705 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13706 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13707 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13708 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13709 export_dynamic_flag_spec_CXX='${wl}-E'
13710 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13712 output_verbose_link_cmd=func_echo_all
13718 osf3* | osf4* | osf5*)
13719 case $cc_basename in
13721 # Kuck and Associates, Inc. (KAI) C++ Compiler
13723 # KCC will only create a shared library if the output file
13724 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13725 # to its proper name (with version) after linking.
13726 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'
13728 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13729 hardcode_libdir_separator_CXX=:
13731 # Archives containing C++ object files must be created using
13732 # the KAI C++ compiler.
13734 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13735 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13739 # Rational C++ 2.4.1
13740 # FIXME: insert proper C++ library support
13746 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13747 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'
13748 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13751 allow_undefined_flag_CXX=' -expect_unresolved \*'
13752 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'
13753 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13754 echo "-hidden">> $lib.exp~
13755 $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~
13757 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13761 hardcode_libdir_separator_CXX=:
13763 # Commands to make compiler produce verbose output that lists
13764 # what "hidden" libraries, object files and flags are used when
13765 # linking a shared library.
13767 # There doesn't appear to be a way to prevent this compiler from
13768 # explicitly linking system object files so we need to strip them
13769 # from the output so that they don't get included in the library
13771 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"'
13774 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13775 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13778 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'
13781 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'
13785 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13786 hardcode_libdir_separator_CXX=:
13788 # Commands to make compiler produce verbose output that lists
13789 # what "hidden" libraries, object files and flags are used when
13790 # linking a shared library.
13791 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13794 # FIXME: insert proper C++ library support
13802 # FIXME: insert proper C++ library support
13807 case $cc_basename in
13810 # FIXME: insert proper C++ library support
13815 # FIXME: insert proper C++ library support
13819 # FIXME: insert proper C++ library support
13826 case $cc_basename in
13828 # Sun C++ 4.2, 5.x and Centerline C++
13829 archive_cmds_need_lc_CXX=yes
13830 no_undefined_flag_CXX=' -zdefs'
13831 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13832 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13833 $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'
13835 hardcode_libdir_flag_spec_CXX='-R$libdir'
13836 hardcode_shlibpath_var_CXX=no
13838 solaris2.[0-5] | solaris2.[0-5].*) ;;
13840 # The compiler driver will combine and reorder linker options,
13841 # but understands `-z linker_flag'.
13842 # Supported since Solaris 2.6 (maybe 2.5.1?)
13843 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13846 link_all_deplibs_CXX=yes
13848 output_verbose_link_cmd='func_echo_all'
13850 # Archives containing C++ object files must be created using
13851 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13852 # necessary to make sure instantiated templates are included
13854 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13857 # Green Hills C++ Compiler
13858 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13860 # The C++ compiler must be used to create the archive.
13861 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13864 # GNU C++ compiler with Solaris linker
13865 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13866 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13867 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13868 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13869 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13870 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13872 # Commands to make compiler produce verbose output that lists
13873 # what "hidden" libraries, object files and flags are used when
13874 # linking a shared library.
13875 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13877 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13879 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13880 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13881 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13883 # Commands to make compiler produce verbose output that lists
13884 # what "hidden" libraries, object files and flags are used when
13885 # linking a shared library.
13886 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13889 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13891 solaris2.[0-5] | solaris2.[0-5].*) ;;
13893 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13901 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13902 no_undefined_flag_CXX='${wl}-z,text'
13903 archive_cmds_need_lc_CXX=no
13904 hardcode_shlibpath_var_CXX=no
13905 runpath_var='LD_RUN_PATH'
13907 case $cc_basename in
13909 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13910 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13913 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13914 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13919 sysv5* | sco3.2v5* | sco5v6*)
13920 # Note: We can NOT use -z defs as we might desire, because we do not
13921 # link with -lc, and that would cause any symbols used from libc to
13922 # always be unresolved, which means just about no library would
13923 # ever link correctly. If we're not using GNU ld we use -z text
13924 # though, which does catch some bad symbols but isn't as heavy-handed
13926 no_undefined_flag_CXX='${wl}-z,text'
13927 allow_undefined_flag_CXX='${wl}-z,nodefs'
13928 archive_cmds_need_lc_CXX=no
13929 hardcode_shlibpath_var_CXX=no
13930 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13931 hardcode_libdir_separator_CXX=':'
13932 link_all_deplibs_CXX=yes
13933 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13934 runpath_var='LD_RUN_PATH'
13936 case $cc_basename in
13938 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13939 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13940 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13941 '"$old_archive_cmds_CXX"
13942 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13943 '"$reload_cmds_CXX"
13946 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13947 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13953 case $cc_basename in
13955 # NonStop-UX NCC 3.20
13956 # FIXME: insert proper C++ library support
13960 # FIXME: insert proper C++ library support
13967 # FIXME: insert proper C++ library support
13972 # FIXME: insert proper C++ library support
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13978 $as_echo "$ld_shlibs_CXX" >&6; }
13979 test "$ld_shlibs_CXX" = no && can_build_shared=no
13985 ## There is no encapsulation within the following macros, do not change
13986 ## the running order or otherwise move them around unless you know exactly
13987 ## what you are doing...
13988 # Dependencies to place before and after the object being linked:
13989 predep_objects_CXX=
13990 postdep_objects_CXX=
13993 compiler_lib_search_path_CXX=
13995 cat > conftest.$ac_ext <<_LT_EOF
13999 Foo (void) { a = 0; }
14006 _lt_libdeps_save_CFLAGS=$CFLAGS
14007 case "$CC $CFLAGS " in #(
14008 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14009 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14010 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14014 (eval $ac_compile) 2>&5
14016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14017 test $ac_status = 0; }; then
14018 # Parse the compiler output and extract the necessary
14019 # objects, libraries and library flags.
14021 # Sentinel used to keep track of whether or not we are before
14022 # the conftest object file.
14023 pre_test_object_deps_done=no
14025 for p in `eval "$output_verbose_link_cmd"`; do
14026 case ${prev}${p} in
14029 # Some compilers place space between "-{L,R}" and the path.
14030 # Remove the space.
14031 if test $p = "-L" ||
14032 test $p = "-R"; then
14037 # Expand the sysroot to ease extracting the directories later.
14038 if test -z "$prev"; then
14040 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14041 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14042 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14046 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14048 if test "$pre_test_object_deps_done" = no; then
14051 # Internal compiler library paths should come after those
14052 # provided the user. The postdeps already come after the
14053 # user supplied libs so there is no need to process them.
14054 if test -z "$compiler_lib_search_path_CXX"; then
14055 compiler_lib_search_path_CXX="${prev}${p}"
14057 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14060 # The "-l" case would never come before the object being
14061 # linked, so don't bother handling this case.
14064 if test -z "$postdeps_CXX"; then
14065 postdeps_CXX="${prev}${p}"
14067 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14073 *.lto.$objext) ;; # Ignore GCC LTO objects
14075 # This assumes that the test object file only shows up
14076 # once in the compiler output.
14077 if test "$p" = "conftest.$objext"; then
14078 pre_test_object_deps_done=yes
14082 if test "$pre_test_object_deps_done" = no; then
14083 if test -z "$predep_objects_CXX"; then
14084 predep_objects_CXX="$p"
14086 predep_objects_CXX="$predep_objects_CXX $p"
14089 if test -z "$postdep_objects_CXX"; then
14090 postdep_objects_CXX="$p"
14092 postdep_objects_CXX="$postdep_objects_CXX $p"
14097 *) ;; # Ignore the rest.
14105 echo "libtool.m4: error: problem compiling CXX test program"
14108 $RM -f confest.$objext
14109 CFLAGS=$_lt_libdeps_save_CFLAGS
14111 # PORTME: override above test on systems where it is broken
14114 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14115 # hack all around it, let's just trust "g++" to DTRT.
14116 predep_objects_CXX=
14117 postdep_objects_CXX=
14122 case `$CC -V 2>&1 | sed 5q` in
14126 # The more standards-conforming stlport4 library is
14127 # incompatible with the Cstd library. Avoid specifying
14128 # it if it's in CXXFLAGS. Ignore libCrun as
14129 # -library=stlport4 depends on it.
14130 case " $CXX $CXXFLAGS " in
14131 *" -library=stlport4 "*)
14132 solaris_use_stlport4=yes
14136 if test "$solaris_use_stlport4" != yes; then
14137 postdeps_CXX='-library=Cstd -library=Crun'
14144 case $cc_basename in
14146 # The more standards-conforming stlport4 library is
14147 # incompatible with the Cstd library. Avoid specifying
14148 # it if it's in CXXFLAGS. Ignore libCrun as
14149 # -library=stlport4 depends on it.
14150 case " $CXX $CXXFLAGS " in
14151 *" -library=stlport4 "*)
14152 solaris_use_stlport4=yes
14156 # Adding this requires a known-good setup of shared libraries for
14157 # Sun compiler versions before 5.6, else PIC objects from an old
14158 # archive will be linked into the output, leading to subtle bugs.
14159 if test "$solaris_use_stlport4" != yes; then
14160 postdeps_CXX='-library=Cstd -library=Crun'
14168 case " $postdeps_CXX " in
14169 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14171 compiler_lib_search_dirs_CXX=
14172 if test -n "${compiler_lib_search_path_CXX}"; then
14173 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14206 lt_prog_compiler_wl_CXX=
14207 lt_prog_compiler_pic_CXX=
14208 lt_prog_compiler_static_CXX=
14211 # C++ specific cases for pic, static, wl, etc.
14212 if test "$GXX" = yes; then
14213 lt_prog_compiler_wl_CXX='-Wl,'
14214 lt_prog_compiler_static_CXX='-static'
14218 # All AIX code is PIC.
14219 if test "$host_cpu" = ia64; then
14220 # AIX 5 now supports IA64 processor
14221 lt_prog_compiler_static_CXX='-Bstatic'
14228 # see comment about AmigaOS4 .so support
14229 lt_prog_compiler_pic_CXX='-fPIC'
14232 # FIXME: we need at least 68020 code to build shared libraries, but
14233 # adding the `-m68020' flag to GCC prevents building anything better,
14235 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14240 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14241 # PIC is the default for these OSes.
14243 mingw* | cygwin* | os2* | pw32* | cegcc*)
14244 # This hack is so that the source file can tell whether it is being
14245 # built for inclusion in a dll (and should export symbols for example).
14246 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14247 # (--disable-auto-import) libraries
14248 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14250 darwin* | rhapsody*)
14251 # PIC is the default on this platform
14252 # Common symbols not allowed in MH_DYLIB files
14253 lt_prog_compiler_pic_CXX='-fno-common'
14256 # DJGPP does not support shared libraries at all
14257 lt_prog_compiler_pic_CXX=
14260 # PIC is the default for Haiku.
14261 # The "-static" flag exists, but is broken.
14262 lt_prog_compiler_static_CXX=
14265 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14266 # Instead, we relocate shared libraries at runtime.
14269 if test -d /usr/nec; then
14270 lt_prog_compiler_pic_CXX=-Kconform_pic
14274 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14275 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14276 # sets the default TLS model and affects inlining.
14281 lt_prog_compiler_pic_CXX='-fPIC'
14286 # QNX uses GNU C++, but need to define -shared option too, otherwise
14287 # it will coredump.
14288 lt_prog_compiler_pic_CXX='-fPIC -shared'
14291 lt_prog_compiler_pic_CXX='-fPIC'
14297 # All AIX code is PIC.
14298 if test "$host_cpu" = ia64; then
14299 # AIX 5 now supports IA64 processor
14300 lt_prog_compiler_static_CXX='-Bstatic'
14302 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14306 case $cc_basename in
14308 # Green Hills C++ Compiler
14309 # _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"
14313 mingw* | cygwin* | os2* | pw32* | cegcc*)
14314 # This hack is so that the source file can tell whether it is being
14315 # built for inclusion in a dll (and should export symbols for example).
14316 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14319 case $cc_basename in
14321 lt_prog_compiler_pic_CXX='-KPIC'
14324 # Green Hills C++ Compiler
14325 lt_prog_compiler_pic_CXX='-pic'
14331 freebsd* | dragonfly*)
14332 # FreeBSD uses GNU C++
14334 hpux9* | hpux10* | hpux11*)
14335 case $cc_basename in
14337 lt_prog_compiler_wl_CXX='-Wl,'
14338 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14339 if test "$host_cpu" != ia64; then
14340 lt_prog_compiler_pic_CXX='+Z'
14344 lt_prog_compiler_wl_CXX='-Wl,'
14345 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14351 lt_prog_compiler_pic_CXX='+Z'
14360 # This is c89, which is MS Visual C++ (no shared libs)
14361 # Anyone wants to do a port?
14363 irix5* | irix6* | nonstopux*)
14364 case $cc_basename in
14366 lt_prog_compiler_wl_CXX='-Wl,'
14367 lt_prog_compiler_static_CXX='-non_shared'
14368 # CC pic flag -KPIC is the default.
14374 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14375 case $cc_basename in
14378 lt_prog_compiler_wl_CXX='--backend -Wl,'
14379 lt_prog_compiler_pic_CXX='-fPIC'
14382 # old Intel C++ for x86_64 which still supported -KPIC.
14383 lt_prog_compiler_wl_CXX='-Wl,'
14384 lt_prog_compiler_pic_CXX='-KPIC'
14385 lt_prog_compiler_static_CXX='-static'
14388 # Intel C++, used to be incompatible with GCC.
14389 # ICC 10 doesn't accept -KPIC any more.
14390 lt_prog_compiler_wl_CXX='-Wl,'
14391 lt_prog_compiler_pic_CXX='-fPIC'
14392 lt_prog_compiler_static_CXX='-static'
14395 # Portland Group C++ compiler
14396 lt_prog_compiler_wl_CXX='-Wl,'
14397 lt_prog_compiler_pic_CXX='-fpic'
14398 lt_prog_compiler_static_CXX='-Bstatic'
14402 # Make sure the PIC flag is empty. It appears that all Alpha
14403 # Linux and Compaq Tru64 Unix objects are PIC.
14404 lt_prog_compiler_pic_CXX=
14405 lt_prog_compiler_static_CXX='-non_shared'
14407 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14408 # IBM XL 8.0, 9.0 on PPC and BlueGene
14409 lt_prog_compiler_wl_CXX='-Wl,'
14410 lt_prog_compiler_pic_CXX='-qpic'
14411 lt_prog_compiler_static_CXX='-qstaticlink'
14414 case `$CC -V 2>&1 | sed 5q` in
14417 lt_prog_compiler_pic_CXX='-KPIC'
14418 lt_prog_compiler_static_CXX='-Bstatic'
14419 lt_prog_compiler_wl_CXX='-Qoption ld '
14430 case $cc_basename in
14432 lt_prog_compiler_pic_CXX='-W c,exportall'
14438 netbsd* | netbsdelf*-gnu)
14441 # QNX uses GNU C++, but need to define -shared option too, otherwise
14442 # it will coredump.
14443 lt_prog_compiler_pic_CXX='-fPIC -shared'
14445 osf3* | osf4* | osf5*)
14446 case $cc_basename in
14448 lt_prog_compiler_wl_CXX='--backend -Wl,'
14451 # Rational C++ 2.4.1
14452 lt_prog_compiler_pic_CXX='-pic'
14455 # Digital/Compaq C++
14456 lt_prog_compiler_wl_CXX='-Wl,'
14457 # Make sure the PIC flag is empty. It appears that all Alpha
14458 # Linux and Compaq Tru64 Unix objects are PIC.
14459 lt_prog_compiler_pic_CXX=
14460 lt_prog_compiler_static_CXX='-non_shared'
14469 case $cc_basename in
14471 # Sun C++ 4.2, 5.x and Centerline C++
14472 lt_prog_compiler_pic_CXX='-KPIC'
14473 lt_prog_compiler_static_CXX='-Bstatic'
14474 lt_prog_compiler_wl_CXX='-Qoption ld '
14477 # Green Hills C++ Compiler
14478 lt_prog_compiler_pic_CXX='-PIC'
14485 case $cc_basename in
14488 lt_prog_compiler_pic_CXX='-pic'
14489 lt_prog_compiler_static_CXX='-Bstatic'
14493 lt_prog_compiler_pic_CXX='-pic'
14499 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14500 case $cc_basename in
14502 lt_prog_compiler_wl_CXX='-Wl,'
14503 lt_prog_compiler_pic_CXX='-KPIC'
14504 lt_prog_compiler_static_CXX='-Bstatic'
14509 case $cc_basename in
14511 # NonStop-UX NCC 3.20
14512 lt_prog_compiler_pic_CXX='-KPIC'
14521 lt_prog_compiler_can_build_shared_CXX=no
14527 # For platforms which do not support PIC, -DPIC is meaningless:
14529 lt_prog_compiler_pic_CXX=
14532 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14537 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14538 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14539 $as_echo_n "(cached) " >&6
14541 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14544 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14545 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14548 # Check to make sure the PIC flag actually works.
14550 if test -n "$lt_prog_compiler_pic_CXX"; then
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14552 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14553 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14554 $as_echo_n "(cached) " >&6
14556 lt_cv_prog_compiler_pic_works_CXX=no
14557 ac_outfile=conftest.$ac_objext
14558 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14559 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14560 # Insert the option either (1) after the last *FLAGS variable, or
14561 # (2) before a word containing "conftest.", or (3) at the end.
14562 # Note that $ac_compile itself does not contain backslashes and begins
14563 # with a dollar sign (not a hyphen), so the echo should work correctly.
14564 # The option is referenced via a variable to avoid confusing sed.
14565 lt_compile=`echo "$ac_compile" | $SED \
14566 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14567 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14568 -e 's:$: $lt_compiler_flag:'`
14569 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14570 (eval "$lt_compile" 2>conftest.err)
14572 cat conftest.err >&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 if (exit $ac_status) && test -s "$ac_outfile"; then
14575 # The compiler can only warn and ignore the option if not recognized
14576 # So say no if there are warnings other than the usual output.
14577 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14578 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14579 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14580 lt_cv_prog_compiler_pic_works_CXX=yes
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14587 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14589 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14590 case $lt_prog_compiler_pic_CXX in
14592 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14595 lt_prog_compiler_pic_CXX=
14596 lt_prog_compiler_can_build_shared_CXX=no
14606 # Check to make sure the static flag actually works.
14608 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14610 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14611 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14612 $as_echo_n "(cached) " >&6
14614 lt_cv_prog_compiler_static_works_CXX=no
14615 save_LDFLAGS="$LDFLAGS"
14616 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14617 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14618 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14619 # The linker can only warn and ignore the option if not recognized
14620 # So say no if there are warnings
14621 if test -s conftest.err; then
14622 # Append any errors to the config.log.
14623 cat conftest.err 1>&5
14624 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14625 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14626 if diff conftest.exp conftest.er2 >/dev/null; then
14627 lt_cv_prog_compiler_static_works_CXX=yes
14630 lt_cv_prog_compiler_static_works_CXX=yes
14634 LDFLAGS="$save_LDFLAGS"
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14638 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14640 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14643 lt_prog_compiler_static_CXX=
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14650 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14651 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14652 $as_echo_n "(cached) " >&6
14654 lt_cv_prog_compiler_c_o_CXX=no
14655 $RM -r conftest 2>/dev/null
14659 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14661 lt_compiler_flag="-o out/conftest2.$ac_objext"
14662 # Insert the option either (1) after the last *FLAGS variable, or
14663 # (2) before a word containing "conftest.", or (3) at the end.
14664 # Note that $ac_compile itself does not contain backslashes and begins
14665 # with a dollar sign (not a hyphen), so the echo should work correctly.
14666 lt_compile=`echo "$ac_compile" | $SED \
14667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14669 -e 's:$: $lt_compiler_flag:'`
14670 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14671 (eval "$lt_compile" 2>out/conftest.err)
14673 cat out/conftest.err >&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14677 # The compiler can only warn and ignore the option if not recognized
14678 # So say no if there are warnings
14679 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14680 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14681 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14682 lt_cv_prog_compiler_c_o_CXX=yes
14687 # SGI C++ compiler will create directory out/ii_files/ for
14688 # template instantiation
14689 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14690 $RM out/* && rmdir out
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14697 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14702 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14703 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14704 $as_echo_n "(cached) " >&6
14706 lt_cv_prog_compiler_c_o_CXX=no
14707 $RM -r conftest 2>/dev/null
14711 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14713 lt_compiler_flag="-o out/conftest2.$ac_objext"
14714 # Insert the option either (1) after the last *FLAGS variable, or
14715 # (2) before a word containing "conftest.", or (3) at the end.
14716 # Note that $ac_compile itself does not contain backslashes and begins
14717 # with a dollar sign (not a hyphen), so the echo should work correctly.
14718 lt_compile=`echo "$ac_compile" | $SED \
14719 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14720 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14721 -e 's:$: $lt_compiler_flag:'`
14722 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14723 (eval "$lt_compile" 2>out/conftest.err)
14725 cat out/conftest.err >&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14729 # The compiler can only warn and ignore the option if not recognized
14730 # So say no if there are warnings
14731 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14732 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14733 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14734 lt_cv_prog_compiler_c_o_CXX=yes
14739 # SGI C++ compiler will create directory out/ii_files/ for
14740 # template instantiation
14741 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14742 $RM out/* && rmdir out
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14749 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14754 hard_links="nottested"
14755 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14756 # do not overwrite the value of need_locks provided by the user
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14758 $as_echo_n "checking if we can lock with hard links... " >&6; }
14761 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14763 ln conftest.a conftest.b 2>&5 || hard_links=no
14764 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14766 $as_echo "$hard_links" >&6; }
14767 if test "$hard_links" = no; then
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14769 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14779 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14781 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14782 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14785 # If we're using GNU nm, then we don't want the "-C" option.
14786 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14787 # Also, AIX nm treats weak defined symbols like other global defined
14788 # symbols, whereas GNU nm marks them as "W".
14789 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14790 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14792 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14796 export_symbols_cmds_CXX="$ltdll_cmds"
14798 cygwin* | mingw* | cegcc*)
14799 case $cc_basename in
14801 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14804 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'
14805 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14809 linux* | k*bsd*-gnu | gnu*)
14810 link_all_deplibs_CXX=no
14813 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14818 $as_echo "$ld_shlibs_CXX" >&6; }
14819 test "$ld_shlibs_CXX" = no && can_build_shared=no
14821 with_gnu_ld_CXX=$with_gnu_ld
14829 # Do we need to explicitly link libc?
14831 case "x$archive_cmds_need_lc_CXX" in
14833 # Assume -lc should be added
14834 archive_cmds_need_lc_CXX=yes
14836 if test "$enable_shared" = yes && test "$GCC" = yes; then
14837 case $archive_cmds_CXX in
14839 # FIXME: we may have to deal with multi-command sequences.
14842 # Test whether the compiler implicitly links with -lc since on some
14843 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14844 # to ld, don't add -lc before -lgcc.
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14846 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14847 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14848 $as_echo_n "(cached) " >&6
14851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14853 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14854 (eval $ac_compile) 2>&5
14856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14857 test $ac_status = 0; } 2>conftest.err; then
14860 libobjs=conftest.$ac_objext
14862 wl=$lt_prog_compiler_wl_CXX
14863 pic_flag=$lt_prog_compiler_pic_CXX
14869 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14870 allow_undefined_flag_CXX=
14871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14872 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14875 test $ac_status = 0; }
14877 lt_cv_archive_cmds_need_lc_CXX=no
14879 lt_cv_archive_cmds_need_lc_CXX=yes
14881 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14883 cat conftest.err 1>&5
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14889 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14890 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14959 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14961 library_names_spec=
14962 libname_spec='lib$name'
14966 postuninstall_cmds=
14970 shlibpath_overrides_runpath=unknown
14972 dynamic_linker="$host_os ld.so"
14973 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14974 need_lib_prefix=unknown
14975 hardcode_into_libs=no
14977 # when you set need_version to no, make sure it does not cause -set_version
14978 # flags to be left without arguments
14979 need_version=unknown
14983 version_type=linux # correct to gnu/linux during the next big refactor
14984 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14985 shlibpath_var=LIBPATH
14987 # AIX 3 has no versioning support, so we append a major version to the name.
14988 soname_spec='${libname}${release}${shared_ext}$major'
14992 version_type=linux # correct to gnu/linux during the next big refactor
14995 hardcode_into_libs=yes
14996 if test "$host_cpu" = ia64; then
14997 # AIX 5 supports IA64
14998 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14999 shlibpath_var=LD_LIBRARY_PATH
15001 # With GCC up to 2.95.x, collect2 would create an import file
15002 # for dependence libraries. The import file would start with
15003 # the line `#! .'. This would cause the generated library to
15004 # depend on `.', always an invalid library. This was fixed in
15005 # development snapshots of GCC prior to 3.0.
15007 aix4 | aix4.[01] | aix4.[01].*)
15008 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15010 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15013 can_build_shared=no
15017 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15018 # soname into executable. Probably we can add versioning support to
15019 # collect2, so additional links can be useful in future.
15020 if test "$aix_use_runtimelinking" = yes; then
15021 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15022 # instead of lib<name>.a to let people know that these are not
15023 # typical AIX shared libraries.
15024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15026 # We preserve .a as extension for shared libraries through AIX4.2
15027 # and later when we are not doing run time linking.
15028 library_names_spec='${libname}${release}.a $libname.a'
15029 soname_spec='${libname}${release}${shared_ext}$major'
15031 shlibpath_var=LIBPATH
15038 # Since July 2007 AmigaOS4 officially supports .so libraries.
15039 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15043 library_names_spec='$libname.ixlibrary $libname.a'
15044 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15045 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15051 library_names_spec='${libname}${shared_ext}'
15052 dynamic_linker="$host_os ld.so"
15053 shlibpath_var=LIBRARY_PATH
15057 version_type=linux # correct to gnu/linux during the next big refactor
15059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15060 soname_spec='${libname}${release}${shared_ext}$major'
15061 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15062 shlibpath_var=LD_LIBRARY_PATH
15063 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15064 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15065 # the default ld.so.conf also contains /usr/contrib/lib and
15066 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15067 # libtool to hard-code these into programs
15070 cygwin* | mingw* | pw32* | cegcc*)
15071 version_type=windows
15076 case $GCC,$cc_basename in
15079 library_names_spec='$libname.dll.a'
15080 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15081 postinstall_cmds='base_file=`basename \${file}`~
15082 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15083 dldir=$destdir/`dirname \$dlpath`~
15084 test -d \$dldir || mkdir -p \$dldir~
15085 $install_prog $dir/$dlname \$dldir/$dlname~
15086 chmod a+x \$dldir/$dlname~
15087 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15088 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15090 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15091 dlpath=$dir/\$dldll~
15093 shlibpath_overrides_runpath=yes
15097 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15098 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15102 # MinGW DLLs use traditional 'lib' prefix
15103 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15106 # pw32 DLLs use 'pw' prefix rather than 'lib'
15107 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15110 dynamic_linker='Win32 ld.exe'
15115 libname_spec='$name'
15116 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15117 library_names_spec='${libname}.dll.lib'
15121 sys_lib_search_path_spec=
15124 for lt_path in $LIB
15127 # Let DOS variable expansion print the short 8.3 style file name.
15128 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15129 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15132 # Convert to MSYS style.
15133 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15136 # Convert to unix form, then to dos form, then back to unix form
15137 # but this time dos style (no spaces!) so that the unix form looks
15138 # like /cygdrive/c/PROGRA~1:/cygdr...
15139 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15140 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15141 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15144 sys_lib_search_path_spec="$LIB"
15145 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15146 # It is most probably a Windows format PATH.
15147 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15151 # FIXME: find the short name or the path components, as spaces are
15152 # common. (e.g. "Program Files" -> "PROGRA~1")
15156 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15157 postinstall_cmds='base_file=`basename \${file}`~
15158 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15159 dldir=$destdir/`dirname \$dlpath`~
15160 test -d \$dldir || mkdir -p \$dldir~
15161 $install_prog $dir/$dlname \$dldir/$dlname'
15162 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15163 dlpath=$dir/\$dldll~
15165 shlibpath_overrides_runpath=yes
15166 dynamic_linker='Win32 link.exe'
15170 # Assume MSVC wrapper
15171 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15172 dynamic_linker='Win32 ld.exe'
15175 # FIXME: first we should search . and the directory the executable is in
15179 darwin* | rhapsody*)
15180 dynamic_linker="$host_os dyld"
15181 version_type=darwin
15184 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15185 soname_spec='${libname}${release}${major}$shared_ext'
15186 shlibpath_overrides_runpath=yes
15187 shlibpath_var=DYLD_LIBRARY_PATH
15188 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15190 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15194 version_type=linux # correct to gnu/linux during the next big refactor
15197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15198 soname_spec='${libname}${release}${shared_ext}$major'
15199 shlibpath_var=LD_LIBRARY_PATH
15202 freebsd* | dragonfly*)
15203 # DragonFly does not have aout. When/if they implement a new
15204 # versioning mechanism, adjust this.
15205 if test -x /usr/bin/objformat; then
15206 objformat=`/usr/bin/objformat`
15209 freebsd[23].*) objformat=aout ;;
15210 *) objformat=elf ;;
15213 version_type=freebsd-$objformat
15214 case $version_type in
15216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15221 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15225 shlibpath_var=LD_LIBRARY_PATH
15228 shlibpath_overrides_runpath=yes
15230 freebsd3.[01]* | freebsdelf3.[01]*)
15231 shlibpath_overrides_runpath=yes
15232 hardcode_into_libs=yes
15234 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15235 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15236 shlibpath_overrides_runpath=no
15237 hardcode_into_libs=yes
15239 *) # from 4.6 on, and DragonFly
15240 shlibpath_overrides_runpath=yes
15241 hardcode_into_libs=yes
15247 version_type=linux # correct to gnu/linux during the next big refactor
15250 dynamic_linker="$host_os runtime_loader"
15251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15252 soname_spec='${libname}${release}${shared_ext}$major'
15253 shlibpath_var=LIBRARY_PATH
15254 shlibpath_overrides_runpath=yes
15255 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15256 hardcode_into_libs=yes
15259 hpux9* | hpux10* | hpux11*)
15260 # Give a soname corresponding to the major version so that dld.sl refuses to
15261 # link against other versions.
15268 hardcode_into_libs=yes
15269 dynamic_linker="$host_os dld.so"
15270 shlibpath_var=LD_LIBRARY_PATH
15271 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15273 soname_spec='${libname}${release}${shared_ext}$major'
15274 if test "X$HPUX_IA64_MODE" = X32; then
15275 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15277 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15279 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15283 hardcode_into_libs=yes
15284 dynamic_linker="$host_os dld.sl"
15285 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15286 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15288 soname_spec='${libname}${release}${shared_ext}$major'
15289 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15290 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15294 dynamic_linker="$host_os dld.sl"
15295 shlibpath_var=SHLIB_PATH
15296 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15298 soname_spec='${libname}${release}${shared_ext}$major'
15301 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15302 postinstall_cmds='chmod 555 $lib'
15303 # or fails outright, so override atomically:
15304 install_override_mode=555
15308 version_type=linux # correct to gnu/linux during the next big refactor
15311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15312 soname_spec='${libname}${release}${shared_ext}$major'
15313 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15314 shlibpath_var=LD_LIBRARY_PATH
15315 shlibpath_overrides_runpath=no
15316 hardcode_into_libs=yes
15319 irix5* | irix6* | nonstopux*)
15321 nonstopux*) version_type=nonstopux ;;
15323 if test "$lt_cv_prog_gnu_ld" = yes; then
15324 version_type=linux # correct to gnu/linux during the next big refactor
15331 soname_spec='${libname}${release}${shared_ext}$major'
15332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15334 irix5* | nonstopux*)
15335 libsuff= shlibsuff=
15338 case $LD in # libtool.m4 will add one of these switches to LD
15339 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15340 libsuff= shlibsuff= libmagic=32-bit;;
15341 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15342 libsuff=32 shlibsuff=N32 libmagic=N32;;
15343 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15344 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15345 *) libsuff= shlibsuff= libmagic=never-match;;
15349 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15350 shlibpath_overrides_runpath=no
15351 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15352 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15353 hardcode_into_libs=yes
15356 # No shared lib support for Linux oldld, aout, or coff.
15357 linux*oldld* | linux*aout* | linux*coff*)
15361 # This must be glibc/ELF.
15362 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15363 version_type=linux # correct to gnu/linux during the next big refactor
15366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15367 soname_spec='${libname}${release}${shared_ext}$major'
15368 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15369 shlibpath_var=LD_LIBRARY_PATH
15370 shlibpath_overrides_runpath=no
15372 # Some binutils ld are patched to set DT_RUNPATH
15373 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15374 $as_echo_n "(cached) " >&6
15376 lt_cv_shlibpath_overrides_runpath=no
15377 save_LDFLAGS=$LDFLAGS
15378 save_libdir=$libdir
15379 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15380 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h. */
15392 if ac_fn_cxx_try_link "$LINENO"; then :
15393 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15394 lt_cv_shlibpath_overrides_runpath=yes
15397 rm -f core conftest.err conftest.$ac_objext \
15398 conftest$ac_exeext conftest.$ac_ext
15399 LDFLAGS=$save_LDFLAGS
15400 libdir=$save_libdir
15404 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15406 # This implies no fast_install, which is unacceptable.
15407 # Some rework will be needed to allow for fast_install
15408 # before this can be enabled.
15409 hardcode_into_libs=yes
15411 # Append ld.so.conf contents to the search path
15412 if test -f /etc/ld.so.conf; then
15413 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' ' '`
15414 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15417 # We used to test for /lib/ld.so.1 and disable shared libraries on
15418 # powerpc, because MkLinux only supported shared libraries with the
15419 # GNU dynamic linker. Since this was broken with cross compilers,
15420 # most powerpc-linux boxes support dynamic linking these days and
15421 # people can always --disable-shared, the test was removed, and we
15422 # assume the GNU/Linux dynamic linker is in use.
15423 dynamic_linker='GNU/Linux ld.so'
15430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15431 soname_spec='${libname}${release}${shared_ext}$major'
15432 shlibpath_var=LD_LIBRARY_PATH
15433 shlibpath_overrides_runpath=no
15434 hardcode_into_libs=yes
15435 dynamic_linker='NetBSD ld.elf_so'
15442 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15444 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15445 dynamic_linker='NetBSD (a.out) ld.so'
15447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15448 soname_spec='${libname}${release}${shared_ext}$major'
15449 dynamic_linker='NetBSD ld.elf_so'
15451 shlibpath_var=LD_LIBRARY_PATH
15452 shlibpath_overrides_runpath=yes
15453 hardcode_into_libs=yes
15457 version_type=linux # correct to gnu/linux during the next big refactor
15458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15459 shlibpath_var=LD_LIBRARY_PATH
15460 shlibpath_overrides_runpath=yes
15467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15468 soname_spec='${libname}${release}${shared_ext}$major'
15469 shlibpath_var=LD_LIBRARY_PATH
15470 shlibpath_overrides_runpath=no
15471 hardcode_into_libs=yes
15472 dynamic_linker='ldqnx.so'
15477 sys_lib_dlsearch_path_spec="/usr/lib"
15479 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15481 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15482 *) need_version=no ;;
15484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15485 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15486 shlibpath_var=LD_LIBRARY_PATH
15487 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15489 openbsd2.[89] | openbsd2.[89].*)
15490 shlibpath_overrides_runpath=no
15493 shlibpath_overrides_runpath=yes
15497 shlibpath_overrides_runpath=yes
15502 libname_spec='$name'
15505 library_names_spec='$libname${shared_ext} $libname.a'
15506 dynamic_linker='OS/2 ld.exe'
15507 shlibpath_var=LIBPATH
15510 osf3* | osf4* | osf5*)
15514 soname_spec='${libname}${release}${shared_ext}$major'
15515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15516 shlibpath_var=LD_LIBRARY_PATH
15517 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15518 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15526 version_type=linux # correct to gnu/linux during the next big refactor
15529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15530 soname_spec='${libname}${release}${shared_ext}$major'
15531 shlibpath_var=LD_LIBRARY_PATH
15532 shlibpath_overrides_runpath=yes
15533 hardcode_into_libs=yes
15534 # ldd complains unless libraries are executable
15535 postinstall_cmds='chmod +x $lib'
15540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15541 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15542 shlibpath_var=LD_LIBRARY_PATH
15543 shlibpath_overrides_runpath=yes
15544 if test "$with_gnu_ld" = yes; then
15551 version_type=linux # correct to gnu/linux during the next big refactor
15552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15553 soname_spec='${libname}${release}${shared_ext}$major'
15554 shlibpath_var=LD_LIBRARY_PATH
15555 case $host_vendor in
15557 shlibpath_overrides_runpath=no
15559 runpath_var=LD_RUN_PATH
15567 shlibpath_overrides_runpath=no
15568 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15574 if test -d /usr/nec ;then
15575 version_type=linux # correct to gnu/linux during the next big refactor
15576 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15577 soname_spec='$libname${shared_ext}.$major'
15578 shlibpath_var=LD_LIBRARY_PATH
15582 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15583 version_type=freebsd-elf
15586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15587 soname_spec='${libname}${release}${shared_ext}$major'
15588 shlibpath_var=LD_LIBRARY_PATH
15589 shlibpath_overrides_runpath=yes
15590 hardcode_into_libs=yes
15591 if test "$with_gnu_ld" = yes; then
15592 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15594 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15597 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15601 sys_lib_dlsearch_path_spec='/usr/lib'
15605 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15606 version_type=linux # correct to gnu/linux during the next big refactor
15609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15610 shlibpath_var=LD_LIBRARY_PATH
15611 shlibpath_overrides_runpath=no
15612 hardcode_into_libs=yes
15616 version_type=linux # correct to gnu/linux during the next big refactor
15617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15618 soname_spec='${libname}${release}${shared_ext}$major'
15619 shlibpath_var=LD_LIBRARY_PATH
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15627 $as_echo "$dynamic_linker" >&6; }
15628 test "$dynamic_linker" = no && can_build_shared=no
15630 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15631 if test "$GCC" = yes; then
15632 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15635 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15636 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15638 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15639 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15680 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15681 hardcode_action_CXX=
15682 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15683 test -n "$runpath_var_CXX" ||
15684 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15686 # We can hardcode non-existent directories.
15687 if test "$hardcode_direct_CXX" != no &&
15688 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15689 # have to relink, otherwise we might link with an installed library
15690 # when we should be linking with a yet-to-be-installed one
15691 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15692 test "$hardcode_minus_L_CXX" != no; then
15693 # Linking always hardcodes the temporary library directory.
15694 hardcode_action_CXX=relink
15696 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15697 hardcode_action_CXX=immediate
15700 # We cannot hardcode anything, or else we can only hardcode existing
15702 hardcode_action_CXX=unsupported
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15705 $as_echo "$hardcode_action_CXX" >&6; }
15707 if test "$hardcode_action_CXX" = relink ||
15708 test "$inherit_rpath_CXX" = yes; then
15709 # Fast installation is not supported
15710 enable_fast_install=no
15711 elif test "$shlibpath_overrides_runpath" = yes ||
15712 test "$enable_shared" = no; then
15713 # Fast installation is not necessary
15714 enable_fast_install=needless
15723 fi # test -n "$compiler"
15726 CFLAGS=$lt_save_CFLAGS
15730 with_gnu_ld=$lt_save_with_gnu_ld
15731 lt_cv_path_LDCXX=$lt_cv_path_LD
15732 lt_cv_path_LD=$lt_save_path_LD
15733 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15734 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15735 fi # test "$_lt_caught_CXX_error" != yes
15738 ac_cpp='$CPP $CPPFLAGS'
15739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15744 ac_config_headers="$ac_config_headers config.h"
15746 for ac_header in stdarg.h stdio.h stdint.h sys/param.h
15748 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15749 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15751 cat >>confdefs.h <<_ACEOF
15752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15759 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
15760 if test "x$ac_cv_func_vasprintf" = xyes; then :
15761 $as_echo "#define HAVE_VASPRINTF 1" >>confdefs.h
15764 case " $LIBOBJS " in
15765 *" vasprintf.$ac_objext "* ) ;;
15766 *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
15776 # Check whether --enable-reauth was given.
15777 if test "${enable_reauth+set}" = set; then :
15778 enableval=$enable_reauth; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
15781 echo "--enable-reauth argument must be yes or no"
15788 if test "x$reauth" = "xyes" ; then
15789 echo "Fast reauthentication protocol enabled"
15790 TARGET_CFLAGS="$TARGET_CFLAGS -DGSSEAP_ENABLE_REAUTH"
15792 if test "x$reauth" != "xno"; then
15793 GSSEAP_ENABLE_REAUTH_TRUE=
15794 GSSEAP_ENABLE_REAUTH_FALSE='#'
15796 GSSEAP_ENABLE_REAUTH_TRUE='#'
15797 GSSEAP_ENABLE_REAUTH_FALSE=
15802 # Check whether --enable-acceptor was given.
15803 if test "${enable_acceptor+set}" = set; then :
15804 enableval=$enable_acceptor; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
15805 acceptor=$enableval
15807 echo "--enable-acceptor argument must be yes or no"
15814 if test "x$acceptor" = "xyes" ; then
15815 echo "acceptor enabled"
15816 TARGET_CFLAGS="$TARGET_CFLAGS -DGSSEAP_ENABLE_ACCEPTOR"
15818 if test "x$acceptor" != "xno"; then
15819 GSSEAP_ENABLE_ACCEPTOR_TRUE=
15820 GSSEAP_ENABLE_ACCEPTOR_FALSE='#'
15822 GSSEAP_ENABLE_ACCEPTOR_TRUE='#'
15823 GSSEAP_ENABLE_ACCEPTOR_FALSE=
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows" >&5
15830 $as_echo_n "checking for windows... " >&6; }
15831 target_windows="no"
15832 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
15833 if test "x$ac_cv_header_windows_h" = xyes; then :
15834 target_windows="yes"
15836 target_windows="no"
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_windows" >&5
15841 $as_echo "$target_windows" >&6; }
15842 if test "x$target_windows" = "xyes"; then
15843 TARGET_WINDOWS_TRUE=
15844 TARGET_WINDOWS_FALSE='#'
15846 TARGET_WINDOWS_TRUE='#'
15847 TARGET_WINDOWS_FALSE=
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSS-API and Kerberos implementation" >&5
15852 $as_echo_n "checking for GSS-API and Kerberos implementation... " >&6; }
15856 # Check whether --with-krb5 was given.
15857 if test "${with_krb5+set}" = set; then :
15858 withval=$with_krb5; check_krb5_dir="$withval"
15863 for dir in $check_krb5_dir $prefix /usr/local /usr ; do
15865 if test -x "$dir/bin/krb5-config"; then
15867 if test "x$target_windows" = "xyes"; then
15868 KRB5_CFLAGS=-I"$check_krb5_dir/include";
15869 KRB5_LDFLAGS="-L$check_krb5_dir/lib/";
15870 KRB5_LIBS="-lkrb5_32 -lgssapi32";
15871 COMPILE_ET="$check_krb5_dir/bin/compile_et";
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15873 $as_echo "yes" >&6; }
15875 KRB5_CFLAGS=`$dir/bin/krb5-config gssapi --cflags`;
15876 KRB5_LDFLAGS="-L$dir/lib";
15877 KRB5_LIBS=`$dir/bin/krb5-config gssapi --libs`
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15879 $as_echo "yes" >&6; }
15880 # Extract the first word of "compile_et", so it can be a program name with args.
15881 set dummy compile_et; ac_word=$2
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15883 $as_echo_n "checking for $ac_word... " >&6; }
15884 if ${ac_cv_path_COMPILE_ET+:} false; then :
15885 $as_echo_n "(cached) " >&6
15887 case $COMPILE_ET in
15889 ac_cv_path_COMPILE_ET="$COMPILE_ET" # Let the user override the test with a path.
15892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15893 for as_dir in $dir/bin$PATH_SEPARATOr
15896 test -z "$as_dir" && as_dir=.
15897 for ac_exec_ext in '' $ac_executable_extensions; do
15898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15899 ac_cv_path_COMPILE_ET="$as_dir/$ac_word$ac_exec_ext"
15900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15907 test -z "$ac_cv_path_COMPILE_ET" && ac_cv_path_COMPILE_ET="compile_et"
15911 COMPILE_ET=$ac_cv_path_COMPILE_ET
15912 if test -n "$COMPILE_ET"; then
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPILE_ET" >&5
15914 $as_echo "$COMPILE_ET" >&6; }
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15917 $as_echo "no" >&6; }
15925 if test x_$found_krb5 != x_yes; then
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_krb5" >&5
15927 $as_echo "$found_krb5" >&6; }
15929 ----------------------------------------------------------------------
15930 Cannot find GSS-API/Kerberos libraries.
15932 Please install MIT or Heimdal or specify installation directory with
15934 ----------------------------------------------------------------------
15937 printf "Kerberos found in $krb5dir\n";
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSS_C_NT_COMPOSITE_EXPORT in -lkrb5" >&5
15943 $as_echo_n "checking for GSS_C_NT_COMPOSITE_EXPORT in -lkrb5... " >&6; }
15944 if ${ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT+:} false; then :
15945 $as_echo_n "(cached) " >&6
15947 ac_check_lib_save_LIBS=$LIBS
15948 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
15949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15952 /* Override any GCC internal prototype to avoid an error.
15953 Use char because int might match the return type of a GCC
15954 builtin and then its argument prototype would still apply. */
15958 char GSS_C_NT_COMPOSITE_EXPORT ();
15962 return GSS_C_NT_COMPOSITE_EXPORT ();
15967 if ac_fn_c_try_link "$LINENO"; then :
15968 ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT=yes
15970 ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT=no
15972 rm -f core conftest.err conftest.$ac_objext \
15973 conftest$ac_exeext conftest.$ac_ext
15974 LIBS=$ac_check_lib_save_LIBS
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT" >&5
15977 $as_echo "$ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT" >&6; }
15978 if test "x$ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT" = xyes; then :
15980 cat >>confdefs.h <<_ACEOF
15981 #define HAVE_GSS_C_NT_COMPOSITE_EXPORT 1
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_inquire_attrs_for_mech in -lkrb5" >&5
15987 $as_echo_n "checking for gss_inquire_attrs_for_mech in -lkrb5... " >&6; }
15988 if ${ac_cv_lib_krb5_gss_inquire_attrs_for_mech+:} false; then :
15989 $as_echo_n "(cached) " >&6
15991 ac_check_lib_save_LIBS=$LIBS
15992 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
15993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15996 /* Override any GCC internal prototype to avoid an error.
15997 Use char because int might match the return type of a GCC
15998 builtin and then its argument prototype would still apply. */
16002 char gss_inquire_attrs_for_mech ();
16006 return gss_inquire_attrs_for_mech ();
16011 if ac_fn_c_try_link "$LINENO"; then :
16012 ac_cv_lib_krb5_gss_inquire_attrs_for_mech=yes
16014 ac_cv_lib_krb5_gss_inquire_attrs_for_mech=no
16016 rm -f core conftest.err conftest.$ac_objext \
16017 conftest$ac_exeext conftest.$ac_ext
16018 LIBS=$ac_check_lib_save_LIBS
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_gss_inquire_attrs_for_mech" >&5
16021 $as_echo "$ac_cv_lib_krb5_gss_inquire_attrs_for_mech" >&6; }
16022 if test "x$ac_cv_lib_krb5_gss_inquire_attrs_for_mech" = xyes; then :
16024 cat >>confdefs.h <<_ACEOF
16025 #define HAVE_GSS_INQUIRE_ATTRS_FOR_MECH 1
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_krb5_import_cred in -lkrb5" >&5
16031 $as_echo_n "checking for gss_krb5_import_cred in -lkrb5... " >&6; }
16032 if ${ac_cv_lib_krb5_gss_krb5_import_cred+:} false; then :
16033 $as_echo_n "(cached) " >&6
16035 ac_check_lib_save_LIBS=$LIBS
16036 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
16037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16038 /* end confdefs.h. */
16040 /* Override any GCC internal prototype to avoid an error.
16041 Use char because int might match the return type of a GCC
16042 builtin and then its argument prototype would still apply. */
16046 char gss_krb5_import_cred ();
16050 return gss_krb5_import_cred ();
16055 if ac_fn_c_try_link "$LINENO"; then :
16056 ac_cv_lib_krb5_gss_krb5_import_cred=yes
16058 ac_cv_lib_krb5_gss_krb5_import_cred=no
16060 rm -f core conftest.err conftest.$ac_objext \
16061 conftest$ac_exeext conftest.$ac_ext
16062 LIBS=$ac_check_lib_save_LIBS
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_gss_krb5_import_cred" >&5
16065 $as_echo "$ac_cv_lib_krb5_gss_krb5_import_cred" >&6; }
16066 if test "x$ac_cv_lib_krb5_gss_krb5_import_cred" = xyes; then :
16068 cat >>confdefs.h <<_ACEOF
16069 #define HAVE_GSS_KRB5_IMPORT_CRED 1
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for heimdal_version in -lkrb5" >&5
16075 $as_echo_n "checking for heimdal_version in -lkrb5... " >&6; }
16076 if ${ac_cv_lib_krb5_heimdal_version+:} false; then :
16077 $as_echo_n "(cached) " >&6
16079 ac_check_lib_save_LIBS=$LIBS
16080 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
16081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16084 /* Override any GCC internal prototype to avoid an error.
16085 Use char because int might match the return type of a GCC
16086 builtin and then its argument prototype would still apply. */
16090 char heimdal_version ();
16094 return heimdal_version ();
16099 if ac_fn_c_try_link "$LINENO"; then :
16100 ac_cv_lib_krb5_heimdal_version=yes
16102 ac_cv_lib_krb5_heimdal_version=no
16104 rm -f core conftest.err conftest.$ac_objext \
16105 conftest$ac_exeext conftest.$ac_ext
16106 LIBS=$ac_check_lib_save_LIBS
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_heimdal_version" >&5
16109 $as_echo "$ac_cv_lib_krb5_heimdal_version" >&6; }
16110 if test "x$ac_cv_lib_krb5_heimdal_version" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_HEIMDAL_VERSION 1
16120 if test "x$heimdal" != "xno"; then
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSAML implementation" >&5
16131 $as_echo_n "checking for OpenSAML implementation... " >&6; }
16133 found_opensaml="no"
16135 # Check whether --with-opensaml was given.
16136 if test "${with_opensaml+set}" = set; then :
16137 withval=$with_opensaml; check_opensaml_dir="$withval"
16139 check_opensaml_dir=
16142 if test x_$check_opensaml_dir != x_no; then
16143 for dir in $check_opensaml_dir $prefix /usr /usr/local ; do
16145 if test -f "$dir/include/saml/Assertion.h"; then
16146 found_opensaml="yes";
16147 OPENSAML_DIR="${opensamldir}"
16148 OPENSAML_CXXFLAGS="-I$opensamldir/include";
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_opensaml" >&5
16154 $as_echo "$found_opensaml" >&6; }
16155 if test x_$check_opensaml_dir != x_no; then
16156 if test x_$found_opensaml != x_yes; then
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16158 ----------------------------------------------------------------------
16159 Cannot find OpenSAML libraries, building without OpenSAML support.
16161 Please install OpenSAML or specify installation directory with
16162 --with-opensaml=(dir).
16163 ----------------------------------------------------------------------
16165 $as_echo "$as_me: WARNING:
16166 ----------------------------------------------------------------------
16167 Cannot find OpenSAML libraries, building without OpenSAML support.
16169 Please install OpenSAML or specify installation directory with
16170 --with-opensaml=(dir).
16171 ----------------------------------------------------------------------
16174 printf "OpenSAML found in $opensamldir\n";
16175 OPENSAML_LIBS="-lsaml -lxml-security-c -lxmltooling -lxerces-c";
16176 OPENSAML_LDFLAGS="-L$opensamldir/lib";
16181 cat >>confdefs.h <<_ACEOF
16182 #define HAVE_OPENSAML 1
16188 if test "x_$check_opensaml_dir" != "x_no"; then
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Shibboleth resolver implementation" >&5
16198 $as_echo_n "checking for Shibboleth resolver implementation... " >&6; }
16200 found_shibresolver="no"
16202 # Check whether --with-shibresolver was given.
16203 if test "${with_shibresolver+set}" = set; then :
16204 withval=$with_shibresolver; check_shibresolver_dir="$withval"
16206 check_shibresolver_dir=
16209 if test x_$check_shibresolver_dir != x_no; then
16210 for dir in $check_shibresolver_dir $prefix /usr /usr/local ; do
16211 shibresolverdir="$dir"
16212 if test -f "$dir/include/shibresolver/resolver.h"; then
16213 found_shibresolver="yes";
16214 SHIBRESOLVER_DIR="${shibresolverdir}"
16215 SHIBRESOLVER_CXXFLAGS="-I$shibresolverdir/include";
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_shibresolver" >&5
16221 $as_echo "$found_shibresolver" >&6; }
16222 if test x_$check_shibresolver_dir != x_no; then
16223 if test x_$found_shibresolver != x_yes; then
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16225 ----------------------------------------------------------------------
16226 Cannot find Shibboleth resolver libraries, building without
16227 Shibboleth support.
16229 Please install Shibboleth or specify installation directory with
16230 --with-shibresolver=(dir).
16231 ----------------------------------------------------------------------
16233 $as_echo "$as_me: WARNING:
16234 ----------------------------------------------------------------------
16235 Cannot find Shibboleth resolver libraries, building without
16236 Shibboleth support.
16238 Please install Shibboleth or specify installation directory with
16239 --with-shibresolver=(dir).
16240 ----------------------------------------------------------------------
16243 printf "Shibboleth resolver found in $shibresolverdir\n";
16244 SHIBRESOLVER_LIBS="-lshibresolver";
16245 SHIBRESOLVER_LDFLAGS="-L$shibresolverdir/lib";
16250 cat >>confdefs.h <<_ACEOF
16251 #define HAVE_SHIBRESOLVER 1
16257 if test "x_$check_shibresolver_dir" != "x_no"; then
16259 SHIBRESOLVER_FALSE='#'
16261 SHIBRESOLVER_TRUE='#'
16262 SHIBRESOLVER_FALSE=
16265 if test x_$found_shibresolver = x_yes; then
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Shibboleth implementation" >&5
16267 $as_echo_n "checking for Shibboleth implementation... " >&6; }
16271 # Check whether --with-shibsp was given.
16272 if test "${with_shibsp+set}" = set; then :
16273 withval=$with_shibsp; check_shibsp_dir="$withval"
16278 for dir in $check_shibsp_dir $prefix /usr /usr/local ; do
16280 if test -f "$dir/include/shibsp/SPConfig.h"; then
16281 found_shibsp="yes";
16282 SHIBSP_DIR="${shibspdir}"
16283 SHIBSP_CXXFLAGS="-I$shibspdir/include";
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_shibsp" >&5
16288 $as_echo "$found_shibsp" >&6; }
16289 if test x_$found_shibsp != x_yes; then
16291 ----------------------------------------------------------------------
16292 Cannot find Shibboleth libraries.
16294 Please install Shibboleth or specify installation directory with
16295 --with-shibsp=(dir).
16296 ----------------------------------------------------------------------
16299 printf "Shibboleth found in $shibspdir\n";
16300 SHIBSP_LIBS="-lshibsp -lsaml -lxml-security-c -lxmltooling -lxerces-c";
16301 SHIBSP_LDFLAGS="-L$shibspdir/lib";
16306 cat >>confdefs.h <<_ACEOF
16307 #define HAVE_SHIBSP 1
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
16315 $as_echo_n "checking for OpenSSL... " >&6; }
16319 # Check whether --with-openssl was given.
16320 if test "${with_openssl+set}" = set; then :
16321 withval=$with_openssl; check_openssl_dir="$withval"
16326 for dir in $check_openssl_dir $prefix /usr /usr/local ; do
16328 if test -f "$dir/include/openssl/opensslv.h"; then
16329 found_openssl="yes";
16330 OPENSSL_DIR="${openssldir}"
16331 OPENSSL_CFLAGS="-I$openssldir/include";
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_openssl" >&5
16336 $as_echo "$found_openssl" >&6; }
16337 if test x_$found_openssl != x_yes; then
16339 ----------------------------------------------------------------------
16340 Cannot find OpenSSL libraries.
16342 Please install libssl or specify installation directory with
16343 --with-openssl=(dir).
16344 ----------------------------------------------------------------------
16347 printf "OpenSSL found in $openssldir\n";
16348 OPENSSL_LIBS="-lssl -lcrypto";
16349 OPENSSL_LDFLAGS="-L$openssldir/lib";
16356 if test "x$acceptor" = "xyes" ; then
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for radsec" >&5
16358 $as_echo_n "checking for radsec... " >&6; }
16362 # Check whether --with-radsec was given.
16363 if test "${with_radsec+set}" = set; then :
16364 withval=$with_radsec; check_radsec_dir="$withval"
16369 for dir in $check_radsec_dir $prefix /usr /usr/local ; do
16371 if test -f "$dir/include/radsec/radsec.h"; then
16372 found_radsec="yes";
16373 RADSEC_DIR="${radsecdir}"
16374 RADSEC_CFLAGS="-I$radsecdir/include";
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_radsec" >&5
16379 $as_echo "$found_radsec" >&6; }
16380 if test x_$found_radsec != x_yes; then
16382 ----------------------------------------------------------------------
16383 Cannot find radsec libraries.
16385 Please install libradsec or specify installation directory with
16386 --with-radsec=(dir).
16387 ----------------------------------------------------------------------
16390 printf "radsec found in $radsecdir\n";
16391 RADSEC_LIBS="-lradsec";
16392 RADSEC_LDFLAGS="-L$radsecdir/lib";
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson" >&5
16399 $as_echo_n "checking for jansson... " >&6; }
16403 # Check whether --with-jansson was given.
16404 if test "${with_jansson+set}" = set; then :
16405 withval=$with_jansson; check_jansson_dir="$withval"
16410 for dir in $check_jansson_dir $prefix /usr /usr/local ; do
16412 if test -f "$dir/include/jansson.h"; then
16413 found_jansson="yes";
16414 JANSSON_DIR="${janssondir}"
16415 JANSSON_CFLAGS="-I$janssondir/include";
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_jansson" >&5
16420 $as_echo "$found_jansson" >&6; }
16421 if test x_$found_jansson != x_yes; then
16423 ----------------------------------------------------------------------
16424 Cannot find jansson libraries.
16426 Please install libjansson or specify installation directory with
16427 --with-jansson=(dir).
16428 ----------------------------------------------------------------------
16431 printf "jansson found in $janssondir\n";
16432 JANSSON_LIBS="-ljansson";
16433 JANSSON_LDFLAGS="-L$janssondir/lib";
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Moonshot identity selector implementation" >&5
16442 $as_echo_n "checking for Moonshot identity selector implementation... " >&6; }
16444 LIBMOONSHOT_CFLAGS=
16445 LIBMOONSHOT_LDFLAGS=
16447 found_libmoonshot="no"
16449 # Check whether --with-libmoonshot was given.
16450 if test "${with_libmoonshot+set}" = set; then :
16451 withval=$with_libmoonshot; check_libmoonshot_dir="$withval"
16453 check_libmoonshot_dir=
16456 for dir in $check_libmoonshot_dir $prefix /usr /usr/local ; do
16457 libmoonshotdir="$dir"
16458 if test -f "$dir/include/libmoonshot.h"; then
16459 found_libmoonshot="yes";
16460 LIBMOONSHOT_DIR="${libmoonshotdir}"
16461 LIBMOONSHOT_CFLAGS="-I$libmoonshotdir/include";
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_libmoonshot" >&5
16466 $as_echo "$found_libmoonshot" >&6; }
16467 if test x_$found_libmoonshot = x_yes; then
16468 printf "libmoonshot found in $libmoonshotdir\n";
16469 LIBMOONSHOT_LIBS="-lmoonshot";
16470 LIBMOONSHOT_LDFLAGS="-L$libmoonshot/lib";
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot_get_identity in -lmoonshot" >&5
16472 $as_echo_n "checking for moonshot_get_identity in -lmoonshot... " >&6; }
16473 if ${ac_cv_lib_moonshot_moonshot_get_identity+:} false; then :
16474 $as_echo_n "(cached) " >&6
16476 ac_check_lib_save_LIBS=$LIBS
16477 LIBS="-lmoonshot "$LIBMOONSHOT_LIBS" $LIBS"
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16481 /* Override any GCC internal prototype to avoid an error.
16482 Use char because int might match the return type of a GCC
16483 builtin and then its argument prototype would still apply. */
16487 char moonshot_get_identity ();
16491 return moonshot_get_identity ();
16496 if ac_fn_c_try_link "$LINENO"; then :
16497 ac_cv_lib_moonshot_moonshot_get_identity=yes
16499 ac_cv_lib_moonshot_moonshot_get_identity=no
16501 rm -f core conftest.err conftest.$ac_objext \
16502 conftest$ac_exeext conftest.$ac_ext
16503 LIBS=$ac_check_lib_save_LIBS
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_moonshot_moonshot_get_identity" >&5
16506 $as_echo "$ac_cv_lib_moonshot_moonshot_get_identity" >&6; }
16507 if test "x$ac_cv_lib_moonshot_moonshot_get_identity" = xyes; then :
16509 cat >>confdefs.h <<_ACEOF
16510 #define HAVE_MOONSHOT_GET_IDENTITY 1
16519 if test "x$found_libmoonshot" != "xno"; then
16521 LIBMOONSHOT_FALSE='#'
16523 LIBMOONSHOT_TRUE='#'
16528 ac_config_files="$ac_config_files Makefile libeap/Makefile mech_eap/Makefile mech_eap.spec"
16530 cat >confcache <<\_ACEOF
16531 # This file is a shell script that caches the results of configure
16532 # tests run on this system so they can be shared between configure
16533 # scripts and configure runs, see configure's option --config-cache.
16534 # It is not useful on other systems. If it contains results you don't
16535 # want to keep, you may remove or edit it.
16537 # config.status only pays attention to the cache file if you give it
16538 # the --recheck option to rerun configure.
16540 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16541 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16542 # following values.
16546 # The following way of writing the cache mishandles newlines in values,
16547 # but we know of no workaround that is simple, portable, and efficient.
16548 # So, we kill variables containing newlines.
16549 # Ultrix sh set writes to stderr and can't be redirected directly,
16550 # and sets the high bit in the cache file unless we assign to the vars.
16552 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16553 eval ac_val=\$$ac_var
16557 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16558 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16561 _ | IFS | as_nl) ;; #(
16562 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16563 *) { eval $ac_var=; unset $ac_var;} ;;
16569 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16570 *${as_nl}ac_space=\ *)
16571 # `set' does not quote correctly, so add quotes: double-quote
16572 # substitution turns \\\\ into \\, and sed turns \\ into \.
16575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16578 # `set' quotes correctly as required by POSIX, so do not add quotes.
16579 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16588 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16590 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16592 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16593 if test -w "$cache_file"; then
16594 if test "x$cache_file" != "x/dev/null"; then
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16596 $as_echo "$as_me: updating cache $cache_file" >&6;}
16597 if test ! -f "$cache_file" || test -h "$cache_file"; then
16598 cat confcache >"$cache_file"
16600 case $cache_file in #(
16602 mv -f confcache "$cache_file"$$ &&
16603 mv -f "$cache_file"$$ "$cache_file" ;; #(
16605 mv -f confcache "$cache_file" ;;
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16611 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16616 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16617 # Let make expand exec_prefix.
16618 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16620 DEFS=-DHAVE_CONFIG_H
16625 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16626 # 1. Remove the extension, and $U if already installed.
16627 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16628 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16629 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16630 # will be set to the directory where LIBOBJS objects are built.
16631 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16632 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16634 LIBOBJS=$ac_libobjs
16636 LTLIBOBJS=$ac_ltlibobjs
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16640 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16641 if test -n "$am_sleep_pid"; then
16642 # Hide warnings about reused PIDs.
16643 wait $am_sleep_pid 2>/dev/null
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16646 $as_echo "done" >&6; }
16647 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16648 as_fn_error $? "conditional \"AMDEP\" was never defined.
16649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16651 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16652 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16655 if test -n "$EXEEXT"; then
16657 am__EXEEXT_FALSE='#'
16659 am__EXEEXT_TRUE='#'
16663 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16664 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16667 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16668 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16671 if test -z "${GSSEAP_ENABLE_REAUTH_TRUE}" && test -z "${GSSEAP_ENABLE_REAUTH_FALSE}"; then
16672 as_fn_error $? "conditional \"GSSEAP_ENABLE_REAUTH\" was never defined.
16673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16675 if test -z "${GSSEAP_ENABLE_ACCEPTOR_TRUE}" && test -z "${GSSEAP_ENABLE_ACCEPTOR_FALSE}"; then
16676 as_fn_error $? "conditional \"GSSEAP_ENABLE_ACCEPTOR\" was never defined.
16677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16679 if test -z "${TARGET_WINDOWS_TRUE}" && test -z "${TARGET_WINDOWS_FALSE}"; then
16680 as_fn_error $? "conditional \"TARGET_WINDOWS\" was never defined.
16681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16683 if test -z "${HEIMDAL_TRUE}" && test -z "${HEIMDAL_FALSE}"; then
16684 as_fn_error $? "conditional \"HEIMDAL\" was never defined.
16685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16687 if test -z "${OPENSAML_TRUE}" && test -z "${OPENSAML_FALSE}"; then
16688 as_fn_error $? "conditional \"OPENSAML\" was never defined.
16689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16691 if test -z "${SHIBRESOLVER_TRUE}" && test -z "${SHIBRESOLVER_FALSE}"; then
16692 as_fn_error $? "conditional \"SHIBRESOLVER\" was never defined.
16693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16695 if test -z "${LIBMOONSHOT_TRUE}" && test -z "${LIBMOONSHOT_FALSE}"; then
16696 as_fn_error $? "conditional \"LIBMOONSHOT\" was never defined.
16697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16700 : "${CONFIG_STATUS=./config.status}"
16702 ac_clean_files_save=$ac_clean_files
16703 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16705 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16707 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16709 # Generated by $as_me.
16710 # Run this file to recreate the current configuration.
16711 # Compiler output produced by configure, useful for debugging
16712 # configure, is in config.log if it exists.
16715 ac_cs_recheck=false
16718 SHELL=\${CONFIG_SHELL-$SHELL}
16721 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16722 ## -------------------- ##
16723 ## M4sh Initialization. ##
16724 ## -------------------- ##
16726 # Be more Bourne compatible
16727 DUALCASE=1; export DUALCASE # for MKS sh
16728 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16731 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16732 # is contrary to our usage. Disable this feature.
16733 alias -g '${1+"$@"}'='"$@"'
16734 setopt NO_GLOB_SUBST
16736 case `(set -o) 2>/dev/null` in #(
16748 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16749 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16750 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16751 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16752 # Prefer a ksh shell builtin over an external printf program on Solaris,
16753 # but without wasting forks for bash or zsh.
16754 if test -z "$BASH_VERSION$ZSH_VERSION" \
16755 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16756 as_echo='print -r --'
16757 as_echo_n='print -rn --'
16758 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16759 as_echo='printf %s\n'
16760 as_echo_n='printf %s'
16762 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16763 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16764 as_echo_n='/usr/ucb/echo -n'
16766 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16767 as_echo_n_body='eval
16771 expr "X$arg" : "X\\(.*\\)$as_nl";
16772 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16774 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16776 export as_echo_n_body
16777 as_echo_n='sh -c $as_echo_n_body as_echo'
16779 export as_echo_body
16780 as_echo='sh -c $as_echo_body as_echo'
16783 # The user is always right.
16784 if test "${PATH_SEPARATOR+set}" != set; then
16786 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16787 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16794 # We need space, tab and new line, in precisely that order. Quoting is
16795 # there to prevent editors from complaining about space-tab.
16796 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16797 # splitting by setting IFS to empty value.)
16800 # Find who we are. Look in the path if we contain no directory separator.
16803 *[\\/]* ) as_myself=$0 ;;
16804 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16805 for as_dir in $PATH
16808 test -z "$as_dir" && as_dir=.
16809 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16815 # We did not find ourselves, most probably we were run as `sh COMMAND'
16816 # in which case we are not to be found in the path.
16817 if test "x$as_myself" = x; then
16820 if test ! -f "$as_myself"; then
16821 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16825 # Unset variables that we do not need and which cause bugs (e.g. in
16826 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16827 # suppresses any "Segmentation fault" message there. '((' could
16828 # trigger a bug in pdksh 5.2.14.
16829 for as_var in BASH_ENV ENV MAIL MAILPATH
16830 do eval test x\${$as_var+set} = xset \
16831 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16844 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16847 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16848 # ----------------------------------------
16849 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16850 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16851 # script with STATUS, using 1 if that was 0.
16854 as_status=$1; test $as_status -eq 0 && as_status=1
16856 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16857 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16859 $as_echo "$as_me: error: $2" >&2
16860 as_fn_exit $as_status
16864 # as_fn_set_status STATUS
16865 # -----------------------
16866 # Set $? to STATUS, without forking.
16867 as_fn_set_status ()
16870 } # as_fn_set_status
16872 # as_fn_exit STATUS
16873 # -----------------
16874 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16878 as_fn_set_status $1
16884 # Portably unset VAR.
16887 { eval $1=; unset $1;}
16889 as_unset=as_fn_unset
16890 # as_fn_append VAR VALUE
16891 # ----------------------
16892 # Append the text in VALUE to the end of the definition contained in VAR. Take
16893 # advantage of any shell optimizations that allow amortized linear growth over
16894 # repeated appends, instead of the typical quadratic growth present in naive
16896 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16897 eval 'as_fn_append ()
16908 # as_fn_arith ARG...
16909 # ------------------
16910 # Perform arithmetic evaluation on the ARGs, and store the result in the
16911 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16912 # must be portable across $(()) and expr.
16913 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16914 eval 'as_fn_arith ()
16921 as_val=`expr "$@" || test $? -eq 1`
16926 if expr a : '\(a\)' >/dev/null 2>&1 &&
16927 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16933 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16934 as_basename=basename
16939 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16945 as_me=`$as_basename -- "$0" ||
16946 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16947 X"$0" : 'X\(//\)$' \| \
16948 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16950 sed '/^.*\/\([^/][^/]*\)\/*$/{
16964 # Avoid depending upon Character Ranges.
16965 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16966 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16967 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16968 as_cr_digits='0123456789'
16969 as_cr_alnum=$as_cr_Letters$as_cr_digits
16971 ECHO_C= ECHO_N= ECHO_T=
16972 case `echo -n x` in #(((((
16974 case `echo 'xy\c'` in
16975 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16977 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16984 rm -f conf$$ conf$$.exe conf$$.file
16985 if test -d conf$$.dir; then
16986 rm -f conf$$.dir/conf$$.file
16989 mkdir conf$$.dir 2>/dev/null
16991 if (echo >conf$$.file) 2>/dev/null; then
16992 if ln -s conf$$.file conf$$ 2>/dev/null; then
16994 # ... but there are two gotchas:
16995 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16996 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16997 # In both cases, we have to default to `cp -pR'.
16998 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17000 elif ln conf$$.file conf$$ 2>/dev/null; then
17008 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17009 rmdir conf$$.dir 2>/dev/null
17014 # Create "$as_dir" as a directory, including parents if necessary.
17019 -*) as_dir=./$as_dir;;
17021 test -d "$as_dir" || eval $as_mkdir_p || {
17025 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17026 *) as_qdir=$as_dir;;
17028 as_dirs="'$as_qdir' $as_dirs"
17029 as_dir=`$as_dirname -- "$as_dir" ||
17030 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17031 X"$as_dir" : 'X\(//\)[^/]' \| \
17032 X"$as_dir" : 'X\(//\)$' \| \
17033 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17034 $as_echo X"$as_dir" |
17035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17039 /^X\(\/\/\)[^/].*/{
17052 test -d "$as_dir" && break
17054 test -z "$as_dirs" || eval "mkdir $as_dirs"
17055 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17059 if mkdir -p . 2>/dev/null; then
17060 as_mkdir_p='mkdir -p "$as_dir"'
17062 test -d ./-p && rmdir ./-p
17067 # as_fn_executable_p FILE
17068 # -----------------------
17069 # Test if FILE is an executable regular file.
17070 as_fn_executable_p ()
17072 test -f "$1" && test -x "$1"
17073 } # as_fn_executable_p
17074 as_test_x='test -x'
17075 as_executable_p=as_fn_executable_p
17077 # Sed expression to map a string onto a valid CPP name.
17078 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17080 # Sed expression to map a string onto a valid variable name.
17081 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17085 ## ----------------------------------- ##
17086 ## Main body of $CONFIG_STATUS script. ##
17087 ## ----------------------------------- ##
17089 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17092 # Save the log message, to keep $0 and so on meaningful, and to
17093 # report actual input values of CONFIG_FILES etc. instead of their
17094 # values after options handling.
17096 This file was extended by mech_eap $as_me 0.9.2, which was
17097 generated by GNU Autoconf 2.69. Invocation command line was
17099 CONFIG_FILES = $CONFIG_FILES
17100 CONFIG_HEADERS = $CONFIG_HEADERS
17101 CONFIG_LINKS = $CONFIG_LINKS
17102 CONFIG_COMMANDS = $CONFIG_COMMANDS
17105 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17110 case $ac_config_files in *"
17111 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17114 case $ac_config_headers in *"
17115 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17120 # Files that config.status was made for.
17121 config_files="$ac_config_files"
17122 config_headers="$ac_config_headers"
17123 config_commands="$ac_config_commands"
17127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17129 \`$as_me' instantiates files and other configuration actions
17130 from templates according to the current configuration. Unless the files
17131 and actions are specified as TAGs, all are instantiated by default.
17133 Usage: $0 [OPTION]... [TAG]...
17135 -h, --help print this help, then exit
17136 -V, --version print version number and configuration settings, then exit
17137 --config print configuration, then exit
17138 -q, --quiet, --silent
17139 do not print progress messages
17140 -d, --debug don't remove temporary files
17141 --recheck update $as_me by reconfiguring in the same conditions
17142 --file=FILE[:TEMPLATE]
17143 instantiate the configuration file FILE
17144 --header=FILE[:TEMPLATE]
17145 instantiate the configuration header FILE
17147 Configuration files:
17150 Configuration headers:
17153 Configuration commands:
17156 Report bugs to <bugs@project-moonshot.org>."
17159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17160 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17162 mech_eap config.status 0.9.2
17163 configured by $0, generated by GNU Autoconf 2.69,
17164 with options \\"\$ac_cs_config\\"
17166 Copyright (C) 2012 Free Software Foundation, Inc.
17167 This config.status script is free software; the Free Software Foundation
17168 gives unlimited permission to copy, distribute and modify it."
17175 test -n "\$AWK" || AWK=awk
17178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17179 # The default lists apply if the user does not specify any file.
17185 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17186 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17190 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17202 # Handling of the options.
17203 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17205 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17206 $as_echo "$ac_cs_version"; exit ;;
17207 --config | --confi | --conf | --con | --co | --c )
17208 $as_echo "$ac_cs_config"; exit ;;
17209 --debug | --debu | --deb | --de | --d | -d )
17211 --file | --fil | --fi | --f )
17214 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17215 '') as_fn_error $? "missing file argument" ;;
17217 as_fn_append CONFIG_FILES " '$ac_optarg'"
17218 ac_need_defaults=false;;
17219 --header | --heade | --head | --hea )
17222 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17224 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17225 ac_need_defaults=false;;
17227 # Conflict between --help and --header
17228 as_fn_error $? "ambiguous option: \`$1'
17229 Try \`$0 --help' for more information.";;
17230 --help | --hel | -h )
17231 $as_echo "$ac_cs_usage"; exit ;;
17232 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17233 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17236 # This is an error.
17237 -*) as_fn_error $? "unrecognized option: \`$1'
17238 Try \`$0 --help' for more information." ;;
17240 *) as_fn_append ac_config_targets " $1"
17241 ac_need_defaults=false ;;
17247 ac_configure_extra_args=
17249 if $ac_cs_silent; then
17251 ac_configure_extra_args="$ac_configure_extra_args --silent"
17255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17256 if \$ac_cs_recheck; then
17257 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17259 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17260 CONFIG_SHELL='$SHELL'
17261 export CONFIG_SHELL
17266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17270 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17271 ## Running $as_me. ##
17277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17281 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17284 # The HP-UX ksh and POSIX shell print the target directory to stdout
17285 # if CDPATH is set.
17286 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17288 sed_quote_subst='$sed_quote_subst'
17289 double_quote_subst='$double_quote_subst'
17290 delay_variable_subst='$delay_variable_subst'
17291 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17292 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17293 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17294 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17295 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17296 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17297 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17298 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17299 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17300 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17301 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17302 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17303 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17304 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17305 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17306 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17307 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17308 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17309 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17310 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17311 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17312 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17313 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17314 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17315 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17316 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17317 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17318 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17319 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17320 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17321 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17322 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17323 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17324 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17325 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17326 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17327 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17328 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17329 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17330 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17331 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17332 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17333 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17334 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17335 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17336 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17337 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17338 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17339 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17340 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17341 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17342 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17343 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17344 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17345 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17346 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17347 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17348 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"`'
17349 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17350 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17351 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17352 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17353 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17354 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17355 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17356 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17357 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17358 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17359 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17360 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17361 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17362 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17363 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17364 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17365 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17366 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17367 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17368 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17369 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17370 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17371 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17372 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17373 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17374 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17375 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17376 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17377 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17378 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17379 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17380 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17381 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17382 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17383 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17384 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17385 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17386 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17387 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17388 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17389 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17390 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17391 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17392 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17393 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17394 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17395 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17396 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17397 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17398 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17399 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17400 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17401 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17402 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17403 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17404 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17405 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17406 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17407 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17408 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17409 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17410 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17411 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17412 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17413 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17414 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17415 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17416 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17417 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17418 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17419 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17420 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17421 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17422 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17423 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17424 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17425 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17426 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17427 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17428 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17429 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17430 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17431 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17432 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17433 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17434 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17435 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17436 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17437 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17438 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17439 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17440 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17441 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17442 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17443 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17444 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17445 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17446 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17447 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17448 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17449 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17450 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17451 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17452 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17453 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17454 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17455 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17456 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17457 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17458 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17459 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17460 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17461 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17462 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17463 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17464 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17465 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17466 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17467 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17468 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17469 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17470 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17471 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17472 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17473 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17474 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17475 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17478 LTCFLAGS='$LTCFLAGS'
17479 compiler='$compiler_DEFAULT'
17481 # A function that is used when there is no print builtin or printf.
17482 func_fallback_echo ()
17484 eval 'cat <<_LTECHO_EOF
17489 # Quote evaled strings.
17506 deplibs_check_method \
17510 sharedlib_from_linklib_cmd \
17513 archiver_list_spec \
17519 lt_cv_sys_global_symbol_pipe \
17520 lt_cv_sys_global_symbol_to_cdecl \
17521 lt_cv_sys_global_symbol_to_c_name_address \
17522 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17523 nm_file_list_spec \
17524 lt_prog_compiler_no_builtin_flag \
17525 lt_prog_compiler_pic \
17526 lt_prog_compiler_wl \
17527 lt_prog_compiler_static \
17528 lt_cv_prog_compiler_c_o \
17537 export_dynamic_flag_spec \
17538 whole_archive_flag_spec \
17539 compiler_needs_object \
17541 allow_undefined_flag \
17542 no_undefined_flag \
17543 hardcode_libdir_flag_spec \
17544 hardcode_libdir_separator \
17548 variables_saved_for_relink \
17550 library_names_spec \
17552 install_override_mode \
17556 compiler_lib_search_dirs \
17561 compiler_lib_search_path \
17565 lt_prog_compiler_no_builtin_flag_CXX \
17566 lt_prog_compiler_pic_CXX \
17567 lt_prog_compiler_wl_CXX \
17568 lt_prog_compiler_static_CXX \
17569 lt_cv_prog_compiler_c_o_CXX \
17570 export_dynamic_flag_spec_CXX \
17571 whole_archive_flag_spec_CXX \
17572 compiler_needs_object_CXX \
17574 allow_undefined_flag_CXX \
17575 no_undefined_flag_CXX \
17576 hardcode_libdir_flag_spec_CXX \
17577 hardcode_libdir_separator_CXX \
17578 exclude_expsyms_CXX \
17579 include_expsyms_CXX \
17580 file_list_spec_CXX \
17581 compiler_lib_search_dirs_CXX \
17582 predep_objects_CXX \
17583 postdep_objects_CXX \
17586 compiler_lib_search_path_CXX; do
17587 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17588 *[\\\\\\\`\\"\\\$]*)
17589 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17592 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17597 # Double-quote double-evaled strings.
17598 for var in reload_cmds \
17599 old_postinstall_cmds \
17600 old_postuninstall_cmds \
17602 extract_expsyms_cmds \
17603 old_archive_from_new_cmds \
17604 old_archive_from_expsyms_cmds \
17606 archive_expsym_cmds \
17608 module_expsym_cmds \
17609 export_symbols_cmds \
17613 postuninstall_cmds \
17615 sys_lib_search_path_spec \
17616 sys_lib_dlsearch_path_spec \
17618 old_archive_cmds_CXX \
17619 old_archive_from_new_cmds_CXX \
17620 old_archive_from_expsyms_cmds_CXX \
17622 archive_expsym_cmds_CXX \
17624 module_expsym_cmds_CXX \
17625 export_symbols_cmds_CXX \
17627 postlink_cmds_CXX; do
17628 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17629 *[\\\\\\\`\\"\\\$]*)
17630 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17633 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17638 ac_aux_dir='$ac_aux_dir'
17639 xsi_shell='$xsi_shell'
17640 lt_shell_append='$lt_shell_append'
17642 # See if we are running on zsh, and set the options which allow our
17643 # commands through without removal of \ escapes INIT.
17644 if test -n "\${ZSH_VERSION+set}" ; then
17645 setopt NO_GLOB_SUBST
17651 TIMESTAMP='$TIMESTAMP'
17662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17664 # Handling of arguments.
17665 for ac_config_target in $ac_config_targets
17667 case $ac_config_target in
17668 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17669 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17670 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17671 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17672 "libeap/Makefile") CONFIG_FILES="$CONFIG_FILES libeap/Makefile" ;;
17673 "mech_eap/Makefile") CONFIG_FILES="$CONFIG_FILES mech_eap/Makefile" ;;
17674 "mech_eap.spec") CONFIG_FILES="$CONFIG_FILES mech_eap.spec" ;;
17676 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17681 # If the user did not use the arguments to specify the items to instantiate,
17682 # then the envvar interface is used. Set only those that are not.
17683 # We use the long form for the default assignment because of an extremely
17684 # bizarre bug on SunOS 4.1.3.
17685 if $ac_need_defaults; then
17686 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17687 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17688 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17691 # Have a temporary directory for convenience. Make it in the build tree
17692 # simply because there is no reason against having it here, and in addition,
17693 # creating and moving files from /tmp can sometimes cause problems.
17694 # Hook for its removal unless debugging.
17695 # Note that there is a small window in which the directory will not be cleaned:
17696 # after its creation but before its name has been assigned to `$tmp'.
17700 trap 'exit_status=$?
17701 : "${ac_tmp:=$tmp}"
17702 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17704 trap 'as_fn_exit 1' 1 2 13 15
17706 # Create a (secure) tmp directory for tmp files.
17709 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17713 tmp=./conf$$-$RANDOM
17714 (umask 077 && mkdir "$tmp")
17715 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17718 # Set up the scripts for CONFIG_FILES section.
17719 # No need to generate them if there are no CONFIG_FILES.
17720 # This happens for instance with `./config.status config.h'.
17721 if test -n "$CONFIG_FILES"; then
17724 ac_cr=`echo X | tr X '\015'`
17725 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17726 # But we know of no other shell where ac_cr would be empty at this
17727 # point, so we can use a bashism as a fallback.
17728 if test "x$ac_cr" = x; then
17729 eval ac_cr=\$\'\\r\'
17731 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17732 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17735 ac_cs_awk_cr=$ac_cr
17738 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17743 echo "cat >conf$$subs.awk <<_ACEOF" &&
17744 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17746 } >conf$$subs.sh ||
17747 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17748 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17750 for ac_last_try in false false false false false :; do
17751 . ./conf$$subs.sh ||
17752 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17754 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17755 if test $ac_delim_n = $ac_delim_num; then
17757 elif $ac_last_try; then
17758 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17760 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17763 rm -f conf$$subs.sh
17765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17766 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17770 s/^/S["/; s/!.*/"]=/
17780 s/\(.\{148\}\)..*/\1/
17782 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17787 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17794 s/\(.\{148\}\)..*/\1/
17796 s/["\\]/\\&/g; s/^/"/; s/$/"/
17800 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17805 ' <conf$$subs.awk | sed '
17810 ' >>$CONFIG_STATUS || ac_write_fail=1
17811 rm -f conf$$subs.awk
17812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17814 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17815 for (key in S) S_is_set[key] = 1
17821 nfields = split(line, field, "@")
17823 len = length(field[1])
17824 for (i = 2; i < nfields; i++) {
17826 keylen = length(key)
17827 if (S_is_set[key]) {
17829 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17830 len += length(value) + length(field[++i])
17841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17842 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17843 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17846 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17847 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17850 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17851 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17852 # trailing colons and then remove the whole line if VPATH becomes empty
17853 # (actually we leave an empty line to preserve line numbers).
17854 if test "x$srcdir" = x.; then
17855 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17874 fi # test -n "$CONFIG_FILES"
17876 # Set up the scripts for CONFIG_HEADERS section.
17877 # No need to generate them if there are no CONFIG_HEADERS.
17878 # This happens for instance with `./config.status Makefile'.
17879 if test -n "$CONFIG_HEADERS"; then
17880 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17884 # Transform confdefs.h into an awk script `defines.awk', embedded as
17885 # here-document in config.status, that substitutes the proper values into
17886 # config.h.in to produce config.h.
17888 # Create a delimiter string that does not exist in confdefs.h, to ease
17889 # handling of long lines.
17891 for ac_last_try in false false :; do
17892 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17893 if test -z "$ac_tt"; then
17895 elif $ac_last_try; then
17896 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17898 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17902 # For the awk script, D is an array of macro values keyed by name,
17903 # likewise P contains macro parameters if any. Preserve backslash
17904 # newline sequences.
17906 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17908 s/.\{148\}/&'"$ac_delim"'/g
17911 s/^[ ]*#[ ]*define[ ][ ]*/ /
17918 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17920 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17924 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17925 D["\1"]=" \3\\\\\\n"\\/p
17927 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17932 s/.\{148\}/&'"$ac_delim"'/g
17937 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17940 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17942 ' <confdefs.h | sed '
17943 s/'"$ac_delim"'/"\\\
17944 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17947 for (key in D) D_is_set[key] = 1
17950 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17952 split(line, arg, " ")
17953 if (arg[1] == "#") {
17957 defundef = substr(arg[1], 2)
17960 split(mac1, mac2, "(") #)
17962 prefix = substr(line, 1, index(line, defundef) - 1)
17963 if (D_is_set[macro]) {
17964 # Preserve the white space surrounding the "#".
17965 print prefix "define", macro P[macro] D[macro]
17968 # Replace #undef with comments. This is necessary, for example,
17969 # in the case of _POSIX_SOURCE, which is predefined and required
17970 # on some systems where configure will not decide to define it.
17971 if (defundef == "undef") {
17972 print "/*", prefix defundef, macro, "*/"
17980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17981 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17982 fi # test -n "$CONFIG_HEADERS"
17985 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17990 :[FHLC]) ac_mode=$ac_tag; continue;;
17992 case $ac_mode$ac_tag in
17994 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17995 :[FH]-) ac_tag=-:-;;
17996 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18013 -) ac_f="$ac_tmp/stdin";;
18014 *) # Look for the file first in the build tree, then in the source tree
18015 # (if the path is not absolute). The absolute path cannot be DOS-style,
18016 # because $ac_f cannot contain `:'.
18020 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18022 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18024 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18025 as_fn_append ac_file_inputs " '$ac_f'"
18028 # Let's still pretend it is `configure' which instantiates (i.e., don't
18029 # use $as_me), people would be surprised to read:
18030 # /* config.h. Generated by config.status. */
18031 configure_input='Generated from '`
18032 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18034 if test x"$ac_file" != x-; then
18035 configure_input="$ac_file. $configure_input"
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18037 $as_echo "$as_me: creating $ac_file" >&6;}
18039 # Neutralize special characters interpreted by sed in replacement strings.
18040 case $configure_input in #(
18041 *\&* | *\|* | *\\* )
18042 ac_sed_conf_input=`$as_echo "$configure_input" |
18043 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18044 *) ac_sed_conf_input=$configure_input;;
18048 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18049 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18054 ac_dir=`$as_dirname -- "$ac_file" ||
18055 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18056 X"$ac_file" : 'X\(//\)[^/]' \| \
18057 X"$ac_file" : 'X\(//\)$' \| \
18058 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18059 $as_echo X"$ac_file" |
18060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18064 /^X\(\/\/\)[^/].*/{
18077 as_dir="$ac_dir"; as_fn_mkdir_p
18081 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18083 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18084 # A ".." for each directory in $ac_dir_suffix.
18085 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18086 case $ac_top_builddir_sub in
18087 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18088 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18091 ac_abs_top_builddir=$ac_pwd
18092 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18093 # for backward compatibility:
18094 ac_top_builddir=$ac_top_build_prefix
18097 .) # We are building in place.
18099 ac_top_srcdir=$ac_top_builddir_sub
18100 ac_abs_top_srcdir=$ac_pwd ;;
18101 [\\/]* | ?:[\\/]* ) # Absolute name.
18102 ac_srcdir=$srcdir$ac_dir_suffix;
18103 ac_top_srcdir=$srcdir
18104 ac_abs_top_srcdir=$srcdir ;;
18105 *) # Relative name.
18106 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18107 ac_top_srcdir=$ac_top_build_prefix$srcdir
18108 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18110 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18120 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18121 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18123 ac_MKDIR_P=$MKDIR_P
18125 [\\/$]* | ?:[\\/]* ) ;;
18126 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18131 # If the template does not know about datarootdir, expand it.
18132 # FIXME: This hack should be removed a few years after 2.60.
18133 ac_datarootdir_hack=; ac_datarootdir_seen=
18144 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18145 *datarootdir*) ac_datarootdir_seen=yes;;
18146 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18148 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18151 ac_datarootdir_hack='
18152 s&@datadir@&$datadir&g
18153 s&@docdir@&$docdir&g
18154 s&@infodir@&$infodir&g
18155 s&@localedir@&$localedir&g
18156 s&@mandir@&$mandir&g
18157 s&\\\${datarootdir}&$datarootdir&g' ;;
18161 # Neutralize VPATH when `$srcdir' = `.'.
18162 # Shell code in configure.ac might set extrasub.
18163 # FIXME: do we really want to maintain this feature?
18164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18165 ac_sed_extra="$ac_vpsub
18168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18170 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18171 s|@configure_input@|$ac_sed_conf_input|;t t
18172 s&@top_builddir@&$ac_top_builddir_sub&;t t
18173 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18174 s&@srcdir@&$ac_srcdir&;t t
18175 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18176 s&@top_srcdir@&$ac_top_srcdir&;t t
18177 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18178 s&@builddir@&$ac_builddir&;t t
18179 s&@abs_builddir@&$ac_abs_builddir&;t t
18180 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18181 s&@INSTALL@&$ac_INSTALL&;t t
18182 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18183 $ac_datarootdir_hack
18185 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18186 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18188 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18189 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18190 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18191 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18193 which seems to be undefined. Please make sure it is defined" >&5
18194 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18195 which seems to be undefined. Please make sure it is defined" >&2;}
18197 rm -f "$ac_tmp/stdin"
18199 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18200 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18202 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18208 if test x"$ac_file" != x-; then
18210 $as_echo "/* $configure_input */" \
18211 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18212 } >"$ac_tmp/config.h" \
18213 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18214 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18216 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18219 mv "$ac_tmp/config.h" "$ac_file" \
18220 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18223 $as_echo "/* $configure_input */" \
18224 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18225 || as_fn_error $? "could not create -" "$LINENO" 5
18227 # Compute "$ac_file"'s index in $config_headers.
18230 for _am_header in $config_headers :; do
18231 case $_am_header in
18232 $_am_arg | $_am_arg:* )
18235 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18238 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18239 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18240 X"$_am_arg" : 'X\(//\)[^/]' \| \
18241 X"$_am_arg" : 'X\(//\)$' \| \
18242 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18243 $as_echo X"$_am_arg" |
18244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18248 /^X\(\/\/\)[^/].*/{
18260 s/.*/./; q'`/stamp-h$_am_stamp_count
18263 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18264 $as_echo "$as_me: executing $ac_file commands" >&6;}
18269 case $ac_file$ac_mode in
18270 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18271 # Older Autoconf quotes --file arguments for eval, but not when files
18272 # are listed without --file. Let's play safe and only enable the eval
18273 # if we detect the quoting.
18274 case $CONFIG_FILES in
18275 *\'*) eval set x "$CONFIG_FILES" ;;
18276 *) set x $CONFIG_FILES ;;
18281 # Strip MF so we end up with the name of the file.
18282 mf=`echo "$mf" | sed -e 's/:.*$//'`
18283 # Check whether this is an Automake generated Makefile or not.
18284 # We used to match only the files named 'Makefile.in', but
18285 # some people rename them; so instead we look at the file content.
18286 # Grep'ing the first line is not enough: some people post-process
18287 # each Makefile.in and add a new line on top of each file to say so.
18288 # Grep'ing the whole file is not good either: AIX grep has a line
18289 # limit of 2048, but all sed's we know have understand at least 4000.
18290 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18291 dirpart=`$as_dirname -- "$mf" ||
18292 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18293 X"$mf" : 'X\(//\)[^/]' \| \
18294 X"$mf" : 'X\(//\)$' \| \
18295 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18301 /^X\(\/\/\)[^/].*/{
18317 # Extract the definition of DEPDIR, am__include, and am__quote
18318 # from the Makefile without running 'make'.
18319 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18320 test -z "$DEPDIR" && continue
18321 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18322 test -z "$am__include" && continue
18323 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18324 # Find all dependency output files, they are included files with
18325 # $(DEPDIR) in their names. We invoke sed twice because it is the
18326 # simplest approach to changing $(DEPDIR) to its actual value in the
18328 for file in `sed -n "
18329 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18330 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18331 # Make sure the directory exists.
18332 test -f "$dirpart/$file" && continue
18333 fdir=`$as_dirname -- "$file" ||
18334 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18335 X"$file" : 'X\(//\)[^/]' \| \
18336 X"$file" : 'X\(//\)$' \| \
18337 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18338 $as_echo X"$file" |
18339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18343 /^X\(\/\/\)[^/].*/{
18356 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18357 # echo "creating $dirpart/$file"
18358 echo '# dummy' > "$dirpart/$file"
18365 # See if we are running on zsh, and set the options which allow our
18366 # commands through without removal of \ escapes.
18367 if test -n "${ZSH_VERSION+set}" ; then
18368 setopt NO_GLOB_SUBST
18371 cfgfile="${ofile}T"
18372 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18375 cat <<_LT_EOF >> "$cfgfile"
18378 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18379 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18380 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18381 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18383 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18384 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18386 # Written by Gordon Matzigkeit, 1996
18388 # This file is part of GNU Libtool.
18390 # GNU Libtool is free software; you can redistribute it and/or
18391 # modify it under the terms of the GNU General Public License as
18392 # published by the Free Software Foundation; either version 2 of
18393 # the License, or (at your option) any later version.
18395 # As a special exception to the GNU General Public License,
18396 # if you distribute this file as part of a program or library that
18397 # is built using GNU Libtool, you may include this file under the
18398 # same distribution terms that you use for the rest of that program.
18400 # GNU Libtool is distributed in the hope that it will be useful,
18401 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18402 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18403 # GNU General Public License for more details.
18405 # You should have received a copy of the GNU General Public License
18406 # along with GNU Libtool; see the file COPYING. If not, a copy
18407 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18408 # obtained by writing to the Free Software Foundation, Inc.,
18409 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18412 # The names of the tagged configurations supported by this script.
18413 available_tags="CXX "
18415 # ### BEGIN LIBTOOL CONFIG
18417 # Which release of libtool.m4 was used?
18418 macro_version=$macro_version
18419 macro_revision=$macro_revision
18421 # Whether or not to build static libraries.
18422 build_old_libs=$enable_static
18424 # Assembler program.
18427 # DLL creation program.
18428 DLLTOOL=$lt_DLLTOOL
18430 # Object dumper program.
18431 OBJDUMP=$lt_OBJDUMP
18433 # Whether or not to build shared libraries.
18434 build_libtool_libs=$enable_shared
18436 # What type of objects to build.
18439 # Whether or not to optimize for fast installation.
18440 fast_install=$enable_fast_install
18442 # Shell to use when invoking shell scripts.
18445 # An echo program that protects backslashes.
18448 # The PATH separator for the build system.
18449 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18452 host_alias=$host_alias
18456 # The build system.
18457 build_alias=$build_alias
18461 # A sed program that does not truncate output.
18464 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18465 Xsed="\$SED -e 1s/^X//"
18467 # A grep program that handles long lines.
18473 # A literal string matcher.
18476 # A BSD- or MS-compatible name lister.
18479 # Whether we need soft or hard links.
18482 # What is the maximum length of a command?
18483 max_cmd_len=$max_cmd_len
18485 # Object file suffix (normally "o").
18488 # Executable file suffix (normally "").
18491 # whether the shell understands "unset".
18494 # turn spaces into newlines.
18497 # turn newlines into spaces.
18500 # convert \$build file names to \$host format.
18501 to_host_file_cmd=$lt_cv_to_host_file_cmd
18503 # convert \$build files to toolchain format.
18504 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18506 # Method to check whether dependent libraries are shared objects.
18507 deplibs_check_method=$lt_deplibs_check_method
18509 # Command to use when deplibs_check_method = "file_magic".
18510 file_magic_cmd=$lt_file_magic_cmd
18512 # How to find potential files when deplibs_check_method = "file_magic".
18513 file_magic_glob=$lt_file_magic_glob
18515 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18516 want_nocaseglob=$lt_want_nocaseglob
18518 # Command to associate shared and link libraries.
18519 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18524 # Flags to create an archive.
18525 AR_FLAGS=$lt_AR_FLAGS
18527 # How to feed a file listing to the archiver.
18528 archiver_list_spec=$lt_archiver_list_spec
18530 # A symbol stripping program.
18533 # Commands used to install an old-style archive.
18535 old_postinstall_cmds=$lt_old_postinstall_cmds
18536 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18538 # Whether to use a lock for old archive extraction.
18539 lock_old_archive_extraction=$lock_old_archive_extraction
18544 # LTCC compiler flags.
18545 LTCFLAGS=$lt_CFLAGS
18547 # Take the output of nm and produce a listing of raw symbols and C names.
18548 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18550 # Transform the output of nm in a proper C declaration.
18551 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18553 # Transform the output of nm in a C name address pair.
18554 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18556 # Transform the output of nm in a C name address pair when lib prefix is needed.
18557 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18559 # Specify filename containing input files for \$NM.
18560 nm_file_list_spec=$lt_nm_file_list_spec
18562 # The root where to search for dependent libraries,and in which our libraries should be installed.
18563 lt_sysroot=$lt_sysroot
18565 # The name of the directory that contains temporary libtool files.
18568 # Used to examine libraries when file_magic_cmd begins with "file".
18569 MAGIC_CMD=$MAGIC_CMD
18571 # Must we lock files when doing compilation?
18572 need_locks=$lt_need_locks
18575 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18577 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18578 DSYMUTIL=$lt_DSYMUTIL
18580 # Tool to change global to local symbols on Mac OS X.
18583 # Tool to manipulate fat objects and archives on Mac OS X.
18586 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18589 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18590 OTOOL64=$lt_OTOOL64
18592 # Old archive suffix (normally "a").
18595 # Shared library suffix (normally ".so").
18596 shrext_cmds=$lt_shrext_cmds
18598 # The commands to extract the exported symbol list from a shared archive.
18599 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18601 # Variables whose values should be saved in libtool wrapper scripts and
18602 # restored at link time.
18603 variables_saved_for_relink=$lt_variables_saved_for_relink
18605 # Do we need the "lib" prefix for modules?
18606 need_lib_prefix=$need_lib_prefix
18608 # Do we need a version for libraries?
18609 need_version=$need_version
18611 # Library versioning type.
18612 version_type=$version_type
18614 # Shared library runtime path variable.
18615 runpath_var=$runpath_var
18617 # Shared library path variable.
18618 shlibpath_var=$shlibpath_var
18620 # Is shlibpath searched before the hard-coded library search path?
18621 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18623 # Format of library name prefix.
18624 libname_spec=$lt_libname_spec
18626 # List of archive names. First name is the real one, the rest are links.
18627 # The last name is the one that the linker finds with -lNAME
18628 library_names_spec=$lt_library_names_spec
18630 # The coded name of the library, if different from the real name.
18631 soname_spec=$lt_soname_spec
18633 # Permission mode override for installation of shared libraries.
18634 install_override_mode=$lt_install_override_mode
18636 # Command to use after installation of a shared archive.
18637 postinstall_cmds=$lt_postinstall_cmds
18639 # Command to use after uninstallation of a shared archive.
18640 postuninstall_cmds=$lt_postuninstall_cmds
18642 # Commands used to finish a libtool library installation in a directory.
18643 finish_cmds=$lt_finish_cmds
18645 # As "finish_cmds", except a single script fragment to be evaled but
18647 finish_eval=$lt_finish_eval
18649 # Whether we should hardcode library paths into libraries.
18650 hardcode_into_libs=$hardcode_into_libs
18652 # Compile-time system search path for libraries.
18653 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18655 # Run-time system search path for libraries.
18656 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18658 # Whether dlopen is supported.
18659 dlopen_support=$enable_dlopen
18661 # Whether dlopen of programs is supported.
18662 dlopen_self=$enable_dlopen_self
18664 # Whether dlopen of statically linked programs is supported.
18665 dlopen_self_static=$enable_dlopen_self_static
18667 # Commands to strip libraries.
18668 old_striplib=$lt_old_striplib
18669 striplib=$lt_striplib
18672 # The linker used to build libraries.
18675 # How to create reloadable object files.
18676 reload_flag=$lt_reload_flag
18677 reload_cmds=$lt_reload_cmds
18679 # Commands used to build an old-style archive.
18680 old_archive_cmds=$lt_old_archive_cmds
18682 # A language specific compiler.
18685 # Is the compiler the GNU compiler?
18688 # Compiler flag to turn off builtin functions.
18689 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18691 # Additional compiler flags for building library objects.
18692 pic_flag=$lt_lt_prog_compiler_pic
18694 # How to pass a linker flag through the compiler.
18695 wl=$lt_lt_prog_compiler_wl
18697 # Compiler flag to prevent dynamic linking.
18698 link_static_flag=$lt_lt_prog_compiler_static
18700 # Does compiler simultaneously support -c and -o options?
18701 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18703 # Whether or not to add -lc for building shared libraries.
18704 build_libtool_need_lc=$archive_cmds_need_lc
18706 # Whether or not to disallow shared libs when runtime libs are static.
18707 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18709 # Compiler flag to allow reflexive dlopens.
18710 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18712 # Compiler flag to generate shared objects directly from archives.
18713 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18715 # Whether the compiler copes with passing no objects directly.
18716 compiler_needs_object=$lt_compiler_needs_object
18718 # Create an old-style archive from a shared archive.
18719 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18721 # Create a temporary old-style archive to link instead of a shared archive.
18722 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18724 # Commands used to build a shared archive.
18725 archive_cmds=$lt_archive_cmds
18726 archive_expsym_cmds=$lt_archive_expsym_cmds
18728 # Commands used to build a loadable module if different from building
18729 # a shared archive.
18730 module_cmds=$lt_module_cmds
18731 module_expsym_cmds=$lt_module_expsym_cmds
18733 # Whether we are building with GNU ld or not.
18734 with_gnu_ld=$lt_with_gnu_ld
18736 # Flag that allows shared libraries with undefined symbols to be built.
18737 allow_undefined_flag=$lt_allow_undefined_flag
18739 # Flag that enforces no undefined symbols.
18740 no_undefined_flag=$lt_no_undefined_flag
18742 # Flag to hardcode \$libdir into a binary during linking.
18743 # This must work even if \$libdir does not exist
18744 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18746 # Whether we need a single "-rpath" flag with a separated argument.
18747 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18749 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18750 # DIR into the resulting binary.
18751 hardcode_direct=$hardcode_direct
18753 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18754 # DIR into the resulting binary and the resulting library dependency is
18755 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18756 # library is relocated.
18757 hardcode_direct_absolute=$hardcode_direct_absolute
18759 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18760 # into the resulting binary.
18761 hardcode_minus_L=$hardcode_minus_L
18763 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18764 # into the resulting binary.
18765 hardcode_shlibpath_var=$hardcode_shlibpath_var
18767 # Set to "yes" if building a shared library automatically hardcodes DIR
18768 # into the library and all subsequent libraries and executables linked
18770 hardcode_automatic=$hardcode_automatic
18772 # Set to yes if linker adds runtime paths of dependent libraries
18773 # to runtime path list.
18774 inherit_rpath=$inherit_rpath
18776 # Whether libtool must link a program against all its dependency libraries.
18777 link_all_deplibs=$link_all_deplibs
18779 # Set to "yes" if exported symbols are required.
18780 always_export_symbols=$always_export_symbols
18782 # The commands to list exported symbols.
18783 export_symbols_cmds=$lt_export_symbols_cmds
18785 # Symbols that should not be listed in the preloaded symbols.
18786 exclude_expsyms=$lt_exclude_expsyms
18788 # Symbols that must always be exported.
18789 include_expsyms=$lt_include_expsyms
18791 # Commands necessary for linking programs (against libraries) with templates.
18792 prelink_cmds=$lt_prelink_cmds
18794 # Commands necessary for finishing linking programs.
18795 postlink_cmds=$lt_postlink_cmds
18797 # Specify filename containing input files.
18798 file_list_spec=$lt_file_list_spec
18800 # How to hardcode a shared library path into an executable.
18801 hardcode_action=$hardcode_action
18803 # The directories searched by this compiler when creating a shared library.
18804 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18806 # Dependencies to place before and after the objects being linked to
18807 # create a shared library.
18808 predep_objects=$lt_predep_objects
18809 postdep_objects=$lt_postdep_objects
18810 predeps=$lt_predeps
18811 postdeps=$lt_postdeps
18813 # The library search path used internally by the compiler when linking
18814 # a shared library.
18815 compiler_lib_search_path=$lt_compiler_lib_search_path
18817 # ### END LIBTOOL CONFIG
18823 cat <<\_LT_EOF >> "$cfgfile"
18824 # AIX sometimes has problems with the GCC collect2 program. For some
18825 # reason, if we set the COLLECT_NAMES environment variable, the problems
18826 # vanish in a puff of smoke.
18827 if test "X${COLLECT_NAMES+set}" != Xset; then
18829 export COLLECT_NAMES
18836 ltmain="$ac_aux_dir/ltmain.sh"
18839 # We use sed instead of cat because bash on DJGPP gets confused if
18840 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18841 # text mode, it properly converts lines to CR/LF. This bash problem
18842 # is reportedly fixed, but why not run on old versions too?
18843 sed '$q' "$ltmain" >> "$cfgfile" \
18844 || (rm -f "$cfgfile"; exit 1)
18846 if test x"$xsi_shell" = xyes; then
18847 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18851 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18852 \ * ) func_dirname_result="${3}" ;;\
18854 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18855 && mv -f "$cfgfile.tmp" "$cfgfile" \
18856 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18857 test 0 -eq $? || _lt_function_replace_fail=:
18860 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18863 \ func_basename_result="${1##*/}"\
18864 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18865 && mv -f "$cfgfile.tmp" "$cfgfile" \
18866 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18867 test 0 -eq $? || _lt_function_replace_fail=:
18870 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18871 func_dirname_and_basename ()\
18874 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18875 \ * ) func_dirname_result="${3}" ;;\
18877 \ func_basename_result="${1##*/}"\
18878 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18879 && mv -f "$cfgfile.tmp" "$cfgfile" \
18880 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18881 test 0 -eq $? || _lt_function_replace_fail=:
18884 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18887 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18888 \ # positional parameters, so assign one to ordinary parameter first.\
18889 \ func_stripname_result=${3}\
18890 \ func_stripname_result=${func_stripname_result#"${1}"}\
18891 \ func_stripname_result=${func_stripname_result%"${2}"}\
18892 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18893 && mv -f "$cfgfile.tmp" "$cfgfile" \
18894 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18895 test 0 -eq $? || _lt_function_replace_fail=:
18898 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18899 func_split_long_opt ()\
18901 \ func_split_long_opt_name=${1%%=*}\
18902 \ func_split_long_opt_arg=${1#*=}\
18903 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18904 && mv -f "$cfgfile.tmp" "$cfgfile" \
18905 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18906 test 0 -eq $? || _lt_function_replace_fail=:
18909 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18910 func_split_short_opt ()\
18912 \ func_split_short_opt_arg=${1#??}\
18913 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18914 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18915 && mv -f "$cfgfile.tmp" "$cfgfile" \
18916 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18917 test 0 -eq $? || _lt_function_replace_fail=:
18920 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18924 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18925 \ *) func_lo2o_result=${1} ;;\
18927 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18928 && mv -f "$cfgfile.tmp" "$cfgfile" \
18929 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18930 test 0 -eq $? || _lt_function_replace_fail=:
18933 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18936 func_xform_result=${1%.*}.lo\
18937 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18938 && mv -f "$cfgfile.tmp" "$cfgfile" \
18939 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18940 test 0 -eq $? || _lt_function_replace_fail=:
18943 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18946 func_arith_result=$(( $* ))\
18947 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18948 && mv -f "$cfgfile.tmp" "$cfgfile" \
18949 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18950 test 0 -eq $? || _lt_function_replace_fail=:
18953 sed -e '/^func_len ()$/,/^} # func_len /c\
18956 func_len_result=${#1}\
18957 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18958 && mv -f "$cfgfile.tmp" "$cfgfile" \
18959 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18960 test 0 -eq $? || _lt_function_replace_fail=:
18964 if test x"$lt_shell_append" = xyes; then
18965 sed -e '/^func_append ()$/,/^} # func_append /c\
18968 eval "${1}+=\\${2}"\
18969 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18970 && mv -f "$cfgfile.tmp" "$cfgfile" \
18971 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18972 test 0 -eq $? || _lt_function_replace_fail=:
18975 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18976 func_append_quoted ()\
18978 \ func_quote_for_eval "${2}"\
18979 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18980 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18981 && mv -f "$cfgfile.tmp" "$cfgfile" \
18982 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18983 test 0 -eq $? || _lt_function_replace_fail=:
18986 # Save a `func_append' function call where possible by direct use of '+='
18987 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18988 && mv -f "$cfgfile.tmp" "$cfgfile" \
18989 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18990 test 0 -eq $? || _lt_function_replace_fail=:
18992 # Save a `func_append' function call even when '+=' is not available
18993 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18994 && mv -f "$cfgfile.tmp" "$cfgfile" \
18995 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18996 test 0 -eq $? || _lt_function_replace_fail=:
18999 if test x"$_lt_function_replace_fail" = x":"; then
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19001 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19005 mv -f "$cfgfile" "$ofile" ||
19006 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19010 cat <<_LT_EOF >> "$ofile"
19012 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19014 # The linker used to build libraries.
19017 # How to create reloadable object files.
19018 reload_flag=$lt_reload_flag_CXX
19019 reload_cmds=$lt_reload_cmds_CXX
19021 # Commands used to build an old-style archive.
19022 old_archive_cmds=$lt_old_archive_cmds_CXX
19024 # A language specific compiler.
19025 CC=$lt_compiler_CXX
19027 # Is the compiler the GNU compiler?
19030 # Compiler flag to turn off builtin functions.
19031 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19033 # Additional compiler flags for building library objects.
19034 pic_flag=$lt_lt_prog_compiler_pic_CXX
19036 # How to pass a linker flag through the compiler.
19037 wl=$lt_lt_prog_compiler_wl_CXX
19039 # Compiler flag to prevent dynamic linking.
19040 link_static_flag=$lt_lt_prog_compiler_static_CXX
19042 # Does compiler simultaneously support -c and -o options?
19043 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19045 # Whether or not to add -lc for building shared libraries.
19046 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19048 # Whether or not to disallow shared libs when runtime libs are static.
19049 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19051 # Compiler flag to allow reflexive dlopens.
19052 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19054 # Compiler flag to generate shared objects directly from archives.
19055 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19057 # Whether the compiler copes with passing no objects directly.
19058 compiler_needs_object=$lt_compiler_needs_object_CXX
19060 # Create an old-style archive from a shared archive.
19061 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19063 # Create a temporary old-style archive to link instead of a shared archive.
19064 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19066 # Commands used to build a shared archive.
19067 archive_cmds=$lt_archive_cmds_CXX
19068 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19070 # Commands used to build a loadable module if different from building
19071 # a shared archive.
19072 module_cmds=$lt_module_cmds_CXX
19073 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19075 # Whether we are building with GNU ld or not.
19076 with_gnu_ld=$lt_with_gnu_ld_CXX
19078 # Flag that allows shared libraries with undefined symbols to be built.
19079 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19081 # Flag that enforces no undefined symbols.
19082 no_undefined_flag=$lt_no_undefined_flag_CXX
19084 # Flag to hardcode \$libdir into a binary during linking.
19085 # This must work even if \$libdir does not exist
19086 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19088 # Whether we need a single "-rpath" flag with a separated argument.
19089 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19091 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19092 # DIR into the resulting binary.
19093 hardcode_direct=$hardcode_direct_CXX
19095 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19096 # DIR into the resulting binary and the resulting library dependency is
19097 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19098 # library is relocated.
19099 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19101 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19102 # into the resulting binary.
19103 hardcode_minus_L=$hardcode_minus_L_CXX
19105 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19106 # into the resulting binary.
19107 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19109 # Set to "yes" if building a shared library automatically hardcodes DIR
19110 # into the library and all subsequent libraries and executables linked
19112 hardcode_automatic=$hardcode_automatic_CXX
19114 # Set to yes if linker adds runtime paths of dependent libraries
19115 # to runtime path list.
19116 inherit_rpath=$inherit_rpath_CXX
19118 # Whether libtool must link a program against all its dependency libraries.
19119 link_all_deplibs=$link_all_deplibs_CXX
19121 # Set to "yes" if exported symbols are required.
19122 always_export_symbols=$always_export_symbols_CXX
19124 # The commands to list exported symbols.
19125 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19127 # Symbols that should not be listed in the preloaded symbols.
19128 exclude_expsyms=$lt_exclude_expsyms_CXX
19130 # Symbols that must always be exported.
19131 include_expsyms=$lt_include_expsyms_CXX
19133 # Commands necessary for linking programs (against libraries) with templates.
19134 prelink_cmds=$lt_prelink_cmds_CXX
19136 # Commands necessary for finishing linking programs.
19137 postlink_cmds=$lt_postlink_cmds_CXX
19139 # Specify filename containing input files.
19140 file_list_spec=$lt_file_list_spec_CXX
19142 # How to hardcode a shared library path into an executable.
19143 hardcode_action=$hardcode_action_CXX
19145 # The directories searched by this compiler when creating a shared library.
19146 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19148 # Dependencies to place before and after the objects being linked to
19149 # create a shared library.
19150 predep_objects=$lt_predep_objects_CXX
19151 postdep_objects=$lt_postdep_objects_CXX
19152 predeps=$lt_predeps_CXX
19153 postdeps=$lt_postdeps_CXX
19155 # The library search path used internally by the compiler when linking
19156 # a shared library.
19157 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19159 # ### END LIBTOOL TAG CONFIG: CXX
19170 ac_clean_files=$ac_clean_files_save
19172 test $ac_write_fail = 0 ||
19173 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19176 # configure is writing to config.log, and then calls config.status.
19177 # config.status does its own redirection, appending to config.log.
19178 # Unfortunately, on DOS this fails, as config.log is still kept open
19179 # by configure, so config.status won't be able to write to it; its
19180 # output is simply discarded. So we exec the FD to /dev/null,
19181 # effectively closing config.log, so it can be properly (re)opened and
19182 # appended to by config.status. When coming back to configure, we
19183 # need to make the FD available again.
19184 if test "$no_create" != yes; then
19186 ac_config_status_args=
19187 test "$silent" = yes &&
19188 ac_config_status_args="$ac_config_status_args --quiet"
19190 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19192 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19193 # would make configure fail if this is the last instruction.
19194 $ac_cs_success || as_fn_exit 1
19196 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19198 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}